Migration SVN

This commit is contained in:
2016-02-21 14:28:40 +01:00
commit df45f10305
1455 changed files with 20440 additions and 0 deletions

30
web/history.php Executable file
View File

@@ -0,0 +1,30 @@
<?php
require_once('../system/configuration.php');
require(PATH_SYSTEM.'core.php');
try
{
$_SESSION['user']->userCheckAccess(LEVEL_CUSTOMER);
//$_SESSION['template']->loadCSS(array('history.css'));
//$_SESSION['template']->loadJS(array('history.js'));
$history = new history();
// add history action (TEST)
//$history->add("history_action_password", $_SESSION['user']->information_user->userid);
// Get history pages count
$pages_count = $history->userCountTotalPages();
$_SESSION['template']->getWords(array('pages_count' => $pages_count));
// Template
$_SESSION['template']->loadTemplate('_contentbegin');
$_SESSION['template']->loadTemplate('history');
$_SESSION['template']->loadTemplate('_contentend');
$_SESSION['template']->getWords(array('sql' => $_SESSION['database']->executed_req));
$_SESSION['template']->parseTemplate();
} catch (myException $error) {
$error->displayErrorMessage();
}
?>