Changeset 425 for pro-violet-viettel/sourcecode/application/modules/admin
- Timestamp:
- Nov 6, 2014 11:09:26 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/controllers/admin_acc.php
r424 r425 90 90 else 91 91 { 92 if ($this->admin_model->check_exist(array('field'=>'phone','value'=>$input['phone']))) 92 if(!preg_match('/[0-9]/', $input['phone'])){ 93 $result['errors']['phone_err']="Phone khÃŽng Äúng Äá»nh dạng"; 94 }else if ($this->admin_model->check_exist(array('field'=>'phone','value'=>$input['phone']))) 93 95 { 94 96 $result['errors']['phone_err']="Sá» Äiá»n thoại Äã ÄÆ°á»£c sá» dụng"; 95 97 } 98 96 99 } 97 100 if (strlen($input['passwd'])==0)
Note: See TracChangeset
for help on using the changeset viewer.