Файл: tickets.php
Строк: 28
<?php
function gettime(){$start_time=explode(' ',microtime());$real_time=$start_time[1].substr($start_time[0],1);return $real_time;} $start_time = gettime();
define('DIR', dirname(__FILE__));
include_once(DIR.'/inc/Base.php');
class Tickets extends Base
{
function _before() {
parent::_before();
}
protected function act_index() {
$this->cur['js'] = $this->view('tickets/js/js_tickets_index.js');
$this->cur['title'] = '';
$this->setVarsMainTempl(array(
'content' => $this->view('tickets/v_tickets_index.php')
));
}
}
try {new Tickets();} catch (Exception $e) {if(DEV) print_r($e->getMessage());}
echo '<div style="width:260px;padding:10px;position:fixed;right:10px;top:0px"><center>ALL TIME FULL LOAD PAGE</center><hr><b>'; $stop_time = gettime();$diff_time = bcsub($stop_time,$start_time,6);echo $diff_time.'</b></div>';