Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Padekit headeri idet...

Parašė bad_user· 2008 Bal. 17 22:04:11
#2


<?php
/*--------------------------------------------------+
| Theme skirta PHP-Fusion Turinio Valdymo Sistemai  |
| Tema parengta ir paskelbta WTFTHEMES.com komandos.|
| Svetain&#235;: www.wtfthemes.com                       |
|  Prasome nepanikinti nuorodos i musu saita.       |
|                                                   |
| Theme by WTFTHEMES.com                            |
| Please do not remove the copyright                |
| Web: www.wtfthemes.com                            |
+-------------------------------------------------- */


/************************/
/* Theme Settings      */
/************************/

$body_text = "#000000";
$body_bg = "#6aa311";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

   echo "<script type='text/javascript' src='".THEME."js/menu.js'></script>";

function render_header($header_content) {
include THEME."locale/Lithuanian.php";
include LOCALE.LOCALESET."global.php";

global $theme_width,$settings;

   echo "<table class='bodyline' cellSpacing='0' cellPadding='0' width='970' align='center' border='0'>";
   echo "<body topmargin='0' leftmargin='0' marginwidth='0' marginheight='0'>"; //<-------&#186;&#209;§¤&#209;&#186;&#227;&#203;é&#170;&#212;´¢&#205;&#186;&#203;¹é&#210;&#224;¾¨
   echo "<table id='Table_01' width='820' height='277' border='0' cellpadding='0' align='center' cellspacing='0'>
   <tr>
      <td>
         <img src='".THEME."images/head_01.jpg' width='92' height='57' alt=''></td>
      <td>
         <img src='".THEME."images/head_02.jpg' width='95' height='57' alt=''></td>
      <td colspan='4'>
         <img src='".THEME."images/head_03.jpg' width='499' height='57' alt=''></td>
      <td>
         <img src='".THEME."images/head_04.jpg' width='134' height='57' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/head_05.jpg' width='92' height='172' alt=''></td>
      <td>
         <img src='".THEME."images/head_06.jpg' width='95' height='172' alt=''></td>
      <td colspan='4'>
         <img src='".THEME."images/head_07.jpg' width='499' height='172' alt=''></td>
      <td>
         <img src='".THEME."images/head_08.jpg' width='134' height='172' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='".THEME."images/head_09.jpg' width='92' height='48' alt=''></td>
      <td>
         <img src='".THEME."images/head_10.jpg' width='95' height='48' alt=''></td>
      <td>
 <a href='".BASEDIR."index.php'>
         <img src='".THEME."images/head_11.jpg' width='156' height='48' alt='' border='0'></td></a>
      <td>
      <a href='".BASEDIR."register.php'>
         <img src='".THEME."images/head_12.jpg' width='121' height='48' alt='' border='0'></td></a>
      <td>
      <a href='".BASEDIR."infusions/pro_download_panel/download.php'>
         <img src='".THEME."images/head_13.jpg' width='120' height='48' alt='' border='0'></td></a>
      <td>
      <a href='".BASEDIR."contact.php'>
         <img src='".THEME."images/head_14.jpg' width='102' height='48' alt='' border='0'></td></a>
      <td>
         <img src='".THEME."images/head_15.jpg' width='134' height='48' alt=''></td>
   </tr>
</table>";
   echo "<table width='100%' cellpadding='2' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
   echo "<img src='".THEME."images/pixel.gif' width='100%' height='4'>";
}


/*******************************************************************/
/*          Pra&#240;au gerbkite autoriø nuorodas.          */
/* NEI&#208;TRINKITE NUORUODØ &#193; M&#219;SØ SAIT&#192;. TAIP PAT IR PAVEIKSL&#203;LIØ. */
/*******************************************************************/

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

   echo "</td></tr></table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='$theme_width' border='0'><tr>";
   echo "<td align='center'><br>".stripslashes($settings['footer'])."<br></td>";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
   echo "<tr><td width='35%' class='topnav' align='center'><div align='left'>&nbsp;&nbsp;&nbsp;";
      if ($license == false) {
   echo "Varikliukas: <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:top;'></a>";
   }
   echo "</div></td>";
   echo "<td width='20%' class='topnav' align='left'>";
   echo "Theme by: <a target='_blank' href='http://www.wtfthemes.com'><img title='WTFTHEMES' src='".THEME."images/wtfthemes.gif' style='vertical-align:top;'></a></td>";
   echo "<td width='35%' class='topnav' align='middle'><div align='right'>";
   echo "<b>".$settings['counter']."</b></font>&nbsp;".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
   echo "&nbsp;&nbsp;</div></td></tr></table>";
}

function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "<font class='news-title'>$subject</b></font></td>";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' 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'>&nbsp;";
   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&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
   echo "<tr><td align='left'>";
   echo "&nbsp;<font class='news-title'>$subject</b></font></td>";
   echo "<td align='right>";
   echo "<img border='0' src='".THEME."images/div.gif'> ";
   echo "</td></tr></table>";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='1' 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&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

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

   echo "<table width='100%' cellpadding='3' cellspacing='1' style='border: 1px solid #333333'>";
   echo "<tr><td bgcolor='#D8D8D8' background='".THEME."images/cellpic1.gif' height='25'><font class='head-title'>$title</font></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td class='main-body'>\n";
}

// Close table end
function closetable() {
   echo "</td></tr></table>\n";
}

function openside($title) {

   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
   echo "<font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#EFEFEF' class='side-body' width='100%'>";
}

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

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

if($open=="on"){$box_img="off";}else{$box_img="on";}
   echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
   echo "<img align='left' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
   echo "</td></tr>";
   echo "<tr><td bgcolor='#EFEFEF' class='side-body' width='100%'>";
   echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}


function closesidex() {

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

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