[Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów]
[Rozmiar: 846 bajtów]

W celu zalogowania sie prosimy podać poprawne dane: Login i Hasło
Jeśli nie posiadasz konta prosimy o Zarejestrowanie się* w naszym serwisie.





W przypadku kiedy zapomniałeś hasła Odzyskaj je.*
[Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów]
[Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów]
[Rozmiar: 846 bajtów]
[Rozmiar: 846 bajtów]
[Rozmiar: 846 bajtów]
[Rozmiar: 846 bajtów]
[Rozmiar: 846 bajtów]
Main
Strona G³ówna
Tutoriale
Recenzje .psd
Photoshop TV
Fonts
Download
Regulamin
Forum
Galeria
Historia strony [New]
Galeria Usera
Wasze propozycje [Warto wej¶æ]
Szablony za SMS
Linki
Reklama
Sponsoring [New]
Kontakt
Szukaj
Crew
FAQ
  kuler.adobe [New]

[Rozmiar: 551 bajtów]
Zobacz Temat
Grafa.biz | tutoriale, artyku³y-photoshop, webmaster | CODE | PHP-Fusion & Extreme Fusion


[Rozmiar: 846 bajtów]
problem z panelem najnowsze posty Dodane dnia 17-05-2008 16:48
~Pein [Dodaj do znajomych]
U¿ytkownik

Status: OffLine
[Rozmiar: 846 bajtów]
móg³by mi kto¶ pomóc przekszta³ciæ owy panel tak aby dodaj±c go jako nowy panel dzia³a³

openside("Ostatnie Tematy Na Forum");
echo "
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";
}";
closeside();openside("Ostatnie Tematy Na Forum");
echo "
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";
}"
closeside();




wyskakuje mi taki b³±d:

Parse error: syntax error, unexpected '"', expecting ',' or ';' in /home/accounts_m/mkstyle/public_html/administration/panel_editor.php(112) : eval()'d code on line 3







Wy¶lij Prywatn± Wiadomo¶æ
[Rozmiar: 846 bajtów]


[Rozmiar: 846 bajtów]
RE: problem z panelem najnowsze posty Dodane dnia 17-05-2008 19:26
^sk8s [Dodaj do znajomych]
Administrator

Status: OffLine
Medal 
[Rozmiar: 846 bajtów]
Zamieñ wszystkie znaczniki " na '



9216600 http://extream.pl Wy¶lij Prywatn± Wiadomo¶æ
[Rozmiar: 846 bajtów]
Skocz do Forum:
[Rozmiar: 846 bajtów]
[Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów] [Rozmiar: 846 bajtów]
 
Chwilowo niedostepne...


~Cestro OffLine
^DreamMaker 00:06:40
~The_SnajpeR 00:08:40
~plucik 00:16:36
~quert 00:18:27
~bronislawa 00:19:45
~Ichigo993 00:20:11
~szymon189 00:20:17
~markness 00:20:22
~Witax 00:22:35
~bartixpl 00:36:42
Go¶ci Online: 5
Zarejestrowanych użytkowników:
Łącznie:3,881
Dzisiaj:16
Wczoraj:24
W tym tygodniu:48
Najnowszy Użytkownik: ~plucik
Głównych administratorów: 2
Administratorów: 8
[Rozmiar: 846 bajtów]
Katalog firm, baza firm | Wynajem autokarów, autobusów, busów | Tanie wczasy w górach i nad morzem, domki i kwatery prywatne | Obiekty i ośrodki szkoleniowe | apartamenty, hotele, hostele w krakowie

Skutery | CMS | Tu moze być twoja reklama | Tu moze być twoja reklama | Tu moze być twoja reklama | Tu moze być twoja reklama
Tu moze być twoja reklama | Tu moze być twoja reklama | Tu moze być twoja reklama | Tu moze być twoja reklama | Tu moze być twoja reklama | Tu moze być twoja reklama
[Rozmiar: 846 bajtów]