<?php
ini_set("memory_limit","-1");// to set memory limit for report
	error_reporting(~E_ALL);
	session_start();
	putenv("TZ=Asia/Calcutta");
	
	$compulsory = "<span style='color:#FF0000'>*</span>";
	$pagesizeary = array("50", "100", "150", "250");
	$bullet = "<font size='5'>&raquo;</font>";
	$bullet=htmlentities($bullet);
	$self = $_SERVER['PHP_SELF'];
	$ary  = explode("/", $self);
	$this_page = $ary[count($ary)-1];
	ini_set("session.gc_maxlifetime", 60*10);
	// if (isset($_SESSION['created'])) {
	// 	// Compare current time with session creation time
	// 	if (time() - $_SESSION['created'] > ini_get('session.gc_maxlifetime')) {
	// 		// If the session has expired, destroy the session and redirect
	// 		session_unset(); // Unset $_SESSION variables
	// 		session_destroy(); // Destroy session data
	// 		header("Location: index.php");
	// 		exit();
	// 	}
	// } else {
	// 	// If session is not set, set the creation time
	// 	$_SESSION['created'] = time();
	// }

	date_default_timezone_set("Asia/Kolkata");

	$NewsImagePath = "../news/";
	
	require_once "inc/connection.php";
	
	require_once "inc/cls_date.php"; 
	require_once "inc/adodb-time.inc.php"; 
	require_once "inc/commonfunctions.php"; 
	require_once "inc/cls_siteconfigmaster.php"; 
	require_once "inc/siteconfig.php";
	require_once "inc/cls_resizeimage.php"; 
	require_once "inc/cls_user.php";
	require_once "inc/cls_useraccess.php";
	require_once "inc/cls_menu.php";
	require_once "inc/cls_page.php";
	require_once "inc/cls_subpage.php";
	require_once "inc/cls_branch.php";
	require_once "inc/cls_semester.php";
	require_once "inc/cls_subject.php";
	require_once "inc/cls_exam.php";
	require_once "inc/cls_examsetup.php";
	require_once "inc/cls_atktsetup.php";
	require_once "inc/cls_examschedule.php";
	require_once "inc/cls_feeshead.php";
	require_once "inc/cls_feessetup.php";
	require_once "inc/cls_student.php";
	
	require_once "inc/cls_studentdetail.php";
	
	require_once "inc/cls_feesrecmaster.php";
	require_once "inc/cls_feesrecdetail.php";
	require_once "inc/cls_studentpresent.php";
	require_once "inc/cls_report.php"; 
	require_once "inc/cls_transactionmaster.php"; 
	require_once "inc/cls_transactiondetail.php";
	require_once "inc/cls_xml2array.php";
	require_once "inc/cls_Print.php";
	require_once "inc/cls_contact.php";
	require_once "inc/cls_college.php";
	require_once "inc/cls_result.php";
	require_once "inc/cls_lec.php";
	require_once "inc/cls_batchmaster.php";
	require_once "inc/cls_branchsemester.php";
	require_once "inc/cls_year.php";
	require_once "inc/cls_gtufeeshead.php";
	require_once "inc/cls_gtufeesrec.php";
	require_once "inc/cls_route.php";
	// for feedback===============
	require_once "inc/cls_feedback_que_master.php";
	require_once "inc/cls_feedback_result.php";
	require_once "inc/cls_assign_subject.php";
	require_once "inc/cls_upload.php";
	require_once "inc/cls_upload_files.php";
	require_once "inc/cls_semester_setup.php";
	require_once "inc/cls_ttstandard.php";	
	require_once "inc/cls_employee.php";
	require_once "inc/cls_subject_allocation.php";
	require_once "inc/cls_circularmaster.php";
	require_once "inc/cls_allowances.php";
	require_once "inc/cls_subject_allocation.php";
	require_once "inc/cls_payscale.php";
	require_once "inc/cls_employeesalary.php";		
	require_once "inc/cls_designation.php";
	require_once "inc/cls_scholarship.php";
	//mansi
	require_once "inc/cls_studentscholarship.php";
	require_once "inc/cls_document.php";
	require_once "inc/cls_studentdocument.php";
	require_once "inc/cls_combo.php";
	require_once "inc/cls_mlhpcertificate.php";
	require_once "inc/cls_conductcertificate.php";
	require_once "inc/cls_cumrelivingcertificate.php";
	require_once "inc/cls_relievingorder.php";
	require_once "inc/cls_moicertificate.php";
	require_once "inc/cls_midwifery.php";
	require_once "inc/cls_attemptcertificate.php";
	require_once "inc/cls_transport.php";
?>
