GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Admin/Waldo/ |
Upload File : |
<? // Admin/Waldo/waldoLoad.phpinc #d_Var('$sessionInfo',$sessionInfo,'d'); ?> <table class="center"><tr><td> <fieldset><legend>Load Where's Waldo</legend> This will load locations from the start date to the end date entered. Titles are optional. <table> <tr><td colspan="7">Session begin: <?=$sessionInfo['sessionStart']?>, end: <?=$sessionInfo['sessionEnd']?>.</td></tr> <tr><td class="right"><b class="info">First:</b></td><td colspan="6">Set Start and End dates for pre-load.</td></tr> <tr><td></td><td colspan="6"> Start: <input type="text" name="f_startdate" id="id_startdate" value="<?=$startdate?>" style="width:5.25em;"> End: <input type="text" name="f_enddate" id="id_enddate" value="<?=$enddate?>" style="width:5.25em;"> <input type="button" value="Full semester" onClick="SemesterFull();" class="small"> <input type="button" value="Clear" onClick="SemesterClear();" class="small"> </td></tr> <tr><td class="right"><b class="info">Second:</b></td><td colspan="6">Set location for each day in odd weeks.</td></tr> <tr><td></td><td></td> <? if ( !isset($preset) ) $preset = array(); foreach ( $days as $dayNumber => $day ) { ?> <th class="center"><?=$day?></th> <? } $week = 1; if ( !isset($preset[$week]) ) $preset[$week] = array(); ?> </tr> <tr><td></td><td class="right">Odd:</td> <? foreach ( $days as $dayNumber => $day ) { if ( !isset($preset[$week][$dayNumber]) ) $preset[$week][$dayNumber] = array(); if ( !isset($preset[$week][$dayNumber]['location']) ) $preset[$week][$dayNumber]['location'] = ''; if ( !isset($preset[$week][$dayNumber]['note']) ) $preset[$week][$dayNumber]['note'] = ''; ?> <td> Location: <input type="hidden" name="f_location_<?=$week?>_<?=$dayNumber?>_Original" value="<?=$preset[$week][$dayNumber]['location']?>"> <select name="f_location_<?=$week?>_<?=$dayNumber?>" id="id_location_<?=$week?>_<?=$dayNumber?>" onChange="checkLocation(this)"> <option value="">Select location</option> <? foreach ( $options as $value => $text ) { if ( $preset[$week][$dayNumber]['location'] == $value ) { $selected = ' selected'; } else { $selected = ''; } ?> <option value="<?=$value?>"<?=$selected?>><?=$text?></option> <? } ?> </select><br> Title: <input name="f_note_<?=$week?>_<?=$dayNumber?>" type="text" value="<?=$preset[$week][$dayNumber]['note']?>"> </td> <? } ?> </tr> <? $week = 2; if ( !isset($preset[$week]) ) $preset[$week] = array(); ?> <tr><td class="right"><b class="info">Third:</b></td><td colspan="6">Set location for each day in even weeks.<input type="button" value="Copy from odd weeks" onClick="CopyFromOdd();" class="small"></td></tr> <tr><td></td><td class="right">Even:</td> <? foreach ( $days as $dayNumber => $day ) { if ( !isset($preset[$week][$dayNumber]) ) $preset[$week][$dayNumber] = array(); if ( !isset($preset[$week][$dayNumber]['location']) ) $preset[$week][$dayNumber]['location'] = ''; if ( !isset($preset[$week][$dayNumber]['note']) ) $preset[$week][$dayNumber]['note'] = ''; ?> <td> Location: <input type="hidden" name="f_location_<?=$week?>_<?=$dayNumber?>_Original" value="<?=$preset[$week][$dayNumber]['location']?>"> <select name="f_location_<?=$week?>_<?=$dayNumber?>" id="id_location_<?=$week?>_<?=$dayNumber?>" onChange="checkLocation(this)"> <option value="">Optional location</option> <? foreach ( $options as $value => $text ) { if ( $preset[$week][$dayNumber]['location'] == $value ) { $selected = ' selected'; } else { $selected = ''; } ?> <option value="<?=$value?>"<?=$selected?>><?=$text?></option> <? } ?> </select><br> Title: <input name="f_note_<?=$week?>_<?=$dayNumber?>" type="text" value="<?=$preset[$week][$dayNumber]['note']?>"> </td> <? } ?> </tr> <tr><td class="right"><b class="info">Fourth:</b></td><td colspan="6"><input type="submit" name="f_task" value="Load Where's Waldo"></td></tr> </table> </fieldset> </td></tr></table> <? ?>