<?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">
$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"]); ?> </div> <div class="col-sm-6" style="border-style: none; "> <label>State : </label> <?php echo $customerService->getCatalogValueById($customerData["state"]); ?> </div> <div class="col-sm-6" style="border-style: none; "> <label>Address : </label> <?php echo $customerData["address"]; ?> </div> <a href="javascript:void()" onclick="fun_edit_save_cancel();" class="btn btn-default pull-left" id="btn_editprofile">Edit</a> </div>
<?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">