Exemple #1
0
<? 

include($_SERVER[DOCUMENT_ROOT]."/header.php");

if(isset($_GET[lek_name])){
	$metro = is_numeric ($_GET[metro]) ? $_GET[metro] : false;
	//$lek_name=Fw_mysqli::escape($_GET[lek_name]);
	//$lek_name=$_GET[lek_name];
	$lek_name=htmlspecialchars($_GET[lek_name], ENT_QUOTES);
	//DB::getInstance()->insertID();
    $js=new json($lek_name,$metro); 
    print $js->view();
	
}elseif($_GET[index]==1){
	

    $js=new json_apt(); 
    print $js->view();	
	
}





?>$('#hider').hide();