mirror of
				https://e.coding.net/circlecloud/McAccount.git
				synced 2025-11-03 17:56:24 +00:00 
			
		
		
		
	update...
This commit is contained in:
		@@ -75,7 +75,7 @@ if (empty ( $_SESSION ['username'] ))
 | 
				
			|||||||
													<td class="description"><input style="width: 250px;"
 | 
																		<td class="description"><input style="width: 250px;"
 | 
				
			||||||
														class="span8 inline-input" id="mail" type="text" disabled="disabled"/></td>
 | 
																			class="span8 inline-input" id="mail" type="text" disabled="disabled"/></td>
 | 
				
			||||||
													<td><button style="width: 90px;" id="submit" type="button"
 | 
																		<td><button style="width: 90px;" id="submit" type="button"
 | 
				
			||||||
															class="btn-glow primary btn-next">发送验证码</button></td>
 | 
																				class="btn-glow primary btn-next" disabled="disabled">发送验证码</button></td>
 | 
				
			||||||
												</tr>
 | 
																	</tr>
 | 
				
			||||||
												<!-- row -->
 | 
																	<!-- row -->
 | 
				
			||||||
												<tr>
 | 
																	<tr>
 | 
				
			||||||
@@ -112,6 +112,30 @@ if (empty ( $_SESSION ['username'] ))
 | 
				
			|||||||
	<script src="View/public/js/select2.min.js"></script>
 | 
						<script src="View/public/js/select2.min.js"></script>
 | 
				
			||||||
	<script src="View/public/js/theme.js"></script>
 | 
						<script src="View/public/js/theme.js"></script>
 | 
				
			||||||
	<script type="text/javascript">
 | 
						<script type="text/javascript">
 | 
				
			||||||
 | 
						
 | 
				
			||||||
 | 
					    var data = "user=<?=$_SESSION['username']?>";
 | 
				
			||||||
 | 
					    function select(){
 | 
				
			||||||
 | 
					        $.ajax({
 | 
				
			||||||
 | 
					            type:"GET",
 | 
				
			||||||
 | 
					            dataType:"json",
 | 
				
			||||||
 | 
					            data:data,
 | 
				
			||||||
 | 
					            url:"<?=Url('mail_status', "select")?>",
 | 
				
			||||||
 | 
					            success:function(rdata){
 | 
				
			||||||
 | 
					                  $.each(rdata.info,function(index,content)
 | 
				
			||||||
 | 
					                  {
 | 
				
			||||||
 | 
					                      if(rdata.status == "success")
 | 
				
			||||||
 | 
					                      {
 | 
				
			||||||
 | 
					                    	 $("#mail").val(content.email);
 | 
				
			||||||
 | 
					                    	 $("#submit").attr();
 | 
				
			||||||
 | 
					                      }
 | 
				
			||||||
 | 
					                  }              
 | 
				
			||||||
 | 
					               )},
 | 
				
			||||||
 | 
					            error:function(){
 | 
				
			||||||
 | 
					                  alert("数据读取失败");
 | 
				
			||||||
 | 
					                  return false;
 | 
				
			||||||
 | 
					               }
 | 
				
			||||||
 | 
					        }); 
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
$(document).ready(function(){
 | 
					$(document).ready(function(){
 | 
				
			||||||
    $("#submit").click(function(){
 | 
					    $("#submit").click(function(){
 | 
				
			||||||
        var mail = $("#mail").val(); 
 | 
					        var mail = $("#mail").val(); 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user