Parašė vampiriukas· 2011 Kov. 13 22:03:13
#1
Butu imanoma padaryt prisijungima prie zodzio Namai ten per viduri tarp apelsino ir namai
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 = "950";
$theme_width_l = "300";
$theme_width_r = "300";
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='$theme_width' height='367' background='".THEME."images/Header.png' border='0' cellspacing='0' cellpadding='0'>";
echo "</div>
</td>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 130px; padding-left: 123px; padding-right: 0px;\">";
echo"<a href='".BASEDIR."index.php'><img src='".THEME."images/Namai.png' border='0'></a>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 130px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href='".BASEDIR."forum/index.php'><img src='".THEME."images/forumas.png' border='0'></a>
<td height=0 border=0 align=right>
<div style=\"padding-bottom: 0px; padding-top: 130px; padding-left: 0px; padding-right: 0px;\">";
echo"<a href='".BASEDIR."articles.php'><img src='".THEME."images/muzika.png' border='0'></a>
</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," ·").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," ·").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 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";
}
?>
Redagavo vampiriukas· 2011 Kov. 13 22:03:35
Parašė viliusss123· 2011 Kov. 15 19:03:43
#2
Gail bet ne, nebent butu tokia tema arba prasyk koduotoju kad sukoduotu i ta vieta ;)