Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit;(

Parašė mariuxxxx· 2009 Lie. 21 13:07:41
#1



padekit kazkas su tema sitoje puseje kazkoks tarpas o kito per daug susiliete padekit:s

va tema:


<?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)  |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

/* Theme Settings */
$body_text = "#555555";
$body_bg = "#343434";
$theme_width = "900";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {
global $theme_width,$settings;

   echo "<table align='center' class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
   echo "<tr><td width='25' nowrap='nowrap' class='lefttd'></td><td>";
   // Start banner code
   echo "<table width='1000' border='0' cellpadding='0' cellspacing='0'><tr>";
    echo "<td background='".THEME."images/02.gif' height='185'>&nbsp;</td></tr></table>";
   // End banner code
   echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
   echo "<td background='".THEME."images/09.gif' height='31'>&nbsp;<img border='0' src='".THEME."images/bullet.gif'>".showsublinks("<img border='0' src='".THEME."images/bullet.gif'>")."</td>\n";
   echo "</td></tr></table>";
   
   echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
   echo "<tr valign='top'>";
   echo "<td valign='middle' align='right'>";
   echo "<table width='100%' cellpadding='2' bgcolor='#9A978E' cellspacing='0' border='0'><tr>";
}

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

   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='900' height='31'><tr><td align='center' class='footer'>Varikliukas: <a href='http://www.php-fusion.co.uk/' targer='_blank'>PHP-Fusion</a>. Sprendimas: <a href='mailto:KipshiuS@GMail.com'>KipshiuS</a></td></tr></table>";

}

function render_news($subject, $news, $info) {
   
global $locale;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'><tr>";
   echo "<td class='capmain'><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' align='center'>&nbsp;".newsposter($info)."</td>";
   echo "<td align='center' class='news-footer'>";
   echo openform("N",$info['news_id']).newsopts($info,"&middot;").closeform("N",$info['news_id']);
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
   echo "<td class='capmain'><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'>".($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' align='center'>".articleposter($info)."</td>";
   echo "<td align='center' class='news-footer'>";
   echo openform("A",$info['article_id']).articleopts($info,"&middot;").closeform("A",$info['article_id']);
   echo "</td></tr></table></td></tr></table>\n";
}

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

   echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'><tr>";
   echo "<td class='scapmain'>$title</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td class='side-body'>\n";
}

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

function openside($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'><tr>";
   echo "<td class='scapmain'>$title</td></tr>";
   echo "<tr><td class='side-body'>";
}

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

function opensidex($title,$open="on") {
   $boxname = str_replace(" ", "", $title);
   $box_img = $open == "on" ? "off" : "on";
   echo "<table bgcolor='#ABA8A0' border='0' style='border: 1px solid #8A8573' cellspacing='0' width='100%' cellpadding='0'><tr>";
   echo "<td class='scapmain'>$title</td>";
   echo "<td class='scapmain' align='right'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
   echo "</tr>";
   echo "<tr><td colspan='2' class='side-body'>";
   echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\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";
}
?>



Redagavo mariuxxxx· 2009 Lie. 21 13:07:06