diff --git a/inc/class.page.php b/inc/class.page.php --- a/inc/class.page.php +++ b/inc/class.page.php @@ -257,6 +257,11 @@ class page foreach ($this->scripts as $i) echo ' ' . $this->headCode["$i"] . "\n"; + $selectschool_query = '&school=' . $this->school['id']; + /* kludge */ + if (!empty($_REQUEST['s'])) + $selectschool_query .= '&s=' . (int)$_REQUEST['s']; + echo ' ' . PHP_EOL . '
'. PHP_EOL . ''. PHP_EOL . ' '.$this->pagetitle.''. PHP_EOL . ' '. PHP_EOL . '
'. PHP_EOL . 'Choose the school you attend from the list below. If you cannot find your school, you may proceed using - the generic + the generic settings.
let us know. showSemesters(); + $next_page = 'input.php?'; + if (isset($_GET['s'])) + $next_page .= 's=' . (int)$_GET['s'] . '&'; + if (!empty($_GET['school'])) + $next_page .= 'school=' . $_GET['school'] . '&'; + + $inputPage->showSemesters($next_page); $inputPage->foot(); exit; }