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

Parašė semge· 2008 Bal. 17 07:04:30
#1

Kurioj vietoj ir ar galima redaguot tuos dalykus kai naujiena parasai ir buna raso ten tas ir tas parase tokia data tiek ir tiek komentaru...

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

// theme settings
$body_text = "#000000";
$body_bg = "#343434";
$theme_width = "830";
$theme_width_l = "165";
$theme_width_r = "165";

function render_header($header_content) {

global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><div align='center'><a href='".BASEDIR."news.php'><img src='".THEME."images/header.gif' border='0'></a></div></td>";
echo "</tr></table></td></tr></table>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n";
echo "</table>";

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

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

}

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

echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footeris'])."<br>";
echo "<tr><td><table border='0' cellpadding='0' cellspacing='0' width='100%' height='40'>";
echo "<tr><td class='footeris' valign='middle' width='35%'>";      
if ($license == false) {
}
echo "</td>";
echo "<td class='footeris' align='center' width='20%'>";
echo "</td></tr></table></center></table></table></table>\n";
}

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='panele1'><center>$subject</center></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='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='panele1'><center>$subject</center></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='100%'>
<tr>
<td class='panele1'><center>$title</center></td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

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

}

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

}

function closeside() {

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

}

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

if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 0px solid #000000' cellspacing='0' width='100%' cellpadding='0'><tr>";
echo "<td class='panele2'>";
echo "<img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'><center>$title</center></font>";
echo "</td></tr>";
echo "<tr><td 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>\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 WantedBoy· 2008 Bal. 17 11:04:55

Parašė semge· 2008 Bal. 17 07:04:43
#2

Bet kad liktu "Skaityti Daugiau"