* @link http://www.orfeolibre.org * @version SVN: $Id$ * @since */ /*---------------------------------------------------------+ | INCLUDES | +---------------------------------------------------------*/ /*---------------------------------------------------------+ | DEFINICIONES | +---------------------------------------------------------*/ /*---------------------------------------------------------+ | MAIN | +---------------------------------------------------------*/ /********************************************************************************* * Filename: detalle.php * Generated with CodeCharge 2.0.5 * PHP 4.0 build 11/30/2001 *********************************************************************************/ //------------------------------- // detalle CustomIncludes begin session_start(); include_once ("./common.php"); include_once ("./encabezado.php"); // detalle CustomIncludes end //------------------------------- // //=============================== // Save Page and File Name available into variables //------------------------------- $sFileName = "detalle.php"; //=============================== //=============================== // detalle PageSecurity begin check_security(); // detalle PageSecurity end //=============================== //=============================== // detalle Open Event begin // detalle Open Event end //=============================== //=============================== // detalle OpenAnyPage Event start // detalle OpenAnyPage Event end //=============================== //=============================== //Save the name of the form and type of action into the variables //------------------------------- $sAction = get_param("FormAction"); $sForm = get_param("FormName"); //=============================== // detalle Show begin //=============================== // Perform the form's action //------------------------------- // Initialize error variables //------------------------------- $sPRESTAMOErr = ""; //------------------------------- // Select the FormAction //------------------------------- switch ($sForm) { case "PRESTAMO": PRESTAMO_action_dtl($sAction); break; } //=============================== //=============================== // Display page //=============================== // HTML Page layout //------------------------------- ?>
query($sSQL); include_once($sActionFileName); //------------------------------- // PRESTAMO Action end //------------------------------- } //=============================== // Display Record Form //------------------------------- function PRESTAMO_show_dtl() { global $db; global $sAction; global $sForm; global $sFileName; global $sPRESTAMOErr; global $styles; $fldPRES_ID = ""; $fldRADI_NUME_RADI = ""; $fldUSUA_LOGIN_ACTU = ""; $fldDEPE_CODI = ""; $fldUSUA_LOGIN_PRES = ""; $fldPRES_DESC = ""; $fldPRES_FECH_PRES = ""; $fldPRES_FECH_DEVO = ""; //------------------------------- // PRESTAMO Show begin //------------------------------- $sFormTitle = "Detalle Préstamo"; $sWhere = ""; $bPK = true; ?> conn->SetFetchMode(ADODB_FETCH_ASSOC); $rs=$db->query($sSQL); $bIsUpdateMode = ($bPK && !($sAction == "insert" && $sForm == "PRESTAMO") && ($rs && !$rs->EOF)); //------------------------------- //------------------------------- // Load all fields into variables from recordset or input parameters //------------------------------- if($bIsUpdateMode) { $fldDEPE_CODI = $rs->fields["DEPE_CODI"]; $fldPRES_DESC = $rs->fields["PRES_DESC"]; $fldPRES_FECH_DEVO = $rs->fields["PRES_FECH_DEVO"]; $fldPRES_FECH_PRES = $rs->fields["PRES_FECH_PRES"]; $fldPRES_ID = $rs->fields["PRES_ID"]; $fldRADI_NUME_RADI = $rs->fields["RADI_NUME_RADI"]; $fldUSUA_LOGIN_ACTU = $rs->fields["USUA_LOGIN_ACTU"]; $fldUSUA_LOGIN_PRES = $rs->fields["USUA_LOGIN_PRES"]; //------------------------------- // PRESTAMO ShowEdit Event begin // PRESTAMO ShowEdit Event end //------------------------------- } else { if($sPRESTAMOErr == "") { $fldPRES_ID = tohtml(get_param("PRES_ID")); } //------------------------------- // PRESTAMO ShowInsert Event begin // PRESTAMO ShowInsert Event end //------------------------------- } //------------------------------- // PRESTAMO Show Event begin // PRESTAMO Show Event end //------------------------------- //------------------------------- // Show form field //------------------------------- ?>
Radicado  
Usuario  
Dependencia  
Prestó  
Descripcion  
Fecha de préstamo  
Fecha de devolución