Пример #1
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$view = new Layout_View($data);
echo $view->printHTMLPage('extra');
Пример #2
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$view = new Layout_View($data);
echo $view->printHTMLPage('faq');
Пример #3
0
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Home';
        $data['description'] = 'Villa Aqua is an exclusive 5 bedroom private villa that offers luxurious, spacious and modern accommodations with exceptional and personalized service';
        $data['keywords'] = 'Villa Aqua, vacation rental Playa del Carmen, holiday rental Playa del Carmen, luxury property, exclusive villa, Riviera Maya rentals, Playa del Carmen, Playa del Carmen rentals, Playa del Carmen luxury rental, exclusive luxury rental Playa del Carmen”';
        break;
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = 'Villa Aqua es una hermosa villa privada con 5 amplias y modernas habitaciones ofrecen confort y lujo en un ambiente cálido con servicio personalizado';
        $data['keywords'] = 'Villa Aqua, renta vacacional Playa del Carmen, rentas en Playa del Carmen, propiedad de lujo, villa exclusiva, rentas en Riviera Maya, renta de lujo Caribe, renta lujo Mexico, renta privada Playa del Carmen';
        break;
}
$info = $backend->loadBackend('mainSection');
array_push($data, $info);
//     var_dump($data);
$view = new Layout_View($data);
echo $view->printHTMLPage('index');
Пример #4
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
require_once $root . '/' . 'backends/general.php';
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) {
    ob_start("ob_gzhandler");
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$typesPages = array(1 => "grid/");
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
require_once $root . '/' . 'views/back/Layout_View.php';
$data = $backend->loadBackend('mainSection');
$view = new Layout_View($data, 'Sign In');
echo $view->printHTMLPage('sign-in');
Пример #5
0
    ob_start("ob_gzhandler");
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$info = $backend->loadBackend('what');
array_push($data, $info);
$view = new Layout_View($data);
echo $view->printHTMLPage('what');
Пример #6
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/Layout_View.php';
$section = 'agencies';
$data = $backend->loadBackend($section);
$view = new Layout_View($data, 'Agencies');
echo $view->printHTMLPage('agencies');
Пример #7
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/Layout_View.php';
$section = 'rooms';
$data = $backend->loadBackend($section);
$view = new Layout_View($data, 'Rooms');
echo $view->printHTMLPage('rooms');
Пример #8
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$view = new Layout_View($data);
echo $view->printHTMLPage('riviera');
Пример #9
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Acerca de nosotros';
        $data['description'] = 'Alvelais & Asociados, ofrece servicios legales de la más alta calidad en el ámbito de los negocios, gracias a un equipo de abogados calificados y profesionales.';
        $data['keywords'] = 'Alvelais & Asociados, Bufete de Abogados, Playa del Carmen, Negocios, Abogados, Derecho Playa del Carmen';
        break;
    case 'en':
        require_once $root . '/views/Layout_En.php';
        $title = 'EN';
        break;
    case 'fr':
        require_once $root . '/views/Layout_Fr.php';
        $title = 'FR';
        break;
}
$view = new Layout_View($data);
echo $view->printHTMLPage('about-us');
Пример #10
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/back/Layout_View.php';
if ($_GET['promoted']) {
    $option = "promoted";
} elseif ($_GET['categoryId']) {
    $option = 'byCategory';
} else {
    $option = 'companies';
}
$data = $backend->loadBackend($option);
$view = new Layout_View($data, 'Properties');
echo $view->printHTMLPage('companies');
Пример #11
0
    ob_start("ob_gzhandler");
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$info = $backend->loadBackend('photo');
array_push($data, $info);
$view = new Layout_View($data);
echo $view->printHTMLPage('photo');
    ob_start("ob_gzhandler");
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$info = $backend->loadBackend('arriving');
array_push($data, $info);
$view = new Layout_View($data);
echo $view->printHTMLPage('arriving');
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$view = new Layout_View($data);
echo $view->printHTMLPage('rental');
Пример #14
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Areas de Intervencion';
        $data['description'] = 'Alvelais & Asociados, ofrece servicios legales de la más alta calidad en el ámbito de los negocios, gracias a un equipo de abogados calificados y profesionales.';
        $data['keywords'] = 'Alvelais & Asociados, Bufete de Abogados, Playa del Carmen, Negocios, Abogados, Derecho Playa del Carmen';
        break;
    case 'en':
        require_once $root . '/views/Layout_En.php';
        $title = 'EN';
        break;
    case 'fr':
        require_once $root . '/views/Layout_Fr.php';
        $title = 'FR';
        break;
}
$view = new Layout_View($data);
echo $view->printHTMLPage('areas');
    ob_start("ob_gzhandler");
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$info = $backend->loadBackend('corporate');
array_push($data, $info);
$view = new Layout_View($data);
echo $view->printHTMLPage('corporate');
Пример #16
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/back/Layout_View.php';
$option = 'edit-company';
$data = $backend->loadBackend($option);
$view = new Layout_View($data, 'Locations');
echo $view->printHTMLPage('locations');
Пример #17
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
//  var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'];
require_once 'backends/general.php';
require_once $root . '/views/front/Layout_View.php';
$section = 'allEvents';
$data = $backend->loadBackend($section);
// 	var_dump($data);
$view = new Layout_View($data);
echo $view->printHTMLPage('allEvents');
Пример #18
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/back/Layout_View.php';
$option = 'edit-company';
$data = $backend->loadBackend($option);
$view = new Layout_View($data, 'Edit ' . $data['company']['general']['name']);
echo $view->printHTMLPage('edit-company-main');
    ob_start("ob_gzhandler");
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$info = $backend->loadBackend('policy');
array_push($data, $info);
$view = new Layout_View($data);
echo $view->printHTMLPage('rules');
Пример #20
0
                $data['description'] = '';
                $data['keywords'] = '';
                break;
            case 'services-financiers':
                $data['title'] = 'Services financiers';
                $data['description'] = '';
                $data['keywords'] = '';
                break;
            case 'fusions-et-acquisitions':
                $data['title'] = 'Fusions et Acquisitions';
                $data['description'] = '';
                $data['keywords'] = '';
                break;
            case 'litige':
                $data['title'] = 'Litige';
                $data['description'] = '';
                $data['keywords'] = '';
                break;
            case 'permis-et-gestion':
                $data['title'] = 'Permis et Gestion';
                $data['description'] = '';
                $data['keywords'] = '';
                break;
        }
        break;
}
$view = new Layout_View($data);
echo $view->printHTMLPage('single-area');
?>

Пример #21
0
<?php

// 	error_reporting(E_ALL);
// 	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/Layout_View.php';
$section = 'email';
$data = $backend->loadBackend($section);
$view = new Layout_View($data, 'E-Mail');
echo $view->printHTMLPage('email');
Пример #22
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/back/Layout_View.php';
$option = 'main-sliders';
$data = $backend->loadBackend($option);
$view = new Layout_View($data, 'Add Company');
echo $view->printHTMLPage('add-company');
Пример #23
0
    ob_start("ob_gzhandler");
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$info = $backend->loadBackend('weddings');
array_push($data, $info);
$view = new Layout_View($data);
echo $view->printHTMLPage('weddings');
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$view = new Layout_View($data);
echo $view->printHTMLPage('family');
Пример #25
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/Layout_View.php';
$section = 'tasks';
$data = $backend->loadBackend($section);
$view = new Layout_View($data, 'Tasks');
echo $view->printHTMLPage('tasks');
Пример #26
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/Layout_View.php';
$section = 'calendar';
$data = $backend->loadBackend($section);
$view = new Layout_View($data, 'Calendar');
echo $view->printHTMLPage('calendar');
Пример #27
0
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
//     $testimonialsDir = 'images/guest/';
//     $testimonials = glob($testimonialsDir.'*.jpg');
// //     var_dump($testimonials);
// 	$data['testimonials'] = $testimonials;
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$info = $backend->loadBackend('reviews');
array_push($data, $info);
$view = new Layout_View($data);
echo $view->printHTMLPage('testimonials');
Пример #28
0
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
$root = $_SERVER['DOCUMENT_ROOT'];
require_once 'backends/general.php';
require_once $root . '/views/front/Layout_View.php';
$data = $backend->loadBackend('mainSection');
$view = new Layout_View($data);
echo $view->printHTMLPage('mainSection');
Пример #29
0
    ob_start("ob_gzhandler");
} else {
    ob_start();
}
require_once $root . '/Framework/Mysqli_Tool.php';
require_once $root . '/Framework/sessionControl.php';
require_once $root . '/Framework/Connection_Data.php';
$db = new Mysqli_Tool(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$control = new sessionControl($db, 'users', 'user', 'password', 'type', $typesPages, 'index.php', 0);
$lang = $_GET['lang'];
$title = '';
$data = '';
switch ($lang) {
    case 'es':
        require_once $root . '/views/Layout_Es.php';
        $data['title'] = 'Inicio';
        $data['description'] = '';
        $data['keywords'] = '';
        break;
    case '':
        require_once $root . '/views/Layout_En.php';
        $data['title'] = 'Living';
        $data['description'] = 'Des';
        $data['keywords'] = 'Key';
        break;
}
$info = $backend->loadBackend('gallery');
array_push($data, $info);
$view = new Layout_View($data);
echo $view->printHTMLPage('gallery');
<?php

//	error_reporting(E_ALL);
//	ini_set("display_errors", 1);
// var_dump($_GET);
$root = $_SERVER['DOCUMENT_ROOT'] . "/";
require_once $root . 'backends/admin-backend.php';
require_once $root . '/' . 'views/back/Layout_View.php';
$option = 'events';
$data = $backend->loadBackend($option);
$view = new Layout_View($data, 'Edit ' . $data['company']['general']['name']);
echo $view->printHTMLPage('edit-company-events');