Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- <title>Welcome</title>
- </head>
- <body style="text-align:center;font-family:tahoma;font-size:12px;background-color:#F5FFFF">
- <br /><div align = "center">
- <table style="text-align:center;background-color:#FFFFFF;border-style:solid;width:350px;height:200px;" border="3">
- <tr>
- <th>
- <div style = "font-size:24px">Welcome to the site,
- <?php
- if($_COOKIE['Name'] == "")
- echo "Guest";
- else
- echo $_COOKIE['Name'];
- ?>
- </div>
- </th>
- </tr>
- <tr>
- <td>
- Username: <input type = "textbox" name = "username" /><br />
- Password: <input type = "textbox" name = "password" /><br />
- <form name="welcome" action="login.php" method="post">
- <input type="submit" value="Login"/>
- </form>
- <br />Login or register below:<br />
- <form name="register" action="registration.php" method="post">
- <input type="submit" value="Register"/>
- </form>
- </td>
- </tr>
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement