CHips L MINI SHELL

CHips L pro

Current Path : /opt/cpanel/ea-php70/root/usr/share/pear/RVSeagullMod/etc/
Upload File :
Current File : //opt/cpanel/ea-php70/root/usr/share/pear/RVSeagullMod/etc/get_seagull_blocks.php

<?php
/**
 * Returns systime in ms.
 *
 * @return string   Execution time in milliseconds
 */
function getSystemTime()
{
    $time = gettimeofday();
    $resultTime = $time['sec'] * 1000;
    $resultTime += floor($time['usec'] / 1000);
    return $resultTime;
}
//  start timer
define('SGL_START_TIME', getSystemTime());
$rootDir = dirname(__FILE__) . '/..';
$varDir = dirname(__FILE__) . '/../var';
if (is_file($rootDir .'/lib/SGL/FrontController.php')) {
    require_once $rootDir .'/lib/SGL/FrontController.php';
}
SGL_FrontController::init();

//  main
$output = new SGL_Output();
$blockLoader = & new SGL_BlockLoader(0);
$aBlocks = $blockLoader->render($output);
foreach ($aBlocks as $key => $value) {
    $blocksName = 'blocks'.$key;
    $output->$blocksName = $value;
}

$tmpl = & new SGL_HtmlSimpleView($output);
$html = $tmpl->render();
print $html;
/*
require 'SGL/Output.php';
require 'PEAR/Config.php';
require 'Zend/Config.php';
$api = $SGL_Api();
$aBlocks = $api->getBlocks(12);
$ok = $api->doLogin($user, $pass);
*/

require 'boostrap.php';
?>

Copyright 2K16 - 2K18 Indonesian Hacker Rulez