// $homeworkSchoolArr = $homeworkObj->getHomeworkSchool($school); $homeworkCount = $homeworkObj->getCurrentHomeworkSchool($school); $homeworkOptions = $homeworkObj->getHomeworkSelectOption($school,$homeworkID); $homeworkDisplay = $homeworkObj->getHomework($homeworkID); $schoolOptions = $schoolObj->getSchoolSelectOption($school); $title=$school; // templates // -------------------------------------------------------------------- $tpl->assign ( 'title', $title ); $tpl->assign ('homeworkOptions',$homeworkOptions); $tpl->assign ('homeworkDisplay',$homeworkDisplay); $tpl->assign ('homeworkID', $homeworkID); $tpl->assign ('homeworkCount',$homeworkCount); $tpl->assign ('school',$school); $tpl->assign ('schoolOptions',$schoolOptions); $tpl->display(SCRIPT_PATH . 'templates/' . $tplMain); // debug // -------------------------------------------------------------------- include_once (SCRIPT_PATH . "libs/debugUtils.php"); // dump($homeworkSchoolArr,'homeworkSchoolArr'); // dump ($homeworkOptions,'homeworkOptions'); // dump($homeworkDisplay,'homeworkDisplay'); // dump($homeworkCount,'homeworkCount'); // dump($schoolOptions,'schoolOptions'); // dump($_SESSION,'SESSION'); // dump ($_POST,'POST'); // dump ($_GET,'GET'); ?>