Example #1
0
<?php

if (!isset($_SESSION)) {
    session_start();
}
$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";
?>
Example #2
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>
<?php

if (empty($customerService)) {
    if (!isset($_SESSION)) {
        session_start();
    }
    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);
    }
}
?>
<div class="signup-form">
<div class="col-sm-6" style="border-style: none; ">   <label> Name   :  </label>      <?php 
echo $customerData["name"];
?>
</div>
      <div class="col-sm-6" style="border-style: none; "> <label>Email   : </label>      <?php 
echo $customerData["email"];
?>
 </div>
      <div class="col-sm-6" style="border-style: none; "> <label>Phone   : </label>      <?php 
echo $customerData["contact_number"];
?>
 </div>
     <div class="col-sm-6" style="border-style: none; ">  <label>City    :  </label>      <?php 
echo $customerService->getCatalogValueById($customerData["city"]);
?>
Example #4
0
<?php

if (session_status() != PHP_SESSION_ACTIVE) {
    session_start();
}
include_once $_SERVER['DOCUMENT_ROOT'] . "/eventconfig.php";
include_once SERVERFOLDER . "/customer/services.php";
$customerService = new customerservice($dbconnection->dbconnector);
$vserviceid = isset($_POST['vserviceid']) ? $_POST['vserviceid'] : 0;
$locationId = isset($_POST['locationid']) ? $_POST['locationid'] : 0;
$serviceItem = $customerService->getServiceItemDetailsByvServiceId($vserviceid, $locationId);
?>
<section>
    <div class="row"><h4 class="header-horizontal-center"><?php 
echo $serviceItem['Details']['title'];
?>
<small>    <?php 
echo $serviceItem['Details']['vendorname'];
?>
</small></h4></div>
    <div class="row">
        <div class="col-sm-6">
            <div class="col-sm-10">
                <div class="carousel slide">
                    <div >
                        <?php 
foreach ($serviceItem["Attachments"] as $item) {
    ?>
                            <div class="active">								
                                <div class="product-image-wrapper">
                                    <div class="single-products">
Example #5
0
<?php

if (!isset($_SESSION)) {
    session_start();
}
if (empty($serviceid)) {
    $serviceid = isset($_POST['serviceid']) ? $_POST['serviceid'] : 0;
}
if (empty($locationid)) {
    $locationid = isset($_POST['locationid']) ? $_POST['locationid'] : 0;
}
if (empty($customerService)) {
    include_once $_SERVER['DOCUMENT_ROOT'] . "/eventconfig.php";
    include_once SERVERFOLDER . "/customer/services.php";
    $customerService = new customerservice($dbconnection->dbconnector);
    $serviceName = $customerService->getCatalogValueById($serviceid);
    $Citys = $customerService->GetAllCatalogValuesByMasterNames('City');
}
$vendorServices = $customerService->GetAllVendorServices($serviceid, $locationid);
?>
<div class="features_items"><!--features_items-->
	<h2 class="title text-center"><?php 
echo !empty($serviceName) ? $serviceName : "No Services";
?>
</h2>
	<?php 
if (!empty($vendorServices)) {
    foreach ($vendorServices as $service) {
        ?>
		<div class="col-sm-4">
		<div class="product-image-wrapper">
Example #6
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>
Example #7
0
  <?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'] : '';
Example #8
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>
<?php

if (session_status() != PHP_SESSION_ACTIVE) {
    session_start();
}
if (empty($customerService)) {
    include_once $_SERVER['DOCUMENT_ROOT'] . "/eventconfig.php";
    include_once SERVERFOLDER . "/customer/services.php";
    $customerService = new customerservice($dbconnection->dbconnector);
}
if (empty($entity)) {
    $entity = $_POST['postvalue'];
}
if (empty($location)) {
    $location = isset($_POST['location']) ? $_POST['location'] : 0;
}
$resultSet = $customerService->getEntityItems($entity, $location);
switch ($entity) {
    case "events":
        include_once 'evententitys.php';
        break;
    case "activities":
        include_once 'activityentitys.php';
        break;
    case "services":
        include_once 'serviceentitys.php';
        break;
    case "packages":
        include_once 'packageentitys.php';
        break;
        /*  case "partners":
Example #10
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'];
    $customerData = $customerService->GetCustomerById($CustomerId);
} else {
    header("location:home");
    exit;
}
$Citys = $customerService->GetCatalogValuesByMasterName('City');
$States = $customerService->GetCatalogValuesByMasterName('State');
/*$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">
	<link href="css/font-awesome.min.css" rel="stylesheet">
Example #11
0
<?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">
Example #12
0
<?php

if (session_status() != PHP_SESSION_ACTIVE) {
    session_start();
}
if (empty($customerService)) {
    include_once $_SERVER['DOCUMENT_ROOT'] . "/eventconfig.php";
    include_once SERVERFOLDER . "/customer/services.php";
    $customerService = new customerservice($dbconnection->dbconnector);
    $customerService->GetAllQueryStrings();
    $serviceName = $customerService->getCatalogValueById($customerService->searchObj->serviceid);
    $Citys = $customerService->GetAllCatalogValuesByMasterNames('City');
}
include_once CLASSFOLDER . "/searchservice.php";
$searchservice = new searchservices($dbconnection->dbconnector);
$vendorServices = $searchservice->getServicesBySearchOption($customerService->searchObj);
$vendorServices = $vendorServices["Items"];
?>
<div class="features_items" ><!--features_items-->
    <div id="features-items">
        <?php 
if (!empty($vendorServices)) {
    $canshowbooking = false;
    if ((!empty($customerService->searchObj->eventFrom) || !empty($customerService->searchObj->eventTo)) && !empty($customerService->searchObj->locationId)) {
        $canshowbooking = true;
    }
    foreach ($vendorServices as $service) {
        ?>
                <div class="col-sm-4">
                    <div class="product-image-wrapper">
                        <div class="single-products">
<?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);
$customerService->GetAllQueryStrings();
if (isset($_SESSION['CUSTOMERID'])) {
    $CustomerId = $_SESSION['CUSTOMERID'];
    $customerData = $customerService->GetCustomerById($CustomerId);
    if (isset($_SESSION['LOCATION'])) {
        $LocationId = $_SESSION['LOCATION'];
    } else {
        $_SESSION['LOCATION'] = $LocationId = $customerData['city'];
    }
}
include "static/title.php";
?>
<body class="app-body">
	<header id="header"><!--header-->
		<div id="myprofile-content">
			<?php 
include "default/myprofile.php";
?>
		</div>
		
	</header><!--/header-->
	<?php