Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <? session_start(); ?> <!-- TemplateBeginEditable name="doctitle" --> <title>Documento sin título</title> <!-- TemplateEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --> <style type="text/css"> <!-- body { background-color: #F7F7F7; } </style> <link href="../ini/style.css" rel="stylesheet" type="text/css"> </head> <body> <div align="center"> <table width="930" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="mainTBorder"> <tr> <td align="center" valign="top"><br> <table width="900" height="120" border="0" cellpadding="0" cellspacing="0" background="../theme/title.jpg" bgcolor="#E1E1E1" class="BorderTitle"> <tr> <td valign="middle"><p align="center" class="Titulo"> </p> </td> </tr> </table> <br> <table width="900" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="27" background="../theme/sup.gif" class="TMenu">Menu</td> </tr> <tr> <td align="center" valign="top" background="../theme/mencen.gif"> <div align="center"> <table width="160" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Inicio<br> Usuarios<br> Equipos<br> Calendario<br> Clasificacion</td> </tr> </table> </div> </td> </tr> <tr> <td height="16" background="../theme/inf.gif"> </td> </tr> </table> <br> <table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="27" background="../theme/sup.gif" class="TMenu">Usuario</td> </tr> <tr> <td background="../theme/mencen.gif"><div align="center"> <p> <? if(isset($_SESSION['id'])){ ?> Name<br> <img src="../theme/avatar0.jpg" width="120" height="120"></p> <p>Modificar Perfil<br> <a href="../logout.php">Salir</a> <? } else { ?></p> <form name="form1" method="post" action="../comprueba.php"> <table width="160" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center">Eres un usuario no registrado <br> <br> </div></td> </tr> </table> <table width="160" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="right">Nick: </div></td> <td> </td> <td><input name="name" type="text" class="UPinput" id="name"></td> </tr> <tr> <td><p align="right">Password:</p> </td> <td width="2"> </td> <td> <input name="pass" type="text" class="UPinput" id="pass2"></td></tr> <tr> <td colspan="3"><div align="center"> <input name="Submit" type="submit" class="OKinput" value="Ingresar"> </div></td> </tr> </table> <br> <table width="160" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"><a href="contraseña">Olvide mi contraseña</a><br> <a href="registrarse">Registrarse</a><br> <br> </div></td> </tr> </table> <br> </form> </div> <? } ?></td> </tr> <tr> <td height="16" background="../theme/inf.gif"> </td> </tr> </table></td> <td width="800" valign="top"><div align="center"> <table width="700" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="12" background="../theme/supgrd.gif"></td> </tr> <tr> <td background="../theme/cengrd.gif"><p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p></td> </tr> <tr> <td height="12" background="../theme/infgrd.gif"> </td> </tr> </table> </div></td> </tr> </table> <p align="left"> </p> </td> </tr> </table> </div> </body> </html>