Ædrning af design
jeg er ved at flette mit eget design ind. Men det driller.http://kajbi.dk/ny/news.php
og det skal se sådan her ud
www.kajbi.dk
Nogle der kan hjælpe?
Mine theme fil ser sådan her ud:
<?php
if (!defined("IN_FUSION") { header("Location: ../../index.php"; exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "650";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width;
?>
<table width="650" height="100%" border="0" cellpadding="0" cellspacing="0" align="center" valign="top">
<tr>
<td colspan="7" background="images/top.gif" height="8" valign="top"></td>
</tr>
<tr>
<td colspan="7" bgcolor="#7f7f7f" height="15" valign="top"></td>
</tr>
<tr>
<td colspan="7" background="images/bund.gif" height="5" valign="top"></td>
</tr>
<tr>
<td colspan="7" background="images/logo.gif" height="120" valign="top"></td>
</tr>
<tr>
<td colspan="3" background="images/top.gif" width="450" height="8" valign="top"></td>
<td rowspan="6" bgcolor="#FFFFFF" width="25" height="100%" valign="top"></td>
<td colspan="3" background="images/top.gif" width="175" height="8" valign="top"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#7f7f7f" height="15" width="450"><B><font color="#FFFFFF"> -
Du er her:
</font></b></td>
<td colspan="3" bgcolor="#7f7f7f" height="15" width="175"><B><font color="#FFFFFF"> - Menu:</font></b></td>
</tr>
<tr>
<td colspan="3" background="images/bund.gif" width="450" height="5" valign="top"></td>
<td colspan="3" background="images/bund.gif" width="175" height="5" valign="top"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#bebebe" width="450" height="4"></td>
<td colspan="3" bgcolor="#bebebe" width="175" height="4"></td>
</tr>
<?
}
function render_footer($license=false) {
global $theme_width,$settings;
?>
<tr>
<td bgcolor="#bebebe" width="442" height="4" valign="top"></td>
<td bgcolor="#bebebe" width="164" height="4" valign="top"></td>
</tr>
<tr>
<td colspan="7" background="images/top.gif" height="8" valign="top"></td>
</tr>
<tr>
<td colspan="7" bgcolor="#7f7f7f" height="15" valign="top"><center><font color="#FFFFFF">Copyright © <? echo date("Y"; ?> Kajbi.dk, <a href=mailto:info@kajbi.dk>Kaj Billeskov</a> & <a href=mailto:kim@kajbi.dk>Kim Henrik Larsen</a></font></center></td>
</tr>
<tr>
<td colspan="7" background="images/bund.gif" height="5"></td>
</tr>
</table>
</body>
</html>
<?
}
// Indhold
function opentable($title) {
?>
<tr>
<td rowspan="2" bgcolor="#bebebe" width="3" height="100%" valign="top"></td>
<td bgcolor="#bebebe" width="442" height="100%" valign="top">
<?
echo "$title";
}
function closetable() {
echo "
</td>";
?>
<td rowspan="2" bgcolor="#bebebe" width="5" height="100%" valign="top"></td>
<td rowspan="2" bgcolor="#bebebe" width="5" height="100%" valign="top"></td>
<?
}
// Indhold SLUT
// ---- MENU ---
function openside($title) {
?>
<td bgcolor="#bebebe" width="164" height="100%" valign="top">
<?
echo "$title";
}
function closeside() {
?></td>
<td rowspan="2" bgcolor="#bebebe" width="6" height="100%" valign="top"></td>
</tr>
<?
}
// ---- MENU SLUT ---
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>