Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del theme v6

Parašė LiGhT-KiD· 2009 Lie. 31 02:07:17
#3

vistiek neiseina man padekit...


<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#0f697e";
$body_bg = "#000000";
$theme_width = "100%";
$theme_width_l = "251";
$theme_width_r = "251";

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

echo "<table align='center' style='padding-right: 0px; padding-bottom:0px;' cellpadding='0' cellspacing='0' width='0' class='paneles'>\n<tr>
<td align='left' width='500'>";
include THEME."Status.php";
echo "</td>
</tr>
</table>
<table align='center' cellpadding='0' cellspacing='0' width='881'>
  \n
    <tr>
      <td align='left' class='sub-header'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp".showsublinks("&middot;","white")."</td>
    </tr>
</table>
\n";

echo "\n";

echo "
<table align='center' cellpadding='0' cellspacing='0' width='881'>\n<tr>\n";

}
function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='881' class='footer'>
<tr>
<td align='center'>TVS: <a href='http://www.php-fusion.co.uk' target='_blank' style='color:#0b5d6e;'>PHP-Fusion</a> - Desinger: <a href='http://www.la2base.lt' target='_blank' style='color:#0b5d6e;'>Songer@!`~</a></td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='710'>
<tr>
<td align='center' class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," &middot;").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='710' cellpadding='0' cellspacing='0'>
<tr>
<td align='center' class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='710'>
<tr>
<td align='center' class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
<tr><td><img src='".THEME."images/closetable.gif' alt='bullet'></td></tr>
</table>\n";

}

function openside($title) {
   
echo "<table width='710' cellpadding='0' cellspacing='0'>
<tr>
<td align='center' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
<tr><td><img src='".THEME."images/closeside.gif' alt='bullet'></td></tr>
</table>\n";
tablebreak();

}

function openside_header($title) {
   
echo "<table width='710' cellpadding='0' cellspacing='0'>
<tr>
<td align='center'class='side-body-panel'>\n";

}

function closeside_header() {

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

}

function openside_panel($title) {
   
echo "<table width='710' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body-panel'>\n";

}

function closeside_panel() {

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

}

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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

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

}

function tablebreak() {

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

}
?>



Redagavo LiGhT-KiD· 2009 Lie. 31 02:07:26