<?php include_once $CFG->dirroot . "/lib/classes/" . "application/VideoCategory.Class.php5"; $videocategoryObj = new VideoCategory(); $GeneralObj->getRequestVars(); $section = 'Video Category'; $mode = $_REQUEST['mode']; if ($mode == "Update") { $videocategoryObj->select($iVideoCategoryId); $videocategoryObj->getAllVar(); } else { $mode = "Add"; } if ($file != '') { $link = "index.php?file=" . $file . "&mode=" . $mode . "&listfile=" . $listfile; } $TOP_HEADER = $mode . ' ' . $section; if ($mode == 'Update') { $TOP_HEADER .= ' [' . $vCategoryName . ']'; } ?> <form name="frmadd" method="post" enctype="multipart/form-data" action="index.php?file=m-videocategoryadd_a"> <input type="hidden" id="mode" name="mode" value="<?php echo $mode; ?> "> <input type="hidden" id="SAMPM" name="SAMPM" value="<?php echo $SAMPM; ?> "> <input type="hidden" id="EAMPM" name="EAMPM" value="<?php