Server : LiteSpeed System : Linux nl-srv-web1396.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64 User : u107206879 ( 107206879) PHP Version : 7.2.34 Disable Function : NONE Directory : /home/u107206879/domains/escort46.de/public_html/ |
<?php
ini_set('session.save_path', realpath('/escort46.de/'));
session_set_cookie_params (0, '/', '.escort46.de');
session_name('mysessionname');
session_start();
error_reporting(0);
ini_set('display_errors', FALSE);
ini_set('display_startup_errors', FALSE);
#manually added connection just likedb_connection.php for loading settings files
$connection=mysqli_connect("localhost","u107206879_de","v0X18A5QmURol1SGwjP","u107206879_de") or die("Connection failed: " . mysqli_connect_error());
mysqli_set_charset($connection,"utf8mb4");
#fetch website setting
$website_url ="";
$website_email_name ="";
$website_email ="";
$website_setting = array();
$website_setting_query="SELECT * from setting WHERE setting_type='website' order by `id` asc limit 1";
$website_setting_result=mysqli_query($connection,$website_setting_query);
if(mysqli_num_rows($website_setting_result)){
$website_setting = mysqli_fetch_assoc($website_setting_result);
$tmp_array =json_decode($website_setting["setting_value"], true);
if(!empty($tmp_array["website_url"])){
$website_url = $tmp_array["website_url"];
}
if(!empty($tmp_array["website_email_name"])){
$website_email_name = $tmp_array["website_email_name"];
}
if(!empty($tmp_array["website_email"])){
$website_email = $tmp_array["website_email"];
}
}
define('MAIN_URL',$website_url);
define('SUB_URL','https://'.$_SERVER['SERVER_NAME']);
define('MAIN_EMAIL', $website_email);
define('MAIN_EMAIL_NAME',$website_email_name);
#fetch website code
$website_content_header ="";
$website_content_body ="";
$website_content_footer ="";
$website_code = array();
$website_code_query="SELECT * from setting WHERE setting_type='code' order by `id` asc limit 1";
$website_code_result=mysqli_query($connection,$website_code_query);
if(mysqli_num_rows($website_code_result)){
$website_code = mysqli_fetch_assoc($website_code_result);
$tmp_array =json_decode($website_code["setting_value"], true);
if(!empty($tmp_array["website_content_header"])){
$website_content_header = base64_decode($tmp_array["website_content_header"]);
}
if(!empty($tmp_array["website_content_body"])){
$website_content_body = base64_decode($tmp_array["website_content_body"]);
}
if(!empty($tmp_array["website_content_footer"])){
$website_content_footer = base64_decode($tmp_array["website_content_footer"]);
}
}
define('WEBSITE_CONTENT_HEADER',$website_content_header);
define('WEBSITE_CONTENT_BODY',$website_content_body);
define('WEBSITE_CONTENT_FOOTER',$website_content_footer);
#fetch design setting
$website_favicon_icon ="";
$website_logo ="";
$website_background_image ="";
$website_grid_desktop ="";
$website_grid_mobile ="";
$website_page_layout ="";
$website_slider ="";
$website_advert_index_popup ="";
$website_section_keyword ="";
$website_footer_keyword ="";
$website_h1_position = "";
$website_profile_color = "";
$website_profile_hover = "";
$website_advert_color = "";
$website_advert_hover = "";
$website_advert_title = "";
$website_advert_title_hover = "";
$website_advert_discription = "";
$website_advert_features_title = "";
$website_advert_features_value = "";
$website_profile_title = "";
$website_profile_title_hover = "";
$website_profile_discription = "";
$website_profile_features_title = "";
$website_profile_features_value = "";
$website_footer_title="";
$website_footer_hover="";
$website_header_title = "";
$website_header_hover = "";
$website_body_background = "";
$website_theme_top_background = "";
$website_theme_top_checkbox = "";
$website_theme_above_footer_background = "";
$website_theme_footer_background = "";
$website_theme_advert_shadow_color = "";
$website_theme_advert_shadow_px = "";
$website_theme_profile_shadow_color = "";
$website_theme_profile_shadow_px = "";
$website_profile_message_color = "";
$website_profile_message_hover = "";
$website_profile_whishlist_color = "";
$website_profile_whishlist_hover = "";
$website_profile_report_color = "";
$website_profile_report_hover = "";
$website_tab = "";
$website_logo_width = "";
$website_logo_height = "";
$website_profile_border_color = '';
$website_profile_border_size = '';
$website_profile_border_radius = '';
$website_menu_title = '';
$website_menu_background = '';
$website_menu_search_background = '';
$website_advert_title_font_size = "";
$website_advert_discription_status = "";
$website_advert_discription_font_size = "";
$website_advert_features_status = "";
$website_profile_title_font_size = "";
$website_profile_discription_status = "";
$website_profile_discription_font_size = "";
$website_profile_features_status = "";
$website_design = array();
$website_design_query="SELECT * from setting WHERE setting_type='design' order by `id` asc limit 1";
$website_design_result=mysqli_query($connection,$website_design_query);
if(mysqli_num_rows($website_design_result)){
$website_design = mysqli_fetch_assoc($website_design_result);
$tmp_array =json_decode($website_design["setting_value"], true);
if(!empty($tmp_array["website_favicon_icon"])){
$website_favicon_icon = $tmp_array["website_favicon_icon"];
}
if(!empty($tmp_array["website_logo"])){
$website_logo = $tmp_array["website_logo"];
}
if(!empty($tmp_array["website_background"])){
$website_background_image = $tmp_array["website_background"];
}
if(!empty($tmp_array["website_desktop_view"])){
$website_grid_desktop = $tmp_array["website_desktop_view"];
}
if(!empty($tmp_array["website_mobile_view"])){
$website_grid_mobile = $tmp_array["website_mobile_view"];
}
if(!empty($tmp_array["website_page_layout"])){
$website_page_layout = $tmp_array["website_page_layout"];
}
if(!empty($tmp_array["website_slider"])){
$website_slider = $tmp_array["website_slider"];
}
if(!empty($tmp_array["website_advert_index_popup"])){
$website_advert_index_popup = $tmp_array["website_advert_index_popup"];
}
if(!empty($tmp_array["website_section_keyword"])){
$website_section_keyword = $tmp_array["website_section_keyword"];
}
if(!empty($tmp_array["website_footer_keyword"])){
$website_footer_keyword = $tmp_array["website_footer_keyword"];
}
if (!empty($tmp_array["website_h1_position"])) {
$website_h1_position = $tmp_array["website_h1_position"];
}
if (!empty($tmp_array["website_profile_color"])) {
$website_profile_color = $tmp_array["website_profile_color"];
}
if (!empty($tmp_array["website_profile_hover"])) {
$website_profile_hover = $tmp_array["website_profile_hover"];
}
if (!empty($tmp_array["website_advert_color"])) {
$website_advert_color = $tmp_array["website_advert_color"];
}
if (!empty($tmp_array["website_advert_hover"])) {
$website_advert_hover = $tmp_array["website_advert_hover"];
}
if (!empty($tmp_array["website_advert_title"])) {
$website_advert_title = $tmp_array["website_advert_title"];
}
if (!empty($tmp_array["website_advert_discription"])) {
$website_advert_discription = $tmp_array["website_advert_discription"];
}
if (!empty($tmp_array["website_advert_features_title"])) {
$website_advert_features_title = $tmp_array["website_advert_features_title"];
}
if (!empty($tmp_array["website_advert_features_value"])) {
$website_advert_features_value = $tmp_array["website_advert_features_value"];
}
if (!empty($tmp_array["website_profile_title"])) {
$website_profile_title = $tmp_array["website_profile_title"];
}
if (!empty($tmp_array["website_profile_discription"])) {
$website_profile_discription = $tmp_array["website_profile_discription"];
}
if (!empty($tmp_array["website_profile_features_title"])) {
$website_profile_features_title = $tmp_array["website_profile_features_title"];
}
if (!empty($tmp_array["website_profile_features_value"])) {
$website_profile_features_value = $tmp_array["website_profile_features_value"];
}
if (!empty($tmp_array["website_advert_title_hover"])) {
$website_advert_title_hover = $tmp_array["website_advert_title_hover"];
}
if (!empty($tmp_array["website_profile_title_hover"])) {
$website_profile_title_hover = $tmp_array["website_profile_title_hover"];
}
if (!empty($tmp_array["website_footer_title"])) {
$website_footer_title = $tmp_array["website_footer_title"];
}
if (!empty($tmp_array["website_footer_hover"])) {
$website_footer_hover = $tmp_array["website_footer_hover"];
}
if (!empty($tmp_array["website_header_title"])) {
$website_header_title = $tmp_array["website_header_title"];
}
if (!empty($tmp_array["website_header_hover"])) {
$website_header_hover = $tmp_array["website_header_hover"];
}
if (!empty($tmp_array["website_body_background"])) {
$website_body_background = $tmp_array["website_body_background"];
}
if (!empty($tmp_array["website_theme_top_background"])) {
$website_theme_top_background = $tmp_array["website_theme_top_background"];
}
if (!empty($tmp_array["website_theme_top_checkbox"])) {
$website_theme_top_checkbox = $tmp_array["website_theme_top_checkbox"];
}
if (!empty($tmp_array["website_theme_above_footer_background"])) {
$website_theme_above_footer_background = $tmp_array["website_theme_above_footer_background"];
}
if (!empty($tmp_array["website_theme_footer_background"])) {
$website_theme_footer_background = $tmp_array["website_theme_footer_background"];
}
if (!empty($tmp_array["website_theme_advert_shadow_color"])) {
$website_theme_advert_shadow_color = $tmp_array["website_theme_advert_shadow_color"];
}
if (!empty($tmp_array["website_theme_advert_shadow_px"])) {
$website_theme_advert_shadow_px = $tmp_array["website_theme_advert_shadow_px"];
}
if (!empty($tmp_array["website_theme_profile_shadow_color"])) {
$website_theme_profile_shadow_color = $tmp_array["website_theme_profile_shadow_color"];
}
if (!empty($tmp_array["website_theme_profile_shadow_px"])) {
$website_theme_profile_shadow_px = $tmp_array["website_theme_profile_shadow_px"];
}
if (!empty($tmp_array["website_profile_message_color"])) {
$website_profile_message_color = $tmp_array["website_profile_message_color"];
}
if (!empty($tmp_array["website_profile_message_hover"])) {
$website_profile_message_hover = $tmp_array["website_profile_message_hover"];
}
if (!empty($tmp_array["website_profile_whishlist_color"])) {
$website_profile_whishlist_color = $tmp_array["website_profile_whishlist_color"];
}
if (!empty($tmp_array["website_profile_whishlist_hover"])) {
$website_profile_whishlist_hover = $tmp_array["website_profile_whishlist_hover"];
}
if (!empty($tmp_array["website_profile_report_color"])) {
$website_profile_report_color = $tmp_array["website_profile_report_color"];
}
if (!empty($tmp_array["website_profile_report_hover"])) {
$website_profile_report_hover = $tmp_array["website_profile_report_hover"];
}
if (!empty($tmp_array["website_tab"])) {
$website_tab = $tmp_array["website_tab"];
}
if (!empty($tmp_array["website_logo_width"])) {
$website_logo_width = $tmp_array["website_logo_width"];
}
if (!empty($tmp_array["website_logo_height"])) {
$website_logo_height = $tmp_array["website_logo_height"];
}
if (!empty($tmp_array["website_profile_border_color"])) {
$website_profile_border_color = $tmp_array["website_profile_border_color"];
}
if (!empty($tmp_array["website_profile_border_size"])) {
$website_profile_border_size = $tmp_array["website_profile_border_size"];
}
if (!empty($tmp_array["website_profile_border_radius"])) {
$website_profile_border_radius = $tmp_array["website_profile_border_radius"];
}
if (!empty($tmp_array["website_menu_title"])) {
$website_menu_title = $tmp_array["website_menu_title"];
}
if (!empty($tmp_array["website_menu_background"])) {
$website_menu_background = $tmp_array["website_menu_background"];
}
if (!empty($tmp_array["website_menu_search_background"])) {
$website_menu_search_background = $tmp_array["website_menu_search_background"];
}
if (!empty($tmp_array["website_advert_title_font_size"])) {
$website_advert_title_font_size = $tmp_array["website_advert_title_font_size"];
}
if (!empty($tmp_array["website_advert_discription_font_size"])) {
$website_advert_discription_font_size = $tmp_array["website_advert_discription_font_size"];
}
if (!empty($tmp_array["website_advert_discription_status"])) {
$website_advert_discription_status = $tmp_array["website_advert_discription_status"];
}
if (!empty($tmp_array["website_advert_features_status"])) {
$website_advert_features_status = $tmp_array["website_advert_features_status"];
}
if (!empty($tmp_array["website_profile_title_font_size"])) {
$website_profile_title_font_size = $tmp_array["website_profile_title_font_size"];
}
if (!empty($tmp_array["website_profile_discription_font_size"])) {
$website_profile_discription_font_size = $tmp_array["website_profile_discription_font_size"];
}
if (!empty($tmp_array["website_profile_discription_status"])) {
$website_profile_discription_status = $tmp_array["website_profile_discription_status"];
}
if (!empty($tmp_array["website_profile_features_status"])) {
$website_profile_features_status = $tmp_array["website_profile_features_status"];
}
}
define('WEBSITE_FAVICON_ICON', $website_favicon_icon);
define('WEBSITE_LOGO', $website_logo);
define('WEBSITE_BACKGROUND_IMAGE', $website_background_image);
define('WEBSITE_GRID_DESKTOP',$website_grid_desktop);
define('WEBSITE_GRID_MOBILE',$website_grid_mobile);
define('WEBSITE_PAGE_LAYOUT',$website_page_layout);
define('WEBSITE_SLIDER',$website_slider);
define('WEBSITE_ADVERT_INDEX_POPUP',$website_advert_index_popup);
define('WEBSITE_SECTION_KEYWORD',$website_section_keyword);
define('WEBSITE_FOOTER_KEYWORD',$website_footer_keyword);
define('WEBSITE_H1_POSITION', $website_h1_position);
define('WEBSITE_PROFILE_COLOR', $website_profile_color);
define('WEBSITE_PROFILE_HOVER', $website_profile_hover);
define('WEBSITE_ADVERT_COLOR', $website_advert_color);
define('WEBSITE_ADVERT_HOVER', $website_advert_hover);
define('WEBSITE_ADVERT_TITLE', $website_advert_title);
define('WEBSITE_ADVERT_TITLE_HOVER', $website_advert_title_hover);
define('WEBSITE_ADVERT_DISCRIPTION', $website_advert_discription);
define('WEBSITE_ADVERT_FEATURES_TITLE', $website_advert_features_title);
define('WEBSITE_ADVERT_FEATURES_VALUE', $website_advert_features_value);
define('WEBSITE_PROFILE_TITLE', $website_profile_title);
define('WEBSITE_PROFILE_TITLE_HOVER', $website_profile_title_hover);
define('WEBSITE_PROFILE_DISCRIPTION', $website_profile_discription);
define('WEBSITE_PROFILE_FEATURES_TITLE', $website_profile_features_title);
define('WEBSITE_PROFILE_FEATURES_VALUE', $website_profile_features_value);
define('WEBSITE_FOOTER_TITLE', $website_footer_title);
define('WEBSITE_FOOTER_HOVER', $website_footer_hover);
define('WEBSITE_HEADER_TITLE', $website_header_title);
define('WEBSITE_HEADER_HOVER', $website_header_hover);
define('WEBSITE_BODY_BACKGROUND', $website_body_background);
define('WEBSITE_THEME_TOP_BACKGROUND', $website_theme_top_background);
define('WEBSITE_THEME_TOP_CHECKBOX', $website_theme_top_checkbox);
define('WEBSITE_THEME_ABOVE_FOOTER_BACKGROUND', $website_theme_above_footer_background);
define('WEBSITE_THEME_FOOTER_BACKGROUND', $website_theme_footer_background);
define('WEBSITE_THEME_ADVERT_SHADOW_COLOR', $website_theme_advert_shadow_color);
define('WEBSITE_THEME_ADVERT_SHADOW_PX', $website_theme_advert_shadow_px);
define('WEBSITE_THEME_PROFILE_SHADOW_COLOR', $website_theme_profile_shadow_color);
define('WEBSITE_THEME_PROFILE_SHADOW_PX', $website_theme_profile_shadow_px);
define('WEBSITE_PROFILE_MESSAGE_COLOR', $website_profile_message_color);
define('WEBSITE_PROFILE_MESSAGE_HOVER', $website_profile_message_hover);
define('WEBSITE_PROFILE_WHISHLIST_COLOR', $website_profile_whishlist_color);
define('WEBSITE_PROFILE_WHISHLIST_HOVER', $website_profile_whishlist_hover);
define('WEBSITE_PROFILE_REPORT_COLOR', $website_profile_report_color);
define('WEBSITE_PROFILE_REPORT_HOVER', $website_profile_report_hover);
define('WEBSITE_TAB', $website_tab);
define('WEBSITE_LOGO_HEIGHT', $website_logo_height);
define('WEBSITE_LOGO_WIDTH', $website_logo_width);
define('WEBSITE_PROFILE_BORDER_COLOR', $website_profile_border_color);
define('WEBSITE_PROFILE_BORDER_SIZE', $website_profile_border_size);
define('WEBSITE_PROFILE_BORDER_RADIUS', $website_profile_border_radius);
define('WEBSITE_MENU_TITLE', $website_menu_title);
define('WEBSITE_MENU_BACKGROUND', $website_menu_background);
define('WEBSITE_MENU_SEARCH_BACKGROUND', $website_menu_search_background);
define('WEBSITE_ADVERT_TITLE_FONT_SIZE', $website_advert_title_font_size);
define('WEBSITE_ADVERT_DISCRIPTION_STATUS', $website_advert_discription_status);
define('WEBSITE_ADVERT_DISCRIPTION_FONT_SIZE', $website_advert_discription_font_size);
define('WEBSITE_ADVERT_FEATURES_STATUS', $website_advert_features_status);
define('WEBSITE_PROFILE_TITLE_FONT_SIZE', $website_profile_title_font_size);
define('WEBSITE_PROFILE_DISCRIPTION_STATUS', $website_profile_discription_status);
define('WEBSITE_PROFILE_DISCRIPTION_FONT_SIZE', $website_profile_discription_font_size);
define('WEBSITE_PROFILE_FEATURES_STATUS', $website_profile_features_status);
$home_h1 = 'Escort Service in Deutschland';
$now = date("Y-m-d H:i:s");
$language = 'de';
$adservice_column = $language.'_adservice';
$nationality_column = $language.'_nationality';
$country_column = $language.'_country';
$world_region_column = $language.'_world_region';
#lag seting
$lang_site_main_lang ="de"; #main website
$lang_p["en"] = "Englisch"; #main
$lang_p["de"] = "Deutsche"; #sub
#flags maintaing
$flang_site_main_lang ="de"; #main website
$flang_p["en"] = "United_Kingdom"; #main
$flang_p["de"] = "Germany"; #sub
#Langauge Selection
ob_start();
if(!empty($_SESSION['id'])){
$result_lang=mysqli_query($connection, "SELECT * from user WHERE id=".$_SESSION['id']);
$data_lang = mysqli_fetch_array($result_lang);
if(!empty($data_lang["pref_lang"])){
include("includes/lang/".$data_lang["pref_lang"].".txt");
}else{
include("includes/lang/".$lang_site_main_lang.".txt");
}
}else{
include("includes/lang/".$lang_site_main_lang.".txt");
}
$lang_cont = ob_get_contents();
ob_end_clean();
eval($lang_cont);
include('dbFunctions.php');
$pgname = $_SERVER['PHP_SELF'];
$myArray = explode('/', $pgname);
$page = $myArray[1];
if($page != 'index.php'){
$home_h1 = '';
}
$h1_title = '';
$h1_discription = '';
$Section_City_statis = '';
$Section_City_title = '';
$Section_City_sub_title = '';
$Section_Region_Status = '';
$Section_Region_title = '';
$Section_Region_sub_title = '';
$query = "SELECT * from page WHERE page_php_name='$page' and language = '$lang_site_main_lang'";
$result = mysqli_query($connection, $query);
$row = mysqli_fetch_assoc($result);
$tmp_array_new = json_decode($row["meta_values"], true);
if($tmp_array_new["h1_status"]){
$home_h1 = rtxt($tmp_array_new["h1_title"]);
define('H1_TITLE', rtxt($tmp_array_new["h1_title"]));
define('H1_DISCRIPTION', rtxt($tmp_array_new["h1_discription"]));
}else{
if($page != 'index.php'){
$home_h1 = '';
}
}
$section_city_status = rtxt($tmp_array_new["Section_City_status"]);
$section_city_title = rtxt($tmp_array_new["Section_City_title"]);
$section_city_sub_title = rtxt($tmp_array_new["Section_City_sub_title"]);
$section_region_status = rtxt($tmp_array_new["Section_Region_Status"]);
$section_region_title = rtxt($tmp_array_new["Section_Region_title"]);
$section_region_sub_title = rtxt($tmp_array_new["Section_Region_sub_title"]);
$section_keyword_status = rtxt($tmp_array_new["section_keyword_status"]);
$section_keyword_title = rtxt($tmp_array_new["section_keyword_title"]);
$section_keyword_sub_title = rtxt($tmp_array_new["section_keyword_sub_title"]);
$json = '{
"de":{
"section_city_title":"Beliebte Städte",
"section_city_sub_title":"Die folgenden Städte mit %%category%%",
"section_region_sub_title":"Alle Regionen mit %%category%% und andere erotische Erfahrungen",
"section_region_title":"Beliebte Regionen",
"section_keyword_status":1,
"section_keyword_title":"keyword",
"section_keyword_sub_title":"keyword"
},
"en":{
"section_city_title":"Popular cities",
"section_city_sub_title":"The following cities with %%category%%",
"section_region_sub_title":"All regions with %%category%% and other erotic experiences",
"section_region_title":"Popular regions",
"section_keyword_status":1,
"section_keyword_title":"keyword",
"section_keyword_sub_title":"keyword"
}
}';
$jsonarray = json_decode($json, true);
// =============================================================================
if(isset($_SESSION['p'])){
if($_SESSION['page'] == $page){
if(isset($_SESSION['count_toreload'])){
$_SESSION['count_toreload'] = $_SESSION['count_toreload'] + 1;
}else{
$_SESSION['count_toreload'] = 1;
}
$_GET['p'] = $_SESSION['p'];
}else{
if($page == 'user_detail.php' || $page == 'load_data.php' || $page == 'services_html'){
// echo "if working";
}else{
if($page == 'index.php' || $page == 'search.php' || $page == 'category.php' || $page == 'adservices.php' || $page == 'search.php' || $page == 'cities.php' || $page == 'nationalities.php'){
unset($_SESSION['p']);
}
}
}
}
?>