print "<td class=form-lbl-r>" . lang_get('root_cause') . "</td>" . NEWLINE;
 print "<td class=left>" . NEWLINE;
 print "<select name='root_cause' size=1>" . NEWLINE;
 $selected_value = $root_cause;
 $root_causes = results_get_root_cause_values();
 html_print_list_box_from_array($root_causes, $selected_value);
 print "</select>" . NEWLINE;
 print "</td>" . NEWLINE;
 print "</tr>" . NEWLINE;
 # E-mail user
 print "<tr>" . NEWLINE;
 print "<td class=form-lbl-r>" . lang_get('email_test_run_status') . "</td>" . NEWLINE;
 print "<td class=left>" . NEWLINE;
 print "<select name='email_users[]' multiple size='5'>" . NEWLINE;
 //$selected_value = user_get_email_by_username($assigned_to);
 $users = user_get_details_all($project_id);
 $email_users = array();
 foreach ($users as $user) {
     $email_users[$user[USER_EMAIL]] = $user[USER_UNAME];
 }
 //$email_users[] = "";
 html_print_list_box_from_key_array($email_users);
 print "</select>" . NEWLINE;
 print "</td>" . NEWLINE;
 print "</tr>";
 util_add_spacer();
 print "<tr><td class=center colspan=2><input type=submit name='save' value='" . lang_get('update') . "'><br/><br/></td>" . NEWLINE;
 print "</table>" . NEWLINE;
 print "</td>" . NEWLINE;
 print "</tr>" . NEWLINE;
 print "</table>" . NEWLINE;
     print "</tr>" . NEWLINE;
     print "</table>" . NEWLINE;
     print "</form>" . NEWLINE;
     print "</td>" . NEWLINE;
     print "</tr>" . NEWLINE;
     print "</table>" . NEWLINE;
     print "<br>" . NEWLINE;
 }
 # ----------------------------------------------------------------------------------
 # User Table
 # ----------------------------------------------------------------------------------
 print "<form action='{$page}?table=project_manage_users#users' method=post>";
 print "<table class=hide100>" . NEWLINE;
 print "<tr>" . NEWLINE;
 print "<td>" . NEWLINE;
 $rows_user_details = user_get_details_all($selected_project_id, $s_users_order_by, $s_users_order_dir, $s_users_page_number);
 print "</td>" . NEWLINE;
 print "</tr>" . NEWLINE;
 print "</table>" . NEWLINE;
 print "</form>";
 if ($rows_user_details) {
     $action_page = "{$page}?table=project_manage_users#users";
     print "<table id='sortabletable' class='sortable' rules=cols>" . NEWLINE;
     print "<thead>" . NEWLINE;
     print "<tr>" . NEWLINE;
     #html_tbl_print_header( lang_get('id'), 			USER_ID,					$s_users_order_by, $s_users_order_dir,	$action_page );
     #html_tbl_print_header( lang_get('username'), 	USER_UNAME,					$s_users_order_by, $s_users_order_dir,	$action_page );
     #html_tbl_print_header( lang_get('first'), 		USER_FNAME,					$s_users_order_by, $s_users_order_dir,	$action_page );
     #html_tbl_print_header( lang_get('last'),	 	USER_LNAME,					$s_users_order_by, $s_users_order_dir,	$action_page );
     #html_tbl_print_header( lang_get('email'), 		USER_EMAIL,					$s_users_order_by, $s_users_order_dir,	$action_page );
     #html_tbl_print_header( lang_get('phone') );