" . print_r(apache_request_headers(), true) . ""); } $lng = turva($_GET['lng']); $pagename = turva($_GET['pname']); $contentname = turva($_GET['cname']); $dz = turva($_GET['dz']); $dat = turva($_GET['dat']); $dest = turva($_GET['loc']); $l = 0; $lurl = $lurl2 = ""; if (($lng == "ru") || (isset($_GET['rus'])) || ($_GET["LANGUAGE"] == "rus")) { $l = 1; $lurl = "ru/"; $lurl2 = "&rus"; } $notes = array(); $teznotes = array(); if ($pagename == "404") $page404donotrendercontent = true; if ($pagename == "paring") validateSendRequest(); if ($page404donotrendercontent) { // 404 bad bot no SQL } else { // SQL $query_rsSet = "SELECT * FROM settings"; $rsSet = db_exec($query_rsSet); while ($row_rsSet = mysqli_fetch_assoc($rsSet)) { $settings[$row_rsSet['setting']] = $row_rsSet['value']; } mysqli_free_result($rsSet); } include 'lang.php'; if ($page404donotrendercontent) { // 404 bad bot no SQL } else { sqlGetDestinations(); $query_rsCom = "SELECT * FROM hotelcompare"; $rsCom = db_exec($query_rsCom); while ($rowCom = mysqli_fetch_assoc($rsCom)) { $hotelcompare[] = $rowCom; } mysqli_free_result($rsCom); sqlGetNotes(); } if ($contentname) { $dest = loc2id($contentname); } if ($dest) { $dep = $destinations[$dest][2]; $res = $destinations[$dest][3]; } if (($contentname == "SvetLana") || ($_COOKIE['DLF_DATA']) || (TESTREZIM)) { setcookie('DLF_DATA', TRUE, time() + 30 * 86400, "/"); $base->showhidden = TRUE; } if ($_COOKIE['DLF_SHOW_RIGA'] != "0") { // != "0" - riga on by default setcookie('DLF_SHOW_RIGA', TRUE, time() + 1 * 86400, "/"); $base->showriga = TRUE; } if ($_COOKIE['DLF_SHOW_REG'] != "0") { //setcookie('DLF_SHOW_REG', TRUE, time() + 1 * 86400, "/"); //$base->showhelsinki = TRUE; } $display_new = true; // display "new" when there are new files/dirs $display_updated = false; // display "updated" when there are updated files/dirs $new_time_secs = 60 * 60 * 24 * 2; // "new" and "updated" deadline, 14 days $base->st_time = microtime(true); $xmltables = array( 1 => "xml_offers_ee", 2 => "xml_offers_lv", //3 => "xml_offers_rg", ); memusage("init"); //query modifiers, see offers_right.php if (!is_numeric($dat)) $dat = ""; if ($dat && $dat <> "all" && is_numeric($dat)) { //$dat1 = substr($dat, 0, 8); //$dat2 = substr($dat, 8); //if (TESTREZIM) { // var_dump($dat1); // var_dump($dat2); //} //$dat = $dat1 . "00"; $filtersql = date("Y-m-d", $dat); $sql_dat = "AND `date`='$filtersql' "; $prefix_dat = $s[47][$l]; $offerdate = date("d.m.Y", $dat); if ($filtersql < date("Y-m-d")) { header("HTTP/1.1 410 Gone"); } } if ($dep) { $sql_dep = "AND `departure`='$dep' "; //???? } if ($res) { $sql_res = "AND `resort`='$res' "; //???? } if ($dz && strlen($dz) <= 2) { $sql_dz = "AND `period`='" . (int)substr($dz, -2) . "' "; } ?>
Warning: Undefined array key "HTTP_X_REAL_IP" in /home/delfiine/chatgpt/index.php on line 10

Warning: Undefined variable $s in /home/delfiine/chatgpt/index.php on line 20

Warning: Trying to access array offset on null in /home/delfiine/chatgpt/index.php on line 20

Warning: Undefined variable $l in /home/delfiine/chatgpt/index.php on line 20

Warning: Trying to access array offset on null in /home/delfiine/chatgpt/index.php on line 20

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 25

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 26

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 32

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 37

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 42

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 48

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 54

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 60

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 65

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 70

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 76

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 82

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 93

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 98

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 103

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 108

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 113

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 119

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 124

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 140

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 155

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 161

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 167

Warning: Undefined variable $pagename in /home/delfiine/chatgpt/index.php on line 168

Warning: Undefined variable $pid in /home/delfiine/chatgpt/index.php on line 169

Warning: Undefined variable $contentname in /home/delfiine/chatgpt/index.php on line 174

Warning: Undefined variable $s in /home/delfiine/chatgpt/index.php on line 174

Warning: Trying to access array offset on null in /home/delfiine/chatgpt/index.php on line 174

Warning: Undefined variable $l in /home/delfiine/chatgpt/index.php on line 174

Warning: Trying to access array offset on null in /home/delfiine/chatgpt/index.php on line 174

Warning: Undefined variable $contentname in /home/delfiine/chatgpt/index.php on line 189

Warning: Undefined variable $contentname in /home/delfiine/chatgpt/index.php on line 192

Warning: Undefined variable $contentname in /home/delfiine/chatgpt/index.php on line 195

Warning: Undefined variable $contentname in /home/delfiine/chatgpt/index.php on line 198

Warning: Undefined array key 2 in /home/delfiine/chatgpt/index.php on line 234
200) $qdestid = $qdestid - 200; $respages = db_exec("SELECT * FROM pagesresorts WHERE destid = " . $qdestid . ";"); while ($rp = mysqli_fetch_array($respages)) { $kuhu = trim($rp['kuhu' . $l]); } } else { $kuhu = $l ? ("на" . $pagetitle[1]) : ""; } $metadesc = str_replace("{4}", $kuhu, $s[905][$l]); ?> isotsireisi) { ?> /home/delfiine/chatgpt/index.php on line 333
https://gpt.delfiin.ee/img/fb_delfiin.jpg"/> showhidden) include_once 'facebook_pixel.php'; // GA123 ?> showhidden) include "facebook_share.php"; // GA123 if (!$base->showhidden) include "google_analytics.php"; // GA123 else { ?> showhidden) echo "
"; if ($hooldus) echo "
{$s[245][$l]}
"; if (TESTREZIM) echo "LNG:" . $lng . "PNAME:" . $pagename . "PID:" . $pid . "CNAME:" . $contentname . "ID:" . $id . "DZ:" . $dz . "DAT:" . $dat . "DEP:" . $dep . "RES:" . $res . "DEST:" . $dest; if (TESTREZIM) echo "
" . $_SERVER['QUERY_STRING']; ?>

Warning: Undefined variable $query_substr in /home/delfiine/chatgpt/news.php on line 5

Fatal error: Uncaught Error: Call to undefined function db_exec() in /home/delfiine/chatgpt/news.php:6 Stack trace: #0 /home/delfiine/chatgpt/index.php(374): include() #1 {main} thrown in /home/delfiine/chatgpt/news.php on line 6