Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>Login Page</title>
  6. <style>
  7. /* Basics */
  8. html, body {
  9. width: 100%;
  10. height: 100%;
  11. font-family: "Helvetica Neue", Helvetica, sans-serif;
  12. color: #444;
  13. -webkit-font-smoothing: antialiased;
  14. background: #f0f0f0;
  15. }
  16. #container {
  17. position: fixed;
  18. width: 340px;
  19. height: 280px;
  20. top: 50%;
  21. left: 50%;
  22. margin-top: -140px;
  23. margin-left: -170px;
  24. background: #fff;
  25. border-radius: 3px;
  26. border: 1px solid #ccc;
  27. box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
  28.  
  29. }
  30. form {
  31. margin: 0 auto;
  32. margin-top: 20px;
  33. }
  34. label {
  35. color: #555;
  36. display: inline-block;
  37. margin-left: 18px;
  38. padding-top: 10px;
  39. font-size: 14px;
  40. }
  41. p a {
  42. font-size: 11px;
  43. color: #aaa;
  44. float: right;
  45. margin-top: -13px;
  46. margin-right: 20px;
  47. -webkit-transition: all .4s ease;
  48. -moz-transition: all .4s ease;
  49. transition: all .4s ease;
  50. }
  51. p a:hover {
  52. color: #555;
  53. }
  54. input {
  55. font-family: "Helvetica Neue", Helvetica, sans-serif;
  56. font-size: 12px;
  57. outline: none;
  58. }
  59. input[type=text],
  60. input[type=password] ,input[type=time]{
  61. color: #777;
  62. padding-left: 10px;
  63. margin: 10px;
  64. margin-top: 12px;
  65. margin-left: 18px;
  66. width: 290px;
  67. height: 35px;
  68. border: 1px solid #c7d0d2;
  69. border-radius: 2px;
  70. box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #f5f7f8;
  71. -webkit-transition: all .4s ease;
  72. -moz-transition: all .4s ease;
  73. transition: all .4s ease;
  74. }
  75. input[type=text]:hover,
  76. input[type=password]:hover,input[type=time]:hover {
  77. border: 1px solid #b6bfc0;
  78. box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .7), 0 0 0 5px #f5f7f8;
  79. }
  80. input[type=text]:focus,
  81. input[type=password]:focus,input[type=time]:focus {
  82. border: 1px solid #a8c9e4;
  83. box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 5px #e6f2f9;
  84. }
  85. #lower {
  86. background: #ecf2f5;
  87. width: 100%;
  88. height: 69px;
  89. margin-top: 20px;
  90. box-shadow: inset 0 1px 1px #fff;
  91. border-top: 1px solid #ccc;
  92. border-bottom-right-radius: 3px;
  93. border-bottom-left-radius: 3px;
  94. }
  95. input[type=checkbox] {
  96. margin-left: 20px;
  97. margin-top: 30px;
  98. }
  99. .check {
  100. margin-left: 3px;
  101. font-size: 11px;
  102. color: #444;
  103. text-shadow: 0 1px 0 #fff;
  104. }
  105. input[type=submit] {
  106. float: right;
  107. margin-right: 20px;
  108. margin-top: 20px;
  109. width: 80px;
  110. height: 30px;
  111. font-size: 14px;
  112. font-weight: bold;
  113. color: #fff;
  114. background-color: #acd6ef; /*IE fallback*/
  115. background-image: -webkit-gradient(linear, left top, left bottom, from(#acd6ef), to(#6ec2e8));
  116. background-image: -moz-linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
  117. background-image: linear-gradient(top left 90deg, #acd6ef 0%, #6ec2e8 100%);
  118. border-radius: 30px;
  119. border: 1px solid #66add6;
  120. box-shadow: 0 1px 2px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
  121. cursor: pointer;
  122. }
  123. input[type=submit]:hover {
  124. background-image: -webkit-gradient(linear, left top, left bottom, from(#b6e2ff), to(#6ec2e8));
  125. background-image: -moz-linear-gradient(top left 90deg, #b6e2ff 0%, #6ec2e8 100%);
  126. background-image: linear-gradient(top left 90deg, #b6e2ff 0%, #6ec2e8 100%);
  127. }
  128. input[type=submit]:active {
  129. background-image: -webkit-gradient(linear, left top, left bottom, from(#6ec2e8), to(#b6e2ff));
  130. background-image: -moz-linear-gradient(top left 90deg, #6ec2e8 0%, #b6e2ff 100%);
  131. background-image: linear-gradient(top left 90deg, #6ec2e8 0%, #b6e2ff 100%);
  132. }
  133. </style>
  134.  
  135. </head>
  136.  
  137. <body>
  138.  
  139. <!-- Begin Page Content -->
  140. <div id="container">
  141. <form action="login_process.php" method="post">
  142. <label for="loginmsg" style="color:hsla(0,100%,50%,0.5); font-family:"Helvetica Neue",Helvetica,sans-serif;"><?php echo @$_GET['msg'];?></label>
  143. <label for="username">Username:</label>
  144. <input type="text" id="username" name="username">
  145. <label for="password">Password:</label>
  146. <input type="password" id="password" name="password">
  147. <div id="lower">
  148. <input type="checkbox"><label class="check" for="checkbox">Keep me logged in</label>
  149. <input type="submit" value="Login">
  150. </div><!--/ lower-->
  151. </form>
  152. </div><!--/ container-->
  153. <!-- End Page Content -->
  154. </body>
  155. </html>
  156.  
  157. echo !empty($_GET['msg']) ? $messages[$_GET['msg']] : '' ;
  158.  
  159. <?php echo @$_GET['msg'];?>
  160.  
  161. html, body {
  162. width: 100%;
  163. height: 100%;
  164. }
  165.  
  166. <div id="lower">
  167. <label class="check" for="checkbox"><input type="checkbox"> Keep me logged in</label>
  168. <input type="submit" value="Login">
  169. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement