/** * Classe Constructora del Index * * */ public function Index() { // Inicializa Session NeuralSesiones::Inicializacion(); // Usuario sin session if (!isset($_SESSION['ENTRADA_POS'])) { // Redirecciona al Login header("Location: " . NeuralRutasApp::RutaURL('Index')); } else { // Username $Usuario = $this->Modelo->DatoUsuario(base64_decode($_SESSION['USUARIO'])); $this->Vista->Usuario = $Usuario['0']['nombre'] . ' ' . $Usuario['0']['apellidoPaterno'] . ' ' . $Usuario['0']['apellidoMaterno']; $this->Vista->RutaImagen = NeuralRutasApp::RutaImagenes("ajax-loader.gif"); $this->Vista->Url1 = NeuralRutasApp::RutaURL('DatosEmpresa/Index'); // Redirecciona al sistema principal $this->Vista->GenerarVista('General/Contener', 'ESTRUCTURA'); // Libera la consulta unset($Usuario); } }
}); $('#Almacen').click(function(){ $('#contenido').html('<span><img src="<?php echo NeuralRutasApp::RutaImagenes("ajax-loader.gif"); ?> " width="16" height="16" /><strong> Cargando ...</strong></span>'); $('#contenido').load("<?php echo NeuralRutasApp::RutaURL('Almacen/Index'); ?> "); }); $('#ImpresionCodigo').click(function(){ $('#contenido').html('<span><img src="<?php echo NeuralRutasApp::RutaImagenes("ajax-loader.gif"); ?> " width="16" height="16" /><strong> Cargando ...</strong></span>'); $('#contenido').load("<?php echo NeuralRutasApp::RutaURL('ImpresionCodigo/Index'); ?> "); }); $('#Ayuda').click(function(){ $('#contenido').html('<span"><img src="img/ajax-loader.gif" width="16" height="16" /> Cargando ...</span>'); $('#contenido').load('Ayuda.php'); }); $("#tabss").delay(500).slideToggle(500); $("#usuario").delay(500).slideToggle(500);
<!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div id ="dialog"> <form name="login" action="<?php echo NeuralRutasApp::RutaURL('Login/Login'); ?> " method="post"> <table> <tr> <td colspan="2" align="center"><img src="<?php echo NeuralRutasApp::RutaImagenes('logo.gif'); ?> " width="221" height="50" /></td> </tr> <tr> <td><label for="usuario">Usuario:</label></td> <td><input type="text" name="usuario" placeholder="Nombre de usuario" required ></td> </tr> <tr> <td><label for="password">Password: </label></td> <td><input type="password" name="password" placeholder="Clave de acceso" required ></td> </tr> </table> </form> </div>
} .ui-dialog{ box-shadow: 1px 1px 10px #bbbec3; } </style> <!-- Libreria Javascript/ Hojas de estilo --> <?php echo NeuralScriptAdministrador::OrganizarScript(array('JS' => array('JQUERY', 'JQUERYUILIB', 'JQGRID', 'I18N'), 'CSS' => array('HOME', 'JQUERYUI', 'JQGRID')), false, 'POS'); ?> <!-- Libreria Javascript/ Hojas de estilo --> <!-- IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div id="cont"> <div id="encabezado"> <br> <center> <div><img src="<?php echo NeuralRutasApp::RutaImagenes('header.gif'); ?> " width="529" height="77" /></div> </center> </div>
<div id="contenido"> <div id="tabss"> <ul> <li><a href="#tabs-1">SISTEMA DE ENCUESTAS MEDICAS</a></li> </ul> <div id="tabs-1"> <table> <tr> <td rowspan="2"><img src="<?php echo NeuralRutasApp::RutaImagenes('compras.gif'); ?> " width="64" height="64" /></td> <td><h3>ACERCA DEL SISTEMA</h3> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> <td><p>Es una solución de movilidad única que amplía las capacidades de los terminales de punto de venta en cualquier parte de la tienda y desde cualquier punto.</p><br><br><br> <p>Todos los derechos reservados por <a href="http://desarrollos-moviles.com/">http://desarrollos-moviles.com.</a></p></td> </tr> </table> </div> <br><br><br> </div> <br> </div>
<div id="tabs"> <ul> <li><a href="#tabs-1">COTROL DE USUARIOS</a></li> </ul> <div id="tabs-1"> <table> <tr> <td width="64"><img src="<?php echo NeuralRutasApp::RutaImagenes('usuarios.gif'); ?> " width="64" height="64" /></td> <td><h3>COTROL DE USUARIOS.</h3> <p>Modulo de control de los accesos al sistema, mediante usuarios y niveles de acceso e informacion adicional como correo electronico.</p> </td> </tr> </table> </div> </div> <br> <center> <table id="list" class="scroll"></table> <div id="pager" class="scroll" style="text-align:center;"></div> </center> <script> $(function(){ inicio(); }); function inicio(){ // Tabs $('#tabs').tabs();