Parašė WriteMaster· 2008 Rugp. 24 22:08:17
#5
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#97b15e";
$body_bg = "#051c00";
$theme_width = "767";
$theme_width_l = "175";
$theme_width_r = "175";
function render_header($header_content) {
global $theme_width,$locale,$data,$aidlink,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."header.jpg'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table align='center' cellpadding='0' cellspacing='0' width='767'>\n<tr>
<td><img src='".THEME."images/sub.png' usemap='#sub' width='767' height='34' border='0'></td>
<map id='sub' name='sub'>
<area shape='rect' coords=104,1,189,32' href='".BASEDIR."index.php'>
<area shape='rect' coords='209,1,277,32' href='".BASEDIR."downloads.php'>
<area shape='rect' coords='312,1,380,32' href='".BASEDIR."forum/index.php'>
<area shape='rect' coords='403,1,466,32' href='".BASEDIR."photogallery.php'>
<area shape='rect' coords='495,1,574,32' href='".BASEDIR."articles.php'>
<area shape='rect' coords='597,1,671,32' href='".BASEDIR."contact.php'>
</map></td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width' class='paneles'>\n<tr>
<td align='center' width='50'>";
include THEME."user_info_panel.php";
echo "</td>
<td align='center' width='306'>";
include THEME."latest_downloads_panel.php";
echo "</td>
<td align='center' width='195'>";
include THEME."popular_downloads_panel.php";
echo "</td>
</tr>
</table><br>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
/////Nenuimk copyrighto, nes turesi bedos. :)/////
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='$theme_width' class='footer'>
<tr>
<td width='93'><a href='http://php-fusion.co.uk/' target='_blank'><img src='".THEME."images/fusion.gif' border='0'></a> <img src='".THEME."images/made_by.png'> <a href='http://www.emotive.in/' target='_blank'><img src='".THEME."images/emotive.png' border='0'></a></td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $aidlink,$item_type;
$res = "";
echo "<table cellpadding='0' cellspacing='0' width='545'>
<tr>
<td class='capmain'>$subject<br>
<a href='news.php?readmore=".$info['news_id']."' style='font-size : 10px;'>Naujiena plačiau</a></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$info['news_id']."'>
<td align='center' class='news-footer'><img src='".THEME."images/read_icon.gif'> Skaityta: ".$info['news_reads']." <img src='".THEME."images/com_icon.gif'> Komentarų: ".$info['news_comments']." <img src='".THEME."images/time_icon.gif'> <span style='font-size : 10px;font-weight : none;color:#80ba04;'>".showdate("shortdate", $info['news_date'])."</span></td>
</form>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td 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," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
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_header($title) {
echo "<table align='center' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body-header'>\n";
}
function closeside_header() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function openside_panel($title) {
echo "<table align='center' cellpadding='0' cellspacing='0' width='186'>
<tr>
<td class='side-body-panel'>\n";
}
function closeside_panel() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
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";
}
?>
va codas kai as bandziauw nutrint tai man buvo error 206 vietoj kazkur
Arba kaip pakeisti dabar theme ? nes i puslapi kai eini error
Beto anudoju v7 fusiona jauciu del to atsirado erro :?
Redagavo WriteMaster· 2008 Rugp. 24 22:08:26