Spróbuj tak:
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'><img src='".THEME."/images/bullet.png' border='0'></span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
//Header
echo "<table align='center' width='85%' border='0' cellspacing='0' cellpadding='0'><tr><td>";
echo "<div id='altlinkler'>";
echo "".showsublinks("");
echo "</li></ul><div class='clear-both'> </div></div>";
echo "</tr></table>";
echo "<table align='left' cellspacing='0' height='250' width='85%' cellpadding='0'><tr>
<td align='center' >".showbanners()."</td>
</tr></table>\n";
//Content
echo "<table align='center' cellpadding='0' cellspacing='0' width='85%' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "</tr>\n</table>\n";
echo "<table class='footer' align='center' cellpadding='0' cellspacing='0' width='85%'>\n<tr>\n";
echo "<td align='left'>Design & coded by <a href='mailto:'>Look</a><br />Theme by <a href='http://gfxpixel.info'>GFXpixel.info</a><br />".showcounter()."<br />"; echo "".stripslashes($settings['footer']);
echo "</td>\n";
echo "<td><center>Copyright © *** 2009-2011</center><br /><center><a href='http://www.prchecker.info/' target='_blank'>
<img src='http://pr.prchecker.info/getpr.php?codex=aHR0cDovL3d3dy5saXNvd3NreS5jb20ucGw=&tag=1' alt='Check Google Page Rank' border='0' /></a></center>";if (!$license) { echo "".showcopyright(); }
echo "</td>";
echo "</tr>\n</table>\n<script language=javascript src='http://www.linki.fory.pl/script1.php?id=4357&men=0&num=5'></script>";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n</table>\n";
echo "<table width='95%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='main-body middle-border'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer middle-border'>\n";
echo newsposter($info," ·").newsopts($info,"·");
echo "</td>\n";
echo "</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='capmain-center'></td>\n";
echo "<td class='capmain-center'><img src='/images/ozdoba1.png' style='margin:5px' align='center' /><br /><br />".$subject."<br><br><ul><li>".showdate("%d %b %Y", $info['article_date'])."</li></ul></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='tbl8' >".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);echo "<!-- AddThis Button BEGIN -->
<div align='center' class='addthis_toolbox addthis_default_style '>
<a class='addthis_button_facebook'></a>
<a class='addthis_button_blip'></a>
<a class='addthis_button_wykop'></a>
<a class='addthis_button_email'></a>
<a class='addthis_button_naszaklasa'></a>
<a class='addthis_button_print'></a>
</div>
<script type='text/javascript'>var addthis_config = {'data_track_clickback':true};</script>
<script type='text/javascript' src='http://s7.addthis.com/js/250/addthis_widget.js#username=fox89'></script>
<!-- AddThis Button END -->
";
echo "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain-left'></td>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "<td class='capmain-right'></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n";
echo "</tr>\n</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain-left'></td>\n";
echo "<td class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='85%'>\n<tr>\n";
echo "<td class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";
}
?>
Edytowane przez hoopak dnia 04.08.2011 23:09:15
|