';
print $site_style[rightbar];
print ' |
';
$pages = floor(($count-1)/$settings['user_in_pag'])+1;
if($count > $settings['user_in_pag']){
print '';
include FUNCS."page.it.php";
page_it($page, $pages, '?order='.$order);
print '
| ';
}
//******** PRINT ALL USERS *********//
$inside_tbl .= '";
print render_table('end_regbar');
if($count > $settings['user_in_pag']){
print '';
page_it($page, $pages, '?order='.$order);
print '
| ';
}
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 $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 .= "������������� | ".replaceBadWord($row['university'])." | "; }
if($row[collage]){ $inside_tbl .= "����������� | ".$row[collage]." | "; }
if($row[collage_sub]){ $inside_tbl .= "��������� / ������ | ".replaceBadWord($row[collage_sub])." | "; }
if($row[collage_year]){ $inside_tbl .= "����� ���������� | ".replaceBadWord($row[collage_year])." | "; }
if($row['date']){ $inside_tbl .= "������ ������� | ".date2($row['date'],$settings['dateformat2'])." | "; }
if($row['counter']){ $inside_tbl .= "��� ��������� | ".$row['counter']." | "; }
$inside_tbl .= " | |
| | ";
if($row['realname']){ $inside_tbl .= "������� ������� | ".replaceBadWord($row['realname'])." | "; }
if($row['country']){ $inside_tbl .= "�������� ���������� | ".replaceBadWord($row['country'])." | "; }
if($row['birthday']){ $inside_tbl .= "������� ���������� | ".replaceBadWord($row['birthday'])." | "; }
if($row['hoppy']){ $inside_tbl .= "������������������� | ".replaceBadWord($row['hoppy'])." | "; }
//if($row['site']){ $inside_tbl .= "������ �������� | ".$row['site']." | "; }
if($row['extra']){ $inside_tbl .= "������� �������� | ".replaceBadWord($row['extra'])." | "; }
if($userid && $cant_send_recive<1){
if($user_det['counter'] > $settings['mail_members_counter'] && $row['seemail'] == 1){
$inside_tbl .= "����� �������� | ����� ���� ���������� ... | ";
}
}
$inside_tbl .= " | |
| | ";
$inside_tbl .= "������ ����� | $online | ";
$inside_tbl .= "��� ���� | ".date1($row['lastvisit'],$settings['dateformat'])." | ";
if($is_user_mod){
$inside_tbl .= " | |
| | ";
if($row['usermail']){ $inside_tbl .= "����� �������� | ".$row['usermail']." | "; }
if($row['msn']){ $inside_tbl .= "������� ��� MSN | ".$row['msn']." | "; }
//if($row['icq']){ $inside_tbl .= "��������� ��� ICQ | ".$row['icq']." | "; }
if($row['yahoo']){ $inside_tbl .= "����� ��� Yahoo! | ".$row['yahoo']." | "; }
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 .= "������ ������� |
����� ������ ���������� |
����� ������� |
����� ���� ������
����� ������� |
����� ������ ������ |
����� ������ �������
".$sh[7]."���� �����
".$sh[1]."������ �������
".$sh[3]."������� �������
".$sh[5]."�������� ��������
��� ����� �� ������ ������� | ";
if($db->num($baned)>0){
$baned = $db->fetch($baned);
$inside_tbl .= "��� ����� |
����� �����
����� ����� ������ ".date("Y-m-d h:i A",$baned['end'])."
".nl2br($baned['for'])."
| ";
}
}
if($group_mod_href!=''){
$inside_tbl .= "����� ��������� | ".$group_mod_href." | ";
}
$inside_tbl .= "
";
if($row[signature]){
$inside_tbl .= '';
}
$inside_tbl .= ' |
';
print render_table('end_regbar');
print " | ";
print "
";
print(render_footer(1));
if(!$userid){
include "cach_class/end_cash.php";
}
die();
}
?>
|