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

25
web/myhostings.php Executable file
View File

@@ -0,0 +1,25 @@
<?php
require_once('../system/configuration.php');
require(PATH_SYSTEM.'core.php');
try
{
$_SESSION['user']->userCheckAccess(LEVEL_CUSTOMER);
$_SESSION['template']->loadCSS(array('myhostings.css'));
$_SESSION['template']->loadJS(array('myhostings.js'));
// Get total hostings pages for pagination links
$pages_count = $_SESSION['hosting']->userCountTotalPages();
$_SESSION['template']->getWords(array('pages_count' => $pages_count));
// Template
$_SESSION['template']->loadTemplate('_contentbegin');
$_SESSION['template']->loadTemplate('myhostings');
$_SESSION['template']->loadTemplate('_contentend');
$_SESSION['template']->getWords(array('sql' => $_SESSION['database']->executed_req));
$_SESSION['template']->parseTemplate();
} catch (myException $error) {
$error->displayErrorMessage();
}
?>