Zobacz temat
Problem z Themem
|
|
Piotrroger |
Dodany dnia 13.08.2006 22:04:27
|
Bywalec Postów: 998 Pomógł: 19 v7.02.03 Data rejestracji: 27.04.2006 18:29 |
Oto kod mojego thema: <? /*--------------------------------------------+ | PHP-Fusion v6 - Content Management System | |---------------------------------------------| | author: Nick Jones (Digitanium) Š 2002-2005 | | web: http://www.php-fu... | | email: | |---------------------------------------------| | Released under the terms and conditions of | | the GNU General Public License (Version 2) | +--------------------------------------------*/ /*--------------------------------------------+ | WOW Theme for PHP-Fusion v6 | |---------------------------------------------| | author: xibit themes - Jones63 Š 2005 | | web: http://www.xibit.de | | email: | |---------------------------------------------| | Released under the terms and conditions of | | the GNU General Public License (Version 2) | +--------------------------------------------*/ if (!defined("IN_FUSION") { header("Location: ../../index.php" exit; } require_once INCLUDES."theme_functions_include.php"; // theme settings $body_text = "#000000"; $body_bg = "#000000"; $theme_width = "980"; $theme_width_l = "170"; $theme_width_r = "170"; function render_header($header_content) { global $theme_width; echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='wow'> <tr> <td> <table align='center' cellpadding='0' cellspacing='0' width='910px'> <tr> <td class='full-header'> <table align='center' cellpadding='0' cellspacing='0' width='910px'> <tr> <td>$header_content</td> </tr> </table> </td> </tr> </table>\n"; echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n<tr> <td style='width:14px'><img src='".THEME."images/l_nav.gif' alt=''></td> <td class='white-header'>".showsublinks("·","white"."</td> <td align='right' class='white-header'>".showsubdate()."</td> <td style='width:14px'><img src='".THEME."images/r_nav.gif' alt=''></td> </tr> </table>\n"; echo "<table align='center' cellpadding='0' cellspacing='0' width='910px'>\n<tr>\n"; } function render_footer($license=false) { global $theme_width,$settings; echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%'> <tr> <td align='center' class='footer'>".stripslashes($settings['footer'])."\n"; if (!$license) { echo showcopyright("side"." | Theme [ WOW ]</b> by <a href='http://www.xibit.de' class='side' target='_blank'>xibit themes</a> © 2005-2006<br><a href='http://www.battle.net' target='_blank'>Battle.net</a> and <a href='http://www.worldofwarcraft.com' 'target='_blank'>World of Warcraft</a> are trademarks and <a href='http://www.blizzard.com' target='_blank'>Blizzard</a> is a division of <a href='http://www.vugames.com' target='_blank'>Vivendi Universal Games</a><br><br> \n"; } echo showcounter()." </td> </tr> </table> </td> </tr> </table>\n"; } function render_news($subject, $news, $info) { echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td style='width:14px'><img src='".THEME."images/l_cap.gif' alt=''></td> <td class='capmain'><b>$subject</b></td> <td style='width:14px'><img src='".THEME."images/r_cap.gif' alt=''></td> </tr> </table> <tr> <td class='main-body'>$news</td> </tr> <tr> <td align='center' class='news-footer'>\n"; echo openform("N",$info['news_id']).newsposter($info,"<br>".newsopts($info,"·".closeform("N",$info['news_id']); echo "</td> </tr> </table>\n"; } function render_article($subject, $article, $info) { echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td style='width:14px'><img src='".THEME."images/l_cap.gif' alt=''></td> <td class='capmain'><b>$subject</b></td> <td style='width:14px'><img src='".THEME."images/r_cap.gif' alt=''></td> </tr> </table> <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,"<br>".articleopts($info,"·".closeform("A",$info['article_id']); echo "</td> </tr> </table>\n"; } function opentable($title) { echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td style='width:14px'><img src='".THEME."images/l_cap.gif' alt=''></td> <td class='capmain'><b>$title</b></td> <td style='width:14px'><img src='".THEME."images/r_cap.gif' alt=''></td> </tr> </table> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='main-body'>\n"; } function closetable() { echo "</td> </tr> </table>\n"; } function openside($title) { echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td> <tr> <td style='width:14px'><img src='".THEME."images/l_scap.gif' alt=''></td> <td class='scapmain'><b>$title</b></td> <td style='width:14px'><img src='".THEME."images/r_scap.gif' alt=''></td> </tr> </table> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td class='side-body'>\n"; } function closeside() { echo "</td> </tr> </table>\n"; tablebreak(); } function opensidex($title,$state="off" { $boxname = str_replace(" ", "", $title); echo "<table width='100%' cellpadding='0' cellspacing='0'> <tr> <td> <tr> <td style='width:14px'><img src='".THEME."images/l_scap.gif' alt=''></td> <td class='scapmain'><b>$title</b></td> <td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td> <td style='width:14px'><img src='".THEME."images/r_scap.gif' alt=''></td> </tr> </table> <table width='100%' cellpadding='0' cellspacing='0'> <tr> <td 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"; } ?> Gdzie mam umieścić i jak ten kod odpowiedzialny za miejsce w którym pokazywane są banery: include(INFUSIONS."brotator/brotator.php" Aby te były wyświetlane obok logo strony Najlepiej jakby ktoś napisał gotowy kod w nowym poście DZięki, chociarz wątpie by ktoś WOGULE odpowiedział Ale cóż - poczekamy zobaczymy
|
|
|
Wścibski Gość |
Dodany dnia 24.11.2024 23:36:34
|
Pan Kontekstualny Postów: n^x Data rejestracji: Zawsze |
|
IP: localhost |
Przejdź do forum: |