Changeset 701
- Timestamp:
- Jan 19, 2015 5:10:23 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/language/message/messages_lang.php
r695 r701 87 87 $lang['_SBG_MO_PHONENUM_WRONG_FORMAT_MSG'] = 'So dien thoai Khach hang khong hop le. Chi tiet LH 01662860000 (cuoc goi di dong).'; 88 88 $lang['_SBG_MO_SUPPORT_MSG'] = 'Soan bai giang Online la DV cho phep Ban tao cac noi dung phuc vu giang day truc tuyen. De dang ky DV, soan SBG DK; De nap tien vao tai khoan, soan SBG NAP [so tien]; De lay lai mat khau, soan SBG MK, tin nhan gui 8062 (500d/tin). Vui long long truy cap http://soanbaigiang.smas.vn hoac LH 01662860000 (cuoc di dong) de biet them chi tiet'; 89 90 91 $lang['_PROVINCES_'] = array('An Giang', 92 'Bà Rá»a - VÅ©ng Tà u', 93 'Bắc Giang', 94 'Bắc Kạn', 95 'Bạc Liêu', 96 'Bắc Ninh', 97 'Bến Tre', 98 'Bình Äá»nh', 99 'Bình Dương', 100 'Bình Phưá»c', 101 'Bình Thuáºn', 102 'Cà Mau', 103 'Cao Bằng', 104 'Äắk Lắk', 105 'Äắk NÃŽng', 106 'Äiá»n Biên', 107 'Äá»ng Nai', 108 'Äá»ng Tháp', 109 'Gia Lai', 110 'Hà Giang', 111 'Hà Nam', 112 'Hà TÄ©nh', 113 'Hải Dương', 114 'Háºu Giang', 115 'Hòa Bình', 116 'Hưng Yên', 117 'Khánh Hòa', 118 'Kiên Giang', 119 'Kon Tum', 120 'Lai Châu', 121 'Lâm Äá»ng', 122 'Lạng SÆ¡n', 123 'Là o Cai', 124 'Long An', 125 'Nam Äá»nh', 126 'Nghá» An', 127 'Ninh Bình', 128 'Ninh Thuáºn', 129 'Phú Thá»', 130 'Quảng Bình', 131 'Quảng Nam', 132 'Quảng Ngãi', 133 'Quảng Ninh', 134 'Quảng Trá»', 135 'Sóc TrÄng', 136 'SÆ¡n La', 137 'Tây Ninh', 138 'Thái Bình', 139 'Thái Nguyên', 140 'Thanh Hóa', 141 'Thừa Thiên Huế', 142 'Tiá»n Giang', 143 'Trà Vinh', 144 'Tuyên Quang', 145 'VÄ©nh Long', 146 'VÄ©nh Phúc', 147 'Yên Bái', 148 'Phú Yên', 149 'TP Cần ThÆ¡', 150 'TP Äà Nẵng', 151 'TP Hải Phòng', 152 'TP Hà Ná»i', 153 'TP HCM'); -
pro-violet-viettel/sourcecode/application/modules/frontend/controllers/user.php
r700 r701 29 29 $data['packages'] = $this->Servicepackage_model->getAllPackages(); 30 30 $data['is_viettel'] = isset($user_info['is_viettel']) ? $user_info['is_viettel']:FALSE; 31 31 $data['provinces'] = lang('_PROVINCES_'); 32 32 33 $data = (is_array($u)) ? array_merge($data, $u) : $data; 33 34 $data = (is_array($user_info)) ? array_merge($data, $user_info):$data; … … 80 81 $this->load->model('user_model'); 81 82 $input = $this->input->post(); 83 //print_r($input); 82 84 $user_info = $this->session->userdata('userInfo'); 83 85 parse_str($user_info['user'], $info); … … 99 101 $input['gender'] = ''; 100 102 $input['email'] = ''; 101 $input['province'] = '';103 //$input['province'] = ''; 102 104 $info['fullname'] = $input['fullname']; 103 105 $info['school'] = $input['school']; 104 106 $token = md5($us_id . self::TOKENPW); 105 107 $user = $this->get_data($src, $token, $us_id); 106 $input['district'] = '';108 //$input['district'] = ''; 107 109 if ($input) { 108 110 $this->load->model('user_model'); … … 131 133 $user['expire_date'] = date('Y-m-d', strtotime("+" . $package['p_period'] . " ".$package['p_unit'], strtotime($currentExpireDate))); 132 134 $user['p_id'] = $package['p_id']; 133 $user['district'] = ''; 135 $user['district'] = $input['district']; 136 $user['province'] = $input['province']; 134 137 $this->user_model->updateUser($us_id, $user); 135 138 $user['expire_date'] = date("d-m-Y", (strtotime($user['expire_date']))); -
pro-violet-viettel/sourcecode/application/modules/frontend/views/package_register_modal.php
r638 r701 45 45 </div> 46 46 </div> 47 <div class="form-group"> 48 <label for="form-field-province" class="col-sm-4 control-label no-padding-right">Tá»nh / Thà nh phá»</label> 49 <div class="col-sm-8"> 50 <select name="province" id="form-field-province" class="input-large"> 51 <?php foreach (lang('_PROVINCES_') as $pro):?> 52 <option value="<?php echo $pro;?>"><?php echo $pro; ?></option> 53 <?php endforeach;?> 54 </select> 55 </div> 56 </div> 57 <div class="form-group"> 58 <label for="form-field-district" class="col-sm-4 control-label no-padding-right">Quáºn / Huyá»n</label> 59 60 <div class="col-sm-8"> 61 <input type="text" name="district" value="<?php echo @$district; ?>" placeholder="Quáºn / Huyá»n" id="form-field-district" class="input-large"> 62 </div> 63 </div> 64 47 65 <?php if ($can_edit == 1) { ?> 48 66 Lưu Ü: -
pro-violet-viettel/sourcecode/application/modules/frontend/views/servicemodals.php
r662 r701 17 17 <div class="modal-footer"> 18 18 <button type="button" class="btn btn-info" data-dismiss="modal">Dùng thá»</button> 19 <button type="button" class="btn btn-success" id="services-reg " data-dismiss="modal">ÄÄng kÜ gói VIP</button>19 <button type="button" class="btn btn-success" id="services-reg1" data-dismiss="modal">ÄÄng kÜ gói VIP</button> 20 20 </div> 21 21 </div> -
pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php
r695 r701 101 101 102 102 <div class="col-sm-8"> 103 <input type="text" name="province" value="<?php echo @$province; ?>" placeholder="Tá»nh / Thà nh phá»" id="form-field-province" class="col-xs-12 col-sm-10"> 103 <!--input type="text" name="province" value="<?php echo @$province; ?>" placeholder="Tá»nh / Thà nh phá»" id="form-field-province" class="col-xs-12 col-sm-10"--> 104 <select name="province" id="form-field-province" class="col-xs-12 col-sm-10"> 105 <?php foreach ($provinces as $pro):?> 106 <option value="<?php echo $pro;?>" <?php if($province==$pro) echo "selected"; ?>><?php echo $pro; ?></option> 107 <?php endforeach;?> 108 </select> 104 109 </div> 105 110 </div> -
pro-violet-viettel/sourcecode/assets/js/frontend/user.js
r690 r701 27 27 $("#package_register").submit(function (event) 28 28 { 29 //console.log($(this).attr("action")); 29 30 $.ajax({ 30 31 url: $(this).attr("action"), … … 35 36 36 37 var results = jQuery.parseJSON(data); 38 37 39 $('#package_register_modal').replaceWith(results.modal); 38 40 $('#package_register_modal').modal('show');
Note: See TracChangeset
for help on using the changeset viewer.