예제 #1
0
<?php

/*
* ----------------------------------------------------------------------
* LOCATION: CONTORL
* ----------------------------------------------------------------------
*/
$_get = new V_STATIC_GET();
$_update = new V_STATIC_UPDATE();
$city = filter_var($_REQUEST['city'], FILTER_SANITIZE_STRING);
if ($city == 'all') {
    $search = ' AND 1';
} else {
    $search = " AND `category_alias` = '{$city}'";
}
$count_city = $_get->count_city('Yes');
$count_location = $_get->count_location('Yes', 1, $search);
if ($count_city->rows > 0) {
    $data_city = $_get->get_city('Yes');
} else {
    $data_city = 0;
}
if ($count_location->rows > 0) {
    $data_location = $_get->get_location('Yes', 1, $search);
    $data_location_js = $_get->get_location('Yes', 1, $search);
} else {
    $data_location = 0;
}
예제 #2
0
<?php

/*
* ----------------------------------------------------------------------
* CONTROL: ABOUT - PRIVACY - TOS - HELP
* ----------------------------------------------------------------------
*/
$_get = new V_STATIC_GET();
$_update = new V_STATIC_UPDATE();
/* --- FAQ, DICLAIMER, SPA POLICY, CAREER --- */
$data_faq = $_get->get_page('about');
$data_disclaimer = $_get->get_page('quality');
$data_policy = $_get->get_page('facilities');
$data_career = $_get->get_page('description');
$countCover = $_get->countCover('12');
if ($countCover->rows > 0) {
    $dataCover = $_get->getCover('12');
    $dataCover = $dataCover->meta_keyword;
} else {
    $dataCover = 'assets/img/product/header_body2.jpg';
}
$countPageBanner = $_global->countPageBanner(12);
if ($countPageBanner->rows > 0) {
    $getPageBanner = $_global->getPageBanner(12);
    $pageBannerImg = BASE_URL . $getPageBanner->image;
}
예제 #3
0
<?php

/*
* ----------------------------------------------------------------------
* CONTROL: ABOUT - PRIVACY - TOS - HELP
* ----------------------------------------------------------------------
*/
$_get = new V_STATIC_GET();
$_update = new V_STATIC_UPDATE();
/* --- ABOUT --- */
$data_about = $_get->get_page('about');
예제 #4
0
<?php
/*
* ----------------------------------------------------------------------
* CONTROL: ABOUT - PRIVACY - TOS - HELP
* ----------------------------------------------------------------------
*/

$_get    = new V_STATIC_GET();
$_update = new V_STATIC_UPDATE();


/* --- ABOUT --- */
$data = $_get->get_page('description');
?>
예제 #5
0
<?php

/*
* ----------------------------------------------------------------------
* CONTROL: ABOUT - PRIVACY - TOS - HELP
* ----------------------------------------------------------------------
*/
$_get = new V_STATIC_GET();
$_update = new V_STATIC_UPDATE();
/* --- ABOUT --- */
$data = $_get->get_page('quality');
예제 #6
0
<?php

/*
* ----------------------------------------------------------------------
* CONTROL: ABOUT - PRIVACY - TOS - HELP
* ----------------------------------------------------------------------
*/
$_get = new V_STATIC_GET();
$_update = new V_STATIC_UPDATE();
/* --- FAQ, DICLAIMER, SPA POLICY, CAREER --- */
$our_story_one = $_get->get_page('our_story_one');
$our_story_two = $_get->get_page('our_story_two');
$our_story_three = $_get->get_page('our_story_three');
$our_story_founder = $_get->get_page('founder_image');
$team_image = $_get->get_page('team_image');
$our_story_four = $_get->get_page('our_story_four');
예제 #7
0
<?php

/*
* ----------------------------------------------------------------------
* CONTROL: ABOUT - PRIVACY - TOS - HELP
* ----------------------------------------------------------------------
*/
$_get = new V_STATIC_GET();
/* --- FAQ, DICLAIMER, SPA POLICY, CAREER --- */
$data_image = $_get->get_image();
// die;
// if($countPageBanner->rows > 0){
//     $getPageBanner  = $_global->getPageBanner(12);
//     $pageBannerImg  = BASE_URL.$getPageBanner->image;
// }
예제 #8
0
<?php

/*
* ----------------------------------------------------------------------
* CONTROL: ABOUT - PRIVACY - TOS - HELP
* ----------------------------------------------------------------------
*/
$_get = new V_STATIC_GET();
$_update = new V_STATIC_UPDATE();
/* --- ABOUT --- */
$data = $_get->get_page('facilities');