Beispiel #1
0
    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>
	<script src="plugins/input-mask/jquery.inputmask.js" type="text/javascript"></script>
    <script src="plugins/input-mask/jquery.inputmask.date.extensions.js" type="text/javascript"></script>
    <script src="plugins/input-mask/jquery.inputmask.extensions.js" type="text/javascript"></script>
Beispiel #2
0
}
$activeMenu = "events";
$eventid = $_GET['eventid'];
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'];
    $customerData = $customerService->GetCustomerById($CustomerId);
    if (isset($_SESSION['LOCATION'])) {
        $LocationId = $_SESSION['LOCATION'];
    } else {
        $_SESSION['LOCATION'] = $LocationId = $customerData['city'];
    }
}
$Services = $customerService->GetAllServicesByEventId($eventid);
$Rituals = $customerService->GetAllRitualsByEventId($eventid);
$Citys = $customerService->GetAllCatalogValuesByMasterNames('City');
$ServiceCategory = $customerService->GetCatalogValuesByMasterName('Service Category');
include "static/title.php";
?>
<body class="app-body">
	<?php 
include "static/header.php";
include "events/showcase.php";
include "static/footer.php";
?>
	<script src="../plugins/jQuery/jQuery.validate.min.js"></script>
	<script src="../plugins/input-mask/jquery.inputmask.js" type="text/javascript"></script>
    <script src="../plugins/input-mask/jquery.inputmask.date.extensions.js" type="text/javascript"></script>
    <script src="../plugins/input-mask/jquery.inputmask.extensions.js" type="text/javascript"></script>
<?php

if (!isset($_SESSION)) {
    session_start();
}
$activeMenu = "rituals";
$ritualid = $_GET['ritualid'];
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);
}
$Services = $customerService->GetAllServicesByEventId($ritualid);
$Rituals = $customerService->GetAllRitualsByEventId($ritualid);
$Citys = $customerService->GetCatalogValuesByMasterName('City');
/*$communityNames=$customerService->GetAllCommunityNames();
*/
?>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="">
	<meta name="author" content="">
	<title>X Affair</title>
	<link href="css/bootstrap.min.css" rel="stylesheet">