time core system_set timeshift core user_set timeshift 3600 time time_

1
2
3
4
5
$t = time() + ((core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$time = ($a['time_create'] + $a['time_start']) + ((core::$system_set['timeshift'] + core::$user_set['timeshift']) * 3600);
$reg = date("H:i:s", mktime(0, 0, $time));
$reg_last = date("H:i:s", mktime(0, 0, $time - $t));
$c_user = $a['count_users'] - $a['last'];