Beispiel #1
0
<?php 
if (!isset($_SESSION)) {
    session_start();
}
$activeMenu = "home";
include_once $_SERVER['DOCUMENT_ROOT'] . "/eventconfig.php";
include_once SERVERFOLDER . "/customer/services.php";
$customerService = new customerservice($dbconnection->dbconnector);
if (isset($_SESSION['CUSTOMERID'])) {
    $CustomerId = $_SESSION['CUSTOMERID'];
    $LocationId = isset($_SESSION['LOCATION']) ? $_SESSION['LOCATION'] : 0;
    $customerData = $customerService->GetCustomerById($CustomerId);
}
/*$communityNames=$customerService->GetAllCommunityNames();

$hallCatalogs=$customerService->GetCatalogValuesByMasterName('HallType');
$locationCatalogs=$customerService->GetCatalogValuesByMasterName('City');*/
include "static/title.php";
?>

<body>	
	<?php 
include "static/header.php";
include "static/home.php";
include "static/footer.php";
?>
	
</body>
</html>
Beispiel #2
0
<?php

if (session_status() != PHP_SESSION_ACTIVE) {
    session_start();
}
$activeMenu = "events";
include_once $_SERVER['DOCUMENT_ROOT'] . "/eventconfig.php";
include_once SERVERFOLDER . "/customer/services.php";
$customerService = new customerservice($dbconnection->dbconnector);
$customerService->GetAllQueryStrings();
if (isset($_SESSION['CUSTOMERID'])) {
    $customerService->searchObj->customerId = $_SESSION['CUSTOMERID'];
    $customerData = $customerService->GetCustomerById($customerService->searchObj->customerId);
    if (!isset($_SESSION['LOCATION'])) {
        $_SESSION['LOCATION'] = $customerData['city'];
    }
}
empty($customerService->searchObj->locationId) ? $customerService->searchObj->locationId = isset($_SESSION['LOCATION']) ? $_SESSION['LOCATION'] : null : '';
$Services = $customerService->GetAllServicesByEventId($customerService->searchObj->eventId);
$Rituals = $customerService->GetAllRitualsByEventId($customerService->searchObj->eventId);
$Citys = $customerService->GetAllCatalogValuesByMasterNames('City');
$ServiceCategory = $customerService->GetCatalogValuesByMasterName('Service Category');
include "static/title.php";
?>
<body class="app-body">
	<?php 
include "static/itemheader.php";
include "events/showcase.php";
include "static/footer.php";
?>
	<script src="plugins/jQuery/jQuery.validate.min.js"></script>