# published by the Free Software Foundation, version 2 of the License. # See license.txt. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # #*************************************************************************************** //error_reporting(1); include "functions/ParamLib.php"; include 'Redirect_root.php'; $url = validateQueryString(curPageURL()); if ($url === FALSE) { header('Location: index.php'); } error_reporting(E_ERROR); $start_time = time(); include 'Warehouse.php'; array_rwalk($_REQUEST, 'strip_tags'); if (!isset($_REQUEST['_openSIS_PDF'])) { Warehouse('header'); //if(strpos($_REQUEST['modname'],'misc/')===false && $_REQUEST['modname']!='Students/Student.php' && $_REQUEST['modname']!='School_Setup/Calendar.php' && $_REQUEST['modname']!='Scheduling/Schedule.php' && $_REQUEST['modname']!='Attendance/Percent.php' && $_REQUEST['modname']!='Attendance/Percent.php?list_by_day=true' && $_REQUEST['modname']!='Scheduling/MassRequests.php' && $_REQUEST['modname']!='Scheduling/MassSchedule.php' && $_REQUEST['modname']!='Student_Billing/Fees.php') //if(strpos($_REQUEST['modname'],'misc/')===false) if (strpos(optional_param('modname', '', PARAM_NOTAGS), 'misc/') === false) { echo '<script language="JavaScript">if(window == top && (!window.opener || window.opener.location.href.substring(0,(window.opener.location.href.indexOf("&")!=-1?window.opener.location.href.indexOf("&"):window.opener.location.href.replace("#","").length))!=window.location.href.substring(0,(window.location.href.indexOf("&")!=-1?window.location.href.indexOf("&"):window.location.href.replace("#","").length)))) window.location.href = "index.php";</script>'; } echo "<BODY onload='doOnload();'>";
# This program is released under the terms of the GNU General Public License as # published by the Free Software Foundation, version 2 of the License. # See license.txt. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # #*************************************************************************************** $var1 = explode("?", $_SERVER['REQUEST_URI']); include "functions/ParamLib.php"; $url = validateQueryString($var1[1]); if ($url === FALSE || !$var1[1]) { header('Location: index.php'); } //echo $_SERVER['REQUEST_URI']; //exit; error_reporting(1); include "./Warehouse.php"; $tmp_REQUEST = $_REQUEST; $_SESSION['Side_PHP_SELF'] = "Side.php"; $old_school = UserSchool(); $old_syear = UserSyear(); $old_period = UserCoursePeriod(); //$btnn = $_REQUEST['btnn']; $btnn = optional_param('btnn', '', PARAM_SPCL); //$nsc = $_REQUEST['nsc'];