Exemple #1
0
<?php

if (session_status() != PHP_SESSION_ACTIVE) {
    session_start();
}
$activeMenu = "home";
include_once $_SERVER['DOCUMENT_ROOT'] . "/eventconfig.php";
include_once SERVERFOLDER . "/customer/services.php";
$customerService = new customerservice($dbconnection->dbconnector);
$cityCatalogs = $customerService->GetCatalogValuesByMasterName('City');
$stateCatalogs = $customerService->GetCatalogValuesByMasterName('State');
include "static/title.php";
?>
<body>
	<header id="header"><!--header-->
		<?php 
include "default/myprofile.php";
include "static/navbar.php";
?>
	</header><!--/header-->
	<?php 
include "default/signup.php";
include "static/footer.php";
?>
	<script src="js/affair-page-loader.js"></script>
    <?php 
include "scripts/signup.php";
?>
</body>
</html>
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>
	<script src="../plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
	<script src="../plugins/timepicker/bootstrap-timepicker.min.js" type="text/javascript"></script>
        <script src="js/ajax-loader.js"></script>
  <?php 
$userid = isset($_POST['postvalue']) ? $_POST['postvalue'] : 0;
include_once $_SERVER['DOCUMENT_ROOT'] . "/eventconfig.php";
include_once CLASSFOLDER . "/dbconnection.php";
include_once CLASSFOLDER . "/enums/userenums.php";
include_once SERVERFOLDER . "/customer/services.php";
$typeofuser = new TypeOfUser();
$userstatus = new UserStatus();
include_once CLASSFOLDER . "/user.php";
$user = new userclass($dbconnection->dbconnector);
$userdata = $user->getuserbyid($userid);
//var_dump($userdata);
$customerService = new customerservice($dbconnection->dbconnector);
$Citys = $customerService->GetCatalogValuesByMasterName('City');
$States = $customerService->GetCatalogValuesByMasterName('State');
//var_dump($Citys);
//var_dump($States);
$attachment = !empty($userid) ? $user->getUserAttachments($userid) : array();
$rolesResult = $user->internalDB->query("select  name,id from roles ");
?>
</style>
<div>
  
    <div class="li-view" style="display:<?php 
echo empty($userdata) ? 'none' : '';
?>
">
      <div class="box box-primary">
        <div class="box-header">
          <h3 class="box-title"><?php 
echo !empty($userdata['name']) ? $userdata['name'] : '';