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

Parašė Petriukas· 2008 Rugp. 22 13:08:32
#4

<?
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
/*--------------------------------------------+
|      CeRNoBiL-v2 For Fusion                 |
|---------------------------------------------|
| Tasarżmcż: CeRNoBiL-SanaLKraL               |
| web: http://www.sanalkral.org/              |
| msn & email: editor@sanalkral.org           |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/

// tema ayarlarż
$body_text = "#113355";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "220";
$theme_width_r = "220";



//Header Kodlarż Burda bažlżyor...
function render_header($header_content) {
   global $theme_width,$settings,$locale,$userdata,$aidlink;
   echo "<table align='center' class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
   echo "<tr><td class='bodyline-top-left' width='30' height='30' nowrap='nowrap'></td><td class='bodyline-top' height='30'></td><td class='bodyline-top-right' width='30' height='30' nowrap='nowrap'></td></tr>\n";
   echo "<tr><td class='bodyline-left' width='30' nowrap='nowrap'></td><td>";
   
   echo "<table align='center' class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<table align='center' cellspacing='0'  cellpadding='0' width='$theme_width'>";
echo "<table  align='center' cellspacing='0' cellpadding='0' width='100%' height='100' border='0'>
<td aling='left' width='20' height='100'>
</td>
<td align='left'>
<img border='0' src='".THEME."images/banner.png' >
</td>";
require_once "".THEME."uye_girisi.php";
echo "<td aling='right'  width='20' height='100'>
</td>
</table>";
//Header Kodlarż Burda Bitiyor..



echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='white-header'>".showsublinks("","white")."</td>
<td align='right' class='white-header'><font color=white>".showsubdate()."</font></td>
</tr>
</table>\n";

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

}

function render_footer($license=false) {

global $theme_width,$locale,$settings;
include THEME."/locale/footer-bilgileri.php";
   echo "</tr></table>

<TABLE cellSpacing=0 cellPadding=0 width='100%'>
        <TR>
      <TD vAlign=top width=14><IMG height=12 src='".THEME."images/1.gif' width=14 border=0></TD>
          <TD vAlign=top width=100% background=".THEME."images/2.gif></TD>
          <TD vAlign=top width=14><IMG height=12 src='".THEME."images/3.gif' width=14 border=0></TD></TR>
        <TR>
          <TD width=14 background=".THEME."images/4.gif></TD>
          <TD>
            <DIV align=center>
            <TABLE cellSpacing=0 cellPadding=0 width='100%' border=0>
              <TR>
                <TD align=left>".$locale['cernobil']."</TD>
                <TD align=center>".$locale['cernobil2']."</TD>
                <TD align=right><b>".$settings['counter']." </b>".$locale['141']."\n</TD></TR><TR>
               
                </TR></TABLE>
                </DIV></TD>
          <TD width=10 background=".THEME."images/6.gif><IMG height=20 src='".THEME."images/spacer.gif' width=14 border=0></TD></TR>
        <TR>
          <TD vAlign=top width=14><IMG height=12 src='".THEME."images/8.gif' width=14 border=0></TD>
          <TD vAlign=top width=100% background=".THEME."images/10.gif></TD>
          <TD vAlign=top width=14><IMG height=12 src='".THEME."images/9.gif' width=14 border=0></TD></TR>
          </TABLE>
";
//Copyright Silene Hakkżmż Helal etmem :))

   echo "";
}

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

global $locale;
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-bleft'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-bmain'>$subject</td>";
   echo "<td class='panel-bright'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border2-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
   echo "<div class='infobar' style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";

   echo "<td><img src='".THEME."images/bullet.gif'> ";
   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 align='right'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> <b>·</b>\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> <b>·</b> ";
   echo "".$info['news_reads'].$locale['044']." <b>-</b> ";
   echo "</td></tr></table></div></td>";

   echo "<td class='border2-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'>";
   echo "</td></tr><tr>";
   echo "<td class='border2-bleft'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "<td class='border2-bmain'><img src='".THEME."images/blank.gif' width='1' height='5' alt='' style='display:block'></td>";
   echo "<td class='border2-bright'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;

   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>$subject</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>";
   echo "<div style='margin-top:5px'>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='infobar'><img src='".THEME."images/bullet.gif'> ";
   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 align='right' class='infobar2'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." <b>·</b> ";
   echo "".$info['article_reads'].$locale['044']." <b>-</b> ";
   echo "</td></tr></table></div></td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "</tr><tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function opentable($title) {

   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   echo "<tr><td class='panel-aleft'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-amain'>$title</td>";
   echo "<td class='panel-aright'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>\n";
}

function closetable() {

   echo "</td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function openside($title) {
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-main'>$title</td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>\n";
}

function closeside() {

   echo "</td>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "</tr></table><img src='".THEME."images/blank.gif' height='4' alt='' style='display:block'>\n";
}

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

   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "<td class='panel-main'>$title</td>";
   echo "<td align='right' class='panel-main'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
   echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='5' height='32' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>";
   echo "<td class='side-body'>";
   echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}

function closesidex() {

   echo "</div>";
   echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td></tr>";
   echo "<tr>";
   echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='5' alt='' style='display:block'></td>";
   echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='5' height='5' alt='' style='display:block'></td>";
   echo "</tr></table>\n";
}

function tablebreak() {

   echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='5'>";
   echo "</td></tr></table>\n";
}
?>




ka pakeist reikia?

Redagavo WantedBoy· 2008 Rugp. 22 13:08:01