|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21571/root/home/queenjbs/jaejoong_X/admin/Proc/ |
Upload File : |
<?include "$DOCUMENT_ROOT/conf/conf_dir.php";?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?
$pwd = md5("$pw");
$tel = $tel1."-".$tel2."-".$tel3;
$birthday = $byear."-".$bmonth."-".$bday;
if($idx){
if($mode == "proc"){
$qry = "update user set userid = '$id',jname='$jname', jname2='$jname2', username='$username', nickname='$nickname', email='$email', password='$pwd',new_password_key='$pw',memo='$memo',modified=now() where id = '$idx'";
$qry_result = mysql_query($qry,$db_con);
$qrys = "update user_profiles set tel='$tel',zip1='$zip1',zip2='$zip2',juso='$juso',birthday='$birthday' where user_id = '$idx'";
$qrys_result = mysql_query($qrys,$db_con);
echo "<script>alert('保存しました。');location.href='../member_detail.php?idx=".$idx."';</script>";
}else if($mode == "del"){
$queryupok = "update user set activated='2',last_login=now() where id = '$idx'";
$queryupok_result = mysql_query($queryupok,$db_con);
//$cashqry = "delete from user_cash where user_id= '$idx'";
//$cashqry_result = mysql_query($cashqry,$db_con);
$formChk = "list";
echo "<script>alert('脱退しました.。');location.href='../memberlist.php?act=$act';</script>";
}
}else{
echo "<script>alert('error. reflesh');location.href='../memberlist.php?act=$act';</script>";
}
?>