Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. <?php
  2. include 'loginserv.php';
  3. include 'conndb.php';
  4. ?>
  5.  
  6. <!doctype html>
  7. <html>
  8. <head>
  9. <meta charset="UTF-8">
  10. <title>Login</title>
  11. <style>
  12. .login{
  13. width:360px;
  14. margin:50px auto;
  15. font:Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
  16. border-radius:10px;
  17. border:2px solid #ccc;
  18. padding:10px 40px 25px;
  19. margin-top:70px;
  20. }
  21. input[type=text], input[type=password]{
  22. width:99%;
  23. padding:10px;
  24. margin-top:8px;
  25. border:1px solid #ccc;
  26. padding-left:5px;
  27. font-size:16px;
  28. font-family:Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
  29. }
  30. input[type=submit]{
  31. width:100%;
  32. background-color:#009;
  33. color:#fff;
  34. border:2px solid #06F;
  35. padding:10px;
  36. font-size:20px;
  37. cursor:pointer;
  38. border-radius:5px;
  39. margin-bottom:15px;
  40. }
  41. </style>
  42. </head>
  43. <body>
  44. <div class="login">
  45. <h1 align="center">Login</h1>
  46. <form action="" method="post" style="text-align:center;">
  47. <input type="text" placeholder="Username" id="user" name="nome" required ><br/><br/>
  48. <input type="password" placeholder="Password" id="pass" name="pass" required><br/><br/>
  49. <input type="submit" value="Login" name="submit">
  50. <!-- Error Message -->
  51. <span><?php echo $error; ?></span>
  52. </body>
  53. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement