Changeset 11524 for branches/mobile/html/mobile/mypage/change.php
- Timestamp:
- 2007/03/03 00:21:33 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mobile/html/mobile/mypage/change.php
r11418 r11524 136 136 $passlen = strlen($objPage->arrForm['password']); 137 137 $objPage->passlen = lfPassLen($passlen); 138 139 //¥á¡¼¥ë¼õ¤±¼è¤ê 140 if ($objPage->arrForm['mail_flag'] = "ON") { 141 $objPage->arrForm['mail_flag'] = "2"; 138 139 // ¥á¡¼¥ë¼õ¤±¼è¤ê 140 if (strtolower($_POST['mail_flag']) == "on") { 141 $_POST['mail_flag'] = "2"; 142 } else { 143 $_POST['mail_flag'] = "3"; 142 144 } 143 145 … … 165 167 $email_flag = true; 166 168 167 if($objPage->arrForm['email'] != $objCustomer->getValue('email ')) {169 if($objPage->arrForm['email'] != $objCustomer->getValue('email_mobile')) { 168 170 //¥á¡¼¥ë¥¢¥É¥ì¥¹¤Î½ÅÊ£¥Á¥§¥Ã¥¯ 169 $email_cnt = $objQuery->count("dtb_customer","del_flg=0 AND email=?", array($objPage->arrForm['email']));171 $email_cnt = $objQuery->count("dtb_customer","del_flg=0 AND (email=? OR email_mobile=?)", array($objPage->arrForm['email'], $objPage->arrForm['email'])); 170 172 if ($email_cnt > 0){ 171 173 $email_flag = false; … … 449 451 $ret = $objQuery->select("*","dtb_customer","customer_id=?", array($objCustomer->getValue('customer_id'))); 450 452 $arrForm = $ret[0]; 453 $arrForm['email'] = $arrForm['email_mobile']; 451 454 452 455 //¥á¥ë¥Þ¥¬¥Õ¥é¥°¼èÆÀ 453 $arrForm['mail_flag'] = $objQuery->get("dtb_customer_mail","mail_flag","email=?", array($objCustomer->getValue('email ')));456 $arrForm['mail_flag'] = $objQuery->get("dtb_customer_mail","mail_flag","email=?", array($objCustomer->getValue('email_mobile'))); 454 457 455 458 //ÃÂÀ¸Æü¤Îǯ·îÆü¼èÆÀ
Note: See TracChangeset
for help on using the changeset viewer.