Welcome Guest, Not a member yet? Register   Sign In
Problems!!
#2

[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">
&lt;html &gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;.:: Sistema Software Porurco ::.&lt;/title&gt;
[removed][removed]
[removed][removed]
[removed][removed]
&lt;style type="text/css"&gt;
@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;
    }
&lt;/style&gt;

[removed][removed]
[removed][removed]
&lt;?=$xajax_js ?&gt;
&lt;/head&gt;
&lt;body&gt;
<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">&nbsp;</div>
        <div id="topmain"><p class="nameuser">&lt;?=$this->db_session->userdata('nombreUsuario')?&gt;</p></div>
        <div id="navcontainer">
            <ul id="navlist">
                <li><a href="&lt;?=site_url()?&gt;main">Principal</a></li>
                <li><a href="&lt;?=site_url()?&gt;contabilidad">Contabilidad</a></li>
                <li><a href="&lt;?=site_url()?&gt;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="&lt;?=site_url()?&gt;logout"><img src="/images/gnome-session-logout.png" alt="Cerrar Sesion" /></a></div>
        </div>
    </div>
    <div id="contents">
        <h3>Reportes Estadísticos</h3>        
        &lt;!-- Inicio Seccion Consulta Reportes --&gt;
    <div style="margin:0px auto; width:60%;">
      &lt;form id="reporte"&gt;
      <table id="tablacaptura">
    
        <tr>
          <td>Fecha:</td>
          <td>&lt;input name="fecha" type="text" id="fecha" size="8" /&gt;
            <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>&lt;input name="consultar" type="button" value="consultar"&gt;&lt;/td>
        </tr>
      </table>
      &lt;/form&gt;
    </div>
    &lt;!-- Fin Seccion Consulta --&gt;
  </div>
    <div id="bottom"><em>Software Porurco &reg; Septiembre de 2007</em></div>
</div>
&lt;/body&gt;
&lt;/html&gt;


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


Messages In This Thread
Problems!! - by El Forum - 01-09-2009, 10:34 AM
Problems!! - by El Forum - 01-09-2009, 10:35 AM
Problems!! - by El Forum - 01-09-2009, 11:10 AM
Problems!! - by El Forum - 01-11-2009, 10:36 AM
Problems!! - by El Forum - 01-11-2009, 12:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB