RE: Parse error (the long version)
| From: | Brad Sumrall | Date: | Sat, 05 May 2007 02:11:28 +0000 |
| Subject: | RE: Parse error (the long version) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-254455@lists.php.net to get a copy of this message | ||
For anyone interested in seeing the entire code.
Brad
<?php
if(!isset($_SESSION["userid"]))
{
?>
<form action="/phpbb/index.php" method="post" target="_top">
<table width="200" cellpadding="4" cellspacing="1"
border="0"
class="forumline" align="center">
<tr>
<th background="images/login_top2.jpg"
height="30" class="thHead" nowrap="nowrap"></th>
</tr>
<tr>
<td class="row1"><table border="0"
cellpadding="3" cellspacing="1" width="100%">
<tr>
<td width="11%" align="right"><div
align="left"><span
class="gen">Username:</span></div></td>
</tr>
<tr>
<td align="right"><input
type="text"
class="post" name="username" size="25" maxlength="40"
value="" /></td>
</tr>
<tr>
<td align="right"><div
align="left"><span
class="gen">Password</span></div></td>
</tr>
<tr>
<td align="right"><span
class="gen">
<input type="password" class="post" name="password"
size="25" maxlength="32"
/>
:</span></td>
</tr>
<tr align="center">
<td colspan="2"><span
class="gen">Log me
on automatically:
<input type="checkbox" name="autologin"
/></span></td>
</tr>
<tr align="center">
<td colspan="2"><input
type="hidden"
name="redirect" value="" /><input type="submit"
name="login"
class="mainoption value="Log in" /> </td>
</tr>
<tr align="center">
<td colspan="2"><span
class="gensmall"><a href="forgot_password.php"
class="gensmall">I forgot my
password</a></span></td>
</tr>
</table>
</td>
</tr>
<?php
}else{
?>
<tr>
<td width="207" height="32"
background="images/login_top2.jpg"
class="headerlogout" align="center">
<table width="100%">
<tr>
<td width="30" height="27"></td>
<td align="left"><a
href="javascript:logout()" class="link1">Log out</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center"
class="logincenterbg">
<table width="88%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td height="10" align="left"
class="bluetext"></td>
</tr>
<tr>
<td align="left" class="link2">Welcome
:
<?php echo $_SESSION["userid"] ?></td>
</tr>
<tr>
<td height="22" align="left"
class="bluetext"></td>
</tr>
<tr>
<td height="20" align="left"><a
class="link1" href="editaccount.php">Manage Account</a></td>
</tr>
<tr>
<td height="20" align="left"><a
class="link1" href="editprofile.php">Manage Profile</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="top"><img
src="images/login_bottom.jpg" width="200" height="8" alt=""
/></td>
</tr>
</table>
</form>
<?php
}
?>