Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Admin</title>
- <style type="text/css">
- <!--.body { font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; background-color: #666666; width: 600px; text-align: left;}.header { font-family: Arial, Helvetica, sans-serif; font-size: 48px; font-weight: bold; color: #BBBBBB; background-color: #333333; width: 600px;}.bottom { font-family: Arial, Helvetica, sans-serif; color: #DDDDDD; background-color: #555555; width: 600px;}body { background-color: #222222;}.title { font-size: 20px; font-weight: bold;}.copy { font-size: 12px;}a:link { color: #EEEEEE; font-weight: bold;}a:visited { color: #EEEEEE;}a:hover { color: #FFFFFF;}-->
- </style>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
- <body onLoad="goto('less');">
- <div align="center">
- <div class="header">Admin</div>
- <div class="body">
- <?php
- $username=($_POST['username']);
- $password=($_POST['password']);
- if(md5($username)=="(md5 of username)"){
- if(md5($password)=="(md5 of password)"){
- session_register("username");
- session_register("password");
- header("location:admin.php");
- }else{
- echo "Wrong Username or Password";
- }
- }else{
- echo "Wrong Username or Password";
- }
- ?>
- </div>
- <div class="bottom">
- <a href="index.php">Home</a>
- <div align="right" class="copy">©2010</div></div></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement