예제 #1
0
" /><br />
                E-mail Address: <input name="email" type="text" maxlength="200" size="20" disabled="disabled" value="<?php 
echo $email;
?>
" /><br />
                Username: <input name="username" type="text" maxlength="20" size="20" disabled="disabled" value="<?php 
echo $username;
?>
" /><br />
                Last Login: <input name="last_login" type="text" maxlength="20" size="20" disabled="disabled" value="<?php 
echo $last_login;
?>
" /><br />
                <h6><u>Team(s)</u></h6>
                <?php 
create_multiple_dropdown("team", $teams);
?>
                <h6><u>User Responsibilities</u></h6>
                <ul>
                  <li><input name="submit_risks" type="checkbox"<?php 
if ($submit_risks) {
    echo " checked";
}
?>
 />&nbsp;Able to Submit New Risks</li>
                  <li><input name="modify_risks" type="checkbox"<?php 
if ($modify_risks) {
    echo " checked";
}
?>
 />&nbsp;Able to Modify Existing Risks</li>
        </div>
        <div class="span9">
          <div class="row-fluid">
            <div class="span12">
              <div class="hero-unit">
                <form name="add_user" method="post" action="">
                <p>
                <h4>Add a New User:</h4>
                Full Name: <input name="name" type="text" maxlength="50" size="20" /><br />
                E-mail Address: <input name="email" type="text" maxlength="200" size="20" /><br />
                Username: <input name="new_user" type="text" maxlength="20" size="20" /><br />
                Password: <input name="password" type="password" maxlength="50" size="20" /><br />
                Repeat Password: <input name="repeat_password" type="password" maxlength="50" size="20" /><br />
                <h6><u>Team(s)</u></h6>
                <?php 
create_multiple_dropdown("team");
?>
                <h6><u>User Responsibilities</u></h6>
                <ul>
                  <li><input name="submit_risks" type="checkbox" />&nbsp;Able to Submit New Risks</li>
                  <li><input name="modify_risks" type="checkbox" />&nbsp;Able to Modify Existing Risks</li>
                  <li><input name="plan_mitigations" type="checkbox" />&nbsp;Able to Plan Mitigations</li>
                  <li><input name="review_low" type="checkbox" />&nbsp;Able to Review Low Risks</li>
                  <li><input name="review_medium" type="checkbox" />&nbsp;Able to Review Medium Risks</li>
                  <li><input name="review_high" type="checkbox" />&nbsp;Able to Review High Risks</li>
                  <li><input name="admin" type="checkbox" />&nbsp;Allow Access to &quot;Configure&quot; Menu</li>
                </ul>
                <input type="submit" value="Add" name="add_user" /><br />
                </p>
                </form>
              </div>