mirror of
				https://github.com/fspc/Yellow-Bike-Database.git
				synced 2025-10-31 17:05:36 -04:00 
			
		
		
		
	Returns banned list.
This commit is contained in:
		
							parent
							
								
									5695fe8b07
								
							
						
					
					
						commit
						6eba0250d6
					
				| @ -16,6 +16,12 @@ $(function(){ | ||||
| 	$("[name='Submit']").attr("tabindex",6); | ||||
| 	$(".shop_user_role").css({fontSize: ".75em", fontWeight: "bold"}) | ||||
| 	 | ||||
| 	// return banned list
 | ||||
| 	var banned_list; | ||||
| 	$.post("json/contact.php", {banned: 1}, function (data) {  | ||||
| 		banned_list = data; | ||||
| 	}); | ||||
| 
 | ||||
| 	// error handler for shops	with a popup dialog (TODO)	
 | ||||
| 	function error_handler(input,error_span,error,error_text,event) {		 | ||||
| 		var trans_error = 0; | ||||
|  | ||||
| @ -47,6 +47,16 @@ $ssl_certificate = SSL_CERTIFICATE; | ||||
| 					 | ||||
| 	} | ||||
| 	 | ||||
| 
 | ||||
| 	// pass banned contact_id values if they exist
 | ||||
| 	if (isset($_POST['banned'])) { | ||||
| 
 | ||||
| 		if ($banned_individuals) { | ||||
| 			echo json_encode($banned_individuals);		 | ||||
| 		}		 | ||||
| 
 | ||||
| 	}	 | ||||
| 	 | ||||
| 	// update email_list
 | ||||
| 	if( isset($_POST['email_list']) ) {		 | ||||
| 					 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user