예제 #1
0
<?php

include_once "../../login/check.php";
$folder = "../../";
$titulo = "NRegistroDeposito";
include_once "../../class/banco.php";
$banco = new banco();
$ban = todolista($banco->mostrarTodoRegistro("", 1, "Nombre"), "CodBanco", "Nombre,NumeroCuenta,TipoCuenta", " - ");
include_once $folder . "cabecerahtml.php";
?>
<script language="javascript">
configuracion={todayBtn: false, endDate: "'0d'"};
</script>
<?php 
include_once $folder . "cabecera.php";
?>
<form action="guardar.php" method="post">
<table class="table table-hover">
    <tr>
    	<td class="der">Banco</td>
        <td colspan="2"><?php 
campo("CodBanco", "select", $ban, "", 1);
?>
</td>
    </tr>
	
    <tr>
    	<td class="der">Número de Boleta</td>
        <td colspan="2"><?php 
campo("Nombres", "text", "", "", 1);
?>
예제 #2
0
<?php

include_once "../../login/check.php";
include_once "../../class/banco.php";
$banco = new banco();
extract($_POST);
$Nombre = $Nombre != "" ? "Nombre LIKE '{$Nombre}%'" : "Nombre LIKE '%'";
$condicion = "{$Nombre}";
$esp = $banco->mostrarTodoRegistro($condicion, 1, "Nombre");
$titulo = array("Nombre" => $idioma['Nombre'], "NumeroCuenta" => $idioma['NumeroCuenta'], "TipoCuenta" => $idioma['TipoCuenta']);
listadotabla($titulo, $esp, 1, "", "modificar.php", "eliminar.php");