                                                                                                                                                        <?php
//-->-->-->-->-->-->-->-->-->-->-->-->-->-->
  include "/home/waggacwc/public_html/refurb/RETRO-GLOBALS.php";
  //test
  include "$LIBRARYPATH/RETROVOX-CONSTANT-VARIABLES.php";
  include "$LIBRARYPATH/fnRetrovoxStartHtml.php";
  include "$LIBRARYPATH/fnStartHtml.php";
  include "$LIBRARYPATH/fnSwitchFileSelect.php";
  include "$LIBRARYPATH/fnDebugArray.php";
  include "$LIBRARYPATH/fnDirectoryListing.php";

  $sPasswordFilePath = "/home/waggacwc/public_html/refurb/manage";
  $sUserName = $_REQUEST['user'];
  $sUserName = trim($sUserName);
  $sUserNameEncoded = htmlspecialchars($sUserName);
  $sUserNameUrlEncoded = htmlspecialchars(urlencode($sUserName));


  $debug = "";
  if ($debug == "true")
  {
    echo "
      <pre>
      </pre>";
    //exit;
  } //--if


  
//--<--<--<--<--<--<--<--<--<--<--<--<--<--<
?>

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2//EN'>
<html>
 <META HTTP-EQUIV='Content-Type' CONTENT='text/html; CHARSET='iso-8859-1'>
 <META HTTP-EQUIV='Keywords'
          CONTENT='<?=ORGANISATIONNAME?>, edit, file'>
 <META HTTP-EQUIV='Description'
          CONTENT='manage account form for <?=ORGANISATIONNAME?>'>
        <LINK REV='made' HREF='mailto:matth3wbishop@yahoo.com'>

<head><title>Manage Account Form for <?=$ORGANISATIONNAME?></title>
<style>
  TEXTAREA
  {
    background: black;
    font-size: <?=$iEditorFontSize?>pt;
    color: white;
    font-weight: normal;
  }
</style>
</head>
   <body bgcolor='lightgreen'>
<center><h3>Manage Account Form</h3></center>
    
    <form action = 'manage-account.php' 
          method = 'post'>
    Using password file: 
    <em><?= htmlspecialchars($sPasswordFilePath) ?></em>
    <strong>Copy a file </strong><br>
    <input type = "text"  name = "user-name"  size = "70" 
          value = "<?=$sUserNameEncoded?>"><br>
    <strong>Enter a new password for this user</strong><br>
    <input type = "password"  name = "new-password"  size = "70" 
          value = ""><br>
    <strong>Retype this new password</strong><br>
    <input type = "password"  name = "new-password-confirm" 
           size = "70" 
          value = ""><br>

    <br>
    <br>
    <input   type = 'submit'  value = 's a v e   f i l e'>
    <input   type = 'hidden'  name = 'passwordFile'
            value = '<?=htmlspecialchars($sPasswordFilePath)?>'>
    </form>

</body>
</html>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    


                                                                                                                                                                                                                                                                                                                                                                        
        
                                                                                                        
                                                                        