Last active
August 29, 2015 14:12
-
-
Save ricardosiri68/272a451885f4c9067a05 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
| <title>Login to Website</title> | |
| <link href="css/style.css" rel="stylesheet" type="text/css" /> | |
| <link rel="stylesheet" type="text/css" href="login.css" /> | |
| </head> | |
| <body> | |
| <form class="login-form" action="login.php" method="POST" > | |
| <div class="login-form-header"></div> | |
| <div class="login-form-content"> | |
| <div class="login-form-title">Login to the Admin Panel</div> | |
| <div class="login-form-input"> | |
| <label class="login-form-label" style="margin-left: 100px;" for="user">Username:</label> | |
| <input name="user" type="text"> | |
| </div> | |
| <div class="login-form-input"> | |
| <label class="login-form-label" style="margin-left: 100px; margin-right: 4px;" for="password">Password:</label> | |
| <input name="password" type="password"> | |
| </div> | |
| <div class="login-form-input"> | |
| <input type="submit" value="Login" style="margin-left: 153px;" > | |
| </div> | |
| </div> | |
| </form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .login-form{ | |
| width: 400px; | |
| height: 178px; | |
| margin: 100px auto 0 auto; | |
| border: solid 1px #0066FF; | |
| background-color: #F4F5F7; | |
| } | |
| .login-form-header{ | |
| height: 22px; | |
| background-color: #0066FF; | |
| margin: 1px; | |
| } | |
| .login-form-title{ | |
| width: 174px; | |
| margin: 16px auto; | |
| padding-left: 22px; | |
| color: #06f; | |
| font-family: Verdana, Arial, Helvetica, sans-serif; | |
| font-size: 14px; | |
| font-weight: bold; | |
| background: url('images/locked.png') no-repeat 0 center; | |
| } | |
| .login-form-input{ | |
| margin: 2px 0; | |
| padding: 2px 0; | |
| } | |
| .login-form-input > input[type=text], .login-form-input > input[type=password]{ | |
| width: 176px; | |
| height: 15px; | |
| padding: 0 1px; | |
| border: solid 2px inset; | |
| } | |
| .login-form-label{ | |
| font-size: 11px; | |
| color: #06f; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? if ($_POST['user'] == 'FuckyouT' && $_POST['password'] == 'dpw') : ?> | |
| Bienvenido <?=$_POST['user']?> !! | |
| <? else : ?> | |
| Contraseña Invalida ... puto | |
| <? endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment