Viewing file: processCourseTable.php (1.1 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
include_once "../global1.php";
include_once "../../class/clsConnection.php";
include_once "../../class/clsDB.php";
include_once "../class/clsHoldCourse.php";
include_once "../class/clsHoldCourseTmp.php";
$oCA = new clsConnection($GLOBALS['HOST'], $GLOBALS['DB_EASS'], $GLOBALS['USER_EASS'], $GLOBALS['PASSWORD_EASS']);
$oHCT = new HoldCourseTmp($oCA);
if($method=="add"){
$oHCT->DeleteByClassId($classId);
for($i=0; $i<$cnt; $i++){
if($ttId[$i]) {
$oHCT->AddNew();
$oHCT->holdid=$holdid;
$oHCT->classId=$classId;
$oHCT->ttId=$ttId[$i];
$oHCT->Save();
}
}
?>
<script language="javascript1.2">
window.opener.location.href="./courseInProgramTable.php?assid=<?=$assid;?>&acadYear=<?=$acadYear;?>&semester=<?=$semester;?>&startDate=<?=$startDate;?>&endDate=<?=$endDate;?>&closeDate=<?=$closeDate;?>&selectFlag=<?=$selectFlag;?>&defineid=<?=$defineid;?>&noAss=<?=$noAss;?>&classId=<?=$classId;?>,'PopUp','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=540,height=650,left = 240,top = 10'";
window.close();
</script>
<? } //end if method ?>
|