Witajcie na stronie po¶wieconej Arce Gdyni "; echo " ".showsubdate()."
\"[Rozmiar: "; if (iMEMBER) { $result = dbquery("SELECT * FROM ".$db_prefix."buddys WHERE buddy_to = ".$userdata['user_id']." AND buddy_status != 0 AND buddy_status !=2"); $i = 0; while($data = dbarray($result)){ $result_check = dbquery("SELECT * FROM ".$db_prefix."buddys WHERE buddy_to = ".$data['buddy_from']." AND buddy_from = ".$userdata['user_id'].""); $data_check = dbarray($result_check); if ($data_check['buddy_id'] != true) { $i = $i+1; }} if ($i > 0) {$i = "$i";} 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 " ".$locale['reg']."
Edytuj Profil
Wiadomo¶ci
Moi znajomi ($i)
\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "Panel Administracyjny\n"; echo " "; if(mysql_num_rows(mysql_query("SHOW TABLES LIKE '".$db_prefix."user_panel_settings'"))==1){ $settings2 = dbarray(dbquery("SELECT * FROM ".$db_prefix."user_panel_settings")); $stan = "".$settings2['aup_stan'].""; if(iSUPERADMIN || $stan == 0){ if(iMEMBER){ @include "".USER."languages/".$userdata['aup_lang']."/admin.php"; echo"Panel Użytkownika
\n"; } } } echo "
"; }{echo "

Wyloguj
\n"; if ($msg_count) echo "
".sprintf('Masz %u PW' , $msg_count)."
\n"; } tablebreak(); } else { opensidel(); echo "
".(isset($loginerror) ? $loginerror : "")."
Login

Hasło
Zapamiętaj mnie

\n"; if ($settings['enable_registration']) { echo "Rejestracja
\n"; } echo "Zgubione hasło
\n"; } closesidel(); echo "
\"[Rozmiar:
\"\"
"; if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } if (isset($_GET[id]) && !isNum($_GET[id])) fallback(FUSION_SELF); if (isset($_GET[shout]) && !preg_match("#(add|edit|delete)#iu", $_GET[shout])) fallback(FUSION_SELF); define("SBX_EDIT_USER", $settings[sbx_edit_user]); $shout = $_GET[shout]; $id = $_GET[id]; if (iMEMBER || $settings['guestposts'] == "1") { $result = dbquery("SELECT * FROM ".$db_prefix."shoutbox WHERE shout_id='".$id."'"); if (dbrows($result)) $sdata = dbarray($result); if (isset($_POST['post_shout']) && isset($shout)) { $flood = false; if (iMEMBER) { $shout_name = $userdata['user_id']; } elseif ($settings['guestposts'] == "1") { $shout_name = trim(stripinput($_POST['shout_name'])); $shout_name = preg_replace("(^[0-9]*)", "", $shout_name); if (isNum($shout_name)) $shout_name=""; } $shout_message = str_replace("\n", " ", $_POST['shout_message']); $shout_message = preg_replace("/^(.{255}).*$/", "$1", $shout_message); $shout_message = str_replace("[", " [", $shout_message); $shout_message = preg_replace("/([^\s]{21})/", "$1\n", $shout_message); $shout_message = trim(stripinput(censorwords($shout_message))); $shout_message = str_replace("\n", "
", $shout_message); if ($shout_name != "" && $shout_message != "") { $result = dbquery("SELECT MAX(shout_datestamp) AS last_shout FROM ".$db_prefix."shoutbox WHERE shout_ip='".USER_IP."'"); if (!iSUPERADMIN && dbrows($result) > 0) { $data = dbarray($result); if ((time() - $data['last_shout']) < $settings['flood_interval']) { $flood = true; $result = dbquery("INSERT INTO ".$db_prefix."flood_control (flood_ip, flood_timestamp) VALUES ('".USER_IP."', '".time()."')"); if (dbcount("(flood_ip)", "flood_control", "flood_ip='".USER_IP."'") > 4) { if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_status='1' WHERE user_id='".$userdata['user_id']."'"); } } } if (!$flood) { $lin = FUSION_QUERY; if ($shout =='add') { $result = dbquery("INSERT INTO ".$db_prefix."shoutbox (shout_name, shout_message, shout_datestamp, shout_ip) VALUES ('$shout_name', '$shout_message', '".time()."', '".USER_IP."')"); if (EPS && iMEMBER) { $przydzial = dbarray(dbquery("SELECT point_ammount from ".DB_PREFIX."eps_points WHERE point_id='2'")); $result = dbquery("UPDATE ".DB_PREFIX."users SET points_normal=points_normal+".($przydzial['point_ammount'])." WHERE user_id='".$userdata['user_id']."'"); } } if ($shout =='edit' AND checkrights("S") OR SBX_EDIT_USER AND iMEMBER AND $sdata['shout_name'] == $userdata['user_id']) { $result = dbquery("UPDATE ".$db_prefix."shoutbox SET shout_message='$shout_message' WHERE shout_id='".$id."'"); } $lin = str_replace("&shout=$shout&id=$id", '', $lin); $lin = str_replace("shout=$shout&id=$id", '', $lin); if($lin != '') redirect(FUSION_SELF."?".$lin); else redirect(FUSION_SELF.$lin); } } } if ( isset($shout) AND isset($id) AND isNum($id) AND checkrights("S") OR isset($shout) AND isset($id) AND isNum($id) AND !checkrights("S") AND iMEMBER AND $sdata['shout_name'] == $userdata['user_id'] AND SBX_EDIT_USER ) { if ($shout == 'edit') { $shout_message = str_replace("
", "", $sdata[shout_message]); $shout_message = str_replace(" [", "[", $shout_message); } else if ($shout == 'delete') { $result = dbquery("DELETE from ".$db_prefix."shoutbox WHERE shout_id='".$id."'"); $lin = FUSION_QUERY; $lin = str_replace("&shout=$shout&id=$id", '', $lin); $lin = str_replace("shout=$shout&id=$id", '', $lin); if($lin != '') redirect(FUSION_SELF."?".$lin); else redirect(FUSION_SELF.$lin); } } else { $id = 0; $shout = 'add'; $shout_message = ''; $shout_name = ''; } if(iMEMBER){ $caution_r = dbquery("SELECT * from ".$db_prefix."cautions WHERE user_id=".$userdata['user_id']); $caution = dbarray($caution_r); $c_count = dbrows($caution_r); $caution_conf = dbarray(dbquery("SELECT * from ".$db_prefix."cautions_config")); } if ($c_count > $caution_conf['shoutbox']) { echo $caution_conf['shoutbox_info']."

"; } else { if ($shout == 'add') { echo "
"; } else { echo ""; } echo"
\n"; if (iGUEST) { echo $locale['121']."

".$locale['122']."
\n"; } echo" $shout_message"; echo"
"; echo" ";if (iMEMBER) { echo " "; } else { echo "
\n"; } echo "
\n"; echo""; } echo"\n"; } else { echo"
".$locale['125']."
\n"; } $result = dbquery(" SELECT * FROM ".DB_PREFIX."shoutbox LEFT JOIN ".DB_PREFIX."users ON ".DB_PREFIX."shoutbox.shout_name=".DB_PREFIX."users.user_id ORDER BY shout_datestamp DESC LIMIT 0,".$settings['numofshouts'] ); echo" "; echo" "; echo ""; echo ""; if (dbrows($result) > 0) { $gouest_opt = dbarray(dbquery("SELECT * FROM ".$db_prefix."colors WHERE user_level=0")); while ($data = dbarray($result)) { echo""; $user = "".$data['user_prefix'].$data['user_name'].""; if ($data['user_name'] ) { echo"$user ".$locale['135']." ".showdate("shortdate", $data['shout_datestamp'])."
\n"; } else { echo"".$gouest_opt['user_prefix'].$data['shout_name']."\n"; } echo"
"; echo"
"; $mes = str_replace(" [", "[", $data[shout_message]); $mes = nl2br(parseubb(parsesmileys($mes))); echo "".$mes .""; echo "



\n"; } } else { echo "
".$locale['127']."
\n"; } echo "
"; echo "

"; echo" "; echo ""; echo "

"; echo ""; echo "
"; 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,11"); 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 "
";$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 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" \n"; echo "
".$data[
"; echo"
".$data['album_title']."-".$data['photo_title']."
"; } echo "
\n"; echo "\n\n"; } function render_footer($license=false) { global $theme_width,$settings; echo "\n
\n"; echo " \n
Design and code by eMikser.pl Powered by eXtreme-Fusion i PHP-Fusion ".showcounter()."
"; } function render_news($subject, $news, $info) { global $locale,$settings; echo "
$subject
$news
".$locale['041'].showdate("longdate", $info['news_date'])."".($info['news_ext'] == "y" ? "".$locale['042']." ·\n" : "")." ".$info['news_comments'].$locale['043']." · ".$info['news_reads'].$locale['044']."
\n"; } function render_article($subject, $article, $info) { global $locale,$settings; echo "
$subject
$article
".$locale['040']."".$info['user_name']." ".$locale['041'].showdate("longdate", $info['article_date'])." ".$info['article_comments'].$locale['043']." · ".$info['article_reads'].$locale['044']." ".$locale[
\n"; } function render_movie($subject, $movie, $info) { global $locale; include LOCALE.LOCALESET."movies.php"; opentable($subject); echo "
"; $r = substr($movie, -3, 3); if ($r=="wmv") { echo "
"; echo "



"; }elseif ($r=="mpg") { echo "
"; echo "



"; }elseif ($r=="avi") { echo "
"; echo "



"; }elseif ($r=="swf") { echo "
"; echo"



"; }elseif ($r=="mp3") { echo "
"; echo "



"; }elseif ($r=="wma") { echo "
"; echo "



"; }elseif ($r=="mov") { echo "
"; echo "



"; }elseif ($r=="txt") { echo "


"; $buff = nl2br(file_get_contents($movie)); echo $buff."


"; }else{ echo "
"; echo "



"; } echo "
"; closetable(); } function opentable($title) { echo "
$title
\n"; } function closetable() { echo "
\n"; } function openside($title) { echo "
$title
\n"; } function closeside() { echo "
\"[Rozmiar:
\n"; tablebreak(); } function openside2($title) { echo "
$title
\n"; } function closeside2() { echo "
\"[Rozmiar:
\n"; tablebreak(); } function opensidex($title,$open="on") { $box_img = ($open=="on" ? "off" : "on"); echo "
$title $box_img
\n"; } function closesidex() { echo "
\n"; tablebreak(); } function opensidel() { echo "
\n"; } function closesidel() { echo "
\n"; } function tablebreak() { echo "
\n"; } ?>