[EF IV] Panel: następny/poprzedni mecz
|
jan111to |
Dodany dnia 14.07.2011 23:11:59
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
Czy istnieje panel do Extreme Fusion IV taki jak na tej stronie (http://www.php-fu...d_id=31740)
Jest to panel poprzedni/następny mecz. jeżeli takowego nie ma, to czy umie ktoś w.w panel zedytować by dało się go odpalić w EF IV?
Edytowane przez Drecha dnia 15.07.2011 22:40:09
|
|
|
|
Wścibski Gość |
Dodany dnia 24.11.2024 18:51:28
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
Konto ukryte |
Dodany dnia 15.07.2011 10:21:20
|
Początkujący
Postów: 151
Data rejestracji: 29.08.2009 15:26
ZBANOWANY: Dożywotnio
|
Nie istnieje raczej ale mogę go przerobić pod EF IV może jak mi się uda dodam paczkę wieczorem.
Wiadomość doklejona:
Już zrobiłem testowałem na locahoscie i działa. Jednak musisz mieć zainstalowane to:
http://rafik-blog...n/#more-45
Paczka w załączniku.
Konto ukryte dodał/a następującą plik:
Edytowane przez Konto ukryte dnia 15.07.2011 22:37:14
|
|
|
|
jan111to |
Dodany dnia 15.07.2011 17:20:40
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
Dzięki wielkie. A czy mógłbys wrzucic jeszcze ten plik .rar z tej strony co podales gdyz u mnie wyskakuje jakis błąd przy otwieraniu?
Edytowane przez Drecha dnia 15.07.2011 22:24:13
|
|
|
|
Konto ukryte |
Dodany dnia 15.07.2011 18:11:47
|
Początkujący
Postów: 151
Data rejestracji: 29.08.2009 15:26
ZBANOWANY: Dożywotnio
|
Już zaktualizowałem paczkę. |
|
|
|
jan111to |
Dodany dnia 15.07.2011 20:16:19
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
Dzięki. Zrobiłem tak jak mówiles i zamiast tego panelu mam:
Fatal error: Call to undefined function add_to_head() in /home/sites/a/aq/aqu/aquilafc.aq.pl/infusions/last_and_next_match_panel/last_and_next_match_panel.php on line 18
// Błędy w code. - Drecha.
Edytowane przez Drecha dnia 15.07.2011 22:23:51
|
|
|
|
Konto ukryte |
Dodany dnia 15.07.2011 20:47:57
|
Początkujący
Postów: 151
Data rejestracji: 29.08.2009 15:26
ZBANOWANY: Dożywotnio
|
Nie zrobiłeś tego czego mówiłem z błędu wynika że nie masz zainstalowanego Output Handling o stąd:
http://rafik-blog...n/#more-45
Edytowane przez Konto ukryte dnia 15.07.2011 20:48:17
|
|
|
|
jan111to |
Dodany dnia 15.07.2011 21:29:24
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
No moja wina bo nie zrobiłem "on" we wtyczkach ;] A jak bys mial jeszcze chwilkę czasu, zobacz na to. Wchodzę w tą wtyczkę i mam taki obraz w swoim skinie:
http://i48.photob...to/aaa.jpg
Jak wchodzę przez skin, np. Blade II to jest normalnie i gra liga. Wiesz gdzie może być błąd w moim theme że sie źle wyswietla ? (podać theme.php/styles.php?)
PW od moderatora:
- Ogólna Uwaga - Drecha 15.07 - 22:25
Edytowane przez Drecha dnia 15.07.2011 22:24:48
|
|
|
|
Konto ukryte |
Dodany dnia 15.07.2011 21:39:40
|
Początkujący
Postów: 151
Data rejestracji: 29.08.2009 15:26
ZBANOWANY: Dożywotnio
|
Daj mi adres strony i wyślij mi na PW Login i Hasło do jakiegoś konta testowego do dostępu do PA do tej tylko wtyczki.
Edytowane przez Drecha dnia 15.07.2011 22:48:02
|
|
|
|
jan111to |
Dodany dnia 16.07.2011 09:59:28
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
PM poszło. Jak napisałem: problem wystepuje tylko w tym jednym skinie który jest aktualnie ustawiony. Przy zmianie skina na jakikolwiek inny problemu nie ma.
Za pomoc z góry dziękuję.
theme.php
<?php
/*******************************************\
|Theme: treningnetpl |
|Code: Jack - http://jackstudio.ovh.org |
/*******************************************/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#3e3e3e";
$body_bg = "#ffffff";
$theme_width = "940";
$theme_width_l = "205";
$theme_width_r = "312";
function render_header($header_content) {
global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;
echo" <div class='t-pasek'></div>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='t-logo'>
<div class='t-logo-l'></div>
<div class='t-logo-s'>
<form action='".BASEDIR."search.php' method='post'>
<input type='textbox' value='Wpisz szukane słowa..' name='stext' class='textbox-search' onBlur=\"if(this.value=='') this.value='Wpisz szukane słowa..';\" onFocus=\"if(this.value=='Wpisz szukane słowa..') this.value='';\">
<input type='submit' name='search' value='' class='button-search'>
</form>
</div>
<div class='t-logo-n'></div></td>
<td class='t-banner'>
<span class='t-banner-txt'>REKLAMA</span>
<div class='t-banner-ba'><img src='".THEME."images/banner.jpg'></div>
</td></tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='menu-1'></td>
<td><a href='#' class='menu-2' onMouseover=\"showit(0)\"></a></td>
<td class='menu-3'></td>
<td><a href='#' class='menu-4' onMouseover=\"showit(1)\"></a></td>
<td class='menu-5'></td>
<td><a href='#' class='menu-6' onMouseover=\"showit(2)\"></a></td>
<td class='menu-7'></td>
<td><a href='#' class='menu-8' onMouseover=\"showit(3)\"></a></td>
<td class='menu-9'></td>
<td><a href='#' class='menu-10' onMouseover=\"showit(4)\"></a></td>
<td class='menu-11'></td>
<td><a href='#' class='menu-12' onMouseover=\"showit(5)\"></a></td>
<td class='menu-13'></td>
<td><a href='#' class='menu-14' onMouseover=\"showit(6)\"></a></td>
<td class='menu-15'></td>
<td><a href='#' class='menu-16' onMouseover=\"showit(7)\"></a></td>
<td class='menu-17'></td>
<td><a href='#' class='menu-18' onMouseover=\"showit(8)\"></a></td>
<td class='menu-19'></td>
</tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='submenu-l'></td>
<td class='submenu-s' id=\"describe\" onMouseover=\"clear_delayhide()\" onMouseout=\"resetit(event)\">
<script language=\"JavaScript1.2\">
/*Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
This credit MUST stay intact for use*/
var submenu=new Array()
submenu[0]='<a href=\"".BASEDIR."news.php\">Strona Główna</a> | <a href=\"".BASEDIR."articles.php\">Artykuły</a> | <a href=\"".FORUM."news.php\">Forum</a> | <a href=\"".BASEDIR."photogallery.php\">Galeria</a> '
submenu[1]='<a href=\"".BASEDIR."news.php\">Liga Polska</a> | <a href=\"".BASEDIR."news.php\">Liga Angielska</a>'
submenu[2]='<a href=\"".BASEDIR."news.php\">Liga Holenderska</a> | <a href=\"".BASEDIR."news.php\">Liga Portugalska</a>'
submenu[3]='cos tam....cos tam.... '
submenu[4]='cos tam.... '
submenu[5]='cos tam....cos tam.... '
submenu[6]='cos tam.... '
submenu[7]='cos tam....cos tam....cos tam.... '
submenu[8]='cos tam....cos tam....cos tam....cos tam....cos tam.... '
//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=100
var menuobj=document.getElementById? document.getElementById(\"describe\") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : \"\"
function showit(which){
clear_delayhide()
thecontent=(which==-1)? \"\" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}
function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout(\"showit(-1)\",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout(\"showit(-1)\",delay_hide)
}
function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
</script>
<td class='submenu-p'></td></tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr><td class='logowanie'>";
$liczbauserow = dbarraynum(dbquery("SELECT COUNT(*) from ".$db_prefix."users "));
if(iGUEST){
echo("<div class='logowanie-l'><form name='loginform' method='POST' action='".FUSION_SELF."'>
<span style='padding: 0 10px'>Nazwa użytkownika: </span><input type='text' name='user_name' value='' class='textbox-login'>
<span style='padding: 0 10px'>Hasło: </span><input type='password' name='user_pass' value='' class='textbox-login' >
<input type='submit' name='login' class='button-login' value=''></form></div>
<div class='logowanie-r'>
<a href='".BASEDIR."register.php' style='color:#a51616;text-decoration: underline;padding:0 5px'>Zarejestruj się</a>
<a href='".BASEDIR."lostpassword.php' style='padding:0 10px 0 5px'>Zgubione hasło</a>|
Mamy <span style='font-weight:bold'>".$liczbauserow[0]."</span> zarejestrowanych użytkowników</div>
<div style='padding: 10px'></div>
");
}else{
$caution_r = dbquery("SELECT * from ".$db_prefix."cautions WHERE user_id=".$userdata['user_id']);
$caution = dbarray($caution_r);
$c_count = dbrows($caution_r);
echo"<div style='padding: 0px'>
<div style='float: left;padding: 0 10px'>".($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='40' height='40'>" : "<img src='".FORUM."images/brak.gif' width='40' height='40'>")."</div>
<div class='logowanie-opcje'><ul>
<li style='font-weight:bold'>Witaj ".$userdata['user_name']."! Twoje opcje: </li>
<li><a href='".BASEDIR."edit_profile.php'>Edytuj Profil</a></li>
<li><a href='".BASEDIR."messages.php'>Wiadomo¶ci</a></li>
<li><a href='".BASEDIR."members.php'>Użytkownicy</a></li>";
if (iADMIN) {echo "<li><a href='".ADMIN."index.php$aidlink'>Panel Administratora</a></li>\n";}echo"
<li>Liczba punktów: ".show_points($userdata['user_id'])."</li>
<li>Ranga: ".check_rang($userdata['user_id'])."</li>
<li>Ostrzeżeń: ".$c_count."</li>
</ul></div>
<div style='float: right; padding: 0px 30px 0px 0px'>
<a href='".BASEDIR."setuser.php?logout=yes'>Wyloguj [x]</a></div>
</div>";
}
echo"</td></tr></table>";
echo"<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>";
}
function render_footer() {
global $theme_width,$settings;
echo"
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='sto'><div class='sto-txt'>Copyright (c) 2011 by aquilafc.aq.pl | Design by Cichy | Kopiowanie materiałów ze strony, bez wiedzy Administratora zabronione! </div>
<div class='sto-txt-2'>Unikalnych wizyt: <span style='font-weight:bold'>".$settings['counter']."</span></div>
<div class='sto-txt-3'><a href='#' class='sto-l'></a></div></td></tr>
<tr><td class='sto-linki'><a href='http://www.b.site.pl'> b.site.pl</a> | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link </td>
</tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo"<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' style='margin-bottom:10px' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".$locale['201']."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>
<div class='c-s-s-ng'>".$subject."</div>
".$news;
if($readmore == ""){
echo"<div class='c-s-s-czy'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."' class='c-s-s-czy-l'></a></div> ";
}
echo"<div class='c-s-s-sto'>Dodał:<a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'><span style='font-weight:bold'> ".$info['user_name']."</span></a> dnia: ".showdate("shortdate", $info['news_date'])."| Czytań:<span style='font-weight:bold'> ".$info['news_reads']."</span> <span style='color:#4080b2'>+<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>Skomentuj</a><span style='font-weight:bold'> [".$info['news_comments']."]</span></span></div>
</td>
<td class='c-s-p'></td></tr>
</tr><tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function render_news_pozostale($subject, $news, $info){
$tresc1 = "<table width='350' align='center' cellspacing='0' cellpadding='0' border='0'>
<tr><td class='n-s-ng'>".$subject."</td></tr>
<tr><td class='n-s-tr'>".trimlink($news, 200)." <span style='color:#4080b2'>[<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>czytaj więcej</a>]</span></td></tr>
<tr><td >
<div class='n-s-sto'>Dodał:<a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'><span style='font-weight:bold'> ".$info['user_name']."</span></a> dnia: ".showdate("shortdate", $info['news_date'])."| Czytań:<span style='font-weight:bold'> ".$info['news_reads']."</span> <span style='color:#4080b2'>+<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>Skomentuj</a><span style='font-weight:bold'> [".$info['news_comments']."]</span></span></div>
</td></tr>
</tr></table>";
return $tresc1;
}
function render_article($subject, $article, $info) {
echo"<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' style='margin-bottom:10px' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".$subject."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>".$article."
<div class='c-s-s-sto'> Dodane przez: ".$info['user_name']." dnia: ".showdate("%d.%m.%Y", $info['article_date'])."</div>
</td><td class='c-s-p'></td></tr>
</tr><tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function opentable($title) {
echo"
<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".strtoupper($title)."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>
";
}
function closetable() {
echo"</td><td class='c-s-p'></td></tr>
<tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function openside($title) {
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='b-l-g-s-ng'><div class='b-l-g-s-ng-l'></div><div class='b-l-g-s-ng-s'><div class='b-l-g-s-ng-s-txt'>".strtoupper($title)."</div></div><div class='b-l-g-s-ng-p'></div></td></tr>
<tr><td class='b-l-g-l'></td><td class='b-l-g-s'></td><td class='b-l-g-p'></td></tr>
<tr><td class='b-l-s-l'></td><td class='b-l-s-s'>";
}
function openside2($title){
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' ><tr>
<td class='b-p-g-l'></td><td class='b-p-g-p'>".$title."</td></tr>
<tr><td colspan='2' class='b-p-s'>";
}
function closeside() {
echo"</td><td class='b-l-s-p'></td></tr>
<tr><td class='b-l-d-l'></td><td class='b-l-d-s'></td><td class='b-l-d-p'></td></tr>
</table>";
tablebreak();
}
function closeside2(){
echo"</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
global $theme_width_l;
$boxname = str_replace(" ", "", $title);
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='b-l-g-s-ng'><div class='b-l-g-s-ng-l'></div><div class='b-l-g-s-ng-s'><div class='b-l-g-s-ng-s-txt'>".$title." ".panelbutton($state,$boxname)."</td>
</tr><tr><td class='b-l-g-l'></td><td class='b-l-g-s'></td><td class='b-l-g-p'></td></tr>
<tr><td class='b-l-s-l'></td><td class='b-l-s-s'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">";
}
function closesidex() {
echo"</td><td class='b-l-s-p'></td></tr>
<tr><td class='b-l-d-l'></td><td class='b-l-d-s'></td><td class='b-l-d-p'></td></tr>
</table>";
tablebreak();
}
function tablebreak() {
echo"<div style='padding: 3px'></div>";
}
?>
Edytowane przez Drecha dnia 16.07.2011 15:09:31
|
|
|
|
Konto ukryte |
Dodany dnia 16.07.2011 14:25:16
|
Początkujący
Postów: 151
Data rejestracji: 29.08.2009 15:26
ZBANOWANY: Dożywotnio
|
Dodawaj kod w code. A to powinno działać prawidłowo:
<?php
/*******************************************\
|Theme: treningnetpl |
|Code: Jack - http://jackstudio... |
/*******************************************/
if (!defined("IN_FUSION"Wink) { header("Location: ../../index.php"Wink; exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#3e3e3e";
$body_bg = "#ffffff";
$theme_width = "940";
$theme_width_l = "205";
$theme_width_r = "312";
function render_header($header_content) {
global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;
echo" <div class='t-pasek'></div>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='t-logo'>
<div class='t-logo-l'></div>
<div class='t-logo-s'>
<form action='".BASEDIR."search.php' method='post'>
<input type='textbox' value='Wpisz szukane słowa..' name='stext' class='textbox-search' onBlur=\"if(this.value==''Wink this.value='Wpisz szukane słowa..';\" onFocus=\"if(this.value=='Wpisz szukane słowa..'Wink this.value='';\">
<input type='submit' name='search' value='' class='button-search'>
</form>
</div>
<div class='t-logo-n'></div></td>
<td class='t-banner'>
<span class='t-banner-txt'>REKLAMA</span>
<div class='t-banner-ba'><img src='".THEME."images/banner.jpg'></div>
</td></tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='menu-1'></td>
<td><a href='#' class='menu-2' onMouseover=\"showit(0)\"></a></td>
<td class='menu-3'></td>
<td><a href='#' class='menu-4' onMouseover=\"showit(1)\"></a></td>
<td class='menu-5'></td>
<td><a href='#' class='menu-6' onMouseover=\"showit(2)\"></a></td>
<td class='menu-7'></td>
<td><a href='#' class='menu-8' onMouseover=\"showit(3)\"></a></td>
<td class='menu-9'></td>
<td><a href='#' class='menu-10' onMouseover=\"showit(4)\"></a></td>
<td class='menu-11'></td>
<td><a href='#' class='menu-12' onMouseover=\"showit(5)\"></a></td>
<td class='menu-13'></td>
<td><a href='#' class='menu-14' onMouseover=\"showit(6)\"></a></td>
<td class='menu-15'></td>
<td><a href='#' class='menu-16' onMouseover=\"showit(7)\"></a></td>
<td class='menu-17'></td>
<td><a href='#' class='menu-18' onMouseover=\"showit(8)\"></a></td>
<td class='menu-19'></td>
</tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='submenu-l'></td>
<td class='submenu-s' id=\"describe\" onMouseover=\"clear_delayhide()\" onMouseout=\"resetit(event)\">
<script language=\"JavaScript1.2\">
/*Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynami...
This credit MUST stay intact for use*/
var submenu=new Array()
submenu[0]='<a href=\"".BASEDIR."news.php\">Strona Główna</a> | <a href=\"".BASEDIR."articles.php\">Artykuły</a> | <a href=\"".FORUM."news.php\">Forum</a> | <a href=\"".BASEDIR."photogallery.php\">Galeria</a> '
submenu[1]='<a href=\"".BASEDIR."news.php\">Liga Polska</a> | <a href=\"".BASEDIR."news.php\">Liga Angielska</a>'
submenu[2]='<a href=\"".BASEDIR."news.php\">Liga Holenderska</a> | <a href=\"".BASEDIR."news.php\">Liga Portugalska</a>'
submenu[3]='cos tam....cos tam.... '
submenu[4]='cos tam.... '
submenu[5]='cos tam....cos tam.... '
submenu[6]='cos tam.... '
submenu[7]='cos tam....cos tam....cos tam.... '
submenu[8]='cos tam....cos tam....cos tam....cos tam....cos tam.... '
//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=100
var menuobj=document.getElementById? document.getElementById(\"describe\"Wink : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : \"\"
function showit(which){
clear_delayhide()
thecontent=(which==-1)? \"\" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}
function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout(\"showit(-1)\",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout(\"showit(-1)\",delay_hide)
}
function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}
function contains_ns6(a, Cool {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
</script>
<td class='submenu-p'></td></tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr><td class='logowanie'>";
$liczbauserow = dbarraynum(dbquery("SELECT COUNT(*) from ".$db_prefix."users "Wink);
if(iGUEST){
echo("<div class='logowanie-l'><form name='loginform' method='POST' action='".FUSION_SELF."'>
<span style='padding: 0 10px'>Nazwa użytkownika: </span><input type='text' name='user_name' value='' class='textbox-login'>
<span style='padding: 0 10px'>Hasło: </span><input type='password' name='user_pass' value='' class='textbox-login' >
<input type='submit' name='login' class='button-login' value=''></form></div>
<div class='logowanie-r'>
<a href='".BASEDIR."register.php' style='color:#a51616;text-decoration: underline;padding:0 5px'>Zarejestruj się</a>
<a href='".BASEDIR."lostpassword.php' style='padding:0 10px 0 5px'>Zgubione hasło</a>|
Mamy <span style='font-weight:bold'>".$liczbauserow[0]."</span> zarejestrowanych użytkowników</div>
<div style='padding: 10px'></div>
"Wink;
}else{
$caution_r = dbquery("SELECT * from ".$db_prefix."cautions WHERE user_id=".$userdata['user_id']);
$caution = dbarray($caution_r);
$c_count = dbrows($caution_r);
echo"<div style='padding: 0px'>
<div style='float: left;padding: 0 10px'>".($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='40' height='40'>" : "<img src='".FORUM."images/brak.gif' width='40' height='40'>"Wink."</div>
<div class='logowanie-opcje'><ul>
<li style='font-weight:bold'>Witaj ".$userdata['user_name']."! Twoje opcje: </li>
<li><a href='".BASEDIR."edit_profile.php'>Edytuj Profil</a></li>
<li><a href='".BASEDIR."messages.php'>Wiadomo¶ci</a></li>
<li><a href='".BASEDIR."members.php'>Użytkownicy</a></li>";
if (iADMIN) {echo "<li><a href='".ADMIN."index.php$aidlink'>Panel Administratora</a></li>\n";}echo"
<li>Liczba punktów: ".show_points($userdata['user_id'])."</li>
<li>Ranga: ".check_rang($userdata['user_id'])."</li>
<li>Ostrzeżeń: ".$c_count."</li>
</ul></div>
<div style='float: right; padding: 0px 30px 0px 0px'>
<a href='".BASEDIR."setuser.php?logout=yes'>Wyloguj [x]</a></div>
</div>";
}
echo"</td></tr></table>";
echo"<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>";
}
function render_footer() {
global $theme_width,$settings;
echo"
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='sto'><div class='sto-txt'>Copyright (c) 2011 by aquilafc.aq.pl | Design by Cichy | Kopiowanie materiałów ze strony, bez wiedzy Administratora zabronione! </div>
<div class='sto-txt-2'>Unikalnych wizyt: <span style='font-weight:bold'>".$settings['counter']."</span></div>
<div class='sto-txt-3'><a href='#' class='sto-l'></a></div></td></tr>
<tr><td class='sto-linki'><a href='http://www.b.site.pl'> b.site.pl</a> | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link </td>
</tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo"<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' style='margin-bottom:10px' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".$locale['201']."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>
<div class='c-s-s-ng'>".$subject."</div>
".$news;
if($readmore == ""Wink{
echo"<div class='c-s-s-czy'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."' class='c-s-s-czy-l'></a></div> ";
}
echo"<div class='c-s-s-sto'>Dodał:<a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'><span style='font-weight:bold'> ".$info['user_name']."</span></a> dnia: ".showdate("shortdate", $info['news_date'])."| Czytań:<span style='font-weight:bold'> ".$info['news_reads']."</span> <span style='color:#4080b2'>+<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>Skomentuj</a><span style='font-weight:bold'> [".$info['news_comments']."]</span></span></div>
</td>
<td class='c-s-p'></td></tr>
</tr><tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function render_news_pozostale($subject, $news, $info){
$tresc1 = "<table width='350' align='center' cellspacing='0' cellpadding='0' border='0'>
<tr><td class='n-s-ng'>".$subject."</td></tr>
<tr><td class='n-s-tr'>".trimlink($news, 200)." <span style='color:#4080b2'>[<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>czytaj więcej</a>]</span></td></tr>
<tr><td >
<div class='n-s-sto'>Dodał:<a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'><span style='font-weight:bold'> ".$info['user_name']."</span></a> dnia: ".showdate("shortdate", $info['news_date'])."| Czytań:<span style='font-weight:bold'> ".$info['news_reads']."</span> <span style='color:#4080b2'>+<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>Skomentuj</a><span style='font-weight:bold'> [".$info['news_comments']."]</span></span></div>
</td></tr>
</tr></table>";
return $tresc1;
}
function render_article($subject, $article, $info) {
echo"<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' style='margin-bottom:10px' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".$subject."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>".$article."
<div class='c-s-s-sto'> Dodane przez: ".$info['user_name']." dnia: ".showdate("%d.%m.%Y", $info['article_date'])."</div>
</td><td class='c-s-p'></td></tr>
</tr><tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function opentable($title) {
echo"
<table width='100%' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".strtoupper($title)."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>
";
}
function closetable() {
echo"</td><td class='c-s-p'></td></tr>
<tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function openside($title) {
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='b-l-g-s-ng'><div class='b-l-g-s-ng-l'></div><div class='b-l-g-s-ng-s'><div class='b-l-g-s-ng-s-txt'>".strtoupper($title)."</div></div><div class='b-l-g-s-ng-p'></div></td></tr>
<tr><td class='b-l-g-l'></td><td class='b-l-g-s'></td><td class='b-l-g-p'></td></tr>
<tr><td class='b-l-s-l'></td><td class='b-l-s-s'>";
}
function openside2($title){
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' ><tr>
<td class='b-p-g-l'></td><td class='b-p-g-p'>".$title."</td></tr>
<tr><td colspan='2' class='b-p-s'>";
}
function closeside() {
echo"</td><td class='b-l-s-p'></td></tr>
<tr><td class='b-l-d-l'></td><td class='b-l-d-s'></td><td class='b-l-d-p'></td></tr>
</table>";
tablebreak();
}
function closeside2(){
echo"</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on"Wink {
global $theme_width_l;
$boxname = str_replace(" ", "", $title);
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='b-l-g-s-ng'><div class='b-l-g-s-ng-l'></div><div class='b-l-g-s-ng-s'><div class='b-l-g-s-ng-s-txt'>".$title." ".panelbutton($state,$boxname)."</td>
</tr><tr><td class='b-l-g-l'></td><td class='b-l-g-s'></td><td class='b-l-g-p'></td></tr>
<tr><td class='b-l-s-l'></td><td class='b-l-s-s'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : ""Wink.">";
}
function closesidex() {
echo"</td><td class='b-l-s-p'></td></tr>
<tr><td class='b-l-d-l'></td><td class='b-l-d-s'></td><td class='b-l-d-p'></td></tr>
</table>";
tablebreak();
}
function tablebreak() {
echo"<div style='padding: 3px'></div>";
}
?>
|
|
|
|
jan111to |
Dodany dnia 16.07.2011 14:46:34
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
Coś takiego teraz :(
Parse error: syntax error, unexpected T_STRING in /home/sites/a/aq/aqu/aquilafc.aq.pl/themes/file/theme.php on line 6
Edytowane przez Drecha dnia 16.07.2011 15:09:58
|
|
|
|
Konto ukryte |
Dodany dnia 16.07.2011 14:53:15
|
Początkujący
Postów: 151
Data rejestracji: 29.08.2009 15:26
ZBANOWANY: Dożywotnio
|
Nie wiem dlaczego tak się dzieje, no to spróbuj tak:
<?php
/*******************************************\
|Theme: treningnetpl |
|Code: Jack - http://jackstudio... |
/*******************************************/
if (!defined("IN_FUSION"Wink) { header("Location: ../../index.php"Wink; exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#3e3e3e";
$body_bg = "#ffffff";
$theme_width = "940";
$theme_width_l = "205";
$theme_width_r = "312";
function render_header($header_content) {
global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;
echo" <div class='t-pasek'></div>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='t-logo'>
<div class='t-logo-l'></div>
<div class='t-logo-s'>
<form action='".BASEDIR."search.php' method='post'>
<input type='textbox' value='Wpisz szukane słowa..' name='stext' class='textbox-search' onBlur=\"if(this.value==''Wink this.value='Wpisz szukane słowa..';\" onFocus=\"if(this.value=='Wpisz szukane słowa..'Wink this.value='';\">
<input type='submit' name='search' value='' class='button-search'>
</form>
</div>
<div class='t-logo-n'></div></td>
<td class='t-banner'>
<span class='t-banner-txt'>REKLAMA</span>
<div class='t-banner-ba'><img src='".THEME."images/banner.jpg'></div>
</td></tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='menu-1'></td>
<td><a href='#' class='menu-2' onMouseover=\"showit(0)\"></a></td>
<td class='menu-3'></td>
<td><a href='#' class='menu-4' onMouseover=\"showit(1)\"></a></td>
<td class='menu-5'></td>
<td><a href='#' class='menu-6' onMouseover=\"showit(2)\"></a></td>
<td class='menu-7'></td>
<td><a href='#' class='menu-8' onMouseover=\"showit(3)\"></a></td>
<td class='menu-9'></td>
<td><a href='#' class='menu-10' onMouseover=\"showit(4)\"></a></td>
<td class='menu-11'></td>
<td><a href='#' class='menu-12' onMouseover=\"showit(5)\"></a></td>
<td class='menu-13'></td>
<td><a href='#' class='menu-14' onMouseover=\"showit(6)\"></a></td>
<td class='menu-15'></td>
<td><a href='#' class='menu-16' onMouseover=\"showit(7)\"></a></td>
<td class='menu-17'></td>
<td><a href='#' class='menu-18' onMouseover=\"showit(8)\"></a></td>
<td class='menu-19'></td>
</tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='submenu-l'></td>
<td class='submenu-s' id=\"describe\" onMouseover=\"clear_delayhide()\" onMouseout=\"resetit(event)\">
<script language=\"JavaScript1.2\">
/*Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynami...
This credit MUST stay intact for use*/
var submenu=new Array()
submenu[0]='<a href=\"".BASEDIR."news.php\">Strona Główna</a> | <a href=\"".BASEDIR."articles.php\">Artykuły</a> | <a href=\"".FORUM."news.php\">Forum</a> | <a href=\"".BASEDIR."photogallery.php\">Galeria</a> '
submenu[1]='<a href=\"".BASEDIR."news.php\">Liga Polska</a> | <a href=\"".BASEDIR."news.php\">Liga Angielska</a>'
submenu[2]='<a href=\"".BASEDIR."news.php\">Liga Holenderska</a> | <a href=\"".BASEDIR."news.php\">Liga Portugalska</a>'
submenu[3]='cos tam....cos tam.... '
submenu[4]='cos tam.... '
submenu[5]='cos tam....cos tam.... '
submenu[6]='cos tam.... '
submenu[7]='cos tam....cos tam....cos tam.... '
submenu[8]='cos tam....cos tam....cos tam....cos tam....cos tam.... '
//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=100
var menuobj=document.getElementById? document.getElementById(\"describe\"Wink : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : \"\"
function showit(which){
clear_delayhide()
thecontent=(which==-1)? \"\" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}
function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout(\"showit(-1)\",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout(\"showit(-1)\",delay_hide)
}
function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}
function contains_ns6(a, Cool {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
</script>
<td class='submenu-p'></td></tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr><td class='logowanie'>";
$liczbauserow = dbarraynum(dbquery("SELECT COUNT(*) from ".$db_prefix."users "Wink);
if(iGUEST){
echo("<div class='logowanie-l'><form name='loginform' method='POST' action='".FUSION_SELF."'>
<span style='padding: 0 10px'>Nazwa użytkownika: </span><input type='text' name='user_name' value='' class='textbox-login'>
<span style='padding: 0 10px'>Hasło: </span><input type='password' name='user_pass' value='' class='textbox-login' >
<input type='submit' name='login' class='button-login' value=''></form></div>
<div class='logowanie-r'>
<a href='".BASEDIR."register.php' style='color:#a51616;text-decoration: underline;padding:0 5px'>Zarejestruj się</a>
<a href='".BASEDIR."lostpassword.php' style='padding:0 10px 0 5px'>Zgubione hasło</a>|
Mamy <span style='font-weight:bold'>".$liczbauserow[0]."</span> zarejestrowanych użytkowników</div>
<div style='padding: 10px'></div>
"Wink;
}else{
$caution_r = dbquery("SELECT * from ".$db_prefix."cautions WHERE user_id=".$userdata['user_id']);
$caution = dbarray($caution_r);
$c_count = dbrows($caution_r);
echo"<div style='padding: 0px'>
<div style='float: left;padding: 0 10px'>".($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='40' height='40'>" : "<img src='".FORUM."images/brak.gif' width='40' height='40'>"Wink."</div>
<div class='logowanie-opcje'><ul>
<li style='font-weight:bold'>Witaj ".$userdata['user_name']."! Twoje opcje: </li>
<li><a href='".BASEDIR."edit_profile.php'>Edytuj Profil</a></li>
<li><a href='".BASEDIR."messages.php'>Wiadomo¶ci</a></li>
<li><a href='".BASEDIR."members.php'>Użytkownicy</a></li>";
if (iADMIN) {echo "<li><a href='".ADMIN."index.php$aidlink'>Panel Administratora</a></li>\n";}echo"
<li>Liczba punktów: ".show_points($userdata['user_id'])."</li>
<li>Ranga: ".check_rang($userdata['user_id'])."</li>
<li>Ostrzeżeń: ".$c_count."</li>
</ul></div>
<div style='float: right; padding: 0px 30px 0px 0px'>
<a href='".BASEDIR."setuser.php?logout=yes'>Wyloguj [x]</a></div>
</div>";
}
echo"</td></tr></table>";
echo"<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>";
}
function render_footer() {
global $theme_width,$settings;
echo"
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='sto'><div class='sto-txt'>Copyright (c) 2011 by aquilafc.aq.pl | Design by Cichy | Kopiowanie materiałów ze strony, bez wiedzy Administratora zabronione! </div>
<div class='sto-txt-2'>Unikalnych wizyt: <span style='font-weight:bold'>".$settings['counter']."</span></div>
<div class='sto-txt-3'><a href='#' class='sto-l'></a></div></td></tr>
<tr><td class='sto-linki'><a href='http://www.b.site.pl'> b.site.pl</a> | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link </td>
</tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo"<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' style='margin-bottom:10px' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".$locale['201']."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>
<div class='c-s-s-ng'>".$subject."</div>
".$news;
if($readmore == ""Wink{
echo"<div class='c-s-s-czy'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."' class='c-s-s-czy-l'></a></div> ";
}
echo"<div class='c-s-s-sto'>Dodał:<a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'><span style='font-weight:bold'> ".$info['user_name']."</span></a> dnia: ".showdate("shortdate", $info['news_date'])."| Czytań:<span style='font-weight:bold'> ".$info['news_reads']."</span> <span style='color:#4080b2'>+<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>Skomentuj</a><span style='font-weight:bold'> [".$info['news_comments']."]</span></span></div>
</td>
<td class='c-s-p'></td></tr>
</tr><tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function render_news_pozostale($subject, $news, $info){
$tresc1 = "<table width='350' align='center' cellspacing='0' cellpadding='0' border='0'>
<tr><td class='n-s-ng'>".$subject."</td></tr>
<tr><td class='n-s-tr'>".trimlink($news, 200)." <span style='color:#4080b2'>[<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>czytaj więcej</a>]</span></td></tr>
<tr><td >
<div class='n-s-sto'>Dodał:<a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'><span style='font-weight:bold'> ".$info['user_name']."</span></a> dnia: ".showdate("shortdate", $info['news_date'])."| Czytań:<span style='font-weight:bold'> ".$info['news_reads']."</span> <span style='color:#4080b2'>+<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>Skomentuj</a><span style='font-weight:bold'> [".$info['news_comments']."]</span></span></div>
</td></tr>
</tr></table>";
return $tresc1;
}
function render_article($subject, $article, $info) {
echo"<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' style='margin-bottom:10px' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".$subject."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>".$article."
<div class='c-s-s-sto'> Dodane przez: ".$info['user_name']." dnia: ".showdate("%d.%m.%Y", $info['article_date'])."</div>
</td><td class='c-s-p'></td></tr>
</tr><tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function opentable($title) {
echo"
<table width='500' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".strtoupper($title)."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>
";
}
function closetable() {
echo"</td><td class='c-s-p'></td></tr>
<tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function openside($title) {
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='b-l-g-s-ng'><div class='b-l-g-s-ng-l'></div><div class='b-l-g-s-ng-s'><div class='b-l-g-s-ng-s-txt'>".strtoupper($title)."</div></div><div class='b-l-g-s-ng-p'></div></td></tr>
<tr><td class='b-l-g-l'></td><td class='b-l-g-s'></td><td class='b-l-g-p'></td></tr>
<tr><td class='b-l-s-l'></td><td class='b-l-s-s'>";
}
function openside2($title){
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' ><tr>
<td class='b-p-g-l'></td><td class='b-p-g-p'>".$title."</td></tr>
<tr><td colspan='2' class='b-p-s'>";
}
function closeside() {
echo"</td><td class='b-l-s-p'></td></tr>
<tr><td class='b-l-d-l'></td><td class='b-l-d-s'></td><td class='b-l-d-p'></td></tr>
</table>";
tablebreak();
}
function closeside2(){
echo"</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on"Wink {
global $theme_width_l;
$boxname = str_replace(" ", "", $title);
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='b-l-g-s-ng'><div class='b-l-g-s-ng-l'></div><div class='b-l-g-s-ng-s'><div class='b-l-g-s-ng-s-txt'>".$title." ".panelbutton($state,$boxname)."</td>
</tr><tr><td class='b-l-g-l'></td><td class='b-l-g-s'></td><td class='b-l-g-p'></td></tr>
<tr><td class='b-l-s-l'></td><td class='b-l-s-s'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'" : ""Wink.">";
}
function closesidex() {
echo"</td><td class='b-l-s-p'></td></tr>
<tr><td class='b-l-d-l'></td><td class='b-l-d-s'></td><td class='b-l-d-p'></td></tr>
</table>";
tablebreak();
}
function tablebreak() {
echo"<div style='padding: 3px'></div>";
}
?>
Edytowane przez Drecha dnia 16.07.2011 15:07:01
|
|
|
|
jan111to |
Dodany dnia 16.07.2011 15:05:36
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
Nie wiem nadal to samo Dzięki za pomoc w kazdym badz razie. Najwyzej bd. edytował ten panel przełączając na innego skina
Edytowane przez Drecha dnia 16.07.2011 15:07:26
|
|
|
|
krystian1988 |
Dodany dnia 16.07.2011 15:07:28
|
Zaawansowany
Postów: 1187 Pomógł: 100
v7.02.07 Data rejestracji: 07.05.2009 17:37
|
A czemu np. w kodzie masz:
if (!defined("IN_FUSION"Wink) { header("Location: ../../index.php"Wink; exit; }
Wink
BRAK STOPKI = BRAK POMOCY NA SUPPORCIE.PRZECZYTAJ:
Regulamin Supportu Nie pomagam na PW!!!
|
|
|
|
jan111to |
Dodany dnia 16.07.2011 16:08:35
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
Usunąłem tego winka, ale problem nadal występuje.
Edytowane przez Drecha dnia 16.07.2011 21:02:08
|
|
|
|
krystian1988 |
Dodany dnia 16.07.2011 16:27:16
|
Zaawansowany
Postów: 1187 Pomógł: 100
v7.02.07 Data rejestracji: 07.05.2009 17:37
|
Też nie masz tego winka w jednej linijce a w większości miejscach.
BRAK STOPKI = BRAK POMOCY NA SUPPORCIE.PRZECZYTAJ:
Regulamin Supportu Nie pomagam na PW!!!
|
|
|
|
jan111to |
Dodany dnia 16.07.2011 17:28:28
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
Ok. dzięki. Już usunalem te nieszczesne winki i teraz wyglada to tak:
<?php
/*******************************************\
|Theme: treningnetpl |
|Code: Jack - http://jackstudio... |
/*******************************************/
if (!defined("IN_FUSION") { header("Location: ../../index.php"; exit; }
require_once INCLUDES."theme_functions_include.php";
$body_text = "#3e3e3e";
$body_bg = "#ffffff";
$theme_width = "940";
$theme_width_l = "205";
$theme_width_r = "312";
function render_header($header_content) {
global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink;
echo" <div class='t-pasek'></div>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='t-logo'>
<div class='t-logo-l'></div>
<div class='t-logo-s'>
<form action='".BASEDIR."search.php' method='post'>
<input type='textbox' value='Wpisz szukane słowa..' name='stext' class='textbox-search' onBlur=\"if(this.value==''this.value='Wpisz szukane słowa..';\" onFocus=\"if(this.value=='Wpisz szukane słowa..'this.value='';\">
<input type='submit' name='search' value='' class='button-search'>
</form>
</div>
<div class='t-logo-n'></div></td>
<td class='t-banner'>
<span class='t-banner-txt'>REKLAMA</span>
<div class='t-banner-ba'><img src='".THEME."images/banner.jpg'></div>
</td></tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='menu-1'></td>
<td><a href='#' class='menu-2' onMouseover=\"showit(0)\"></a></td>
<td class='menu-3'></td>
<td><a href='#' class='menu-4' onMouseover=\"showit(1)\"></a></td>
<td class='menu-5'></td>
<td><a href='#' class='menu-6' onMouseover=\"showit(2)\"></a></td>
<td class='menu-7'></td>
<td><a href='#' class='menu-8' onMouseover=\"showit(3)\"></a></td>
<td class='menu-9'></td>
<td><a href='#' class='menu-10' onMouseover=\"showit(4)\"></a></td>
<td class='menu-11'></td>
<td><a href='#' class='menu-12' onMouseover=\"showit(5)\"></a></td>
<td class='menu-13'></td>
<td><a href='#' class='menu-14' onMouseover=\"showit(6)\"></a></td>
<td class='menu-15'></td>
<td><a href='#' class='menu-16' onMouseover=\"showit(7)\"></a></td>
<td class='menu-17'></td>
<td><a href='#' class='menu-18' onMouseover=\"showit(8)\"></a></td>
<td class='menu-19'></td>
</tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='submenu-l'></td>
<td class='submenu-s' id=\"describe\" onMouseover=\"clear_delayhide()\" onMouseout=\"resetit(event)\">
<script language=\"JavaScript1.2\">
/*Tabs Menu (mouseover)- By Dynamic Drive
For full source code and more DHTML scripts, visit http://www.dynami...
This credit MUST stay intact for use*/
var submenu=new Array()
submenu[0]='<a href=\"".BASEDIR."news.php\">Strona Główna</a> | <a href=\"".BASEDIR."articles.php\">Artykuły</a> | <a href=\"".FORUM."news.php\">Forum</a> | <a href=\"".BASEDIR."photogallery.php\">Galeria</a> '
submenu[1]='<a href=\"".BASEDIR."news.php\">Liga Polska</a> | <a href=\"".BASEDIR."news.php\">Liga Angielska</a>'
submenu[2]='<a href=\"".BASEDIR."news.php\">Liga Holenderska</a> | <a href=\"".BASEDIR."news.php\">Liga Portugalska</a>'
submenu[3]='cos tam....cos tam.... '
submenu[4]='cos tam.... '
submenu[5]='cos tam....cos tam.... '
submenu[6]='cos tam.... '
submenu[7]='cos tam....cos tam....cos tam.... '
submenu[8]='cos tam....cos tam....cos tam....cos tam....cos tam.... '
//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=100
var menuobj=document.getElementById? document.getElementById(\"describe"\ : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : \"\"
function showit(which){
clear_delayhide()
thecontent=(which==-1)? \"\" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}
function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout(\"showit(-1)\",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout(\"showit(-1)\",delay_hide)
}
function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}
function contains_ns6(a, Cool {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
</script>
<td class='submenu-p'></td></tr></table>
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr><td class='logowanie'>";
$liczbauserow = dbarraynum(dbquery("SELECT COUNT(*) from ".$db_prefix."users ");
if(iGUEST){
echo("<div class='logowanie-l'><form name='loginform' method='POST' action='".FUSION_SELF."'>
<span style='padding: 0 10px'>Nazwa użytkownika: </span><input type='text' name='user_name' value='' class='textbox-login'>
<span style='padding: 0 10px'>Hasło: </span><input type='password' name='user_pass' value='' class='textbox-login' >
<input type='submit' name='login' class='button-login' value=''></form></div>
<div class='logowanie-r'>
<a href='".BASEDIR."register.php' style='color:#a51616;text-decoration: underline;padding:0 5px'>Zarejestruj się</a>
<a href='".BASEDIR."lostpassword.php' style='padding:0 10px 0 5px'>Zgubione hasło</a>|
Mamy <span style='font-weight:bold'>".$liczbauserow[0]."</span> zarejestrowanych użytkowników</div>
<div style='padding: 10px'></div>
";
}else{
$caution_r = dbquery("SELECT * from ".$db_prefix."cautions WHERE user_id=".$userdata['user_id']);
$caution = dbarray($caution_r);
$c_count = dbrows($caution_r);
echo"<div style='padding: 0px'>
<div style='float: left;padding: 0 10px'>".($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='40' height='40'>" : "<img src='".FORUM."images/brak.gif' width='40' height='40'></div>
<div class='logowanie-opcje'><ul>
<li style='font-weight:bold'>Witaj ".$userdata['user_name']."! Twoje opcje: </li>
<li><a href='".BASEDIR."edit_profile.php'>Edytuj Profil</a></li>
<li><a href='".BASEDIR."messages.php'>Wiadomo¶ci</a></li>
<li><a href='".BASEDIR."members.php'>Użytkownicy</a></li>";
if (iADMIN) {echo "<li><a href='".ADMIN."index.php$aidlink'>Panel Administratora</a></li>\n";}echo"
<li>Liczba punktów: ".show_points($userdata['user_id'])."</li>
<li>Ranga: ".check_rang($userdata['user_id'])."</li>
<li>Ostrzeżeń: ".$c_count."</li>
</ul></div>
<div style='float: right; padding: 0px 30px 0px 0px'>
<a href='".BASEDIR."setuser.php?logout=yes'>Wyloguj [x]</a></div>
</div>";
}
echo"</td></tr></table>";
echo"<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>";
}
function render_footer() {
global $theme_width,$settings;
echo"
<table width='$theme_width' align='center' cellspacing='0' cellpadding='0'><tr>
<td class='sto'><div class='sto-txt'>Copyright (c) 2011 by aquilafc.aq.pl | Design by Cichy | Kopiowanie materiałów ze strony, bez wiedzy Administratora zabronione! </div>
<div class='sto-txt-2'>Unikalnych wizyt: <span style='font-weight:bold'>".$settings['counter']."</span></div>
<div class='sto-txt-3'><a href='#' class='sto-l'></a></div></td></tr>
<tr><td class='sto-linki'><a href='http://www.b.site.pl'> b.site.pl</a> | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link | Tu może być Twój link </td>
</tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo"<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' style='margin-bottom:10px' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".$locale['201']."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>
<div class='c-s-s-ng'>".$subject."</div>
".$news;
if($readmore == "{
echo"<div class='c-s-s-czy'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."' class='c-s-s-czy-l'></a></div> ";
}
echo"<div class='c-s-s-sto'>Dodał:<a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'><span style='font-weight:bold'> ".$info['user_name']."</span></a> dnia: ".showdate("shortdate", $info['news_date'])."| Czytań:<span style='font-weight:bold'> ".$info['news_reads']."</span> <span style='color:#4080b2'>+<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>Skomentuj</a><span style='font-weight:bold'> [".$info['news_comments']."]</span></span></div>
</td>
<td class='c-s-p'></td></tr>
</tr><tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function render_news_pozostale($subject, $news, $info){
$tresc1 = "<table width='350' align='center' cellspacing='0' cellpadding='0' border='0'>
<tr><td class='n-s-ng'>".$subject."</td></tr>
<tr><td class='n-s-tr'>".trimlink($news, 200)." <span style='color:#4080b2'>[<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>czytaj więcej</a>]</span></td></tr>
<tr><td >
<div class='n-s-sto'>Dodał:<a href='profile.php?lookup=".$info['user_id']."' style='font-weight:bold'><span style='font-weight:bold'> ".$info['user_name']."</span></a> dnia: ".showdate("shortdate", $info['news_date'])."| Czytań:<span style='font-weight:bold'> ".$info['news_reads']."</span> <span style='color:#4080b2'>+<a href='news.php?readmore=".$info['news_id']."' style='color:#4080b2'>Skomentuj</a><span style='font-weight:bold'> [".$info['news_comments']."]</span></span></div>
</td></tr>
</tr></table>";
return $tresc1;
}
function render_article($subject, $article, $info) {
echo"<table width='377' align='center' cellspacing='0' cellpadding='0' border='0' style='margin-bottom:10px' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".$subject."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>".$article."
<div class='c-s-s-sto'> Dodane przez: ".$info['user_name']." dnia: ".showdate("%d.%m.%Y", $info['article_date'])."</div>
</td><td class='c-s-p'></td></tr>
</tr><tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function opentable($title) {
echo"
<table width='500' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='c-g-s-ng'><div class='c-g-s-ng-l'></div><div class='c-g-s-ng-s'><div class='c-g-s-ng-s-txt'>".strtoupper($title)."</div></div><div class='c-g-s-ng-p'></div></td></tr>
<tr><td class='c-g-l'></td><td class='c-g-s'></td><td class='c-g-p'></td></tr>
<tr><td class='c-s-l'></td><td class='c-s-s'>
";
}
function closetable() {
echo"</td><td class='c-s-p'></td></tr>
<tr><td class='c-d-l'></td><td class='c-d-s'></td><td class='c-d-p'></td></tr>
</table>";
tablebreak();
}
function openside($title) {
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='b-l-g-s-ng'><div class='b-l-g-s-ng-l'></div><div class='b-l-g-s-ng-s'><div class='b-l-g-s-ng-s-txt'>".strtoupper($title)."</div></div><div class='b-l-g-s-ng-p'></div></td></tr>
<tr><td class='b-l-g-l'></td><td class='b-l-g-s'></td><td class='b-l-g-p'></td></tr>
<tr><td class='b-l-s-l'></td><td class='b-l-s-s'>";
}
function openside2($title){
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' ><tr>
<td class='b-p-g-l'></td><td class='b-p-g-p'>".$title."</td></tr>
<tr><td colspan='2' class='b-p-s'>";
}
function closeside() {
echo"</td><td class='b-l-s-p'></td></tr>
<tr><td class='b-l-d-l'></td><td class='b-l-d-s'></td><td class='b-l-d-p'></td></tr>
</table>";
tablebreak();
}
function closeside2(){
echo"</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on"{
global $theme_width_l;
$boxname = str_replace(" ", "", $title);
echo"<table width='205' align='center' cellspacing='0' cellpadding='0' border='0' >
<tr><td colspan='3' class='b-l-g-s-ng'><div class='b-l-g-s-ng-l'></div><div class='b-l-g-s-ng-s'><div class='b-l-g-s-ng-s-txt'>".$title." ".panelbutton($state,$boxname)."</td>
</tr><tr><td class='b-l-g-l'></td><td class='b-l-g-s'></td><td class='b-l-g-p'></td></tr>
<tr><td class='b-l-s-l'></td><td class='b-l-s-s'>
<div id='box_$boxname'".($open=="off" ? "style='display:none'>";
}
function closesidex() {
echo"</td><td class='b-l-s-p'></td></tr>
<tr><td class='b-l-d-l'></td><td class='b-l-d-s'></td><td class='b-l-d-p'></td></tr>
</table>";
tablebreak();
}
function tablebreak() {
echo"<div style='padding: 3px'></div>";
}
?>
--------------------------------------------------------------------------------
Wgrałem na server i o dziwo nie ma juz zadnych błędów. Wgralem to (do: infusions/last_next_matches/administrator/admin.php):
<?php
/*---------------------------------+
| CemikPIL kodowanie & skrypty |
+----------------------------------+
| nazwa: Last & Next Match |
| autor: ChemikPIL |
| e-mail: |
+---------------------------------*/
require_once('adminConfig.php'wink;
require_once('../class/class.lastMatch.php'wink;
require_once('../class/class.nextMatch.php'wink;
$last = new lastMatch();
$lastMatch = $last->getLastMatch();
$next = new nextMatch();
$nextMatch = $next->getNextMatch();
$imgFolder = "../images/logos/";
opentablea($locale['LN202']);
include '../templates/admin.phtml';
closetablea();
require_once BASEDIR."footer.php";
?>
I znowu mam blad wchodząc w ta wtyczke.
Edytowane przez Drecha dnia 16.07.2011 21:03:12
|
|
|
|
Konto ukryte |
Dodany dnia 16.07.2011 17:51:26
|
Początkujący
Postów: 151
Data rejestracji: 29.08.2009 15:26
ZBANOWANY: Dożywotnio
|
Zamień opentablea na opentable i closetablea na closetable w pliku admin.php |
|
|
|
krystian1988 |
Dodany dnia 16.07.2011 18:12:46
|
Zaawansowany
Postów: 1187 Pomógł: 100
v7.02.07 Data rejestracji: 07.05.2009 17:37
|
I dalej masz te winki w tym kodzie admin.php też je usuń.
Jeszcze nie zapomnij za te winki wstawić ;) bo tego brakuje.
Edytowane przez krystian1988 dnia 16.07.2011 18:18:16
BRAK STOPKI = BRAK POMOCY NA SUPPORCIE.PRZECZYTAJ:
Regulamin Supportu Nie pomagam na PW!!!
|
|
|
|
jan111to |
Dodany dnia 16.07.2011 18:24:09
|
Przedszkolak
Postów: 55 Ostrzeżeń: 3
v7.02.05 Data rejestracji: 16.02.2008 18:53
|
@UP zaraz sprawdze
Ok. sprawdzilem. Blad wyskakuje taki:
Parse error: syntax error, unexpected ';' in /home/sites/a/aq/aqu/aquilafc.aq.pl/infusions/last_and_next_match_panel/administration/admin.php on line 10
Teraz ten kod wygląda tak:
<?php
/*---------------------------------+
| CemikPIL kodowanie & skrypty |
+----------------------------------+
| nazwa: Last & Next Match |
| autor: ChemikPIL |
| e-mail: |
+---------------------------------*/
require_once('adminConfig.php';)
require_once('../class/class.lastMatch.php';)
require_once('../class/class.nextMatch.php';)
$last = new lastMatch();
$lastMatch = $last->getLastMatch();
$next = new nextMatch();
$nextMatch = $next->getNextMatch();
$imgFolder = "../images/logos/";
opentable($locale['LN202']);
include '../templates/admin.phtml';
closetable();
require_once BASEDIR."footer.php";
?>
PW od moderatora:
- Ogólna Uwaga - Drecha 16.07 - 21:04
Edytowane przez Pieka dnia 16.07.2011 22:24:23
|
|
|