$wep = $_POST["f_wep"]; $wpa_psk = $_POST["f_wpa_psk"]; $wpa_psk_type = $_POST["f_wpa_psk_type"]; $radius_ip1 = $_POST["f_radius_ip1"]; $radius_port1 = $_POST["f_radius_port1"]; $radius_secret1 = $_POST["f_radius_secret1"]; $ret = "ok"; $set_configured = 0; $wps_disable = 0; if ($settingsChanged == 1) { if ($wep_def_key == 0) { $wep_def_key = 1; } $now_auth = query($wifi . "/authtype"); $now_encrypt = query($wifi . "/encrtype"); $new_auth = get_auth_string($authentication); $new_wep_auth = get_wep_auth_string($wep_auth_type); $new_wpa_type = get_wpa_type_string($wpa_psk_type); $new_wpa_cipher = get_wpa_cipher_string($cipher); if ($new_auth != "WEP" && $new_wpa_type != "PSK") { //Wireless Enable State if ($enable != "") { set($phy . "/active", $enable); } //Wireless Channel if ($auto_channel == 1) { set($phy . "/media/channel", 0); } else { if ($channel != "") { set($phy . "/media/channel", $channel); }
//身份通号 $realname = iconv("gb2312", "UTF-8", idtag_des_decode2($idtagKey, $ary[2])); //姓名 $idcode = idtag_des_decode2($idtagKey, $ary[3]); //身份证号 $mobile = idtag_des_decode2($idtagKey, $ary[4]); //手机号 $time = time(); $sql = "insert into {$dbTablePre}smsauths set uid={$uid},time='{$time}',realname='{$realname}',idcode='{$idcode}',mobile='{$mobile}',idtagno='{$idtagno}'"; $_MooClass['MooMySQL']->query($sql); //重新设置诚信值 reset_integrity($user_arr); MooMessage("恭喜您,验证成功!", "index.php?n=myaccount&h=smsindex", '05'); } } $ret = get_auth_string($seqNo, $userCode, $userName, $msisdn); include MooTemplate('public/myaccount_sfzsms', 'module'); } else { //高级会员认证免费接口 $tagValue = ""; $result = $_MooClass['MooMySQL']->getOne("select sms from {$dbTablePre}certification where uid={$uid}"); if ($result['sms'] == 1) { MooMessage("您已经通过了身份通的验证,无需再次验证!", "index.php?n=myaccount", '05'); } include_once "module/myaccount/SynPlatAPI.php"; $SynPlatAPI = new SynPlatAPI(); $userCode = trim($_POST['userCode']); //身份证号 $userName = trim($_POST['userName']); //用户名 //$userName = iconv("utf-8","gbk",$userName);//转换编码