- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 - 21
 - 22
 - 23
 - 24
 - 25
 - 26
 - 27
 - 28
 - 29
 - 30
 - 31
 - 32
 - 33
 - 34
 - 35
 - 36
 - 37
 - 38
 - 39
 - 40
 - 41
 - 42
 - 43
 - 44
 - 45
 - 46
 - 47
 - 48
 - 49
 - 50
 - 51
 - 52
 - 53
 - 54
 - 55
 - 56
 - 57
 - 58
 - 59
 - 60
 - 61
 - 62
 - 63
 - 64
 - 65
 - 66
 - 67
 - 68
 - 69
 
                        <?
$pathinfo = pathinfo($_SERVER['REQUEST_URI']);
if ($pathinfo['extension'] == 'htm') {
    $new_url = str_replace('.htm', '.html', $_SERVER['REQUEST_URI']);
    header('HTTP/1.1 301 Moved Permanently');
    header('Location: ' . $new_url);
    exit;
}
require_once($_SERVER["DOCUMENT_ROOT"] . "/check_url.php");
session_start();
@ignore_user_abort();
@set_time_limit(0);
$doNotRedirect = FALSE;
include ($_SERVER['DOCUMENT_ROOT'] . "/adv_cnt.inc");
include($_SERVER['DOCUMENT_ROOT'] . "/db.inc");
include("../../lang.inc");
include("../../e_hotel.inc");
include("../../lib.inc");
include("../../rooms.inc");
include("../../e_page.inc");
include("../../month.inc");
include("../../e_geo.inc");
include("../../social.inc");
include("../../review.inc");
include("../../banner.inc");
include_once '../../classes/class.DatePicker.php';
error_reporting(E_All);
ini_set('display_errors', 0);
openDB();
ini_set("include_path", ".:" . $_SERVER["DOCUMENT_ROOT"] . "/libs/PEAR");
require_once('Cache/Lite.php');
$languagecode = $_GET["languagecode"];
$hotelurl = $_GET["hotel"];
if ($hotelurl == 'xmltesthetelno1' && $_GET['debug'] != 1){
    header('HTTP/1.1 404 Not Found');
    exit;
}
$countrycode = $_GET["countrycode"];
$nearby = $_GET["nearby"];
$city_id = $_GET["city_id"];
$hotel_id = $_GET["hotel_id"];
$cityurl = $_GET["city"];
if ($languagecode == "") {
    $languagecode = "en";
}
$no_cache = FALSE;
if ($hotel_id) {
    $no_cache = TRUE;
}
                                 
        
Комментарии (3) RSS
Добавить комментарий