Parašė Valuediz· 2008 Geg. 18 21:05:23
#5
Gal gali tiksliau? Speju čia headeryje todėl:
function render_header() {
global $theme_width, $rtNavbar, $rtHeader, $settings;
if ((isset($rtHeader['logo_url'])) && (!empty($rtHeader['logo_url'])))
$url = $rtHeader['logo_url'];
else
$url = false;
if ((isset($rtHeader['logo_url_title'])) && (!empty($rtHeader['logo_url_title'])))
$title = $rtHeader['logo_url_title'];
else
$title = false;
echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
."<table align='center' border='0' cellpadding='0' cellspacing='0' width='992'>\n"
."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
."<div id='clock'><noscript><div id='noscript'>Javascript should be enabled in order to view everything in certain sections of <strong>".$settings['sitename']."</strong>.</div></noscript><script language='javascript' src='".THEME."includes/clock.js' type='text/javascript'></script></div>\n"
."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
."<td class='logo' height='218' valign='top' width='100%'>"
.($url ? "<a href='$url' onmousedown='return false;'".($title ? " title='".$title."'" : "").">" : "")
."<img".($title ? " alt='".$title."'" : " alt=''")." border='0' src='".THEME."images/logo.png'".($title ? " title='".$title."'" : "").">"
.($url ? "</a>" : "")
.((isset($rtHeader['slogan']) && !empty($rtHeader['slogan'])) ? "<br><span class='slogan'>".$rtHeader['slogan']."</span>" : "")."</td>\n";
if ((iMEMBER) && (isset($rtHeader['rightside_member'])) && (!empty($rtHeader['rightside_member']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_member']."</td>\n";
} elseif ((!iMEMBER) && (isset($rtHeader['rightside_guest'])) && (!empty($rtHeader['rightside_guest']))) {
echo "<td class='rightside' nowrap='nowrap' valign='bottom'>".$rtHeader['rightside_guest']."</td>\n";
}
echo "</tr></table>\n";
$rtNavbar->generate();
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
}