Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit dar karteli

Parašė ramon· 2008 Vas. 19 21:02:13
#2

Pakeisk savo render_header funk i sita mano pateikta:

function render_header($header_content) {
global $theme_width,$settings;
   
   echo "<table align='center' style='background-image:url(".THEME."images/header-center.gif)' border='0' cellpadding='0' cellspacing='0' width='$theme_width'>";
   // Start banner code
   echo "<table width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td>$header_content</td></tr>";
   echo "</table></td>";
   // End banner code
   echo "<img src='".THEME."images/pixel.gif' height='5'>";
   echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='$theme_width'>";
   echo "<tr><td width='42'><img src='".THEME."images/nav-left.gif' width='16' height='26'></td>";
   echo "<td width='75%' style='background-image:url(".THEME."images/nav-center.gif)'>";
   echo showsublinks("&middot;")."</td>";
   echo "<td align='right' width='25%' style='background-image:url(".THEME."images/nav-center.gif)'>";
   echo showsubdate()."</td>";
   echo "<td width='42'><img src='".THEME."images/nav-right.gif' width='16' height='26'></td></tr></table>";
   echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>\n<tr>\n";
}