[#] hm X_Shell Backd00r [#]

Current Path : /var/www/clients/client35/web46/web/buen-fin/app/controller/
Upload File :
Current File : /var/www/clients/client35/web46/web/buen-fin/app/controller/ConsularAcreditaciones.php

<?php
	
	require_once '../model/ConsultarAcreditaciones.class.php';
	$a = new ConsularAcreditaciones();

	switch ($_POST['action']){
		case 'all':
				$r = $a->acreditaciones();
				echo json_encode($r);
			break;
		
		case 'busqueda':
				$r = $a->busquedaAcreditaciones($_POST['str']);
				echo json_encode($r);
				//echo $r;
			break;
		case 'actualiza':
				$id = $_POST['idbf'];
				$c  = $_POST['valor'];
				$a->actualiza_estatus($id,$c);				
			break;
	}

?>

Mr.hm X_Shell Backd00r 1.0, Coded By Mr.hm X_Shell Backd00r