A więc zmieniłem skórkę na Bluespace. W PA podałem link do banera.
Baner nie pojawia się na stronie. Pojawia się jedynie jak jest przekierowanie logowania i wylogowania oraz przy wyłączeniu prac na stronie. W czym jest błąd?
Kod thema:
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='body-border'>";
echo "<tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td><div align='right' id='clockbar'><div class='clockbarcolor'>";
echo "<div id='Clock'></div>";
echo "<script type='text/javascript'>
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December');
//-->
</script>";
echo "<script type='text/javascript' src='".THEME."/clock/clock.js'></script></div></div>";
echo "<div align='right' id='pageheader'>";
echo "<table style='WIDTH: 100%' height='50' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td style='WIDTH: 45%'>";
echo "<img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0' width='216' height='74'></a>";
echo "</td>";
echo "<td style='padding-right:15px;' align='right'><a class='clockbarcolor' href='#' onClick=\"return clickreturnvalue()\" onMouseover=\"dropdownmenu(this, event, menu1, '185px')\" onMouseout=\"delayhidemenu()\"><img src='".THEME."images/quicktips.gif'></a></td>";
echo "</tr></table></div>";
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='subheader'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " - \n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</div></td>";
echo "<td class='subheader' vAlign='center' align='right'>";
echo "<form name='search' action='".BASEDIR."search.php?stype=f' method='post'>";
echo "<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>";
echo "<td align='right'><b>Search</b> ";
echo "<input type='text' class='input' name='stext' value='Search Forums' onBlur=\"if(this.value=='') this.value='Search Forums';\" onFocus=\"if(this.value=='Search Forums') this.value='';\">";
echo " <input name='option' class='submit' type='submit' value='Search'>";
echo "</td></tr></table></form>";
echo "</td></tr></table></div>";
echo "</td></tr></table>";
echo "</td></tr></table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
Edytowane przez Ryba_10 dnia 02.07.2008 20:42:04
|