\n\n"; echo "
\"[Rozmiar:
\"[Rozmiar:


\"[Rozmiar:
Theme by @ Y4ro | Copyright games-area.pl Powered by EP IV by eXtreme Crew nr:".$settings['counter']."
"; } } echo "

"; if (iMEMBER) { opensidel(); echo "
\n"; echo ("\n"; echo "
"; if ($userdata['user_avatar'] != "") { echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
"; echo "".$data[
"; } else { echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
"; echo "
"; } $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'"); echo " Edytuj Profil
Wiadomo¶ci
Użytkownicy
\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo " Administracja\n"; }{echo " \n"; if ($msg_count) echo "
".sprintf('Masz %u PW' , $msg_count)."
\n"; } tablebreak(); } else { opensidel(); echo "
".(isset($loginerror) ? $loginerror : "")."
Login

Hasło
\n"; if ($settings['enable_registration']) { echo "Rejestracja /\n"; } echo "Zgubione has³o
\n"; } closesidel(); echo "
\"[Rozmiar:
\"[Rozmiar:
\"[Rozmiar: \"[Rozmiar: \"[Rozmiar: \"[Rozmiar: \"[Rozmiar: \"[Rozmiar: \"[Rozmiar: \"[Rozmiar: \"[Rozmiar: \"[Rozmiar: \"[Rozmiar:


"; include BASEDIR."infusions/info_panel/locale/Polish.php"; include BASEDIR."includes/theme.php"; echo "
"; echo "\n"; $result=dbquery("SELECT * FROM ep_users ORDER BY user_lastvisit DESC LIMIT 0,10"); 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="na stronie"; }elseif($lastseen<360){ $lastseen="odchodzi"; }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 "
° ".$locale['XXX_017']." °
".$locale['XXX_003'].": ".$data['user_prefix'].$data['user_name']."
".$locale['XXX_004'].": ".$data['user_location']."
".$locale['XXX_005'].": ".$data['user_msn']."
".$locale['XXX_006'].": ".$data['user_posts']."$end')\" style='color:#".$data['user_color']."' onMouseout=\"hideddrivetip()\">"; echo $data['user_prefix'].$data['user_name']."
".$lastseen."
"; } } 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 "
   ".$locale['011']."".dbrows($result)."
\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']."
\n"; } echo "
"; ; echo "


"; if (!isset($usr_grps)) $usr_grps=""; $result = dbquery( "SELECT tf.*, tt.*, tu.user_id,user_name,user_color,user_prefix FROM ep_forums tf INNER JOIN ep_threads tt USING(forum_id) INNER JOIN ep_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 = ""; } else if ($new_posts > 19) { $folder123 = ""; } else { if ($data['thread_locked'] == 1) { $folder123 = ""; } else if ($data['thread_locked'] == 0) { $folder123 = ""; } } //$reply_count = dbcount("(thread_id)", "posts", "thread_id='".$data['thread_id']."'"); $reply_count = $data['thread_replies']+1; $data2 = dbarray(dbquery("SELECT post_id FROM ep_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 "\n"; echo ""; } else { echo "$folder123 ° ".$locale['XXX_017']." °
".$locale['XXX_019']." ".trimlink(str_replace("'", "", $data['thread_subject']), 45)."
".$locale['XXX_020'].": ".($reply_count - 1)."/".$data['thread_views']."
".$locale['XXX_021'].": ".$data['user_prefix'].$data['user_name']."
".$locale['XXX_022'].": ".showdate("forumdate", $data['thread_lastpost']).";')\" (".$data['forum_name'].")'>".trimlink($data['thread_subject'], 16)."

\n"; echo ""; } echo "
"; if ($theme_width == "100%") { echo "$folder123 ° ".$locale['XXX_017']." °
".$locale['XXX_019'].": ".$threads_message."
".$locale['XXX_020'].": ".($reply_count - 1)."/".$data['thread_views']."
".$locale['XXX_021'].": ".$data['user_prefix'].$data['user_name']."
".$locale['XXX_022'].": ".showdate("forumdate", $data['thread_lastpost'])."$end')\"' onMouseout=\"hideddrivetip()\" >".trimlink($data['thread_subject'], 16)."

[".($reply_count - 1)." / ".$data['thread_views']."][".($reply_count - 1)." / ".$data['thread_views']."]
"; $i++; } } else { echo "
".$locale['004']."
\n"; } echo "


";$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 ' '; echo($row['article_subject']); echo ''; echo '
'; }echo "


";$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 ' '; echo($row['article_subject']); echo ''; echo '
'; }echo "
\n"; echo " \n"; function render_news($subject, $news, $info) { global $settings; echo "
$subject
$news

".$locale['040']."".$info['user_name']." ".$locale['041'].showdate("longdate", $info['news_date'])."".($info['news_ext'] == "y" ? "".$locale['042']." ·\n" : "")." ".$info['news_comments'].$locale['043']." · ".$info['news_reads'].$locale['044']." ".$locale[
\"[Rozmiar:
"; } function render_article($subject, $article, $info) { echo "
$article: $subject
$subject

".($info['article_breaks'] == "y" ? nl2br($article) : $article)."

".$locale['040']."".$info['user_name']." ".$locale['041'].showdate("longdate", $info['article_date'])." ".$info['article_comments'].$locale['043']." · ".$info['article_reads'].$locale['044']." ".$locale[
\"[Rozmiar:
\n"; } function opentable($title) { echo "
$title
"; } function closetable() { echo "
\"[Rozmiar:
\n"; } function openside($title) { echo "
$title
\n"; } function closeside() { echo "
\"[Rozmiar:
\n"; tablebreak(); } function opensidel() { echo "
\n"; } function closesidel() { echo "
\n"; tablebreak(); } function opensidex($title,$open="on") { $box_img = ($open=="on" ? "off" : "on"); echo "
$title $box_img
\n"; } function closeside() { echo "
\n"; tablebreak(); } function tablebreak() { echo "
\n"; } ?>