. */ ini_set('session.gc_maxlifetime', 24*60*60); // MIN SESSION ini_set('session.gc_probability', 1); // GC RATES ini_set('session.gc_divisor', 100); // TIMES session_save_path('.tmp'); // TEMP session_start(); // START require_once __DIR__ . '/autoload.php'; // AUTOLOAD $StaticFunctions = new \App\LobbySIO\Misc\StaticFunctions(); // CLASSES $VisitInfo = new \App\LobbySIO\Database\VisitInfo(); $VisitActions = new \App\LobbySIO\Database\VisitActions(); if(!isset($_COOKIE['app_disp_lang'])) { $app_disp_lang = $StaticFunctions->getDefaultLanguage(); } else { $app_disp_lang = $_COOKIE['app_disp_lang']; }; $Translate = new \App\LobbySIO\Language\Translate($app_disp_lang); $transLang = $Translate->userLanguage(); // SETUP TRANSLATOR $app_current_pagename = $transLang['SIGNOUT']; // PAGE FUNCTION $app_current_pageicon = ' ';// PAGE ICON require_once("inc/header.inc.php"); // SHOW HEADER if ($StaticFunctions->getSessionStatus() == true) { // CHECK STATUS header('Location: index.php'); // ELSE HOME } else { ?> endVisit($_POST['endvisit'], $StaticFunctions->getUTC()); ?>

getPageRows(); $row_count = count($VisitInfo->getVisitInfo($siteid, $approval, "empty", "%", "%", "%", "%", "%", "%")); $page_count = 0; if (0 === $row_count): else: $page_count = (int)ceil($row_count / $StaticFunctions->getPageRows()); if($page_num > $page_count): $page_num = 1; endif; endif; ?>

  • '.$transLang['PAGE'].'
  • '; for ($i = 1; $i <= $page_count; $i++): echo '
  • ' . $i . '
  • '; endfor; echo ''; ?> getVisitInfo($siteid, $approval, "empty", "%", "%", "%", "%", $StaticFunctions->getPageRows(), $offset) as $row): $timein = new DateTime($row['visits_intime'], new DateTimeZone('UTC')); $timein->setTimezone(new DateTimeZone("$timezone")); $timein_disp = $timein->format('Y-m-d H:i:s'); ?>

    '; } ?>