File: /home/asjudine/www/agendarse/consultar_cedula_agendarse.php
<html>
<head>
<title>Consulta Cartera por cedula y Nombre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://use.fontawesome.com/releases/v5.13.0/js/all.js" crossorigin="anonymous"></script>
<style type="text/css">
.titulos {font: 16px; color: red; font-family:Arial; font-weight:bold}
.boton {background-color: #FFCCCC; color:#FFFFFF; width:90px; height:25; border: 3px solid #0000CC; font-family:Arial; color:#990000;}
.texto {background-color: #CCFFCC; font-size: 11px; font-family: Arial; color:#0000CC; display: block;}
.fecha {font-size: 12px; font-family: Arial; color:#990000; display: block; }
.campo {background-color:#FFFFAA; width: 100px; border:2px solid #990000;}
.lista {font-family: Arial; font-size: 11px; color: #990000;}
.lista2 {font-family: Arial; font-size: 16px; color: #FF6600;}
.boton2 {
font-family: Verdana;
font-size: 8 pt;
color: #000080;
background-color: #C0C0C0;
border-style: solid;
width:90px;
height:22px;
}
body {
background-image: url();
}
.Estilo50 {color: #CC3333;
font-family: "Arial Narrow";
font-weight: bold;
}
.Estilo51 {
color: #3366FF;
font-weight: bold;
}
.boton1 {background-color: #FFCCCC; color:#FFFFFF; width:90px; height:25; border: 3px solid #0000CC; font-family:Arial; color:#990000;}
.boton11 {background-color: #FFCCCC; color:#FFFFFF; width:90px; height:25; border: 3px solid #0000CC; font-family:Arial; color:#990000;}
</style>
</head>
<body onLoad="document.formulario.cedula.focus()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="671" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<fieldset>
<table width="669" border="0" align="center" cellpadding="2" cellspacing="2">
<tr bgcolor="#FFFFCC">
<td colspan="2" class="titulos">
<div align="center"> CONSULTA CARTERA AGENDARSE</div>
</td>
</tr>
<tr bgcolor="#ECE9D8">
<td height="22" colspan="2" class="fecha">
<div align="center">
<div id="fechaActual"></div>
</div>
</td>
</tr>
<tr bgcolor="#FFCC99">
<td width="355">
<div align="center"><span class="Estilo51">Nombre : </span></div>
</td>
<td width="300">
<input name="nom" type="text" id="nom" size="50" maxlength="50">
</td>
</tr>
<tr bgcolor="#FFCC99">
<td colspan="2">
<div align="center">
<span class="Estilo51">
<input type="button" name="busqueda" id="busqueda" class="boton11" value="Consultar" onclick="Consultar_Cedula('1');">
</span>
</div>
</td>
</tr>
<tr bgcolor="#FFCC99">
<td align="center" >
<p><span class="Estilo51">Cédula o Codigo:</span></p>
</td>
<td>
<input name="cedula" type="text" class="campo1" id="cedula" value="" size="15" maxlength="15">
</td>
</tr>
<tr bgcolor="#FFCC99">
<td colspan="2">
<div align="center">
<span class="Estilo51">
<input type="button" name="consultar" id="consultar" class="boton11" value="Consultar" onclick="Consultar_Cedula('2');">
</span>
</div>
</td>
</tr>
<tr bgcolor="#FFCC99">
<td colspan="2">
<div align="center" class="Estilo51">
<input name="menu2" type="button" class="Estilo50" id="menu2" onClick="window.location.href='../consulta_cartera.php'" value="IR AL MENU">
</div>
</td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
<div id="resultado_cc"></div>
</body>
<script languaje="JavaScript">
window.onload = Mostrar_Fecha();
function Mostrar_Fecha()
{
var mydate=new Date();
var year=mydate.getYear();
if (year < 1000)
{
year+=1900;
}
var day=mydate.getDay();
var month=mydate.getMonth();
var daym=mydate.getDate();
if (daym<10)
{
daym="0"+daym;
}
var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sabado");
var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");
$("#fechaActual").html("<b><font face='Arial, Helvetica, sans-serif'>"+dayarray[day]+" "+daym+" de "+montharray[month]+" de "+year+"</font></b>");
}
</script>
<script src="funciones.js"></script>
</html>