Page created by : odd moments
include("admin/settings.php"); include("admin/db.php"); if (isset($_GET['lang'])) { if ($_GET['lang'] == "no" || $_GET['lang'] == "en") { $l = $_GET['lang']; } else { $l = "no"; } } else { $l = "no"; } if(isset($_GET['id'])) { $get_rows = $db->query("SELECT * FROM item WHERE iID = '$_GET[id]' AND category = 0 AND type = 0 AND publish != 0"); $num = mysqli_num_rows($get_rows); if($num > 0) { $map_item = mysqli_fetch_row($get_rows); $id = $map_item[0]; if($l == 'en' && $map_item[26]) { $name = $map_item[26]; } else { $name = $map_item[1]; } $title = $name; $plaintitle = $name; $contenttitle = "
" . $terrhead[$l] . implode(",",$terrain_txt) . "
"; } else { $terrain = ""; } // Contactinfo if($map_item[13] != NULL) { $tlf = " " . $map_item[13] . "" . $alert[$lang] . "
" . $alert[5] . "
" . $text . "
" . $services . $terrain . "" . $address . $tlf . $email . "
" . $www . $fb . $twitter . $instagram . $airbnb . $tripadvisor . "
" . $lastupdate . "
echo $header_txt[$l]; ?>
Page created by : odd moments