Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Headeri siuntiniai

Parašė manex· 2008 Rugs. 19 22:09:30
#1

Tai va yra diela tokia man reiketu jusu pagalbos. Bandziau pats bet deje neiseina vis buna netaip. Noriu ideti siuntiniu koda headeri , kad roditu headeri siuntinius naujausius ir populiariausius.


siuntiniu headeri kodas:

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px; border-top: solid #000000 1px; margin-top: -5px;'>";
   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%'>";

   echo "<tr><table align=center width=100% height=270 background='".THEME."images/baner.jpg' border=0 cellspacing=0 cellpadding=0>";
echo"<tr><td height=50 class='nuorodos' align='center' style='padding-right:50px; padding-top:130px;'><br>";
echo"<table width='50%'><tr>";

echo"<td width='40%'>";
 $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
 if (dbrows($result) != 0) {
  echo "<table width='100%'>";
  while ($data = dbarray($result)) {
   echo "<tr>
    <td class='small'>
     <img src='".THEME."images/bullet.gif'>
     <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
    </td>
    <td align='right'>".$data['download_count']."</td>
   </tr>";
  }
  echo "</table>";
 } else {
  echo "<div style='text-align:center'>".$locale['004']."</div>\n";
 }

echo "</td><td width='60%' style='padding-left:80px;' >";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
   if (dbrows($result) != 0) {
echo "<table  width='100%'>";
      while ($data = dbarray($result)) {
         echo "<tr>
            <td class='small'>
                    <img src='".THEME."images/bullet.gif'>
               <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "<div style='text-align:center'>".$locale['004']."</div>\n";
   }

echo "</tr>
</table>";

echo "</td></tr>
<tr></tr>

<tr><td height=30></td></tr>
<tr></tr>
</table>
";

echo"</td></tr><tr></tr><tr><td></td></tr></table>";

   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}





Theme.php:

<?php

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "1001";
$theme_width_l = "180";
$theme_width_r = "180";

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 0px; border-left: solid #b5b5b5 0px;'>";
   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%'>";
   

// Banerio kodas



   echo "<table id='Table_01' width='1001' height='211' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td colspan='21'>
         <img src='".THEME."images/head_01.jpg' width='1000' height='270' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='159' alt=''></td>
   </tr>
   <tr>
      <td rowspan='3'>
         <img src='".THEME."images/head_02.jpg' width='6' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/news.php'><img src='".THEME."images/pagrindinis.jpg' width='82' height='34' border='0' onMouseOver=this.src='".THEME."images/pagrindinis.gif' onMouseOut=this.src='".THEME."images/pagrindinis.jpg'></a></td>
      <td rowspan='3'>
         <img src='".THEME."images/head_04.jpg' width='1' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/forum/index.php'><img src='".THEME."images/forumas.jpg' width='63' height='34' border='0' onMouseOver=this.src='".THEME."images/forumas.gif' onMouseOut=this.src='".THEME."images/forumas.jpg'></a></td>
      <td rowspan='3'>
         <img src='".THEME."images/head_06.jpg' width='1' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/downloads.php'><img src='".THEME."images/siuntimai.jpg' width='69' height='34' border='0' onMouseOver=this.src='".THEME."images/siuntimai.gif' onMouseOut=this.src='".THEME."images/siuntimai.jpg'></a></td>
      <td rowspan='3'>
         <img src='".THEME."images/head_08.jpg' width='1' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/servers'><img src='".THEME."images/serveriai.jpg' width='68' height='34' border='0' onMouseOver=this.src='".THEME."images/serveriai.gif' onMouseOut=this.src='".THEME."images/serveriai.jpg'></a></td>
      <td rowspan='3'>
         <img src='".THEME."images/head_10.jpg' width='1' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/articles.php'><img src='".THEME."images/pamokos.jpg' width='64' height='34' border='0' onMouseOver=this.src='".THEME."images/pamokos.gif' onMouseOut=this.src='".THEME."images/pamokos.jpg'></a></td>
      <td colspan='9'>
         <img src='".THEME."images/head_12.jpg' width='356' height='8' alt=''></td>
      <td colspan='2' rowspan='2'>
         <img src='".THEME."images/head_13.jpg' width='288' height='16' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
   </tr>
   <tr>
      <td rowspan='2'>
         <img src='".THEME."images/head_14.jpg' width='93' height='26' alt=''></td>
      <td>
         <a href='http://fpsZone.lt/readarticle.php?article_id=23'><img src='".THEME."images/uzeriai.jpg' width='34' height='8' border='0' onMouseOver=this.src='".THEME."images/uzeriai.gif' onMouseOut=this.src='".THEME."images/uzeriai.jpg'></a></td>
      <td>
         <img src='".THEME."images/head_16.jpg' width='17' height='8' alt=''></td>
      <td>
         <a href='http://www.fpszone.lt/photogallery.php'><img src='".THEME."images/admin.jpg' width='76' height='8' border='0' onMouseOver=this.src='".THEME."images/admin.gif' onMouseOut=this.src='".THEME."images/admin.jpg'></a></td>
      <td>
         <img src='".THEME."images/head_18.jpg' width='18' height='8' alt=''></td>
      <td>
         <a href='http://www.fpsZone.lt/contact.php'><img src='".THEME."images/paslaugos.jpg' width='50' height='8' border='0' onMouseOver=this.src='".THEME."images/paslaugos.gif' onMouseOut=this.src='".THEME."images/paslaugos.jpg'></a></td>
      <td>
         <img src='".THEME."images/head_20.jpg' width='19' height='8' alt=''></td>
      <td>
         <a href='http://www.fpszone.lt/search.php'><img src='".THEME."images/reklama.jpg' width='40' height='8' border='0' onMouseOver=this.src='".THEME."images/reklama.gif' onMouseOut=this.src='".THEME."images/reklama.jpg'></a></td>
      <td>
         <img src='".THEME."images/head_22.jpg' width='9' height='8' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
   </tr>
   <tr>
      <td colspan='9' rowspan='2'>
         <img src='".THEME."images/head_23.jpg' width='487' height='35' alt=''></td>
      <td rowspan='2'>
         <img src='".THEME."images/head_24.jpg' width='64' height='35' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='18' alt=''></td>
   </tr>
   <tr>
      <td colspan='11'>
         <img src='".THEME."images/head_25.jpg' width='449' height='17' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='17' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/spacer.gif' width='6' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='82' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='63' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='69' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='68' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='64' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='93' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='34' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='17' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='76' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='18' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='50' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='19' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='40' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='9' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='224' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='64' height='1' alt=''></td>
      <td></td>
   </tr>
</table>";


   // Banerio kodo pabaiga
   







   echo "<table width='100%' cellpadding='0' bgcolor='#00000' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

 echo "</tr>\n</table>\n";
 echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #b5b5b5 0px; border-left: solid #b5b5b5 0px;'>";
 echo "<td width='50%' height='50' class='white' align='left'>";
  if ($license == false) {
  echo "<a href='mailto:'></a>";
 }
 echo "</td>";
 echo "<td width='40%' class='white' align='center'>";
 echo "<b>".stripslashes($settings['footer'])."</b></td>";
 echo "<td width='26%' class='white' align='right'>";
 echo "<b>";
 echo "</td>";
 echo "<div align='center'></tr></table></td></tr></table></div>";
}

function render_news($subject, $news, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'><center>$subject</center></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
   echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

   echo "</td></tr></table></td></tr></table>";
}

function openside($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}

function closeside() {

   echo "</td></tr></table></td></tr></table>";
   tablebreak();
}

function opensidex($title,$open="on") {

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
   echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

   echo "</div></td></tr></table></td></tr></table>";
   tablebreak();
}

// Table functions
function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n";
}
?>



Parašė Niger· 2008 Rugs. 19 22:09:17
#2



<?php

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "1001";
$theme_width_l = "180";
$theme_width_r = "180";

function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix;

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border-right: solid #000000 1px; border-left: solid #000000 1px; border-top: solid #000000 1px; margin-top: -5px;'>";
   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%'>";

   echo "<tr><table align=center width=100% height=270 background='".THEME."images/baner.jpg' border=0 cellspacing=0 cellpadding=0>";
echo"<tr><td height=50 class='nuorodos' align='center' style='padding-LEFT:300px; padding-TOP:150px;'><br>";
echo"<table width='50%'><tr>";

echo"<td width='40%'>";
 $result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
 if (dbrows($result) != 0) {
  echo "<table width='100%'>";
  while ($data = dbarray($result)) {
   echo "<tr>
    <td class='small'>
     <img src='".THEME."images/bullet.gif'>
     <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
    </td>
    <td align='right'>".$data['download_count']."</td>
   </tr>";
  }
  echo "</table>";
 } else {
  echo "<div style='text-align:center'>".$locale['004']."</div>\n";
 }

echo "</td><td width='60%' style='padding-left:80px;' >";

$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
   if (dbrows($result) != 0) {
echo "<table  width='100%'>";
      while ($data = dbarray($result)) {
         echo "<tr>
            <td class='small'>
                    <img src='".THEME."images/bullet.gif'>
               <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
            </td>
            <td align='right'>".$data['download_count']."</td>
         </tr>";
      }
      echo "</table>";
   } else {
      echo "<div style='text-align:center'>".$locale['004']."</div>\n";
   }

echo "</tr>
</table>";

echo "</td></tr>
<tr></tr>
<tr><td height=31></td></tr>
</table>
";

echo"</td></tr><tr></tr><tr><td></td></tr></table>";

   echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}

// Banerio kodas



   echo "<table id='Table_01' width='1001' height='211' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td colspan='21'>
         <img src='".THEME."images/head_01.jpg' width='1000' height='270' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='159' alt=''></td>
   </tr>
   <tr>
      <td rowspan='3'>
         <img src='".THEME."images/head_02.jpg' width='6' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/news.php'><img src='".THEME."images/pagrindinis.jpg' width='82' height='34' border='0' onMouseOver=this.src='".THEME."images/pagrindinis.gif' onMouseOut=this.src='".THEME."images/pagrindinis.jpg'></a></td>
      <td rowspan='3'>
         <img src='".THEME."images/head_04.jpg' width='1' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/forum/index.php'><img src='".THEME."images/forumas.jpg' width='63' height='34' border='0' onMouseOver=this.src='".THEME."images/forumas.gif' onMouseOut=this.src='".THEME."images/forumas.jpg'></a></td>
      <td rowspan='3'>
         <img src='".THEME."images/head_06.jpg' width='1' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/downloads.php'><img src='".THEME."images/siuntimai.jpg' width='69' height='34' border='0' onMouseOver=this.src='".THEME."images/siuntimai.gif' onMouseOut=this.src='".THEME."images/siuntimai.jpg'></a></td>
      <td rowspan='3'>
         <img src='".THEME."images/head_08.jpg' width='1' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/servers'><img src='".THEME."images/serveriai.jpg' width='68' height='34' border='0' onMouseOver=this.src='".THEME."images/serveriai.gif' onMouseOut=this.src='".THEME."images/serveriai.jpg'></a></td>
      <td rowspan='3'>
         <img src='".THEME."images/head_10.jpg' width='1' height='34' alt=''></td>
      <td rowspan='3'>
         <a href='http://www.fpsZone.lt/articles.php'><img src='".THEME."images/pamokos.jpg' width='64' height='34' border='0' onMouseOver=this.src='".THEME."images/pamokos.gif' onMouseOut=this.src='".THEME."images/pamokos.jpg'></a></td>
      <td colspan='9'>
         <img src='".THEME."images/head_12.jpg' width='356' height='8' alt=''></td>
      <td colspan='2' rowspan='2'>
         <img src='".THEME."images/head_13.jpg' width='288' height='16' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
   </tr>
   <tr>
      <td rowspan='2'>
         <img src='".THEME."images/head_14.jpg' width='93' height='26' alt=''></td>
      <td>
         <a href='http://fpsZone.lt/readarticle.php?article_id=23'><img src='".THEME."images/uzeriai.jpg' width='34' height='8' border='0' onMouseOver=this.src='".THEME."images/uzeriai.gif' onMouseOut=this.src='".THEME."images/uzeriai.jpg'></a></td>
      <td>
         <img src='".THEME."images/head_16.jpg' width='17' height='8' alt=''></td>
      <td>
         <a href='http://www.fpszone.lt/photogallery.php'><img src='".THEME."images/admin.jpg' width='76' height='8' border='0' onMouseOver=this.src='".THEME."images/admin.gif' onMouseOut=this.src='".THEME."images/admin.jpg'></a></td>
      <td>
         <img src='".THEME."images/head_18.jpg' width='18' height='8' alt=''></td>
      <td>
         <a href='http://www.fpsZone.lt/contact.php'><img src='".THEME."images/paslaugos.jpg' width='50' height='8' border='0' onMouseOver=this.src='".THEME."images/paslaugos.gif' onMouseOut=this.src='".THEME."images/paslaugos.jpg'></a></td>
      <td>
         <img src='".THEME."images/head_20.jpg' width='19' height='8' alt=''></td>
      <td>
         <a href='http://www.fpszone.lt/search.php'><img src='".THEME."images/reklama.jpg' width='40' height='8' border='0' onMouseOver=this.src='".THEME."images/reklama.gif' onMouseOut=this.src='".THEME."images/reklama.jpg'></a></td>
      <td>
         <img src='".THEME."images/head_22.jpg' width='9' height='8' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
   </tr>
   <tr>
      <td colspan='9' rowspan='2'>
         <img src='".THEME."images/head_23.jpg' width='487' height='35' alt=''></td>
      <td rowspan='2'>
         <img src='".THEME."images/head_24.jpg' width='64' height='35' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='18' alt=''></td>
   </tr>
   <tr>
      <td colspan='11'>
         <img src='".THEME."images/head_25.jpg' width='449' height='17' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='17' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/spacer.gif' width='6' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='82' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='63' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='69' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='68' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='1' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='64' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='93' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='34' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='17' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='76' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='18' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='50' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='19' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='40' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='9' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='224' height='1' alt=''></td>
      <td>
         <img src='".THEME."images/spacer.gif' width='64' height='1' alt=''></td>
      <td></td>
   </tr>
</table>";


   // Banerio kodo pabaiga
   







   echo "<table width='100%' cellpadding='0' bgcolor='#00000' cellspacing='0' border='0'><tr>";
}

function render_footer($license=false) {
global $theme_width,$locale,$settings;

 echo "</tr>\n</table>\n";
 echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0' background='".THEME."images/footer.gif' style='border-right: solid #b5b5b5 0px; border-left: solid #b5b5b5 0px;'>";
 echo "<td width='50%' height='50' class='white' align='left'>";
  if ($license == false) {
  echo "<a href='mailto:'></a>";
 }
 echo "</td>";
 echo "<td width='40%' class='white' align='center'>";
 echo "<b>".stripslashes($settings['footer'])."</b></td>";
 echo "<td width='26%' class='white' align='right'>";
 echo "<b>";
 echo "</td>";
 echo "<div align='center'></tr></table></td></tr></table></div>";
}

function render_news($subject, $news, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'><center>$subject</center></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {

global $locale;

   echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
   echo "<td height='23' class='table-cellpic'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

// Open table begins
function opentable($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
   echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}

// Close table end
function closetable() {

   echo "</td></tr></table></td></tr></table>";
}

function openside($title) {

   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}

function closeside() {

   echo "</td></tr></table></td></tr></table>";
   tablebreak();
}

function opensidex($title,$open="on") {

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
   echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
   echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
   echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}

function closesidex() {

   echo "</div></td></tr></table></td></tr></table>";
   tablebreak();
}

// Table functions
function tablebreak() {
   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr></table>\n";
}
?>








neesu garantuotas bt gal :D

EDIT: nezinau negarantuotas ar veikia...

Parašė manex· 2008 Rugs. 19 22:09:56
#3

meta klaida
Parse error: syntax error, unexpected '}' in /home/csfrut/csfrut.xz.lt/themes/fps/theme.php on line 209

Parašė Niger· 2008 Rugs. 19 22:09:27
#4

pabandyk vel atnaujinau ankstesni posta... negarantitas ar veix... bet try...

Parašė manex· 2008 Rugs. 19 23:09:03
#5

nu vistiek meta Parse error: syntax error, unexpected '}' in /home/csfrut/csfrut.xz.lt/themes/fps/theme.php on line 207 :?

Parašė EHF· 2008 Rugs. 20 09:09:18
#6

207 eiluteja istrink } . Man ir taspats yra buve

Redagavo EHF· 2008 Rugs. 20 09:09:46

Parašė ch0k3· 2008 Rugs. 20 09:09:41
#7

Siaip yra straipsnis toks...