document.location.href = '/login.php';"; } require_once($_SERVER['DOCUMENT_ROOT']."/still_plag/other/activ_ref.php"); require_once($_SERVER['DOCUMENT_ROOT']."/still_plag/other/ras_email.php"); require_once($_SERVER['DOCUMENT_ROOT']."/still_plag/other/auto_aukcion.php"); $ref0 = mysql_query("SELECT count(`id`) FROM `tb_users` WHERE `referer`='$user'"); $ferer0 = mysql_result($ref0,0); $ref2 = mysql_query("SELECT count(`id`) FROM `tb_users` WHERE `referer2`='$user'"); $ferer2 = mysql_result($ref2,0); $inboxcount = 0; $sql_new_mail = mysql_query("SELECT * FROM `tb_mail` WHERE (`recipient` = '$user' OR `sender` = '$user') AND `idd` = '0' AND (`status_inc` = '1' OR `status_out` = '1' )"); while($row_m=mysql_fetch_assoc($sql_new_mail)){ if(strtolower($row_m["sender"]) == strtolower($user)){ if($row_m["status_inc"] == 1 and $row_m["inc"]!=0) $inboxcount++; } if(strtolower($row_m["recipient"]) == strtolower($user)){ if($row_m["status_out"] == 1 and $row_m["out"]!=0) $inboxcount++; } } $auconline=mysql_query("SELECT `id` FROM `still_new_aukcion` WHERE `status` < '2'"); //форум $forum_status=$usmem["forum_status"]; //кончился форум $summ_karmauser=mysql_query("SELECT IFNULL(SUM(`karma`),0) as sum_kar FROM `still_stena_karma` WHERE `ids`='".$usmem["id"]."'"); $skuser = mysql_fetch_assoc($summ_karmauser); $tiket_new_num = 0; if($usmem["forum_status"]=='admin'){ $tiket_new_num = mysql_num_rows(mysql_query("SELECT `id` FROM `still_tiket` WHERE `admin` = '0' and `status` != '1'")); } $task_new_num = mysql_num_rows(mysql_query("SELECT ts.id FROM `still_task` AS ts,`still_task_status` AS tst WHERE ts.id=tst.task AND ts.u_id='".$usmem["id"]."' AND tst.status='0' AND tst.otvet_status='0'")); if(@$_GET["pr"] == 'prov'){ $task_new_num = 0; } sys_refbek($usmem["id"], $usmem["refbek_time"], $usmem["refbek_yes"], $usmem["sys_refbek"], 0); } } $ban468_arrID = $ban468_arrURL = $ban468_arrPIC = ''; $ban200_arrID = $ban200_arrURL = $ban200_arrPIC = ''; $ban100_arrID = $ban100_arrURL = $ban100_arrPIC = ''; if(count($b468)!=0){ foreach($b468 as $key=>$value){ $ban468_arrID .= $value['id']."','"; $ban468_arrURL .= $value['text1']."','"; if($value['pic'] == ''){ $value['pic'] = $value['text']; }else{ $value['pic'] = 'banners/'.$value['pic']; } $ban468_arrPIC .= $value['pic']."','"; } }else{ $ban468_arrID .= "0','"; $ban468_arrURL .= "wm_reklama.php?page=b468','"; $ban468_arrPIC .= $imgdomen."/nobann468.jpg','"; } if(count($b200)!=0){ foreach($b200 as $key=>$value){ $ban200_arrID .= $value['id']."','"; $ban200_arrURL .= $value['text1']."','"; if($value['pic'] == ''){ $value['pic'] = $value['text']; }else{ $value['pic'] = 'banners/'.$value['pic']; } $ban200_arrPIC .= $value['pic']."','"; } }else{ $ban200_arrID .= "0','"; $ban200_arrURL .= "wm_reklama.php?page=b200','"; $ban200_arrPIC .= $imgdomen."/nobann200.jpg','"; } if(count($b100)!=0){ foreach($b100 as $key=>$value){ $ban100_arrID .= $value['id']."','"; $ban100_arrURL .= $value['text1']."','"; if($value['pic'] == ''){ $value['pic'] = $value['text']; }else{ $value['pic'] = 'banners/'.$value['pic']; } $ban100_arrPIC .= $value['pic']."','"; } }else{ $ban100_arrID .= "0','"; $ban100_arrURL .= "wm_reklama.php?page=b100','"; $ban100_arrPIC .= $imgdomen."/nobann100.jpg','"; } ?> Seo.join.lv -
0 and isset($_SESSION["username"])){?>
Системное сообщение
У вас есть задания ожидающие проверки
Вы вышли из отпуска. Поздравляем!!!
> > > > > > >
 ликов: