登录'; exit; } //会员登录 if ($_SERVER["REQUEST_METHOD"] == "POST") { $login_time1= date("Y:m:d H:s"); $user_name = trim($_POST['user_name']); $pass = trim($_POST['pass']); $sql1= "select id, user_name, state,login_time from member where user_name='".$user_name."' and pass='".md5($pass)."' limit 1"; $rst1 = $db->query($sql1); if($row = $db ->fetch_array($rst1)) { $old_time=$row["login_time"]; $state = $row["state"]; $id = $row["id"]; if($state == 0){ echo ""; }else{ $_SESSION['user_name'] = $user_name; $_SESSION['user_id'] = $id; $sql="update member set login_time='$login_time1',old_time='$old_time' where id=$id "; $rst1 = $db->query($sql); header("location:cx.php" ); } } else { echo ""; } } ?> -
返回首页

免费注册登录

会员登录

电话:0755-22277766 88841178 Q Q:3298629823 、495413726 微信:13926504611

会员登录