|    
			
				11/02/2014, 06:26
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: abril-2008 
						Mensajes: 33
					 Antigüedad: 17 años, 6 meses Puntos: 0 |  | 
  |  Respuesta: Proyecto web de Trivial  
  index.phprequire_once "config.php";
 
 if (strlen(trim($strSessionPath)) > 0)
 session_save_path($strSessionPath);
 
 session_start();
 
 $strMessage = "";
 
 if (!empty($_SESSION['message'])) {
 $strMessage = trim($_SESSION['message']);
 }
 ?>
 
 <html>
 <head>
 <title>Registro</title>
 <meta charset="UTF-8">
 </head>
 <body>
 
 <center><img src="images/yoshua.png" width="50%" height="40%"></center><br><hr>
 
 <form name="login" action='login.php' method='POST'>
 <table width='800'>
 <tr>
 <td width='160' valign='middle' align='center' STYLE='background-image:url(images/count.png); background-repeat: no-repeat; background-position:center center;'>
 <table>
 <tr><td STYLE='color: #000000;'>
 <a href="options.php" accesskey='c'style=" font-size:20px;">
 [<span STYLE="color: red">C</span>rear una cuenta]</a></td></tr>
 </table>
 </td>
 <td width='640' align='center'>
 <?php
 if (strlen(trim($strMessage)) > 0) {
 echo '<font size="5"><b>'.$strMessage.'</b></font>';
 $_SESSION['message'] = "";
 }
 ?>
 <table>
 <tr><td><u>N</u>ick:</td></tr>
 <tr><td><input type='text area' name='name' accesskey='u' size='10'></td></tr>
 <tr><td><u>C</u>ontraseña:</td></tr>
 <tr><td><input type='password' name='password' accesskey='p' size='10'></td></tr>
 <tr><td><input type='submit' name='submit' value='Logueate' class='button'></td></tr>
 </table>
 </td>
 </tr>
 </table>
 </form>
 
 <?php require_once "footer.php"; ?>
 </body>
 </html>
 
 <script type="text/javascript">
 <!--
 document.login.name.focus();
 document.onkeypress = keyevent;
 
 function keyevent(e)
 {
 var c;
 
 c = String.fromCharCode(window.event.keyCode).toUpperC  ase();
 target = window.event.srcElement;
 
 if (target.nodeName.toUpperCase() == 'INPUT')
 {
 if (target.type.toUpperCase() == 'SUBMIT')
 {
 if (c == 'C') {
 window.location = 'options.php';
 ;
 return false;
 }
 }
 }
 else
 {
 if (c == 'C') {
 window.location = 'options.php';
 ;
 return false;
 }
 }
 }
 //-->
 </script>
     |