Witam, mam problem z pozdrowieniami online ściągniętymi z eradia.net, nie potrafię includowac ich w php fusion 7, nie wiem, jak myślę że mi się udało to wyskakują jakieś bloki błędów... niby pokazuje się przycisk pozdrów i treść ale zamiast tej treści same błędy nie wiem jak to zrobić żeby to wszystko współgrało, próbowałem nawet w iframe, ale też jakieś bzdety wyskakują... zamieszczam treść błędów i plik theme.php
Błędy jakie mi wyskakują:
Notice: Use of undefined constant go - assumed 'go' in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 3
Notice: Undefined index: go in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 3
Notice: Use of undefined constant f - assumed 'f' in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 5
Notice: Undefined index: f in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 5
Notice: Use of undefined constant f - assumed 'f' in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 6
Notice: Undefined index: f in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 6
Notice: Use of undefined constant file - assumed 'file' in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 11
Notice: Undefined index: file in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 11
Notice: Trying to get property of non-object in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/function.php on line 7
Notice: Trying to get property of non-object in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/function.php on line 7
Notice: Undefined index: id in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 93
Notice: Use of undefined constant tresc - assumed 'tresc' in /home/jaran87/domains/test.vhng.info/public_html/pozdroonline/pozdro.php on line 107
» Novik: Pozdrowienie testowe - Zapraszam na http://www.eradia.pl || by eRadia.pl Pozdró
Plik theme:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
define("THEME_WIDTH", "920");
define("THEME_BULLET", "·");
function render_page($license=false) {
global $settings, $locale, $main_style, $userdata, $aidlink;
echo "<div class='outer'><div id='top-header'>\n";
if (iMEMBER) {
echo "<a href='".BASEDIR."edit_profile.php'>".$locale['global_120']."</a>\n";
echo "· <a href='".BASEDIR."messages.php'>".$locale['global_121']."</a>\n";
echo "· <a href='".BASEDIR."members.php'>".$locale['global_122']."</a>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "· <a href='".ADMIN."index.php".$aidlink."'>".$locale['global_123']."</a>\n";
}
echo "· <a href='".BASEDIR."setuser.php?logout=yes'>".$locale['global_124']."</a>\n";
} else {
echo "<a href='".BASEDIR."login.php'>Login</a>\n";
if ($settings['enable_registration']) {
echo "· <a href='".BASEDIR."register.php'>Register</a>\n";
}
}
echo "</div>\n";
echo "<div id='header' class='clearfix'>\n";
echo "<div style='margin:0px 0px 0 5px'>".showbanners()."</div>\n";
echo "</div>\n";
echo "<div id='sub-header' class='clearfix'>\n";
echo "<div class='flleft'>".showsublinks(" ")."</div>\n";
echo "<div class='flright' style='text-align:right;padding:0.4em'>".showsubdate()."</div>\n";
echo "<div class='clear'></div>\n";
echo "</div>\n";
echo "<div align='center' style='border-bottom: 1px solid #000000;'width='500' alt='' />"; include('pozdroonline/pozdro.php');"</center></div>\n";
echo "<div class='statyw' align='center'>
<img src='".THEME."images/staty1.png' style='border-bottom: 1px solid #000000;'width='920' height='45' alt='' />
</div>\n";
echo "<div id='container' class='clearfix $main_style'>\n";
if (LEFT) { echo "<div id='side-border-left'>".LEFT."</div>\n"; }
if (RIGHT) { echo "<div id='side-border-right'>".RIGHT."</div>\n"; }
echo "<div id='main-content'><div id='main-container'>".U_CENTER.CONTENT.L_CENTER."</div></div>\n";
echo "</div>\n";
echo "<div class='clear'></div>\n";
echo "<div id='footer'>\n";
echo "<div class='flleft' style='width:50%'>".(!$license ? showcopyright()."<br />" : "")."\n";
echo "Strona prawidłowo wyświetlana w przeglądarce: <a href='http://www.mozilla-europe.org/pl/firefox/' target='_blank'>Mozilla Firefox</a></div>\n";
echo "<div class='flright' style='text-align:right;width:50%'>".stripslashes($settings['footer'])."</div>\n";
echo "<div class='clear'><br /></div>\n";
echo "<div class='flleft' style='width:50%'>".sprintf($locale['global_172'], substr((get_microtime() - START_TIME),0,4))."</div>\n";
echo "<div class='flright' style='text-align:right;width:50%'>".showcounter()."</div>\n";
echo "<div class='clear'></div>\n";
echo "</div></div>\n";
}
function render_news($subject, $news, $info) {
echo "<div class='main-border'>\n";
echo "<div class='main-caption'>".$subject."</div>\n";
echo "<div class='main-body'>".$news."\n";
echo "<div class='news-footer'>\n";
echo newsposter($info,"·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</div>\n</div>\n</div>\n";
}
function render_article($subject, $article, $info) {
echo "<div class='main-caption'>$subject</div>\n";
echo "<div class='main-body'><!--przed_tresc_art-->".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<!--po_tresc_art--></div>\n";
echo "<div class='news-footer'><!--przed_stopka_art-->\n";
echo articleposter($info,"·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</div>\n";
}
function opentable($title) {
echo "<div class='main-border'>\n";
echo "<div class='main-caption'>".$title."</div>\n";
echo "<div class='main-body'>\n";
}
function closetable() {
echo "</div>\n</div>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<div class='side-border'>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<div class='side-caption' style='float:right;margin-top:6px;'>".panelbutton($state,$boxname)."</div>\n";
}
echo "<div class='side-caption' align='center'>".$title."</div>\n";
echo "<div class='side-body floatfix'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</div>\n</div>\n";
echo "<br />";
}
?>
Ja już jestem zielony nie wiem co jest nie tak, próbowałem różnych sposobów... proszę o pomoc co mam zrobić chciałbym żeby to wyglądało tak jak na tej stronie: www.radioavalon.pl proszę o wyrozumiałość to mój pierwszy post i z góry sory jeśli to nie ten dział. pozdrawiam
PW od moderatora:
- Przeniesienie tematu - Pieka 20.03 - 01:34
Edytowane przez Pieka dnia 20.03.2010 01:35:53
|