Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Bėda su panele

Parašė adulis· 2008 Lie. 5 21:07:18
#7

Susitvarkiau.
Nenoriu kurt naujos temos tai rašau čia:

Tokis patys img bet atvaizduoja kaškaip netaip


Theme.php:
<?php

/************************/
/* Settings/Nustatymai   */
/************************/

$body_text = "#000000";
$body_bg = "#ffffff";
$theme_width = "944";
$theme_width_l = "200";
$theme_width_r = "200";

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

   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<table align='center' width='940' height='211' border='0' cellpadding='0' cellspacing='0'>
   <tr>

      <td colspan='2' class='netzone_head_1' width='38' height='37'><a href='#'><img src='".THEME."images/spacer.gif' width='35' height='35' style='display:block'></a></td>
      <td class='netzone_head_2' width='35' height='37'><a href='contact.php'><img src='".THEME."images/spacer.gif' width='32' height='35' style='display:block'></a></td>
      <td class='netzone_head_3' width='35' height='37'><a href='search.php'><img src='".THEME."images/spacer.gif' width='32' height='33' style='display:block'></a></td>
      <td colspan='3' class='netzone_head_4' width='832' height='37'></td>
   </tr>
   <tr>
      <td colspan='5' class='netzone_head_5' width='433' height='48'></td>
      <td colspan='2' class='netzone_head_6' width='507' height='48'></td>
   </tr>

   <tr>
      <td colspan='7' class='netzone_head_7' width='940' height='51'></td>
   </tr>
   <tr>
      <td class='netzone_head_8' width='16' height='60'></td>
      <td colspan='5' class='netzone_head_9' width='468' height='60'><a href='http://ogline.net/news.php'><img src='http://ogline.net/468x60.gif'></td>
      <td class='netzone_head_10' width='456' height='60'></td>
   </tr>
   <tr>

      <td colspan='7' class='netzone_head_11' width='940' height='14'></td>
   </tr>
   <tr>
      <td>
         <img src='images/spacer.gif' width='16' height='1' ></td>
      <td>
         <img src='images/spacer.gif' width='22' height='1' ></td>
      <td>
         <img src='images/spacer.gif' width='35' height='1' ></td>

      <td>
         <img src='images/spacer.gif' width='35' height='1' ></td>
      <td><img src='images/spacer.gif' width='325' height='1' ></td>
      <td>
         <img src='images/spacer.gif' width='51' height='1' ></td>
      <td>
         <img src='images/spacer.gif' width='456' height='1' ></td>
   </tr>
</table>
";
echo"<table align='center' width='940' height='44' border='0' cellpadding='0' cellspacing='0'>
      <td><a href='news.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__01.gif' width='68' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_01.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__01.gif'></a></td><td><a href='http://ogline.net/forum/index.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__02.gif' width='79' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_02.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__02.gif'></a></td><td><a href='http://ogline.net/downloads.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__03.gif' width='85' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_03.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__03.gif'></a></td><td><a href='http://ogline.net/articles.php'><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__04.gif' width='79' height='44' border='0' onMouseOver=this.src='".THEME."images/netzone_black/headeris/sub_headeris_on_04.gif' onMouseOut=this.src='".THEME."images/netzone_black/headeris/netzone_sub_head__04.gif'></a></td><td><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__05.gif' width='77' height='44' border='0'></a></td><td><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__06.gif' width='67' height='44' border='0'></a></td><td><img src='".THEME."images/netzone_black/headeris/netzone_sub_head__07.gif' width='105' height='44' border='0'></a></td><td class='netzone_subhead_8' width='58' height='44'></td><td class='netzone_subhead_19' width='1' height='44'><table width='360' cellpadding='0' cellspacing='0' border='0' align='left'>
     <marquee scrollamount='4' scrolldelay='50' onmouseover='this.stop()' onmouseout='this.start()'>".stripslashes($settings['description'])."</marquee>
</td><td valign='center'></td>
</table></td></tr>
</table>
";








echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr><td>";
echo "\n";



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








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

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

   echo "</tr>\n</table>\n";
   echo "<table align='center' width='936' height='44' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td class='foootas1' width='714'></td>

      <td class='foootas2' width='226'></td>
   </tr>
</table>";
}

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

global $locale;

   echo "<table align='center' border='0' width='531' cellpadding='0' cellspacing='0'>
   <tr>
      <td class='pan-ct-kaire'></td>
      <td class='pan-ct-centras'><center>$subject</center></td>

      <td class='pan-ct-desine'></td>
   </tr>
   <tr>
      <td class='pan-ct-son-kaire'></td>
      <td class='pan-ct-fonas'>";
   echo "$news";
   echo "<td class='pan-ct-son-desine'></td>
   </tr>
   <tr>
      <td class='pan-ct-apac-kaire'></td>
      <td class='pan-ct-apac-centras'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." ";
   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>
      <td class='pan-ct-apac-desine'></td>
   </tr>
</table>";
}

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 width='100%' cellpadding='0' cellspacing='0' class='borderis_son'>
   <tr>
      <td>
<table width='100%' height='37' cellpadding='0' cellspacing='0'>
   <tr>

       <td class='pan-ct-kaire_all' width='125'><img src='".THEME."images/spacer.gif' width='125' height='37' style='display:block'></td>
       <td class='pan-ct-centras_all' width='100%'><center>$title</center></td>
      <td class='pan-ct-desine_all' width='137'><img src='".THEME."images/spacer.gif' width='137' height='37' style='display:block'></td>
   </tr>
</table>
   <table width='100%' cellpadding='0' cellspacing='0'>
   <tr>
      <td class='pan_ct_body_all' width='100%' height='100%'>";
}

// Close table end
function closetable() {

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

function openside($title) {
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='borderis_son'>
   <tr>
      <td>
<table width='100%' cellpadding='0' cellspacing='0'>

   <tr>
      <td class='netzone_pan_l'>$title</td>
   </tr>
   <tr>
      <td class='paneles_bg'>";
}

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='8'></td></tr></table>\n";
}
?>