$GLOBALS["CACHEFILE"] = "/usr/share/artica-postfix/ressources/logs/squid.access.center.progress";
$GLOBALS["LOGSFILES"] = "/usr/share/artica-postfix/ressources/logs/squid.access.center.progress.log";
if (isset($_GET["verbose"])) {
    ini_set('display_errors', 1);
    ini_set('error_reporting', E_ALL);
    ini_set('error_prepend_string', null);
    ini_set('error_append_string', null);
    $GLOBALS["VERBOSE"] = true;
}
include_once 'ressources/class.templates.inc';
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["build-js"])) {
    buildjs();
    exit;
}
if (isset($_POST["Filllogs"])) {
    Filllogs();
    exit;
}
js();
function title()
{
    $tpl = new templates();
    $sock = new sockets();
    return $tpl->_ENGINE_parse_body("{GLOBAL_ACCESS_CENTER}");
}
function suffix()
{
Ejemplo n.º 2
0
$GLOBALS["PROGRESS_FILE"]="/usr/share/artica-postfix/ressources/logs/vmware.install.progress";
$GLOBALS["LOG_FILE"]="/usr/share/artica-postfix/ressources/logs/vmware.install.progress.txt";

if(isset($_GET["verbose"])){
	ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);
	ini_set('error_append_string',null);
	$GLOBALS["VERBOSE"]=true;
}

	include_once('ressources/class.templates.inc');
						
	
	

if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["build-js"])){buildjs();exit;}
if(isset($_POST["Filllogs"])){Filllogs();exit;}
js();


function suffix(){
	return "&CD={$_GET["CD"]}&path=".urlencode($_GET["path"]);
}

function js(){
	header("content-type: application/x-javascript");
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->javascript_parse_text("{INSTALL_VMWARE_TOOLS}");
	$suffix=suffix();
	echo "