Guest User

Untitled

a guest
Apr 5th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <style>
  2. h2 {
  3. display: block;
  4. font-size: 1.5em;
  5.  
  6. font-weight: bold;
  7. }
  8.  
  9. body {
  10. background-image: url("bg.jpg");
  11. background-repeat: no-repeat;
  12. background-position: fixed;
  13. }
  14. </style>
  15. <head></head>
  16.  
  17. <div class="container">
  18. <div id="login_form" class="well">
  19. <div style="font-family:Arrial Narrow;"> <h2><center></span> RPM <br>E-Commerce System</center></h2>
  20. <hr>
  21. <form method="POST" action="login.php">
  22. Username: <input type="text" name="username" class="form-control" required>
  23. <div style="height: 10px;"></div>
  24. Password: <input type="password" name="password" class="form-control" required>
  25. <div style="height: 10px;"></div>
  26. <button type="submit" class="btn btn-primary"><span class="glyphicon glyphicon-log-in"></span> Login</button></div>
  27. </form>
  28. <div style="height: 15px;"></div>
  29. <div style="color: red; font-size: 15px;">
  30. <center>
  31. <?php
  32.  
  33. if(isset($_SESSION['msg'])){
  34. echo $_SESSION['msg'];
  35. unset($_SESSION['msg']);
  36. }
  37. ?>
  38. </center>
  39. </div>
  40. </div>
  41. </div>
  42. <?php include('script.php'); ?>
  43. </body>
  44. </html>
  45.  
  46. .container {
  47. padding-right: 15px;
  48. padding-left: 35px;
  49. margin-right: auto;
  50. margin-left: auto;
  51. }
  52. @media (min-width: 768px) {
  53. .container {
  54. width: 750px;
  55. }
  56. }
  57. @media (min-width: 992px) {
  58. .container {
  59. width: 970px;
  60. }
  61. }
  62. @media (min-width: 1200px) {
  63. .container {
  64. width: 1170px;
  65. }
  66. }
  67. .container-fluid {
  68. padding-right: 15px;
  69. padding-left: 15px;
  70. margin-right: auto;
  71. margin-left: auto;
  72. }
Add Comment
Please, Sign In to add comment