session_start(); if(isset($_SESSION["userinfo"])){ $nscript = pathinfo($_SERVER['PHP_SELF'], PATHINFO_FILENAME); $mod = explode("_",$nscript); $modulo = $mod[0]."_".$mod[1]; $modfrm = $mod[2]; $form = $modulo."/".$modfrm.".php"; //echo "nscript: ".$nscript." module: ".$modulo." form: ".$form; date_default_timezone_set("America/Mexico_City"); include "cnx.php"; include "util_list.php"; $conn = getConnection(); $usr = $_SESSION["userinfo"]["username"]; $cia = $_SESSION["compania"]["idCompania"]; $aut=ValPerPag($usr,$modulo); //$aut=1; if ($aut == 1) { include "util_frame.php"; $costo = isset($_SESSION[$modulo]["costos"])?unserialize($_SESSION[$modulo]["costos"]):null; $idCosto = !is_null($costo)?$costo["cve_costo"]:""; $monto = !is_null($costo)?$costo["monto"]:""; $fecefe = !empty($costo)?date("Y-m-d",strtotime($costo["fec_efe"])):""; $status = !is_null($costo)?$costo["stt_costo"]:""; //$fecefe = date("Y-m-d",strtotime($fecefe)); //echo "costos: ".print_r($costo)." monto: ".$monto." fe: ".$fecefe; //echo "costos: ".print_r($costo)." stt: ".$status; $jsActivo = " "; $allJS=""; $allJS .= $jsActivo; getHeaderFrm("Costos Tarjeta", $allJS); ?>
Monto | Fecha Efectiva | Acciones | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
No hay Resultados !!! | |||||||||||
echo $dat["mon_costo"] ?> | echo $dat["fec_efe"] ?> | echo "";?> |