The Fun Science Day Camp for Curious Kids 5-11!
New LIT Application
// Date in the past
// header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// Always modified
// header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// HTTP/1.1
// header("Cache-Control: no-store, no-cache, must-revalidate");
// header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
// header("Pragma: no-cache");
//header("Cache-Control: no-cache, must-revalidate");
##############################################
# Include Required Common File Here
##############################################
include_once getcwd().'/wp-content/plugins/managecamps/system/config/configure.php'; // include configuration file here
// include_once getcwd().'/system/config/configure.php'; // include configuration file here
include_once CLASS_PATH.'dbclass.php'; // database class include here
require_once CLASS_PATH.'admin_global.cls.php'; // global class include here
##############################################
# Declare The Class Object Here
##############################################
$dbObj = new dbclass(); // db object set here
$globalObj = new admin_global(); // global object set here
$usertypearray = array("S" => "Super Administrator","A" => "Account Administrator", "D" => "Device Administrator");
$statusarray = array("I" => "Inactive","A" => "Active");
$schdttablearray = array('t'=>'tmpschdetails','e'=>'eds_schdetails');
$tmddttablearray = array('t'=>'tmptemplatedetails','e'=>'eds_templatedetails');
$imageextarray = array("jpg","bmp","jpeg");
$textextarray = array("txt");
$movieextarray = array("mp4","mpeg4");
$TEXT['LOGIN_FAILED'] = 'Invalid Login Details';
$TEXT['LOGOUT'] = 'Logout Successfully';
$TEXT['SESSION_EXPIRED'] = 'Session Exprired';
///$SITENAME = $globalObj->getSystemSettingValue("SITE_NAME"); // site name
$FFSP = "/opt/htdocs/datavault/repo"; // DataVault File Path
///$COPY_RIGHT = $globalObj->getSystemSettingValue("COPY_RIGHT"); // copy right
///$SITE_FOOTER = $globalObj->getSystemSettingValue("SITE_FOOTER"); // site footer
///$RECORD_LIMIT = $globalObj->getSystemSettingValue("ADMIN_REC_LIMIT"); // Record Limit
///$PAGE_LIMIT = $globalObj->getSystemSettingValue("ADMIN_PAGE_LIMIT"); // Page Limit
///$FROM_EMAIL = $globalObj->getSystemSettingValue("FROM_EMAIL"); // From Email Address
///$FROM_NAME = $globalObj->getSystemSettingValue("FROM_NAME"); // From Name
// Custom Function iif()
function iif($condition,$istrue,$isfalse) {
if ($condition) {
return $istrue;
} else {
return $isfalse;
}
}
// End of Custom Function iif()
?>