2 <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
3 <h3><?php echo _AT('results_found', $this->num_results); ?></h3>
4 <div class="input-form">
5 <div id="results-hide-show-simple-content" class="hide-show-container-surround ">
7 <a id="results-hide-show-link" class="content-expand" href="javascript:void(0);" tabindex="1">Refine Results</a>
10 <div id="results-hide-show" role="search" aria-live="assertive">
11 <div id="results-display">
16 <legend><?php echo _AT('account_status'); ?></legend>
17 <input type="radio" name="status" value="0" id="s0" <?php if ($_GET['status'] == 0) { echo 'checked="checked"'; } ?> /><label for="s0"><?php echo _AT('disabled'); ?></label>
19 <input type="radio" name="status" value="1" id="s1" <?php if ($_GET['status'] == 1) { echo 'checked="checked"'; } ?> /><label for="s1"><?php echo _AT('unconfirmed'); ?></label>
21 <input type="radio" name="status" value="2" id="s2" <?php if ($_GET['status'] == 2) { echo 'checked="checked"'; } ?> /><label for="s2"><?php echo _AT('student'); ?></label>
23 <input type="radio" name="status" value="3" id="s3" <?php if ($_GET['status'] == 3) { echo 'checked="checked"'; } ?> /><label for="s3"><?php echo _AT('instructor'); ?></label>
25 <input type="radio" name="status" value="" id="s" <?php if ($_GET['status'] === '') { echo 'checked="checked"'; } ?> /><label for="s"><?php echo _AT('all'); ?></label>
30 <label for="search"><?php echo _AT('search'); ?> (<?php echo _AT('login_name').', '._AT('first_name').', '._AT('second_name').', '._AT('last_name') .', '._AT('email'); ?>)</label><br />
31 <fieldset><legend><?php echo _AT('search_match'); ?>:</legend>
32 <input type="radio" name="include" value="all" id="match_all" <?php echo $checked_include_all; ?> /><label for="match_all"><?php echo _AT('search_all_words'); ?></label>
33 <input type="radio" name="include" value="one" id="match_one" <?php echo $checked_include_one; ?> /><label for="match_one"><?php echo _AT('search_any_word'); ?></label>
35 <input type="text" name="search" id="search" size="40" value="<?php echo htmlspecialchars($_GET['search']); ?>" />
40 <?php if (defined('AT_MASTER_LIST') && AT_MASTER_LIST): ?>
42 <label for="searchid"><?php echo _AT('search'); ?> (<?php echo _AT('student_id'); ?>)</label><br />
43 <input type="text" name="searchid" id="searchid" size="20" value="<?php echo htmlspecialchars($_GET['searchid']); ?>" />
48 <label for="last_login_have"><?php echo _AT('last_login'); ?></label><br />
49 <select name="last_login_have" id="last_login_have">
50 <option value="-1">- <?php echo _AT('select'); ?> -</option>
51 <option value="1" <?php if($_GET['last_login_have']=='1') { echo 'selected="selected"';}?>><?php echo _AT('have'); ?></option>
52 <option value="0" <?php if(isset($_GET['last_login_have']) && $_GET['last_login_have']=='0') { echo 'selected="selected"';}?>><?php echo _AT('have_not'); ?></option>
55 <label for="last_login_days"><?php echo _AT('logged_in_within'); ?>:</label> <input type="text" id="last_login_days" name="last_login_days" size="3" value="<?php echo htmlspecialchars($_GET['last_login_days']); ?>" /> <?php echo _AT('days'); ?> <br />
59 <div class="row buttons">
60 <input type="submit" name="filter" value="<?php echo _AT('filter'); ?>" />
61 <input type="submit" name="reset_filter" value="<?php echo _AT('reset_filter'); ?>" />
64 </div> <!-- end #results-display -->
65 </div> <!-- end #results-hide-show -->
70 <?php print_paginator($this->page, $this->num_results, $this->page_string . SEP . $this->order .'='. $col, $this->results_per_page); ?>
72 <form name="form" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
73 <input type="hidden" name="status" value="<?php echo $_GET['status']; ?>" />
74 <input type="hidden" name="search" value="<?php echo htmlspecialchars($_GET['search']); ?>" />
75 <input type="hidden" name="include" value="<?php echo htmlspecialchars($_GET['include']); ?>" />
77 <?php if (defined('AT_MASTER_LIST') && AT_MASTER_LIST) { $col_counts = 1; } else { $col_counts = 0; } ?>
78 <div class="table-surround">
79 <table summary="" class="data" >
81 <?php if ($col == 'login'): ?>
84 <col span="<?php echo 5 + $col_counts; ?>" />
85 <?php elseif($col == 'public_field'): ?>
86 <col span="<?php echo 1 + $col_counts; ?>" />
89 <?php elseif($col == 'first_name'): ?>
90 <col span="<?php echo 2 + $col_counts; ?>" />
93 <?php elseif($col == 'second_name'): ?>
94 <col span="<?php echo 3 + $col_counts; ?>" />
97 <?php elseif($col == 'last_name'): ?>
98 <col span="<?php echo 4 + $col_counts; ?>" />
101 <?php elseif($col == 'email'): ?>
102 <col span="<?php echo 5 + $col_counts; ?>" />
105 <?php elseif($col == 'status'): ?>
106 <col span="<?php echo 6 + $col_counts; ?>" />
109 <?php elseif($col == 'last_login'): ?>
110 <col span="<?php echo 7 + $col_counts; ?>" />
112 <?php elseif($col == 'creation_date'): ?>
113 <col span="<?php echo 8 + $col_counts; ?>" />
119 <th scope="col" align="left"><input type="checkbox" value="<?php echo _AT('select_all'); ?>" id="all" title="<?php echo _AT('select_all'); ?>" name="selectall" onclick="CheckAll();" /></th>
121 <th scope="col"><a href="mods/_core/users/users.php?<?php echo $this->orders[$this->order]; ?>=login<?php echo $page_string; ?>"><?php echo _AT('login_name'); ?></a></th>
122 <th scope="col"><a href="mods/_core/users/users.php?<?php echo $this->orders[$this->order]; ?>=last_name<?php echo $page_string; ?>"><?php echo _AT('last_name'); ?></a></th>
123 <th scope="col"><a href="mods/_core/users/users.php?<?php echo $this->orders[$this->order]; ?>=status<?php echo $page_string; ?>"><?php echo _AT('account_status'); ?></a></th>
128 <?php if ($this->num_results > 0): ?>
131 <td colspan="<?php echo 9 + $col_counts; ?>">
132 <input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" />
133 <input type="submit" name="password" value="<?php echo _AT('password'); ?>" />
134 <?php if (admin_authenticate(AT_ADMIN_PRIV_ENROLLMENT, true)): ?>
135 <input type="submit" name="enrollment" value="<?php echo _AT('enrollment'); ?>" />
137 <label for="change_status"><?php echo _AT('more_options'); ?></label>
138 <select name="change_status" id="change_status">
139 <!-- REMOVED FOR MOBILE <option value="-2"><?php echo _AT('more_options'); ?></option> -->
140 <optgroup label="<?php echo _AT('status'); ?>">
141 <option value="<?php echo AT_STATUS_STUDENT; ?>"><?php echo _AT('student'); ?></option>
142 <option value="<?php echo AT_STATUS_INSTRUCTOR; ?>"><?php echo _AT('instructor'); ?></option>
143 <?php if ($_config['email_confirmation']): ?>
144 <option value="<?php echo AT_STATUS_UNCONFIRMED; ?>"><?php echo _AT('unconfirmed'); ?></option>
146 <option value="<?php echo AT_STATUS_DISABLED; ?>"><?php echo _AT('disable'); ?></option>
148 <option value="-2" disabled="disabled">- - - - - - - - -</option>
149 <option value="-1"><?php echo _AT('delete'); ?></option>
151 <input type="submit" name="apply" value="<?php echo _AT('apply'); ?>" />
152 <input type="submit" name="apply_all" value="<?php echo _AT('apply_to_all_results'); ?>" />
157 <?php while($row = mysql_fetch_assoc($this->result)): ?>
158 <tr onmousedown="document.form['m<?php echo $row['member_id']; ?>'].checked = !document.form['m<?php echo $row['member_id']; ?>'].checked; togglerowhighlight(this, 'm<?php echo $row['member_id']; ?>');" id="rm<?php echo $row['member_id']; ?>">
159 <td><input type="checkbox" name="id[]" value="<?php echo $row['member_id']; ?>" id="m<?php echo $row['member_id']; ?>" onmouseup="this.checked=!this.checked" /></td>
160 <td><?php echo $row['login']; ?></td>
162 <?php $startend_date_longs_format=_AT('startend_date_longs_format'); ?>
163 <td><?php echo AT_print($row['last_name'], 'members.last_name'); ?></td>
164 <td><?php echo get_status_name($row['status']); ?></td>
171 <td colspan="<?php echo 9 + $col_counts; ?>"><?php echo _AT('none_found'); ?></td>