Index: pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php	(revision 883)
+++ pro-violet-viettel/sourcecode/application/modules/frontend/views/lecture_editor.php	(revision 906)
@@ -93,8 +93,12 @@
 						</div>
 						<div class="form-group">
-							<label for="form-field-username" class="col-sm-4 control-label no-padding-right">Quáº­n / Huyá»n</label>
+							<label for="form-field-district" class="col-sm-4 control-label no-padding-right">Quáº­n / Huyá»n</label>
 							<div class="col-sm-8">
 								<select name="district" id="form-field-district" class="input-large"></select>
+								<label class="block clearfix has-error">
+									<div id="district" class="help-block error"></div>
+                                </label> 
 							</div>
+							
 						</div>
 
Index: pro-violet-viettel/sourcecode/application/modules/frontend/views/user_infor.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/frontend/views/user_infor.php	(revision 883)
+++ pro-violet-viettel/sourcecode/application/modules/frontend/views/user_infor.php	(revision 906)
@@ -26,5 +26,6 @@
             <label for="form-field-username" class="col-sm-4 control-label no-padding-right">Tá»nh / ThÃ nh phá»</label>
             <div class="col-sm-8">
-                <select name="province" id="form-field-province" class="form-field-province col-xs-12 col-sm-10">
+                <select name="province" id="form-field-province" class="form-field-province-user col-xs-12 col-sm-10">
+					<option></option>
                     <?php foreach ($provinces as $key => $pro): ?>
                         <option value="<?php echo $key; ?>" <?php if ($user['province'] == $key) echo "selected"; ?>><?php echo $pro; ?></option>
@@ -38,5 +39,5 @@
 			<label for="form-field-username" class="col-sm-4 control-label no-padding-right">Quáº­n / Huyá»n</label>
 			<div class="col-sm-8">
-				<select name="district" id="form-field-district" class="form-field-district col-xs-12 col-sm-10">
+				<select name="district" id="form-field-district" class="form-field-district-user col-xs-12 col-sm-10">
 
 				</select>
@@ -60,11 +61,54 @@
 var district_id = "<?php echo $user['district']; ?>";
 var province_id = "<?php echo $user['province']; ?>";
+
 $(document).ready(function(){
-	$(".form-field-province").change(function(){
+	$(".form-field-province-user").change(function(){
 		changeEventProvince(province_id);
 	});
-	if ($(".form-field-province").val() !== 'undefined'){
+	if ($(".form-field-province-user").val() !== 'undefined'){
 		checkSelectedDistrict(province_id);
 	}
 });
+
+function changeEventProvince(provinceId){
+	$(".form-field-district-user").html("");
+	$.ajax({
+        url: '/frontend/user/getDistrict/' + provinceId,
+        type: 'POST',
+        success: function (data, textStatus, jqXHR)
+        {
+            result = jQuery.parseJSON(data);
+			content = "<option></option>";
+			if (result != null){
+				for (var i in result){			
+					content = content + '<option value="' + result[i].district_id + '">'+ result[i].type + " "  + result[i].district_name + '</option>'
+				}
+			}
+			$(".form-field-district-user").html(content);
+        }
+    });
+}
+
+function checkSelectedDistrict(provinceId){
+	$.ajax({
+        url: '/frontend/user/getDistrict/' + provinceId,
+        type: 'POST',
+        success: function (data, textStatus, jqXHR)
+        {
+            result = jQuery.parseJSON(data);	
+			content = "<option></option>";
+			if (result != null){
+				for (var i in result){
+					if (result[i].district_id === district_id){
+						content = content + '<option value="' + result[i].district_id + '" selected >' + result[i].type + " " + result[i].district_name + '</option>';
+					}else{
+						content = content + '<option value="' + result[i].district_id + '">' + result[i].type + " "  + result[i].district_name + '</option>';
+					}
+				}
+				
+			}
+			$(".form-field-district-user").html(content);
+        }
+    });
+}
 </script>
Index: pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php	(revision 883)
+++ pro-violet-viettel/sourcecode/application/modules/frontend/views/user_profile.php	(revision 906)
@@ -302,5 +302,5 @@
                                         <div class="alert alert-block alert-success">						
                                             <p>
-                                                QuÃœ vá» cÅ©ng cÃ³ thá» sá»­ dá»¥ng sá» Äiá»n thoáº¡i&nbsp;<strong><?php echo $username;?></strong> vÃ  soáº¡n tin theo cÃº phÃ¡p: <strong>SBG VIP 1</strong> (hay VIP 3, VIP 6, VIP 12) <strong>gá»­i tá»i 8062</strong> (Há» thá»ng sáºœ trá»« tiá»n trÃªn tÃ i khoáº£n chÃ­nh cá»§a sá» Äiá»n thoáº¡i&nbsp;<strong><?php echo $username;?></strong>)
+                                                QuÃœ vá» cÅ©ng cÃ³ thá» sá»­ dá»¥ng sá» Äiá»n thoáº¡i&nbsp;<strong><?php echo $username;?></strong> vÃ  soáº¡n tin theo cÃº phÃ¡p: <strong>SBG VIP 1</strong> (hay VIP 3) <strong>gá»­i tá»i 8062</strong> (Há» thá»ng sáºœ trá»« tiá»n trÃªn tÃ i khoáº£n chÃ­nh cá»§a sá» Äiá»n thoáº¡i&nbsp;<strong><?php echo $username;?></strong>)
                                         </p>
                                         </div>
