include "connect_inc.php";
include "system.inc";
$rand = rand(0,10000);
if($page_no == NULL){
$page_no == 0;
}
$on_disp ="and disp = '1'";
$cols = 4;
$disp_num = 100;
//一ヶ月前の日付
$check_date_month = gmdate("Y-m-d H:i:s",time()+9*60*60-24*60*60*31);
//
//online_check disp = 1 のみ
//$sql = " select * from profile, op_data where profile.on_line >= '1' and profile.on_line <> '4' and profile.on_line <> '3' and profile.on_line <> '5' and profile.on_line <> '6'". $on_disp ."and profile.userid = op_data.op_login_id and op_data.op_sex = '1' order by profile.on_line DESC";
//$sql = " select * from nego_mail_data order by entry DESC";
$sql = " select * from profile, op_data, nego_mail_data where 1 ".
"". $on_disp ."and ".
" profile.userid = op_data.op_login_id and ".
" nego_mail_data.category = profile.userid ".
" order by profile.dp_cnt DESC";
$result_n_men = mysqli_query( $conn,$sql);
if($result_n_men <= 0) {
$err_message = "エラー発生:{$userid}
$sql
";
echo $err_message ;
}
$nums_n_men = mysqli_num_rows ($result_n_men);
$chat_urls = "chat.php?userid=$row_s[userid]&room_no=$row_s[on_line]" ;
//$peep_urls = "peep.php?userid=$row_s[userid]&room_no=$row_s[on_line]" ;
$peep_urls = "diary4.php?user_id=$row_s[userid]" ;
$prof_urls = "prof.php?user_id=$row_s[userid]" ;
$photo_url = "./prof_photo/thum/".$row_s[photo].".jpg";
?>
男女混合LiveChat-Debut-ライブチャット☆デビュー≪セミナーシート≫