[eluser]Mareli[/eluser]
And this is the code of the view.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>.:: Sistema Software Porurco ::.</title>
[removed][removed]
[removed][removed]
[removed][removed]
<style type="text/css">
@import url('/stylesheets/calendar-blue.css');
@import url('/stylesheets/main.css');
#hd {
background:#ddd;
min-height: 20px;
padding: 5px 0 0 10px;
font-weight: bold;
font-size:12px;
color:#000;
}
#list h3 {
background-color:#03C;
color:#000;
font-family:"Trebuchet MS",arial,verdana;
font-size: 12px;
padding-left: 5px;
min-height: 20px;
}
.divisor {
margin:5px;
padding:5px;
border: solid .1em #ccc;
}
.element {
padding: 10px;
}
</style>
[removed][removed]
[removed][removed]
<?=$xajax_js ?>
</head>
<body>
<div style="position:absolute; top:15em; left:75em; display:none;" id="loading"><img src="/images/loading.gif" alt="Cargando. Espere.." /></div>
<div id="wrap">
<div id="header">
<div id="logo"> </div>
<div id="topmain"><p class="nameuser"><?=$this->db_session->userdata('nombreUsuario')?></p></div>
<div id="navcontainer">
<ul id="navlist">
<li><a href="<?=site_url()?>main">Principal</a></li>
<li><a href="<?=site_url()?>contabilidad">Contabilidad</a></li>
<li><a href="<?=site_url()?>contabilidad/ccmain">Cuentas por Cobrar</a></li>
<li><a href="#" class="lastnav">Reportes Estadísticos</a></li>
</ul>
<div style="float:right; padding-top:2px; padding-right:180px;"><a href="<?=site_url()?>logout"><img src="/images/gnome-session-logout.png" alt="Cerrar Sesion" /></a></div>
</div>
</div>
<div id="contents">
<h3>Reportes Estadísticos</h3>
<!-- Inicio Seccion Consulta Reportes -->
<div style="margin:0px auto; width:60%;">
<form id="reporte">
<table id="tablacaptura">
<tr>
<td>Fecha:</td>
<td><input name="fecha" type="text" id="fecha" size="8" />
<img src="/images/scw.gif" id="fecha_id" style="cursor:pointer" />
[removed]
Calendar.setup({
inputField : "fecha",
ifFormat : "%Y-%m-%d",
button : "fecha_id",
align : "Br",
singleClick : true
});
[removed]
</td>
</tr>
<tr>
<td></td>
<td><input name="consultar" type="button" value="consultar"></td>
</tr>
</table>
</form>
</div>
<!-- Fin Seccion Consulta -->
</div>
<div id="bottom"><em>Software Porurco ® Septiembre de 2007</em></div>
</div>
</body>
</html>
Well, I'm expecting to print the results of the query into de view, but I don't know why it doesn't print anything. After you click in the button "consultar", it doesn't do anything.
Thanks...Again, and I'm Sorry