ForumCała strona

Nawigacja

Aktualnie online

Gości online: 12

Użytkowników online: 0

Łącznie użytkowników: 25,393
Najnowszy użytkownik: Assassin

Logowanie

Nazwa użytkownika

Hasło



Zarejestruj się

Odzyskaj hasło

Shoutbox

Musisz zalogować się, aby móc dodać wiadomość.

JazOOn
06.12.2024 23:45:46
Amen

Zbigniew@
17.11.2024 11:33:24
Nie ten grzeszy kto pije, ale ten, kto się nie upije.

JazOOn
16.11.2024 20:46:18
tja

Zbigniew@
15.11.2024 18:58:17
Kto pije, ten nie bije.

JazOOn
31.10.2024 20:49:47
Kto pije?

Pobierz nową wersję
Pobierz podręcznik
Zobacz inne oficjalne Supporty
Statystyki supportu
PHP-Fuson PL na Facebooku

RSS

Polecamy hosting SferaHost.pl

Zobacz temat

 Drukuj temat
Problem z Themem
Piotrroger
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"Wink) { header("Location: ../../index.php"Wink; 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"Wink."</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"Wink." | 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>"Wink.newsopts($info,"·"Wink.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>"Wink.articleopts($info,"·"Wink.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"Wink {

$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'":""Wink.">\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"Wink;
Aby te były wyświetlane obok logo strony Smile Najlepiej jakby ktoś napisał gotowy kod w nowym poście SmileDZięki, chociarz wątpie by ktoś WOGULE odpowiedział Pfft Ale cóż - poczekamy zobaczymy Smile

userbar_sparta3.gif
 
http://spartabks.boo.pl
Wścibski Gość
Dodany dnia 22.12.2024 15:36:07
Pan Kontekstualny

Postów: n^x
Data rejestracji: Zawsze

Polecamy hosting SferaHost.pl
IP: localhost  
Przejdź do forum:
Created by Arox Copyright (C) 2004
Copyright (C) 2004 - 2018 Ekipa PHP-Fusion.pl