Guest User

Untitled

a guest
Jun 12th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.15 KB | None | 0 0
  1.         echo'
  2.         <form action="?page=edituser&id='.$id.'" method="POST">
  3.             <p>Username:</p>
  4.             <input size="30" style="border-color: #'.$ubg.'" type="text" class="textfield" name="username" value="';
  5.            
  6.             if (!isset($_POST['submitted']))
  7.             {
  8.                 echo $username.'">';
  9.             }
  10.             else
  11.             {
  12.                 echo $_POST['username'].'">';
  13.             }
  14.             echo'
  15.             <p>Email Address:</p>
  16.             <input size="30" style="border-color: #'.$ebg.'" type="text" class="textfield" name="email" value="';
  17.            
  18.             if (!isset($_POST['submitted']))
  19.             {
  20.                 echo $email.'">';
  21.             }
  22.             else
  23.             {
  24.                 echo $_POST['email'].'">';
  25.             }
  26.            
  27.             echo'
  28.             <br><br>
  29.             <p>Leave blank to keep current password or enter a new password.</p>
  30.             <br>
  31.             <p>Password:</p>
  32.             <input size="30" style="border-color: #'.$pbg.'" type="password" class="textfield" name="password">
  33.             <p>Confirm Password:</p>
  34.             <input size="30" style="border-color: #'.$pbg.'" type="password" class="textfield" name="passwordc">
  35.             <br>
  36.             <input type="submit" class="buttonform" value="Submit">
  37.             <input type="reset" class="buttonform" value="Clear">
  38.             <input type="hidden" name="submitted" value="TRUE">
  39.         </form>
  40.         ';
Add Comment
Please, Sign In to add comment