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/en/ |
<?php
include_once "db_connection.php";
include_once "functions.php";
require_once 'Mobile_Detect.php';
$detect = new Mobile_Detect;
if(isset($_GET) && !empty($_GET)){
$myJSON = json_encode($_GET);
}else{
$myJSON = 1;
}
if(isset($_GET['search']) && !empty($_GET['search'])){
$search_title = strtolower($_GET['search']);
$search_sql = mysqli_query($connection,"SELECT * FROM search WHERE title = '".$search_title."' and language='".$language."'");
$num_search_count = mysqli_num_rows($search_sql);
if($num_search_count == 0){
$insert_search_sql = mysqli_query($connection,"INSERT INTO search (title, ,language,date_time,count) VALUES ('".$search_title."','".trim($language)."', '".date('Y-m-d H:i:s')."', 1)");
}elseif($num_search_count == 1){
$search_row = mysqli_fetch_assoc($search_sql);
$search_id = $search_row['search_id'];
$search_description = $search_row['description'];
$count_plus = $search_row['count']+1;
$update_search_sql = mysqli_query($connection,"UPDATE search SET count=$count_plus WHERE search_id=$search_id");
}
}
?>
<!DOCTYPE html>
<html lang="<?= $language ?>">
<head>
<?php include_once "new_head.php"; ?>
</head>
<body id="myPage">
<div id="mobile-indicator"></div>
<div id="page-wrapper">
<?php include_once "header.php"; ?>
<section id="content" class="<?= $container.' '.$cont_fluid_bg_class ?> container-fluid">
<div class="col-sm-12 col-md-12 col-xs-12 col-lg-12 no-padding">
<?php
if($page_ad_active == 1 || $page_top_ad_active == 1 || $page_left_ad_active == 1 || $page_right_ad_active == 1 || WEBSITE_PAGE_LAYOUT=="small"){
?>
<div class="col-sm-12 col-md-1 col-xs-12 col-lg-1"><?=$left_side_banner?></div>
<?php
}
?>
<div class="<?= $page_ad_bs_class ?>">
<div class="search-box-wrapper mt-100">
<div class="search-box <?= $section_container ?>">
<div class="search-tab-content">
<?php include_once "section_search.php"; ?>
</div>
</div>
</div>
</div>
<?php
if($page_ad_active == 1 || $page_top_ad_active == 1 || $page_left_ad_active == 1 || $page_right_ad_active == 1 || WEBSITE_PAGE_LAYOUT=="small"){
?>
<div class="col-sm-12 col-md-1 col-xs-12 col-lg-1"><?=$right_side_banner?></div>
<?php
}
?>
</div>
<div id="products" class="col-md-12 col-xs-12 text-center no_result_found">
<img src="<?= MAIN_URL.'/images/noresult.png' ?>" />
<p><?=$tlang["page_not_found_on_the_server"]?></p>
<p><?=$tlang["back_to"]?> <a class="error_home" href="<?php echo SUB_URL; ?>"><?=$tlang["home_page"]?></a></p>
</div>
</section>
<footer id="footer">
<div class="footer-wrapper">
<?php include_once 'footer.php'; ?>
</div>
</footer>
</div>
<?php include_once '../js_zone.php'; ?>
<style>
.error_home{
color: #337ab7;
}
</style>
<script>
//window.addEventListener('resize', go);
$(window).on("resize", function(event){
setTimeout(function(){ go(); }, 10);
});
go();
function go(){
$( document ).ready(function() {
if(isMobileWidth()){
$('#more_countries').attr('href','#more_countries_collapse-mob');
$('#more_regions').attr('href','#more_regions_collapse-mob');
$('#more_cities').attr('href','#more_cities_collapse-mob');
$('#more_nationalities').attr('href','#more_nationalities_collapse-mob');
$('#more_adservices').attr('href','#more_adservices_collapse-mob');
$(".form_group_width_category").css({"width": ""});
$(".form_group_width_area").css({"width": ""});
$(".form_group_width_postal").css({"width": ""});
$(".form_group_width_radius").css({"width": ""});
$(".form_group_width_search").css({"width": ""});
$(".form_group_width_btn").css({"width": ""});
$(".form_group_width_adv").css({"width": ""});
}else{
$('#more_countries').attr('href','#more_countries_collapse');
$('#more_regions').attr('href','#more_regions_collapse');
$('#more_cities').attr('href','#more_cities_collapse');
$('#more_nationalities').attr('href','#more_nationalities_collapse');
$('#more_adservices').attr('href','#more_adservices_collapse');
var width=$('.adjustsrch').width()-70;
$(".form_group_width_category").css({"width": (width*19)/100});
$(".form_group_width_area").css({"width": (width*18)/100});
$(".form_group_width_postal").css({"width": (width*18)/100});
$(".form_group_width_radius").css({"width": (width*13)/100});
$(".form_group_width_search").css({"width": (width*20)/100});
$(".form_group_width_btn").css({"width": (width*12)/100});
$(".form_group_width_adv").css({"width": "30px"});
}
if($(window).width()>550){
$(".manage_boot").addClass("col-xs-6");
$(".manage_boot").removeClass("col-xs-12");
}else{
$(".manage_boot").removeClass("col-xs-6");
$(".manage_boot").addClass("col-xs-12");
}
});
};
/*List/Grid View*/
$(document).ready(function() {
if(document.getElementById('listgrid').value == "list"){
$('#list').hide();
$('#grid').show();
}else{
$('#list').show();
$('#grid').hide();
}
$('#list').click(function(){
event.preventDefault();
$('#products .item').addClass('list-group-item');
document.getElementById('listgrid').value = "list";
$('#list').hide();
$('#grid').show();
});
$('#grid').click(function(){
event.preventDefault();
$('#products .item').removeClass('list-group-item');
document.getElementById('listgrid').value = "grid";
$('#list').show();
$('#grid').hide();
});
$('#advsrch').click(function(){
event.preventDefault();
if(document.getElementById('advancesrc').value=='Yes'){
document.getElementById('advancesrc').value = "";
}else{
document.getElementById('advancesrc').value = "Yes";
}
});
});
</script>
</body>
</html>