session_start(); if((!array_key_exists("ls_database",$_SESSION))||(!array_key_exists("ls_hostname",$_SESSION))||(!array_key_exists("ls_gestor",$_SESSION))||(!array_key_exists("ls_login",$_SESSION))) { print ""; } $la_datemp=$_SESSION["la_empresa"]; if(!array_key_exists("campo",$_POST)) { $ls_campo="codcar"; $ls_orden="ASC"; } else { $ls_campo=$_POST["campo"]; $ls_orden=$_POST["orden"]; } if(array_key_exists("tipdes",$_GET)) { $ls_tipdes=$_GET["tipdes"]; } else { if(array_key_exists("tipdes",$_POST)) $ls_tipdes=$_POST["tipdes"]; else $ls_tipdes=""; } if($ls_tipdes=="VALUACION") { if(array_key_exists("codasi",$_GET)) { $ls_codasi=$_GET["codasi"]; } else { if(array_key_exists("codasi",$_POST)) $ls_codasi=$_POST["codasi"]; else $ls_codasi=""; } } ?>