Guest User

Untitled

a guest
Dec 8th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. <div class="span10 offset1">
  2. <div class="row">
  3. <h3>Create Admin Account</h3>
  4. </div>
  5.  
  6. <form class="form-horizontal" action="create.php" method="post">
  7. <div class="control-group <?php echo !empty($idError)?'error':'';?>">
  8. <label class="control-label">Name</label>
  9. <div class="controls">
  10. <input name="id" type="text" placeholder="id" value="<?php echo !empty($id)?$id:'';?>">
  11. <?php if (!empty($idError)): ?>
  12. <span class="help-inline"><?php echo $idError;?></span>
  13. <?php endif; ?>
  14. </div>
  15. </div>
  16. <div class="control-group <?php echo !empty($userError)?'error':'';?>">
  17. <label class="control-label">user</label>
  18. <div class="controls">
  19. <input name="user" type="text" placeholder="user" value="<?php echo !empty($user)?$user:'';?>">
  20. <?php if (!empty($userError)): ?>
  21. <span class="help-inline"><?php echo $userError;?></span>
  22. <?php endif;?>
  23. </div>
  24. </div>
  25. <div class="control-group <?php echo !empty($passError)?'error':'';?>">
  26. <label class="control-label">pass</label>
  27. <div class="controls">
  28. <input name="pass" type="text" placeholder="pass" value="<?php echo !empty($pass)?$pass:'';?>">
  29. <?php if (!empty($passError)): ?>
  30. <span class="help-inline"><?php echo $passError;?></span>
  31. <?php endif;?>
  32. </div>
  33. </div>
  34. <form class="form-horizontal" action="create.php" method="post">
  35. <div class="control-group <?php echo !empty($emailError)?'error':'';?>">
  36. <label class="control-label">email</label>
  37. <div class="controls">
  38. <input name="email" type="text" placeholder="email" value="<?php echo !empty($email)?$email:'';?>">
  39. <?php if (!empty($emailError)): ?>
  40. <span class="help-inline"><?php echo $idError;?></span>
  41. <?php endif; ?>
  42. </div>
  43. </div>
  44. <div class="form-actions">
  45. <button type="submit" class="btn btn-success">Create</button>
  46. <a class="btn" href="index.php">Back</a>
  47. </div>
  48. </form>
  49. </div>
  50.  
  51. </div> <!-- /container -->
Add Comment
Please, Sign In to add comment