if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; $body_text = "#000000"; $body_bg = "#efefef"; $theme_width = "915"; $theme_width_l = "291"; $theme_width_r = "291"; function render_header($header_content) { global $theme_width,$settings,$db_prefix,$locale,$userdata,$aidlink; echo("
![]() |
");
if (!isset($usr_grps) || !isNum($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,12");
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 = "![]() ![]() ![]() ![]()
|
");
$result = dbquery(
"SELECT tf.*, tt.*, tu.user_id,user_name 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_views DESC LIMIT 0,12");
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 = "![]() ![]() ![]() ![]()
|
");
if(iGUEST){
echo("
Prosimy o podanie prawid³owego nicku oraz
has³a. Je¶li nie posiadasz jeszcze u nas konta
to zapraszamy do rejestracji
W przypadku kiedy zapomnia³e¶ has³a Odzyskaj je.*
"); }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" ".($userdata['user_avatar'] ? "
![]() Ranga: ".check_rang($userdata['user_id'])." Punktów: ".show_points($userdata['user_id'])." Ostrze¿eñ: ".$c_count."
Edytuj Profil Wiadomo¶ci U¿ytkownicy "; if (iADMIN) {echo "Panel Administratora\n";}echo" Panel u¿ytkownika Twoja galeria Dodaj News Link Artyku³ |
Design by Peter Laskosz | Code by b-site.pl | Unikalnych wizyt: "); echo "".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n"); echo(" Copyright © 2008 name.com
|
".$subject." + Doda³:".$info['user_name']." Dnia: ".showdate("%d.%m.%Y", $info['news_date'])." |
|
".$news." [Czytaj wiêcej] | |
".$subject." Dodane przez: ".$info['user_name']." dnia: ".showdate("%d.%m.%Y", $info['article_date'])." |
".$article." |
![]() |
".$title." |
"); } function closetable() { echo(" |
![]() |
".$title." |
"); } function closeside() { echo(" |
![]() |
".$title." ".panelbutton($state,$boxname)." |
");
}
function closesidex() {
echo("
|
![]() |