[EF IV] Błąd w pliku theme.php po dodaniu panela logowania
|
Soul |
Dodany dnia 06.09.2008 18:50:56
|
Przedszkolak
Postów: 8 Ostrzeżeń: 2
Data rejestracji: 06.09.2008 16:43
Złamana licencja
|
Witam mam mały problem z plikiem "theme.php"
Stworzyłem sobie thema w oparciu o inny plik theme.php... Na własne potrzeby, i kurcze fajnie by było gdyby nie błąd który mi wyskakuje...
Them takowo śmiga ładnie, ale kiedy powstawiałem w tabele skrypty takie jak panel logowania, ostatnie posty, artykuły i losowa fotka... to juz kicha... wywala błędy...
A na dodatek jestem początkujący i wszystko robie schematycznie, więc trudno mi znaleźć nawet jakiś mały błąd jesli to jest nawet gdzieś nie wstawiony jakiś specyficzny znak...
Więc chciał bym zasięgnąć waszej pomocy, w tej sprawie, i w miare możliwości żebyście napisali mi co zrobić żeby takie błedy mi nie wyskakiwały jak będę tworzył następny theme...
Treść błędu:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/sites/yoyo.pl/z/a/zakrentem/themes/Bleach/theme.php on line 34
Treść 34 lini:
if ($userdata['user_avatar'] != "") {
Treść mojego theme.php:
<?
// theme settings
$body_text = "#ffffff";
$body_bg = "#182126";
$theme_width = "928";
$theme_width_l = "247";
$theme_width_r = "247";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix,$loginerror;;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"928\" align=\"center\">
<tr>
<td width=\"928\" height=\"31\"><img src=\"".THEME."images/gogo_02.jpg\" width=\"928\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 9505 bajtów]\"></td>
</tr>
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"158\" height=\"31\"><img src=\"".THEME."images/gogo_04.jpg\" width=\"158\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 2270 bajtów]\"></td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_06.jpg'); height: 253px; padding-left: 5px; padding-right: 4px; width: 1549px\">
if (iMEMBER) {
opensidel();
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".FORUM.\"images/brak.gif' width='50' hight='50'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
echo"<table><tr><td></td></tr></table>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo " <br><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Edytuj Profil</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Wiadomości</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Użytkownicy</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."usergalerie/edit_usergalerie.php' class='side'>Galeria Usera <b>[New]<b></a><br><br>\n";
echo "<center><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td><b>Opcje:</b><br></td></tr>
</table></center>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<center><img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php$aidlink' >Panel Administratora</a></center><br>\n";
}{echo "\n
";
echo"<div style=\"text-align: center\"><a href='".BASEDIR."setuser.php?logout=yes' class='side'>[ Wyloguj ]</a></div>\n";
if ($msg_count) echo "<center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='panellogowania_texbox' value='Login....' onBlur=\"if(this.value=='') this.value='Login....';\" onFocus=\"if(this.value=='Login....') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
<input type='password' name='user_pass' class='panellogowania_texbox' value='hasło' onBlur=\"if(this.value=='') this.value='hasło';\" onFocus=\"if(this.value=='hasło') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br>
<input type='checkbox' name='remember_me' value='y' title='Zapamiętaj mnie' style='vertical-align:middle;'>
<input type='submit' name='login' value='Loguj' class='panelogowania_button'>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='side'>Rejestracja</a><br>\n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='side'>Zgubione hasło</a>
</div>\n";
}
closesidel();
</td>
</tr>
</table>
</td>
<td><img src=\"".THEME."images/gogo_05.jpg\" width=\"770\" height=\"284\" border=\"0\" alt=\"[Rozmiar: 78353 bajtów]\"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=\"928\" height=\"64\"><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_07.jpg\" width=\"112\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 4227 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_08.jpg\" width=\"135\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 4526 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_09.jpg\" width=\"116\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 4284 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_10.jpg\" width=\"135\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 5261 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_11.jpg\" width=\"166\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 5887 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_12.jpg\" width=\"141\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 5116 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_13.jpg\" width=\"123\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 5793 bajtów]\"></a></td>
</tr>
<tr>
<td width=\"928\" height=\"31\"><img src=\"".THEME."images/gogo_14.jpg\" width=\"219\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 4610 bajtów]\"><img src=\"".THEME."images/gogo_16.jpg\" width=\"228\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 4559 bajtów]\"><img src=\"".THEME."images/gogo_17.jpg\" width=\"222\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 4825 bajtów]\"><img src=\"".THEME."images/gogo_18.jpg\" width=\"257\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 4665 bajtów]\"></td>
</tr>
<tr>
<td height=\"181\" width=\"928\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_19.jpg'); height: 181px; padding-left: 2px; width: 219px\">include BASEDIR."infusions/info_panel/locale/Polish.php";
include BASEDIR."includes/theme.php";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr><td>";
echo "\n";
$result=dbquery("SELECT * FROM r0;.$db_prefix.r1;users ORDER BY user_lastvisit DESC LIMIT 0,10"); //<<LIMIT WYSWIETLANYCH UŻYTKOWNIKÓW//
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<font color='#CCCCCC'><b>na stronie</b></font>"; //<<uzytkownik online //
}elseif($lastseen<360){
$lastseen="<font color='#BBBBBB'><b>odchodzi</b></font>"; //<<uzytkownik odchchodzi, po 360 sek od czasu wylogowania//
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="$iW $Text";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="$iD $Text";
}else{
$lastseen="$iH:$iM:$iS";
}
if (!isset($start)) $start="";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'>
<a href='".BASEDIR."profile.php?lookup=$data[user_id]'
onmouseover=\"gpe('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\"><b>";
echo $data['user_prefix'].$data['user_name']."</b></a></td><td align=\"right\" class='small'>".$lastseen."</td></tr></table>"; //wyswietlanie na stronie //
}
}
// TEN KOD WYSWIETLA ILU JEST GOSCI ONLINE POD UZYTKOWNIKAMI //
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'> <b><span style=\"color: #C0C0C0\">".$locale['011']."</span></td><td align=\"right\" class='small'>".dbrows($result)."</b></td></tr></table>\n";
$result = dbquery(
"SELECT ton.*, user_id,user_name,user_color,user_prefix FROM ep_online ton
LEFT JOIN ep_users tu ON ton.online_user=tu.user_id
WHERE online_user!='0'"
);
} else {
echo $locale['013']."<br>\n";
}
echo "</td></tr></table>"; </td>
<td style=\"background-image: url('".THEME."images/gogo_20.jpg'); height: 181px; width: 228px\">if (!isset($usr_grps)) $usr_grps="";
$result = dbquery(
"SELECT tf.*, tt.*, tu.user_id,user_name,user_color,user_prefix FROM ".$db_prefix."forums tf
INNER JOIN ".$db_prefix."threads tt USING(forum_id)
INNER JOIN theme_users tu ON tt.thread_lastuser=tu.user_id
".$usr_grps." ORDER BY thread_lastpost DESC LIMIT 0,11");
if (dbrows($result) != 0) {
$i=0;
if ($theme_width == "100%") echo "\n";
while ($data = dbarray($result)) {
if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
$new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
//$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
$thread_replies = $data['thread_replies'];
$forum_id = $data['forum_id'];
if ($new_posts > 0) {
$folder123 = "<img src='".THEME."images/bullet.gif' height='7'>";
} else if ($new_posts > 19) {
$folder123 = "<img src='".THEME."images/bullet.gif' height='7'>";
} else {
if ($data['thread_locked'] == 1) {
$folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
} else if ($data['thread_locked'] == 0) {
$folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
}
}
//$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
$reply_count = $data['thread_replies']+1;
$data2 = dbarray(dbquery("SELECT post_id FROM ".$db_prefix."posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
$threads_message = $data['thread_subject'];
$threads_message = str_replace("'", "", $threads_message);
$rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" width='65%' class='small'>";
if ($theme_width == "100%") {
echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b>: ".$threads_message."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1).\"".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
} else {
echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"gpe('text:<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("'", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1).\"".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost']).";')\" (".$data['forum_name'].")'>".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
}
echo "</tr></table>";
$i++;
}
} else {
echo "<center>".$locale['004']."</center>\n";
} </td>
<td style=\"background-image: url('".THEME."images/gogo_21.jpg'); height: 181px; padding-left: 2px; width: 220px\">$result = dbquery("SELECT article_id, article_subject FROM ".$db_prefix."articles ORDER BY article_id DESC LIMIT 0,9");
while ($row = mysql_fetch_array($result))
{
echo '<img src="'.THEME.'images/bullet.gif" alt=""> <a href="'.BASEDIR.'readarticle.php?article_id=';
echo($row['article_id']);
echo '">';
echo($row['article_subject']);
echo '</a>';
echo '<br>';
} </td>
<td style=\"background-image: url('".THEME."images/gogo_22.jpg'); height: 181px; width: 257px\">$result=dbquery(
"SELECT tp.*, ta.* FROM ".$db_prefix."photos tp
LEFT JOIN ".$db_prefix."photo_albums ta USING(album_id)
WHERE ".groupaccess('album_access')." ORDER BY RAND() LIMIT 1"
);
if(dbrows($result)==1){
$data=dbarray($result);
$randphotodir = PHOTOS.(!@ini_get("safe_mode") ? "album_".$data['album_id']."/" : "");
if(!file_exists($filename)) $filename=$image_url.'/imagenotfound.jpg';
echo "";
echo"
<table cellspacing='0' cellpadding='0' border='0' align=\"center\" width=\"1%\" height=\"1%\" valign=\"bottom\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' class='gallery'><img src='".$randphotodir.$data['photo_thumb1']."' title='".$data['photo_title']."' alt='".$data['photo_title']."' height='100' border='0'></a></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo"</table>
<a href='".BASEDIR."photogallery.php?album=".$data['album_id']."' style=\"color: #F5F5F5\"><span style=\"font-size: 9px\">".$data['album_title']."-".$data['photo_title']."</span></a>";"</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' align='center'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"254\"><img src=\"".THEME."images/gogo_37.jpg\" width=\"928\" height=\"256\" border=\"0\" alt=\"[Rozmiar: 61773 bajtów]\"></td>
</tr>
<tr>
<td><table cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td align=\"center\" style=\"background-repeat:repeat-y;\" bgcolor=\"182126\" width=\"928\" height=\"81\" alt=\"\">
<a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a>
<br>
<a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a>
<br>
<a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"431\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_25.jpg'); font-family: Arial; font-size: 11px; font-weight: bolder; height: 44px; padding-left: 20px; padding-top: 4px; width: 411px\">$subject</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_27.jpg'); background-position: top; background-repeat: no-repeat; padding-left: 20px; padding-right: 20px; padding-top: 5px\">$news<br>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."
</td>
<td align='right' class='infobar'>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$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 border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"431\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_25.jpg'); font-family: Arial; font-size: 11px; font-weight: bolder; height: 44px; padding-left: 20px; padding-top: 4px; width: 411px\">$subject</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_27.jpg'); background-position: top; background-repeat: no-repeat; padding-left: 20px; padding-right: 20px; padding-top: 5px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."
</td>
<td align='right' class='infobar'>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$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 opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"431\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_25.jpg'); font-family: Arial; font-size: 11px; font-weight: bolder; height: 44px; padding-left: 20px; padding-top: 4px; width: 411px\">$title</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_27.jpg'); background-position: top; background-repeat: no-repeat; padding-left: 20px; padding-right: 20px; padding-top: 5px\">\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"247\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_23.jpg'); color: #FFFFFF; font-family: Arial; font-size: 12px; font-weight: bolder; height: 104px; padding-left: 30px; padding-top: 2px; width: 217px\">$title</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_30.jpg'); padding-left: 20px; padding-right: 25px\">\n";
}
function closeside() {
echo "</td>
</tr>
<tr>
<td><img src=\"".THEME."images/gogo_32.jpg\" width=\"247\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 2010 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
<td class='sidi-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}
function closesidel() {
echo "</td>
</tr>
</table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='0'></td></tr>
</table>\n";
}
?>
Emmm to chyba z przyzwyczajenia,m te pogrubienia a nie kod... xD Kurczem... ale dałem ciała o matko nie ten dział.... Możecie przenieść... poczekam...
PW od moderatora:
- Zmiana nazwy tematu - Pieka 06.09 - 18:56
- Przeniesienie tematu - Pieka 06.09 - 19:03
Edytowane przez Pieka dnia 17.12.2008 00:19:15
|
|
|
|
Wścibski Gość |
Dodany dnia 25.11.2024 09:30:53
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
Pieka |
Dodany dnia 06.09.2008 19:06:18
|
Postów: 19882 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
W linii ~29 masz:
<td style=\"background-image: url('".THEME."images/gogo_06.jpg'); height: 253px; padding-left: 5px; padding-right: 4px; width: 1549px\">
czyli brakuje zamkniecia:
";
Poprawny wyglad tej linii:
<td style=\"background-image: url('".THEME."images/gogo_06.jpg'); height: 253px; padding-left: 5px; padding-right: 4px; width: 1549px\">";
Edytowane przez Pieka dnia 06.09.2008 19:08:37
Jestem jaki jestem
|
|
|
|
Soul |
Dodany dnia 06.09.2008 19:14:53
|
Przedszkolak
Postów: 8 Ostrzeżeń: 2
Data rejestracji: 06.09.2008 16:43
Złamana licencja
|
Aha no błąd zniknął ale pojawiły sie 2 kolejne :(
1.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /var/www/sites/yoyo.pl/z/a/zakrentem/themes/Bleach/theme.php on line 58
Linia 58:
echo "<img src='".FORUM.\"images/brak.gif' width='50' hight='50'></td>";
2.
Parse error: syntax error, unexpected '<' in /var/www/sites/yoyo.pl/z/a/zakrentem/themes/Bleach/theme.php on line 136
linia 136:
</td>
|
|
|
|
Pieka |
Dodany dnia 06.09.2008 19:28:36
|
Postów: 19882 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Pokazalem Ci wyzej, ze nie zamykasz tagow, wiec zamiast wyliczac bledy, popraw je. Ja tego za Ciebie robil nie bede, to Twoja skorka i chec modyfikacji, w dodatku jak widac bezmyslnej i bez jakichkolwiek podstaw.
Masz w sieci cala mase kursow HTML, wiec moze zacznij od tego, zamiast rzucac sie od razu na gleboka wode.
Edit: odnosnie powyzszych bledow:
1. Jest:
echo "<img src='".FORUM.\"images/brak.gif' width='50' hight='50'></td>";
a ma byc:
echo "<img src='".FORUM."images/brak.gif' width='50' hight='50'></td>";
Niepotrzebny slash \.
2. Masz:
</td>
A masz miec:
echo "</td>
Przeciez powyzej masz closesidel();.
Masz tam tego duzo wiecej np. includujesz nie zamykajac tagow.., Szukaj i poprawiaj.
Edytowane przez Pieka dnia 06.09.2008 19:42:05
Jestem jaki jestem
|
|
|
|
Soul |
Dodany dnia 06.09.2008 19:34:40
|
Przedszkolak
Postów: 8 Ostrzeżeń: 2
Data rejestracji: 06.09.2008 16:43
Złamana licencja
|
No ok postaram się coś poczytać, ostatnio nawet coś mi do rąk wpadło... W takim razie dzięki za tyle.... |
|
|
|
kefirek |
Dodany dnia 06.09.2008 19:44:28
|
Zaawansowany
Postów: 1191 Pomógł: 418 Ostrzeżeń: 1
v6.00.xxx Data rejestracji: 06.04.2008 21:59
|
Zobacz tak
<?
// theme settings
$body_text = "#ffffff";
$body_bg = "#182126";
$theme_width = "928";
$theme_width_l = "247";
$theme_width_r = "247";
function render_header($header_content) {
global $theme_width,$settings,$locale,$userdata,$aidlink,$db_prefix,$loginerror;;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"928\" align=\"center\">
<tr>
<td width=\"928\" height=\"31\"><img src=\"".THEME."images/gogo_02.jpg\" width=\"928\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 9505 bajtów]\"></td>
</tr>
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"158\" height=\"31\"><img src=\"".THEME."images/gogo_04.jpg\" width=\"158\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 2270 bajtów]\"></td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_06.jpg'); height: 253px; padding-left: 5px; padding-right: 4px; width: 1549px\">";
if (iMEMBER) {
opensidel();
if ($userdata['user_avatar'] != "") {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
} else {
echo "<center><table cellspacing='0' cellpadding='0' border='0' align=\"left\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<img src='".FORUM.\"images/brak.gif' width='50' hight='50'></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo "</table></center>";
echo"<table><tr><td></td></tr></table>";
}
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo " <br><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Edytuj Profil</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Wiadomości</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Użytkownicy</a><br>
<img src='".THEME."images/bullet.gif' alt=''> <a href='".INFUSIONS."usergalerie/edit_usergalerie.php' class='side'>Galeria Usera <b>[New]<b></a><br><br>\n";
echo "<center><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr>
<td><b>Opcje:</b><br></td></tr>
</table></center>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<center><img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php$aidlink' >Panel Administratora</a></center><br>\n";
}{echo "\n
";
echo"<div style=\"text-align: center\"><a href='".BASEDIR."setuser.php?logout=yes' class='side'>[ Wyloguj ]</a></div>\n";
if ($msg_count) echo "<center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
}
tablebreak();
} else {
opensidel();
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<input type='text' name='user_name' class='panellogowania_texbox' value='Login....' onBlur=\"if(this.value=='') this.value='Login....';\" onFocus=\"if(this.value=='Login....') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br><br>
<input type='password' name='user_pass' class='panellogowania_texbox' value='hasło' onBlur=\"if(this.value=='') this.value='hasło';\" onFocus=\"if(this.value=='hasło') this.value='';\" style=\"padding-top: 4px; padding-left: 5px; padding-right: 29px\" ><br>
<input type='checkbox' name='remember_me' value='y' title='Zapamiętaj mnie' style='vertical-align:middle;'>
<input type='submit' name='login' value='Loguj' class='panelogowania_button'>
</form>
<br>\n";
if ($settings['enable_registration']) {
echo "<a href='".BASEDIR."register.php' class='side'>Rejestracja</a><br>\n";
}
echo "<a href='".BASEDIR."lostpassword.php' class='side'>Zgubione hasło</a>
</div>\n";
}
closesidel();
echo "</td>
</tr>
</table>
</td>
<td><img src=\"".THEME."images/gogo_05.jpg\" width=\"770\" height=\"284\" border=\"0\" alt=\"[Rozmiar: 78353 bajtów]\"></td>
</tr>
</table>";
echo "</td>
</tr>
<tr>
<td width=\"928\" height=\"64\"><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_07.jpg\" width=\"112\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 4227 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_08.jpg\" width=\"135\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 4526 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_09.jpg\" width=\"116\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 4284 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_10.jpg\" width=\"135\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 5261 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_11.jpg\" width=\"166\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 5887 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_12.jpg\" width=\"141\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 5116 bajtów]\"></a><a href=\"http://tutaj_wpisz_adres.pl\"><img src=\"".THEME."images/gogo_13.jpg\" width=\"123\" height=\"64\" border=\"0\" alt=\"[Rozmiar: 5793 bajtów]\"></a></td>
</tr>
<tr>
<td width=\"928\" height=\"31\"><img src=\"".THEME."images/gogo_14.jpg\" width=\"219\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 4610 bajtów]\"><img src=\"".THEME."images/gogo_16.jpg\" width=\"228\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 4559 bajtów]\"><img src=\"".THEME."images/gogo_17.jpg\" width=\"222\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 4825 bajtów]\"><img src=\"".THEME."images/gogo_18.jpg\" width=\"257\" height=\"31\" border=\"0\" alt=\"[Rozmiar: 4665 bajtów]\"></td>
</tr>
<tr>
<td height=\"181\" width=\"928\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_19.jpg'); height: 181px; padding-left: 2px; width: 219px\">";
include BASEDIR."infusions/info_panel/locale/Polish.php";
include BASEDIR."includes/theme.php";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr><td>";
echo "\n";
$result=dbquery("SELECT * FROM r0;.$db_prefix.r1;users ORDER BY user_lastvisit DESC LIMIT 0,10"); //<<LIMIT WYSWIETLANYCH UŻYTKOWNIKÓW//
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<font color='#CCCCCC'><b>na stronie</b></font>"; //<<uzytkownik online //
}elseif($lastseen<360){
$lastseen="<font color='#BBBBBB'><b>odchodzi</b></font>"; //<<uzytkownik odchchodzi, po 360 sek od czasu wylogowania//
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="$iW $Text";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="$iD $Text";
}else{
$lastseen="$iH:$iM:$iS";
}
if (!isset($start)) $start="";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'>
<a href='".BASEDIR."profile.php?lookup=$data[user_id]'
onmouseover=\"gpe('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\"><b>";
echo $data['user_prefix'].$data['user_name']."</b></a></td><td align=\"right\" class='small'>".$lastseen."</td></tr></table>"; //wyswietlanie na stronie //
}
}
// TEN KOD WYSWIETLA ILU JEST GOSCI ONLINE POD UZYTKOWNIKAMI //
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'> <b><span style=\"color: #C0C0C0\">".$locale['011']."</span></td><td align=\"right\" class='small'>".dbrows($result)."</b></td></tr></table>\n";
$result = dbquery(
"SELECT ton.*, user_id,user_name,user_color,user_prefix FROM ep_online ton
LEFT JOIN ep_users tu ON ton.online_user=tu.user_id
WHERE online_user!='0'"
);
} else {
echo $locale['013']."<br>\n";
}
echo "</td></tr></table>";
echo "</td>
<td style=\"background-image: url('".THEME."images/gogo_20.jpg'); height: 181px; width: 228px\">";
if (!isset($usr_grps)) $usr_grps="";
$result = dbquery(
"SELECT tf.*, tt.*, tu.user_id,user_name,user_color,user_prefix FROM ".$db_prefix."forums tf
INNER JOIN ".$db_prefix."threads tt USING(forum_id)
INNER JOIN theme_users tu ON tt.thread_lastuser=tu.user_id
".$usr_grps." ORDER BY thread_lastpost DESC LIMIT 0,11");
if (dbrows($result) != 0) {
$i=0;
if ($theme_width == "100%") echo "\n";
while ($data = dbarray($result)) {
if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
$new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
//$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
$thread_replies = $data['thread_replies'];
$forum_id = $data['forum_id'];
if ($new_posts > 0) {
$folder123 = "<img src='".THEME."images/bullet.gif' height='7'>";
} else if ($new_posts > 19) {
$folder123 = "<img src='".THEME."images/bullet.gif' height='7'>";
} else {
if ($data['thread_locked'] == 1) {
$folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
} else if ($data['thread_locked'] == 0) {
$folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
}
}
//$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
$reply_count = $data['thread_replies']+1;
$data2 = dbarray(dbquery("SELECT post_id FROM ".$db_prefix."posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
$threads_message = $data['thread_subject'];
$threads_message = str_replace("'", "", $threads_message);
$rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" width='65%' class='small'>";
if ($theme_width == "100%") {
echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b>: ".$threads_message."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1).\"".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
} else {
echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"gpe('text:<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("'", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1).\"".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost']).";')\" (".$data['forum_name'].")'>".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
}
echo "</tr></table>";
$i++;
}
} else {
echo "<center>".$locale['004']."</center>\n";
} echo "</td>
<td style=\"background-image: url('".THEME."images/gogo_21.jpg'); height: 181px; padding-left: 2px; width: 220px\">";
$result = dbquery("SELECT article_id, article_subject FROM ".$db_prefix."articles ORDER BY article_id DESC LIMIT 0,9");
while ($row = mysql_fetch_array($result))
{
echo '<img src="'.THEME.'images/bullet.gif" alt=""> <a href="'.BASEDIR.'readarticle.php?article_id=';
echo($row['article_id']);
echo '">';
echo($row['article_subject']);
echo '</a>';
echo '<br>';
} echo "</td>
<td style=\"background-image: url('".THEME."images/gogo_22.jpg'); height: 181px; width: 257px\">";
$result=dbquery(
"SELECT tp.*, ta.* FROM ".$db_prefix."photos tp
LEFT JOIN ".$db_prefix."photo_albums ta USING(album_id)
WHERE ".groupaccess('album_access')." ORDER BY RAND() LIMIT 1"
);
if(dbrows($result)==1){
$data=dbarray($result);
$randphotodir = PHOTOS.(!@ini_get("safe_mode") ? "album_".$data['album_id']."/" : "");
if(!file_exists($filename)) $filename=$image_url.'/imagenotfound.jpg';
echo "";
echo"
<table cellspacing='0' cellpadding='0' border='0' align=\"center\" width=\"1%\" height=\"1%\" valign=\"bottom\"><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/gora_prawa.png' height='12' width='12'></td></tr><tr>\n";
echo "<td align='left'><img src='".IMAGES."avatar_mod/srodek_lewa.png' width='12' height='100%'></td>\n";
echo "<td align='center' height='1%'>";
echo "<a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' class='gallery'><img src='".$randphotodir.$data['photo_thumb1']."' title='".$data['photo_title']."' alt='".$data['photo_title']."' height='100' border='0'></a></td>";
echo "<td align='right'><img src='".IMAGES."avatar_mod/srodek_prawa.png' height='100%' width='12'></td></tr><tr>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_lewa.png' height='12' width='12'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_srodek.png' height='12' width='100%'></td>\n";
echo "<td><img src='".IMAGES."avatar_mod/dol_prawa.png' height='12' width='12'></td></tr>\n";
echo"</table>
<a href='".BASEDIR."photogallery.php?album=".$data['album_id']."' style=\"color: #F5F5F5\"><span style=\"font-size: 9px\">".$data['album_title']."-".$data['photo_title']."</span></a>";"</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' align='center'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td width=\"254\"><img src=\"".THEME."images/gogo_37.jpg\" width=\"928\" height=\"256\" border=\"0\" alt=\"[Rozmiar: 61773 bajtów]\"></td>
</tr>
<tr>
<td><table cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td align=\"center\" style=\"background-repeat:repeat-y;\" bgcolor=\"182126\" width=\"928\" height=\"81\" alt=\"\">
<a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a>
<br>
<a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a>
<br>
<a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a> | <a href='".BASEDIR."reklama.php' >Tu moze być twoja reklama</a>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"431\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_25.jpg'); font-family: Arial; font-size: 11px; font-weight: bolder; height: 44px; padding-left: 20px; padding-top: 4px; width: 411px\">$subject</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_27.jpg'); background-position: top; background-repeat: no-repeat; padding-left: 20px; padding-right: 20px; padding-top: 5px\">$news<br>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."
</td>
<td align='right' class='infobar'>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$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 border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"431\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_25.jpg'); font-family: Arial; font-size: 11px; font-weight: bolder; height: 44px; padding-left: 20px; padding-top: 4px; width: 411px\">$subject</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_27.jpg'); background-position: top; background-repeat: no-repeat; padding-left: 20px; padding-right: 20px; padding-top: 5px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='infobar'><img src='".THEME."images/bullet.gif'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."
</td>
<td align='right' class='infobar'>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$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 opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"431\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_25.jpg'); font-family: Arial; font-size: 11px; font-weight: bolder; height: 44px; padding-left: 20px; padding-top: 4px; width: 411px\">$title</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_27.jpg'); background-position: top; background-repeat: no-repeat; padding-left: 20px; padding-right: 20px; padding-top: 5px\">\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"247\">
<tr>
<td style=\"background-image: url('".THEME."images/gogo_23.jpg'); color: #FFFFFF; font-family: Arial; font-size: 12px; font-weight: bolder; height: 104px; padding-left: 30px; padding-top: 2px; width: 217px\">$title</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/gogo_30.jpg'); padding-left: 20px; padding-right: 25px\">\n";
}
function closeside() {
echo "</td>
</tr>
<tr>
<td><img src=\"".THEME."images/gogo_32.jpg\" width=\"247\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 2010 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-top-left'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
<td class='sidi-top-main'>$title</td>
<td align='right' class='sidi-top-main'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td>
<td class='sidi-top-right'><img src='".THEME."images/blank.gif' width='5' height='21' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='sidi-left'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
<td class='sidi-right'><img src='".THEME."images/blank.gif' width='5' height='1' alt='' style='display:block'></td>
</tr>
<tr>
<td class='border-dol'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
<td class='border-dos'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>
<td class='border-dor'><img src='".THEME."images/blank.gif' width='5' height='16' alt='' style='display:block'></td>
</tr>
</table>\n";
tablebreak();
}
function opensidel() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>\n";
}
function closesidel() {
echo "</td>
</tr>
</table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='0'></td></tr>
</table>\n";
}
?>
|
|
|
|
Soul |
Dodany dnia 06.09.2008 20:17:43
|
Przedszkolak
Postów: 8 Ostrzeżeń: 2
Data rejestracji: 06.09.2008 16:43
Złamana licencja
|
A więc jak radziliście... poczytałem o tym i o tamtym i znalazłem błędy... he he niektóre to nawet banalne...
Oczywiście pododawałem resztę paneli: Losowa fotka, ostatnie artykuły, Posty na forum, i został mi panel "Użytkownicy Online" a biorąc pod uwagę moje szczęście coś znowu wyskoczyło i to na tyle dziwne że nie mogę sobie z tym poradzić:
Parse error: syntax error, unexpected $end in /var/www/sites/yoyo.pl/z/a/zakrentem/themes/Bleach/theme.php on line 572
W treści błędu wynika że nie oczekiwany koniec coś... w linii 572 (można powiedzieć że nie do końca rozumiem ten błąd)
Ale w linii 572 nic nie ma... to juz koniec tego pliku....
Poczytałem troche i myśle że to moze być jakaś nie zamknięta tabela... ale nie potrafię jej odszukać...
Kod panelu:
";
echo "\n";
$result=dbquery("SELECT * FROM ".$db_prefix."users ORDER BY user_lastvisit DESC LIMIT 0,10"); //<<LIMIT WYSWIETLANYCH UŻYTKOWNIKÓW//
if(dbrows($result)!=0){
while($data=dbarray($result)){
$lastseen=time()-$data['user_lastvisit'];
$iW=sprintf("%2d",floor($lastseen/604800));
$iD=sprintf("%2d",floor($lastseen/(60*60*24)));
$iH=sprintf("%02d",floor((($lastseen%604800)%86400)/3600));
$iM=sprintf("%02d",floor(((($lastseen%604800)%86400)%3600)/60));
$iS=sprintf("%02d",floor((((($lastseen%604800)%86400)%3600)%60)));
if($lastseen<60){
$lastseen="<font color='#CCCCCC'><b>na stronie</b></font>"; //<<uzytkownik online //
}elseif($lastseen<360){
$lastseen="<font color='#BBBBBB'><b>odchodzi</b></font>"; //<<uzytkownik odchchodzi, po 360 sek od czasu wylogowania//
}elseif($iW>0){
if($iW==1) $Text="".$locale['XXX_007']."";
elseif($iW==2 || $iW==3 || $iW==4) $Text="".$locale['XXX_011']."";
else $Text="".$locale['XXX_008']."";
$lastseen="$iW $Text";
}elseif($iD>0){
if($iD==1) $Text="".$locale['XXX_009']."";
else $Text="".$locale['XXX_010']."";
$lastseen="$iD $Text";
}else{
$lastseen="$iH:$iM:$iS";
}
if (!isset($start)) $start="";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'>
<a href='".BASEDIR."profile.php?lookup=$data[user_id]'
onmouseover=\"gpe('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_003']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_004']."</b>: ".$data['user_location']."<br><b>".$locale['XXX_005']."</b>: ".$data['user_msn']."<br><b>".$locale['XXX_006']."</b>: ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\"><b>";
echo $data['user_prefix'].$data['user_name']."</b></a></td><td align=\"right\" class='small'>".$lastseen."</td></tr></table>"; //wyswietlanie na stronie //
}
}
// TEN KOD WYSWIETLA ILU JEST GOSCI ONLINE POD UZYTKOWNIKAMI //
if ($settings['maintenance'] != "1") {
$cond = ($userdata['user_level'] != 0 ? "'".$userdata['user_id']."'" : "'0' AND online_ip='".USER_IP."'");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user=".$cond."");
if (dbrows($result) != 0) {
$result = dbquery("UPDATE ".$db_prefix."online SET online_lastactive='".time()."' WHERE online_user=".$cond."");
} else {
$name = ($userdata['user_level'] != 0 ? $userdata['user_id'] : "0");
$result = dbquery("INSERT INTO ".$db_prefix."online (online_user, online_ip, online_lastactive) VALUES ('$name', '".USER_IP."', '".time()."')");
}
$result = dbquery("DELETE FROM ".$db_prefix."online WHERE online_lastactive<".(time()-60)."");
$result = dbquery("SELECT * FROM ".$db_prefix."online WHERE online_user='0'");
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td class='small'> <b><span style=\"color: #C0C0C0\">".$locale['011']."</span></td><td align=\"right\" class='small'>".dbrows($result)."</b></td></tr></table>\n";
$result = dbquery(
"SELECT ton.*, user_id,user_name,user_color,user_prefix FROM ep_online ton
LEFT JOIN ep_users tu ON ton.online_user=tu.user_id
WHERE online_user!='0'"
);
} else {
echo $locale['013']."<br>\n";
}
echo "</td></tr></table> </td>
<td style=\"background-image: url('".THEME."images/gogo_20.jpg'); height: 181px; width: 228px\">";if (!isset($usr_grps)) $usr_grps="";
$result = dbquery(
"SELECT tf.*, tt.*, tu.user_id,user_name,user_color,user_prefix FROM ".$db_prefix."forums tf
INNER JOIN ".$db_prefix."threads tt USING(forum_id)
INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
".$usr_grps." ORDER BY thread_lastpost DESC LIMIT 0,11");
if (dbrows($result) != 0) {
$i=0;
if ($theme_width == "100%") echo "\n";
while ($data = dbarray($result)) {
if ($i % 2 == 0) { $row_color = "tbl1"; } else { $row_color = "tbl1"; }
$new_posts = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."' and post_datestamp>'".(isset($lastvisited) ? $lastvisited : 0)."'");
//$thread_replies = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'") - 1;
$thread_replies = $data['thread_replies'];
$forum_id = $data['forum_id'];
if ($new_posts > 0) {
$folder123 = "<img src='".THEME."images/bullet.gif' height='7'>";
} else if ($new_posts > 19) {
$folder123 = "<img src='".THEME."images/bullet.gif' height='7'>";
} else {
if ($data['thread_locked'] == 1) {
$folder123 = "<img src='".THEME."forum/folderlock.gif' height='11'>";
} else if ($data['thread_locked'] == 0) {
$folder123 = "<img src='".THEME."forum/folder.gif' height='11'>";
}
}
//$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'");
$reply_count = $data['thread_replies']+1;
$data2 = dbarray(dbquery("SELECT post_id FROM ".$db_prefix."posts WHERE thread_id='".$data['thread_id']."' ORDER BY post_id DESC LIMIT 1"));
$threads_message = $data['thread_subject'];
$threads_message = str_replace("'", "", $threads_message);
$rstart = ($reply_count > 20 ? "rowstart=".((ceil($reply_count / 20)-1)*20)."&" : "");
echo "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td align=\"left\" width='65%' class='small'>";
if ($theme_width == "100%") {
echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"ddrivetip('$start<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b>: ".$threads_message."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
} else {
echo "$folder123 <a href='".FORUM."viewthread.php?".$rstart."forum_id=".$data['forum_id']."&thread_id=".$data['thread_id']."#".$data2['post_id']."' onmouseover=\"gpe('text:<center><b>° ".$locale['XXX_017']." °</b></center><hr><b>".$locale['XXX_019']."</b> ".trimlink(str_replace("'", "", $data['thread_subject']), 45)."<hr><b>".$locale['XXX_020']."</b>: ".($reply_count - 1)."".$data['thread_views']."<br><b>".$locale['XXX_021']."</b>: ".$data['user_prefix'].$data['user_name']."<br><b>".$locale['XXX_022']."</b>: ".showdate("forumdate", $data['thread_lastpost']).";')\" (".$data['forum_name'].")'>".trimlink($data['thread_subject'], 16)."</a><br></td>\n";
echo "<td align=\"right\" width='35%'>[".($reply_count - 1)." / ".$data['thread_views']."]</td>";
}
echo "</tr></table>";
$i++;
}
} else {
echo "<center>".$locale['004']."</center>\n";
} echo"
Edytowane przez Soul dnia 07.09.2008 17:08:53
|
|
|