�������� ����������"; print render_header(); if(!$order) $order = "userid"; if(!$asc) $asc = "asc"; if(!$page) $page = 1; $pg_start = $settings['user_in_pag'] * ($page-1); $query = $db->query("select users.userid, users.username, collage.collage, users.country, users.counter from users INNER JOIN collage ON users.collage=collage.id order by users.$order $asc limit $pg_start,".$settings['user_in_pag']." "); //$query = $db->query("select users.userid, users.username, users.country, users.counter from users order by users.$order $asc limit $pg_start,25"); $count = $db->count("users",""); //******** PRINT THE PAGE BASICS *********// print ' '; } print("
'; print $site_style[rightbar]; print ' '; $pages = floor(($count-1)/$settings['user_in_pag'])+1; if($count > $settings['user_in_pag']){ print ''; } //******** PRINT ALL USERS *********// $inside_tbl .= '
'; include FUNCS."page.it.php"; page_it($page, $pages, '?order='.$order); print '


'; for ($i=0; $i< $db->num($query); $i++){ $result = $db->fetch($query); $countr = $db->count("onlineusers","userid='$result[userid]'"); if($countr > 0){ $online = '�������'; }else{ $online="��� �������"; } $inside_tbl .= "" ."" ."" ."" ."" .""; } $db->close(); $inside_tbl .= "
����� �������� �������� ������ �� ������ ��������� ���������
".H_user($result[userid],$result[userid])."".H_user($result[userid],$result[username])."".$result[collage]."".$result[counter]."".$online."
"; print render_table('end_regbar'); if($count > $settings['user_in_pag']){ print '
'; page_it($page, $pages, '?order='.$order); print '


".render_footer(1)); if(!$userid){ include "cach_class/end_cash.php"; } die(); }elseif($uid!=44996 && $uid!=8824){ $query = $db->query("select users.*, collage.collage from users INNER JOIN collage ON users.collage=collage.id where users.userid='$uid'"); //$query = $db->query("select `users`.* from `users` where `users`.`userid`='$uid'"); $row = $db->fetch($query); $line = $db->query("select `file`,`timestamp` from `onlineusers` where `userid`='$uid' order by `timestamp` desc limit 1"); $baned = $db->query("select * from `badusers` where `userid`='$uid' limit 1"); $unverified = $db->count("verifi","`userid`='$uid'"); $ratteb1 = $db->query("select `title` from `moder` where `userid`='$uid' LIMIT 1"); $ratteb = $db->query("select `id`,`title` from `ratteb` where `min`<='$row[counter]' AND `max`>'$row[counter]' LIMIT 1"); if($db->count("letter","( (toid='$userid' AND fromid='$uid' AND see<>3) OR (fromid='$userid' AND toid='$uid' AND see4<>3) )")>0) $inside_tbl_letter = ' ï¿½ï¿½ï¿½ �������� �� '.$row['username'].''; $group_mod_href = ''; if($userid){ $group_mod = $db->query("select * from `groups_moder` INNER JOIN `groups` ON `groups_moder`.`group_id`=`groups`.`id` where `groups_moder`.`userid`='$userid'"); while($group_mod_res = $db->fetch($group_mod)){ if(in_array($group_mod_res[id],explode('-',$row['group_id']))){ $is_in_out = '����� ������ '.$row[username].' ��'; $add_to_url = ''; }else{ $is_in_out = '�� '.$row[username].' ���' ; $add_to_url = '&act=add'; } $group_mod_href .= ''.$is_in_out.' ������ '.$group_mod_res['name'].'
'; } $cant_send_recive = $db->count("users","(`userid`='$userid' AND `cant_send_letter`=1) OR (`userid`='$uid' AND `cant_recive_letter`=1)"); } if($db->num($query)<1) die(render_message($not_user,'next',$site_title)); $page_title = $row['username']." -> $site_title"; print render_header(); $db->close(); $ratteb = $db->fetch($ratteb); $countr = $db->fetch($line); $ratteb1 = $db->fetch($ratteb1); if($db->num($line)){ $online = "�������                       ��� ���� ����� ��� ".date("i:s",time()-$countr['timestamp'])." �����"; /*$sec = ((time()-$countr['timestamp'])/60) ; if($sec>1 ) floor();*/ }else{ $online="��� �����"; } include FUNCS."post.funcs.php"; print '"; print "
'; print $site_style[rightbar]; print ''; if($row[counter]<200){$col = "#0000FF";} elseif($row[counter]<400){$col = "#7A18E7";} elseif($row[counter]<1000){$col = "#FF0080";} elseif($row[counter]<2000){$col = "#804040";} else{$col = "#FF0000";} if($ratteb1['title']<>''){ if($row['user_title']) $rat = "".(stripslashes($row['user_title']))."

"; else $rat = ''; $ratteb['title'] = "$ratteb1[title]"; $ratteb['id'] = 'images/mod.gif'; }else{ if($row['user_title']) $rat = "".(stripslashes($row['user_title']))."

"; else $rat = ''; $ratteb['title'] = $rat."$ratteb[title]"; $ratteb['id'] = 'images/'.$ratteb['id']; } if(in_array($row[userid],$users_subscribe_array)) $follow = ' ï¿½ï¿½ï¿½ï¿½ï¿½ �������� �������� '.$row['username'].''; else $follow = ' ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ �������� '.$row['username'].''; $tbl_title = ""; $inside_tbl = "
 ï¿½ï¿½ï¿½ï¿½ ��� ������� ����� �������� ".$row['username']." ��� ����������� ����� :
" ." ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ".$row['username']."
" ." ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ".$row['username']."
" ." ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ".$row['username']." �������� ��������
" ." ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ ".$row['username']." �������� ������
" ." ï¿½ï¿½ï¿½ï¿½ï¿½ ���� ����� ������ ".$row['username']."
" ." ï¿½ï¿½ï¿½ï¿½ ".$row['username']." ����� �������
" .' ï¿½ï¿½ï¿½ï¿½ �� '.$row['username'].' ������ �������
' ." ï¿½ï¿½ï¿½ï¿½ ".$row['username']." ������� �� ������� ������ ������
"; $inside_tbl .= $inside_tbl_letter."
"; $inside_tbl .= $follow; $inside_tbl .= '

'; $inside_tbl .='
'; if($row[photo]){ $inside_tbl .= resizeimg("avatars/$row[photo]",175); } $following = strlen($row[users_subscribe])>0 ? (count(explode(',',$row[users_subscribe]))-2) : 0 ; $inside_tbl .=' '.$row[username].'
��� �������: '.$row[userid].'
������� �����: '.$row[icq].'
������� ��������� ��: '.$row[users_sub_to].'
������� ����� �������: '.$following.'

'.$ratteb[title].'



'; /*function remove_mail($message){ $bad = array("@","windowslive.com","hotmail.co.uk","hotmail.fr","live.com","live.fr","yahoo.com","yahoo.co.uk","msn.com","gmail.com","hotmail.com","hotmail","yahoo","gmail","msn","[at]","09","_","������","������","�����","�������","����","�����","� � �"); $message = str_replace($bad, "_", $message); return $message; }*/ include FUNCS."badwords.php"; if(strpos($row['site'],"http://") === false){ $row['site'] = replaceBadWord($row['site']); }else{ $row['site'] = "".replaceBadWord($row['site']).""; } if($row['university']){ $inside_tbl .= ""; } if($row[collage]){ $inside_tbl .= ""; } if($row[collage_sub]){ $inside_tbl .= ""; } if($row[collage_year]){ $inside_tbl .= ""; } if($row['date']){ $inside_tbl .= ""; } if($row['counter']){ $inside_tbl .= ""; } $inside_tbl .= ""; if($row['realname']){ $inside_tbl .= ""; } if($row['country']){ $inside_tbl .= ""; } if($row['birthday']){ $inside_tbl .= ""; } if($row['hoppy']){ $inside_tbl .= ""; } //if($row['site']){ $inside_tbl .= ""; } if($row['extra']){ $inside_tbl .= ""; } if($userid && $cant_send_recive<1){ if($user_det['counter'] > $settings['mail_members_counter'] && $row['seemail'] == 1){ $inside_tbl .= ""; } } $inside_tbl .= ""; $inside_tbl .= ""; $inside_tbl .= ""; if($is_user_mod){ $inside_tbl .= ""; if($row['usermail']){ $inside_tbl .= ""; } if($row['msn']){ $inside_tbl .= ""; } //if($row['icq']){ $inside_tbl .= ""; } if($row['yahoo']){ $inside_tbl .= ""; } if($row['cant_send_letter']==0){$sh[1]="����� ";$sh[2]=1;}else{$sh[1]="������ �";$sh[2]=2;} if($row['cant_recive_letter']==0){$sh[3]="����� ";$sh[4]=1;}else{$sh[3]="������ �";$sh[4]=2;} if($row['hide_posts']==0){$sh[5]="����� ";$sh[6]=1;}else{$sh[5]="����� ";$sh[6]=2;} if($unverified<1){$sh[7]="����� ����� ";$sh[8]=2;}else{$sh[7]="����� ";$sh[8]=1;} $inside_tbl .= ""; if($db->num($baned)>0){ $baned = $db->fetch($baned); $inside_tbl .= ""; } } if($group_mod_href!=''){ $inside_tbl .= ""; } $inside_tbl .= "
�������������".replaceBadWord($row['university'])."
�����������".$row[collage]."
��������� / ������".replaceBadWord($row[collage_sub])."
����� ����������".replaceBadWord($row[collage_year])."
������ �������".date2($row['date'],$settings['dateformat2'])."
��� ���������".$row['counter']."
������� �������".replaceBadWord($row['realname'])."
�������� ����������".replaceBadWord($row['country'])."
������� ����������".replaceBadWord($row['birthday'])."
�������������������".replaceBadWord($row['hoppy'])."
������ ��������".$row['site']."
������� ��������".replaceBadWord($row['extra'])."
����� ������������� ���� ���������� ...
������ �����$online
��� ����".date1($row['lastvisit'],$settings['dateformat'])."
����� ��������".$row['usermail']."
������� ��� MSN".$row['msn']."
��������� ��� ICQ".$row['icq']."
����� ��� Yahoo!".$row['yahoo']."
������ ������� ����� ������ ���������� | ����� ������� | ����� ���� ������
����� ������� | ����� ������ ������ | ����� ������ �������
".$sh[7]."���� �����
".$sh[1]."������ �������
".$sh[3]."������� �������
".$sh[5]."�������� ��������
��� ����� �� ������ �������
��� ����� ����� �����
����� ����� ������ ".date("Y-m-d h:i A",$baned['end'])."

".nl2br($baned['for'])."
����� ���������".$group_mod_href."


"; if($row[signature]){ $inside_tbl .= '
��������� :
'.showpost(replaceBadWord($row[signature]),0).'
'; } $inside_tbl .= '


'; print render_table('end_regbar'); print "
"; print(render_footer(1)); if(!$userid){ include "cach_class/end_cash.php"; } die(); } ?>