Edytuj plik theme.php, znajdz:
define("THEME_BULLET", "<span class='bullet'>·</span>");
Kliknij i zaczekaj na załadowanie kodu ...
i nad tym wstaw:
define("THEME_WIDTH", "1000px");
Kliknij i zaczekaj na załadowanie kodu ...
Nastepnie cala funkcje render_page, czyli ponizszy fragment kodu:
function render_page($license=false) {
global $settings, $main_style, $locale;
//Header
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td align='center' class='full-header'><img src='".THEME."images/logo.gif'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='sub-header-left'></td>\n";
echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='100%' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='sub-header-left'></td>\n";
echo "<td align='left' class='sub-header'>Powered by <a href='http://php-fusion.co.uk'>PHP-Fusion</a>";
echo "<td align='right' class='sub-header'>TehnoBlue By <a href='http://art4fusion.com'>Art4Fusion.com(eWe)";
echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "</td>\n";
echo "</tr>\n</table>\n";
}
Kliknij i zaczekaj na załadowanie kodu ...
zamien na:
function render_page($license=false) {
global $settings, $main_style, $locale;
//Header
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td align='center' class='full-header'><img src='".THEME."images/logo.gif'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td class='sub-header-left'></td>\n";
echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
echo "<td class='sub-header-left'></td>\n";
echo "<td align='left' class='sub-header'>Powered by <a href='http://php-fusion.co.uk'>PHP-Fusion</a>";
echo "<td align='right' class='sub-header'>TehnoBlue By <a href='http://art4fusion.com'>Art4Fusion.com(eWe)";
echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n</table>\n";
}
Kliknij i zaczekaj na załadowanie kodu ...
Przy okazji poprawilem footer, ktory zawieral zbedna tabele, do tego uszkodzona.
Jestem jaki jestem
|