echo "\t<li><input type=\"checkbox\" name=\"ids[]\" value=\"" . $result["proxy_id"] . "\" /> <a href=\"" . ENTRADA_URL . "/clerkship?section=view&ids=" . $result["proxy_id"] . "\" style=\"font-weight: bold\">" . $result["fullname"] . "</a> <span class=\"content-small\">(Class of " . $result["gradyear"] . ")</span></li>\n"; } echo "\t\t</ol>\n"; echo "\t</td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "\t<td colspan=\"3\" style=\"border-top: 1px #333333 dotted; padding-top: 5px\">\n"; echo "\t\t<input type=\"checkbox\" name=\"selectall\" value=\"1\" onClick=\"selection(this.form['ids[]'])\" /> "; echo "\t\t<input type=\"submit\" value=\"Add Mass Event\" class=\"btn btn-primary\" />\n"; echo "\t</td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</form>\n"; } else { $ERROR++; $ERRORSTR[] = "Unable to find any students in the database matching <b>" . checkslashes(trim($query_name), "display") . "</b>. It's possible that the student you're looking for is not yet added to this system, so please check the User Management module."; echo "<br />"; echo display_error($ERRORSTR); } } else { $ERROR++; $ERRORSTR[] = "You must search either by graduating year or by students name at this time, please try again."; echo "<br />"; echo display_error($ERRORSTR); } break; default: ?> <div class="content-heading">Student Search</div> <br />
<td style="vertical-align: top"><div id="selectCategoryField"></div></td> </tr> <tr> <td colspan="3"> </td> </tr> <?php $event_start = $PROCESSED["event_start"]; $event_finish = $PROCESSED["event_finish"]; echo generate_calendars("event", "", true, true, isset($event_start) ? $event_start : time(), true, true, isset($event_finish) ? $event_finish : 0); ?> <tr> <td colspan="3" style="vertical-align: top"><label for="event_desc" class="form-nrequired">Private notes on this student:</label></td> </tr> <tr> <td colspan="3"><textarea id="event_desc" name="event_desc" style="width: 82%; height: 75px"><?php echo trim(checkslashes($PROCESSED["event_desc"], "display")); ?> </textarea></td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td colspan="2"><label for="event_status" class="form-required">Save State:</label></td> <td> <select id="event_status" name="event_status" style="width: 150px"> <?php foreach ($CLERKSHIP_FIELD_STATUS as $key => $status) { echo $status["visible"] ? "<option value=\"" . $key . "\"" . ($PROCESSED["event_status"] == $key ? " SELECTED" : "") . ">" . $status["name"] . "</option>\n" : ""; } ?>