2 if($session->logged_in
){
3 echo "<h2>Ingresado</h2>";
4 echo "Bienvenido <b>$session->username</b>, Ud. ha ingresado al sistema.<br><br>";
5 if($session->isAdmin()){
6 echo '<hr /><h3>Puede encontrar sus herramientas administrativas en los menús laterales<h3>';
8 echo '<a href="./?x=inicio">Continuar</a>';
11 if(!$_SESSION['regsuccess']){
12 echo "<h2>Error</h2>";
13 echo "Por favor intentelo de nuevo.<br><br>";
16 <h3
>cLab
- Control de Ingresos
</h3
><br
/>
17 <form action
="./process.php" method
="post">
20 <td
>Usuario o Carné
:</td
>
21 <td
><input type
="text" name
="user" maxlength
="10" size
="30" value
="" /></td
>
24 <td
>Clave de acceso
:</td
>
25 <td
><input type
="password" name
="pass" maxlength
="20" size
="30" value
="" /></td
>
29 <td
><input type
="checkbox" name
="remember" <?
if($form->value("remember") != ""){ echo "checked"; } ?
> /></td
>
32 <input type
="hidden" name
="sublogin" value
="1">
33 <center
><input type
="submit" name
="ingresar" value
="Ingresar" /></center
>
35 <br
/><a href
="./?x=rpr+clave">Recuperar clave
</a
>