HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //opt/cloudlinux/alt-php54/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';
?>