http://hulawhoop.com/activity-tracker?page&pagename=activity-tracker




I caught the activity ID it
<?php 
        $current_user_id = get_current_user_id();
        $user_info = get_userdata($current_user_id);
        $users = get_users( array( 'role__in' => array( 'author', 'subscriber' ) ) );
        // echo $user_info->roles[0] ;

         if ($user_info->roles[0] == "administrator"){

           echo "User Is Admin";
         }
         //$usersList = wp_list_users();

?>



<form action="#" method="POST" class="enter-activity">
               <label for="displayName">Display Name</label>
                <br>
               <select id="user" name="userName">
            <?php 
            if ($user_info->roles[0] == "administrator"){
                  foreach ($users as $user) {
                    echo "<option value='$user->id'>$user->display_name</option>";

             }
            }
            else {

                echo "<option value='$user_info->id'>$user_info->display_name</option>";
            }
            ?>
               </select>
<br>
 <label> Activity Name <br>
      <span class="wpcf7-form-control-wrap" data-name="activity-name">
        <select name="activity-name" class="wpcf7-form-control wpcf7-select wpcf7-validates-as-required" aria-required="true" aria-invalid="false">
          <option value="Faculty Development In Medical Education">Faculty Development In Medical Education</option>
          <option value="Opt-In And Biannual Review">Opt-In And Biannual Review</option>
          <option value="Active Medical Education Community Membership">Active Medical Education Community Membership</option>
          <option value="Educational Service And Citizenship">Educational Service And Citizenship</option>
          <option value="Contributions To Instructions In Internal Medicine Undergrad, Grad, or Interprofessional">Contributions To Instructions In Internal Medicine Undergrad, Grad, or Interprofessional</option>
          <option value="Prepare And Present Teaching Topics">Prepare And Present Teaching Topics</option>
          <option value="Attend On General Medicine Consult Service">Attend On General Medicine Consult Service</option>
          <option value="Coaching Capstone Experience">Coaching Capstone Experience</option>
          <option value="Introduction To Med Ed Scholarship">Introduction To Med Ed Scholarship</option>
        </select>
      </span>
    </label><br>
    <label> Date<br>
    <span class="wpcf7-form-control-wrap" data-name="date"><input type="date" name="date" value="" class="wpcf7-form-control wpcf7-date wpcf7-validates-as-date" aria-invalid="false"></span> </label>
	<br>
    <input id="submit" type="submit" name="cagnote-don-envoi" id="submit" class="submit" value="Submit" />
</form>