Código:
y el codigo es siendo la linea 96 la ultima donde cierra el codigo php "?>"Parse error: syntax error, unexpected end of file in www.***********.com/phplogin/inc/capa1.inc.php on line 96
he buscado solucion googleando pero no encontre mucho, ustedes podrian ver el error? de ante mano gracias
Código PHP:
<?php
function _begin_html()
{
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<link rel="STYLESHEET" type="text/css" href="lib/style.css">
<title>Sistema de Logeo/title>
</head>
<body>
<?
}
function _login_box()
{
?>
<table width="100%" height="100%">
<tr>
<td align="center">
<table width="350" align="center" border="0" cellpadding="2" bgcolor="#FFFFCE" class="ThinBorder">
<form action="login.php" method="post">
<tr>
<td>Usuario: </td>
<td><input type="text" name="user" size="40"></td>
</tr>
<tr>
<td>Contraseña: </td>
<td><input type="password" name="pass" size="40"></td>
</tr>
<tr>
<td colspan="2" align="center">
Recuerdame:
<input type="checkbox" name="rem" value="1" checked> </td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="Iniciar"> </td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</body>
</html>
<?
}
function _end_html()
{
?>
<p align="center">Ir al inicio<a href="index.php">x0x</a></p>
</body>
</html>
<?
}
function _fake_nav()
{
?>
<p align="center">
<a href="index.php">Inicio</a> ::
<a href="ver.php">Prueba</a> ::
<a href="salir.php">Salir</a>
</p>
<?
}
function _display_user_data($user)
{
?>
<p align="center">
Bienvenido : <b><? echo $user['user_name']; ?></b>
</p>
<?
}
function _good_user()
{
?>
<p align="center">
Has iniciado sesion.
</p>
<?
}
function login_page()
{
_begin_html();
_login_box();
}
?>