No wiec czytalem kilka topicow o tym jak to zrobic ale caly czas mam fatalny error.Dlatego tez zamiesczam ponizej plik theme.php i mam wieeellkaa nadzieje ze ktos z was drodzy userzy,admini itd. pomozecie mi i zarobicie to zamnie :)
Dodam ze troche mi sie spieszy i dlatego prosze was strzeszczaajcie sie :))
Theme:
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2006 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Theme WoW_Orc for PHP-Fusion v6 |
|---------------------------------------------|
| Designed By: Fusion-Themes © 2006 |
| Author: Dusty Edwards aka uctxs |
| web: http://fusion-themes.com |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/************************/
/* Theme Settings */
/************************/
$body_text = "#bbbbbb";
$body_bg = "#23272a";
$theme_width = "76%";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width,$settings;
echo "<td><div align='right' id='clockbar'><div class='clockbarcolor'>";
echo "<table align='center' width='$theme_width' cellspacing='1' cellpadding='2' class='border'>
<tr>
<td>
<table width='100%' cellspacing='1' cellpadding='1'>
<tr>
<td class='full-header'style='padding:2px;'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<MAP NAME='MAP14745266'>
<AREA SHAPE=RECT COORDS='302,203,426,261' HREF='http://www.gtacity.info' TITLE='Strona Główna'>
<AREA SHAPE=RECT COORDS='426,204,539,262' HREF='http://www.gtacity.info/forum/index.php' TITLE='Forum Dyskusyjne'>
<AREA SHAPE=RECT COORDS='538,203,672,262' HREF='http://www.gtacity.info/photogallery.php' TITLE='Screeny,Tapety'>
<AREA SHAPE=RECT COORDS='674,203,864,265' HREF='http://www.gtacity.info/forum/viewthread.php?forum_id=3&thread_id=1' TITLE='My wszyscy'>
</MAP>
<IMG SRC='http://www.gtacity.info/img/GTACITY.png' BORDER=0 ISMAP USEMAP='#MAP14745266'>
<script language='JavaScript' type='text/javascript' src='http://www.adbid.pl/afiliat/r_show.php?kan=4135&a=4034&s=4139&kat=8&k=1504&sz=8'></script><noscript><a href='http://www.adbid.pl'>'reklama w internecie'</a></noscript>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer'><b><font color='#86898e'>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br></font></b><br>\n" : $locale['141']."\n");
if ($license == false) {
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='right' class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."' class='white'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])." ·
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."' class='white'>".$locale['042']."</a> ·\n" : "");
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."' class='white'>".$info['news_comments'].$locale['043']."</a> ·\n";
echo $info['news_reads'].$locale['044']."
<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<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 class='news-footer'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."' class='white'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])." ·\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." ·\n";
echo $info['article_reads'].$locale['044']."
<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
<tr>
<td height='8' class='side-base'> </td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<td class='capmain'>$title</td>
<td class='capmain' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
<tr>
<td colspan='2' height='8' class='side-base'> </td>
</tr>
</table>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
|