Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Keičiasi headeriai po refresh

Parašė tabux· 2008 Lap. 3 10:11:47
#9

Turbut mokesi toliau pasidaryti.
function render_header($header_content) {


global $theme_width,$settings,$locale,$userdata,$aidlink;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";
   // Start banner code / Banerio kodas
   echo "<table width='80%'align='center' cellspacing='0' cellpadding='0' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>";
   echo "<td height='366' align='center' background='".THEME."images/logo2/logo".rand(1,9).".jpg'>
   <table width='100%' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' align='center'>";