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/annoncelights.dk/public_html/en/ |
<?php
if ($page == "index.php") {
$abovefooter_sql = "SELECT `page_id`, `page`, `page_php_name`, `page_url`, `page_title`, `page_keyword`, `page_description`, `page_top_content`, `page_middle_content`, `page_bottom_content`, `meta_values`, `language` FROM `page` WHERE `page` = 'Home' and `language` = '$lang_site_main_lang'";
$abovefooter_result = mysqli_query($connection, $abovefooter_sql);
if (mysqli_num_rows($abovefooter_result) > 0) {
// output data of each row
$u = 0;
while ($abovefooter_row = mysqli_fetch_assoc($abovefooter_result)) {
$abovefooter_meta_values = $abovefooter_row["meta_values"];
$u++;
$tmp_array = json_decode($abovefooter_meta_values, true);
$allow = $tmp_array["above_footer_status_section_1"];
}
if($allow){
?>
<div class="<?= $section_container ?> section">
<div class="description text-left mb-50">
<br>
<br>
<?php
$u=0;
$sql = "SELECT `id`, `language`, `page`, `key`, `value`, `value1` FROM `page_detail` WHERE `page` = 'Home' and `language` = '$lang_site_main_lang' and `key` = 'footer_section_1'";
$result = mysqli_query($connection, $sql);
if (mysqli_num_rows($result) > 0) {
// output data of each row
$h=0;
while($row1111 = mysqli_fetch_assoc($result)) {
$id = $row1111["id"];
$language = $row1111["language"];
$key = $row1111["key"];
$value = htmlspecialchars_decode($row1111["value"]);
$value1 = htmlspecialchars_decode($row1111["value1"]);
$h++;
?>
<h2><?PHP ECHO $value ; ?></h2>
<p class="h2_description"><?php echo $value1 ?></p>
<?php
}
}
?>
</div></div>
<?php
} //allow end
} //if data
} //ifindex end
if ($page == "category.php") {
$category = $category_html_title;
$abovefooter_sql = "SELECT `page_id`, `page`, `page_php_name`, `page_url`, `page_title`, `page_keyword`, `page_description`, `page_top_content`, `page_middle_content`, `page_bottom_content`, `meta_values`, `language` FROM `page` WHERE `page` = 'Category' and `language` = '$lang_site_main_lang'";
$abovefooter_result = mysqli_query($connection, $abovefooter_sql);
if (mysqli_num_rows($abovefooter_result) > 0) {
// output data of each row
$u = 0;
while ($abovefooter_row = mysqli_fetch_assoc($abovefooter_result)) {
$abovefooter_meta_values = $abovefooter_row["meta_values"];
$u++;
$tmp_array = json_decode($abovefooter_meta_values, true);
$allow = $tmp_array["above_footer_status_section_1"];
}
if($allow){
?>
<div class="<?= $section_container ?> section">
<div class="description text-left mb-50">
<br>
<br>
<?php
$u=0;
$sql = "SELECT `id`, `language`, `page`, `key`, `value`, `value1` FROM `page_detail` WHERE `page` = 'Category' and `language` = '$lang_site_main_lang' and `key` = 'footer_section_1'";
$result = mysqli_query($connection, $sql);
if (mysqli_num_rows($result) > 0) {
// output data of each row
$h=0;
while($row1111 = mysqli_fetch_assoc($result)) {
$id = $row1111["id"];
$language = $row1111["language"];
$key = $row1111["key"];
$value = htmlspecialchars_decode($row1111["value"]);
$value = repss(
"%%category%%",
$category,
$value);
$value1 = htmlspecialchars_decode($row1111["value1"]);
$value1 = repss(
"%%category%%",
$category,
$value1);
$h++;
?>
<h2><?PHP ECHO $value ; ?></h2>
<p class="h2_description"><?php echo $value1 ?></p>
<?php
}
}
?>
</div></div>
<?php
} //allow end
} //if data
}// end category.php
if ($page == "cities.php") {
$city = $_GET["omrade1"];
$category = $get_category;
$abovefooter_sql = "SELECT `page_id`, `page`, `page_php_name`, `page_url`, `page_title`, `page_keyword`, `page_description`, `page_top_content`, `page_middle_content`, `page_bottom_content`, `meta_values`, `language` FROM `page` WHERE `page` = 'Cities' and `language` = '$lang_site_main_lang'";
$abovefooter_result = mysqli_query($connection, $abovefooter_sql);
if (mysqli_num_rows($abovefooter_result) > 0) {
// output data of each row
$u = 0;
while ($abovefooter_row = mysqli_fetch_assoc($abovefooter_result)) {
$abovefooter_meta_values = $abovefooter_row["meta_values"];
$u++;
$tmp_array = json_decode($abovefooter_meta_values, true);
$allow = $tmp_array["above_footer_status_section_1"];
}
if($allow){
?>
<div class="<?= $section_container ?> section">
<div class="description text-left mb-50">
<br>
<br>
<?php
$u=0;
$sql = "SELECT `id`, `language`, `page`, `key`, `value`, `value1` FROM `page_detail` WHERE `page` = 'Cities' and `language` = '$lang_site_main_lang' and `key` = 'footer_section_1'";
$result = mysqli_query($connection, $sql);
if (mysqli_num_rows($result) > 0) {
// output data of each row
$h=0;
while($row1111 = mysqli_fetch_assoc($result)) {
$id = $row1111["id"];
$language = $row1111["language"];
$key = $row1111["key"];
$value = htmlspecialchars_decode($row1111["value"]);
$value = repss(
"%%category%%",
$category,
$value);
$value = repss(
"%%city%%",
$city,
$value);
$value1 = htmlspecialchars_decode($row1111["value1"]);
$value1 = repss(
"%%category%%",
$category,
$value1);
$value1 = repss(
"%%city%%",
$city,
$value1);
$h++;
?>
<h2><?PHP ECHO $value ; ?></h2>
<p class="h2_description"><?php echo $value1 ?></p>
<?php
}
}
?>
</div></div>
<?php
} //allow end
} //if data
}// end cities.php
if ($page == "nationalities.php") {
$nationality = $_GET["nationality"];
$category = $get_category;
$abovefooter_sql = "SELECT `page_id`, `page`, `page_php_name`, `page_url`, `page_title`, `page_keyword`, `page_description`, `page_top_content`, `page_middle_content`, `page_bottom_content`, `meta_values`, `language` FROM `page` WHERE `page` = 'Nationalities' and `language` = '$lang_site_main_lang'";
$abovefooter_result = mysqli_query($connection, $abovefooter_sql);
if (mysqli_num_rows($abovefooter_result) > 0) {
// output data of each row
$u = 0;
while ($abovefooter_row = mysqli_fetch_assoc($abovefooter_result)) {
$abovefooter_meta_values = $abovefooter_row["meta_values"];
$u++;
$tmp_array = json_decode($abovefooter_meta_values, true);
$allow = $tmp_array["above_footer_status_section_1"];
}
if($allow){
?>
<div class="<?= $section_container ?> section">
<div class="description text-left mb-50">
<br>
<br>
<?php
$u=0;
$sql = "SELECT `id`, `language`, `page`, `key`, `value`, `value1` FROM `page_detail` WHERE `page` = 'Nationalities' and `language` = '$lang_site_main_lang' and `key` = 'footer_section_1'";
$result = mysqli_query($connection, $sql);
if (mysqli_num_rows($result) > 0) {
// output data of each row
$h=0;
while($row1111 = mysqli_fetch_assoc($result)) {
$id = $row1111["id"];
$language = $row1111["language"];
$key = $row1111["key"];
$value = htmlspecialchars_decode($row1111["value"]);
$value = repss(
"%%category%%",
$category,
$value);
$value = repss(
"%%nationality%%",
$nationality,
$value);
$value1 = htmlspecialchars_decode($row1111["value1"]);
$value1 = repss(
"%%category%%",
$category,
$value1);
$value1 = repss(
"%%nationality%%",
$nationality,
$value1);
$h++;
?>
<h2><?PHP ECHO $value ; ?></h2>
<p class="h2_description"><?php echo $value1 ?></p>
<?php
}
}
?>
</div></div>
<?php
} //allow end
} //if data
}// end nationalities.php
if ($page == "adservices.php") {
$adservice = $_GET["adservice"];
$category = $get_category;
// %%adservice%% %%category%%
$abovefooter_sql = "SELECT `page_id`, `page`, `page_php_name`, `page_url`, `page_title`, `page_keyword`, `page_description`, `page_top_content`, `page_middle_content`, `page_bottom_content`, `meta_values`, `language` FROM `page` WHERE `page` = 'Adservices' and `language` = '$lang_site_main_lang'";
$abovefooter_result = mysqli_query($connection, $abovefooter_sql);
if (mysqli_num_rows($abovefooter_result) > 0) {
// output data of each row
$u = 0;
while ($abovefooter_row = mysqli_fetch_assoc($abovefooter_result)) {
$abovefooter_meta_values = $abovefooter_row["meta_values"];
$u++;
$tmp_array = json_decode($abovefooter_meta_values, true);
$allow = $tmp_array["above_footer_status_section_1"];
}
if($allow){
?>
<div class="<?= $section_container ?> section">
<div class="description text-left mb-50">
<br>
<br>
<?php
$u=0;
$sql = "SELECT `id`, `language`, `page`, `key`, `value`, `value1` FROM `page_detail` WHERE `page` = 'Adservices ' and `language` = '$lang_site_main_lang' and `key` = 'footer_section_1'";
$result = mysqli_query($connection, $sql);
if (mysqli_num_rows($result) > 0) {
// output data of each row
$h=0;
while($row1111 = mysqli_fetch_assoc($result)) {
$id = $row1111["id"];
$language = $row1111["language"];
$key = $row1111["key"];
$value = htmlspecialchars_decode($row1111["value"]);
$value = repss(
"%%category%%",
$category,
$value);
$value = repss(
"%%adservice%%",
$adservice,
$value);
$value1 = htmlspecialchars_decode($row1111["value1"]);
$value1 = repss(
"%%category%%",
$category,
$value1);
$value1 = repss(
"%%adservice%%",
$adservice,
$value1);
$h++;
?>
<h2><?PHP ECHO $value ; ?></h2>
<p class="h2_description"><?php echo $value1 ?></p>
<?php
}
}
?>
</div></div>
<?php
} //allow end
} //if data
}
// end adservice.php
if ($page == "search.php") {
$abovefooter_sql = "SELECT `page_id`, `page`, `page_php_name`, `page_url`, `page_title`, `page_keyword`, `page_description`, `page_top_content`, `page_middle_content`, `page_bottom_content`, `meta_values`, `language` FROM `page` WHERE `page` = 'Search' and `language` = '$lang_site_main_lang'";
$abovefooter_result = mysqli_query($connection, $abovefooter_sql);
if (mysqli_num_rows($abovefooter_result) > 0) {
// output data of each row
$u = 0;
while ($abovefooter_row = mysqli_fetch_assoc($abovefooter_result)) {
$abovefooter_meta_values = $abovefooter_row["meta_values"];
$u++;
$tmp_array = json_decode($abovefooter_meta_values, true);
$allow = $tmp_array["above_footer_status_section_1"];
}
if($allow){
?>
<div class="<?= $section_container ?> section">
<div class="description text-left mb-50">
<br>
<br>
<?php
$u=0;
$sql = "SELECT `id`, `language`, `page`, `key`, `value`, `value1` FROM `page_detail` WHERE `page` = 'Search' and `language` = '$lang_site_main_lang' and `key` = 'footer_section_1'";
$result = mysqli_query($connection, $sql);
if (mysqli_num_rows($result) > 0) {
// output data of each row
$h=0;
while($row1111 = mysqli_fetch_assoc($result)) {
$id = $row1111["id"];
$language = $row1111["language"];
$key = $row1111["key"];
$value = htmlspecialchars_decode($row1111["value"]);
$value = repss(
"%%search%%",
$get_search,
$value);
$value1 = htmlspecialchars_decode($row1111["value1"]);
$value1 = repss(
"%%search%%",
$get_search,
$value1);
$h++;
?>
<h2><?PHP ECHO $value ; ?></h2>
<p class="h2_description"><?php echo $value1 ?></p>
<?php
}
}
?>
</div></div>
<?php
} //allow end
} //if data
}// end adservice.php