Exemple #1
0
include_once "include_functions.php";
if (!$_SESSION["uname"]) {
    header('Location: logout.php');
    exit;
}
$CUSTOM_STYLES = "";
include_once "include_functions.php";
include_once "include_header.php";
include_once "include_header_links.php";
if (!$AM_I_ADMIN) {
    echo 'You are not authorised to access this page.';
    include_once "include_footer.php";
    exit;
}
$existingName = getAppVariable('comp_Name');
$existingLogo = getAppVariable('comp_Logo');
?>
<script>

	$(document).ready(function() {

	});


	var localajaxinit = function(){
		My_JsLibrary.selectMainTab('<?php 
echo getCurrentScriptFileName();
?>
');
	};
Exemple #2
0
 public function updateDiskSpace($size)
 {
     $existing = getAppVariable('disk_Space');
     $new_size = (int) $existing + $size;
     return setAppVariable('disk_Space', $new_size);
 }