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

Parašė cofi· 2011 Sau. 28 12:01:45
#1

Sveiki dar karta. :) norejau paklaust kaip pritraukti paneleviena arciau kitos ? :D

ten kur pilaki paterliojau ten yra tarpas kaip padaryt kad jio nebutu ? stai theme.php

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

// theme settings
$body_text = "#555555";
$body_bg = "#FFF";
$theme_width = "996";
$theme_width_l = "175";
$theme_width_r = "175";

function render_header($header_content) {

global $theme_width;

echo "<table class='full-header' align='center' width='$theme_width' cellspacing='0' cellpadding='0' >
<tr>
<td></td>
<td>
<table width='100%' cellspacing='0' cellpadding='0' >
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<td align='center' width='996' height='450' background='".THEME."images/Header.png' border='0' cellspacing='0' cellpadding='0'>";
echo "</div>
</td>

</td>
</tr>
</table>
</td>
</tr>
</table>\n";



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

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' class='footer'>
<tr>
<td width='100'><a href='http://www.php-fusion.co.uk/' target='_blank'><img src='".THEME."images/fusion.gif'></a></td>
<td width='600'> ".stripslashes($settings['footer'])."</td>
<td width='100'><a href='http://www.ryoart.xz.lt/' target='_blank'><img src='".THEME."images/ryo.png' align='right' border='0'></a></td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {
   global $locale;
   opentable($subject);
   echo $locale['040'].newsposter($info)."\n"
   ."<br>\n\n<br>\n".$news."<br><br>\n\n"
   .openform("N",$info['news_id']).newsopts($info," &middot;").closeform("N",$info['news_id'])."\n";
   closetable();
}

function render_article($subject, $article, $info) {
   global $locale;
   opentable($subject);
   echo $locale['040'].articleposter($info)."\n"
   ."<br>\n\n<br>\n".$article."<br><br>\n\n"
   .openform("A",$info['article_id']).articleopts($info," &middot;").closeform("A",$info['article_id'])."\n";
   closetable();
}


function opentable($title) {

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

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {
   
   echo "<table width='230' cellpadding='0' cellspacing='0'><tr>";

   echo "<td width='100%' class='sonas-up'>$title</td>";

   echo "</tr></table>";
   echo "<table width='230' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='side-body'>\n";
}

function closeside() {

   echo "</td>";
   echo "</tr>";
   echo "<tr>";
   echo "<td class='sonas-down'><img src='".THEME."images/blank.gif' width='219' height='3' alt='' style='display:block'></td>";
   echo "</tr></table><br>";
}


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

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' >
<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";

}
?>