Oto cały plik theme.php
Cytat
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "1000");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style;
//Header
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>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' align='center' width='1028'>\n<tr>\n";
echo "
<div id='genoa'>
<div id='top'> <span class='slogan'><u>Polski,</u> serwis Artioma Rudneva!</span>
<div class='witaj'>Witamy! <a href='http://rudnev.xaa.pl/login.php'>Zaloguj się</a> lub <a href='http://rudnev.xaa.pl/register.php'>zarejestruj</a> w naszym serwisie.</div>
<script type='text/javascript' src='http://rudnev.xaa.pl/themes/Walcott22/rotator.js'></script>
<div class='right'>
<div class='banner' ><a href='http://rudnev.xaa.pl/'><img src ='' alt='' /></a> </div>
</div>
</div>
\n";
echo "<td class='sub-header-left'>
<script type='text/javascript' src='menu.js'></script>
<script type='text/javascript' src='script.js'></script>
<div id='genoa'>
<div id='menu2'> <ul id='menu'> <li><a href='index.php'>Strona Główna</a></li>
<li><a href='#'>Artiom Rudnev</a> <ul>
<li><a href='http://rudnev.xaa.pl/viewpage.php?page_id=3'>Metryka</a></li>
<li><a href='http://rudnev.xaa.pl/viewpage.php?page_id=1'>Biografia</a></li>
<li><a href='http://rudnev.xaa.pl/viewpage.php?page_id=6'>Reprezentacja</a></li>
<li><a href='http://rudnev.xaa.pl/viewpage.php?page_id=7'>Ciekawoski</a></li>
<li><a href='http://rudnev.xaa.pl/viewpage.php?page_id=2'>Kariera</a></li>
</ul>
</li>
<li><a href='#'>Lech Poznań</a>
<ul>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=9'>Informacje</a></li>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=10'>Kadra</a></li>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=8'>Stadion</a></li>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=11'>Sponsorzy </a></li>
</ul>
</li>
<li><a href='#'>Dla Kibica</a>
<ul>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=12'>Tapety</a></li>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=13'>Mecze Live</a></li>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=14'>Video</a></li>
</ul> </li>
<li><a href='#'>Serwis</a> <ul>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=4'>Reklama</a></li>
<li><a href='http://walcott.com.pl/viewpage.php?page_id=5'>Redakcja</a></li>
</ul> </li>
</ul> </div>
</div>
</td>
\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' align='center' width='1000' class='$main_style'>\n<tr>\n";
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer4
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='1000' align='center'>\n<tr>\n";
echo "<td align='center' class='footer5'><br />\n";
//Footer
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='1000' align='center' class='footer'>\n<tr>\n";
echo "<td align='center' >
<div id='stopka'>
<div class='copy'>Copyrights C 2011 <a href=''>Rudnex.xaa.pl</a>. Wszelkie prawa zastrzeżone.</div> <div class='graphic'>graphic & code: <a href='http://twitter.com/RafalWiniarz'>Rafał Winiarz</a></div> </div>
\n";
?>
<?php
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain2'>•
".$subject." </td>
\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body2'>".$news."... <a href='".BASEDIR."news.php?readmore=".$info['news_id']."'><b><u>Czytaj więcej</b></u></a>
</td>\n";
echo "</tr>\n<tr>\n";
echo "
<td align='left' class='news-footer'>\n";
echo "
Autor: <a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'>".$info['user_name']."</a>/Dnia: ".showdate("shortdate", $info['news_date'])."/Komentarze: (<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments']."</a>)
";
echo "</td>\n</tr>\n</table>\n";
}
function render_news2($subject, $news, $info) {
echo " <div class='scapmain'>•
Wydarzenie dnia</div>
<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "</tr>\n<tr>\n";
echo "
<div id='wd'> <div id='wdbox'></div>
<div id='wdtytul'> <b><u>•
".$subject." </u></b> </div>
".$news."...<a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Czytaj więcej</a>
</div>
\n";
echo "</td>\n</tr>\n</table>
<div class='scapmain'>Aktualnosci</div>
\n";
}
function render_article($subject, $article, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain2'>".$subject."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>sssssss\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 "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n</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%' class='border'>\n<tr>\n";
echo "
<div class='scapmain'>".$title."</div>
\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</tr>\n<tr>\n";
echo "
<div class='bg'>
<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</div>
</td>\n</tr>\n</table>\n";
}
?>