Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. .error form input[type="text"]{
  2. box-shadow: 0 0 1em red;
  3. -webkit-box-shadow: 0 0 1em red;
  4. -o-box-shadow: 0 0 1em red;
  5. -moz-box-shadow: 0 0 1em red;
  6. }
  7.  
  8. .error3 input[type="password"]{
  9. box-shadow: 0 0 1em red;
  10. -webkit-box-shadow: 0 0 1em red;
  11. -o-box-shadow: 0 0 1em red;
  12. -moz-box-shadow: 0 0 1em red;
  13. }
  14.  
  15. $errors = array();
  16. if (empty($Username)) { array_push($errors, "Username is required"); }
  17.  
  18.  
  19. if ($Password_1 != $Password_2) {
  20. array_push($errors, "<div class='error3'>Password isn't the same.</div>");
  21. }
  22.  
  23. <?php include('includes/errors.php'); ?>
  24. <div class="form-group">
  25.  
  26. <label for="Password_2">Verify password</label>
  27. <div class="input-icon">
  28. <i class="mdi mdi-lock"></i>
  29. <span class="passtoggle mdi mdi-eye toggle-password"></span>
  30. <input type="password" class="form-control" id="password" name="Password_2"
  31. placeholder="Verify password" required>
  32. </div>
  33. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement