Exemplo n.º 1
0
    ?>
  <br>
  <label for="password">Password:</label>
  <input type="password" name="password" size="4" value="<?php 
    echo isset($_POST['password']) ? $_POST['password'] : "";
    ?>
">
  (min. 4 chars.) <br>
  <label for="email">E-mail:</label>
  <input type="text" name="email" size="25" value="<?php 
    echo isset($_POST['email']) ? $_POST['email'] : $admin_update->old_user_email;
    ?>
">
  <br>
  <?php 
    echo $admin_update->activation_switch();
    ?>
<br>
  <label for="send_confirmation">Confirmation mail?</label>
  <input name="send_confirmation" type="checkbox" value="yes"><br>
  <input type="hidden" name="user_id" value="<?php 
    echo isset($_POST['user_id']) ? $_POST['user_id'] : $admin_update->user_id;
    ?>
">
  <input type="hidden" name="login_name" value="<?php 
    echo $admin_update->user_name;
    ?>
">
  <input type="submit" name="Submit" value="Update">
  <p style="margin-top:50px;"><a href="<?php 
    echo $_SERVER['PHP_SELF'];