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/ |
<style>
@media only screen and (max-width: 760px) {
.item.itdiv{
/*min-height: 500px;*/
}
.list_caption_toggle {
min-height: 90px;
}
/*.search_link1 {
color: #f7498e !important;
}*/
.search_link1:hover, .search_link:focus {
text-decoration: underline;
color: #f7498e;
outline: none;
}
}
@media only screen and (min-width: 760px) {
.desk-des{
line-height: 1.2;
}
.list_caption_toggle {
/*min-height: 120px;*/
}
}
</style>
<style>
/*.search_link1 {
color: #f7498e;
}*/
.search_link1:hover, .search_link:focus {
text-decoration: underline;
color: #f7498e;
outline: none;
}
</style>
<?php
$start = 0;
if($page == 'search.php'){
$num_record = 12;
}else{
$num_record = 8;
}
$boostSelect = "advertise.*, nat.".$nationality_column." ";
$boostTable = "advertise";
$boostJoin = " LEFT JOIN nationalities AS nat ON nat.id=advertise.nationality ";
$boostWhere = " advertise.adstatus=1 AND advertise.isApproved=1 AND advertise.boost=1 ";
$boostOrder = " ORDER BY advertise.plan_id DESC, advertise.update_date desc, advertise.id DESC ";
$boostLimit = "";
/*$boostLimit = " LIMIT $start,$num_record ";*/
$boostAdCntQry = "SELECT count(*) AS boostRecordsCnt FROM ". $boostTable . $boostJoin . (!empty($boostWhere) ? ' WHERE ( '. $boostWhere .' ) ' : ' WHERE '.$boostWhere);
$boostCntRecords = mysqli_fetch_array(mysqli_query($connection,$boostAdCntQry));
$boostRecordsCnt = $boostCntRecords['boostRecordsCnt'];
if($start == 0){
?>
<input type="hidden" name='boostRecordsCnt' id="boostRecordsCnt" value="<?= $boostRecordsCnt ?>" />
<?php
}
$boostAdQry = "SELECT ". $boostSelect ." FROM ". $boostTable . $boostJoin . (!empty($boostWhere) ? ' WHERE ( '. $boostWhere .' ) ' : ' WHERE '.$boostWhere) . $boostOrder . $boostLimit;
$boostAdResult = $connection->query($boostAdQry);
if ($boostAdResult->num_rows > 0) {
?>
<div class="<?= $section_container ?> section pt-0 boost_advertise">
<div class="row image-box style10 list-padding list-group mt-0 mb-0 shail2 pt-0" id="products" style="padding-bottom:0px !important;">
<?php
$class = $second_class = '';
$counter = 1;
$new_count = 1;
while($boostAdRow = $boostAdResult->fetch_assoc()) {
if($counter % 4==0){
$class='last';
}
if($counter % 4==1){
$class='first';
}
if($counter %2==0){
$second_class='mobile_last';
}
$counter++;
$main_img=$multi_user_img='';
$qry = "SELECT * FROM images WHERE ad_id = ".$boostAdRow['id'];
$img_result = mysqli_query($connection,$qry);
while($img_row=mysqli_fetch_array($img_result)){
$is_thumbnail = false;
$hover_image = '310_'.$img_row['photo'];
if (!file_exists('../thumbnails/'.$hover_image)) {
$multi_user_img.=MAIN_URL.'/user_images/'.$img_row['photo'].'#1000 ';
$src = MAIN_URL.'/user_images/'.$img_row['photo'];
}else{
$multi_user_img.=MAIN_URL.'/thumbnails/'.$hover_image.'#1000 ';
$is_thumbnail = true;
}
if($is_thumbnail){
if($img_row['is_profile']){
$main_img=MAIN_URL.'/thumbnails/'.$hover_image;
}
}else{
if($img_row['is_profile']){
$main_img=MAIN_URL.'/user_images/'.$img_row['photo'];
}
}
}
$multi_user_img=trim($multi_user_img);
#profile link code start
$row_page_ads_links =array();
$sql_page_ads_links="select * from page_ads_links where type='Profile' and ad_id='".$boostAdRow['id']."'";
$result_page_ads_links=mysqli_query($connection,$sql_page_ads_links);
if(mysqli_num_rows($result_page_ads_links)){
#Check if it is for whiich device
$sql_page_ads_links="select * from page_ads_links where ad_id='".$boostAdRow['id']."' and type='Profile' and ad_device='all' limit 1";
$result_page_ads_links=mysqli_query($connection,$sql_page_ads_links);
if(mysqli_num_rows($result_page_ads_links)){
#For all devices
$row_page_ads_links = mysqli_fetch_assoc($result_page_ads_links);
}else{
if($detect->isMobile() && !$detect->isTablet()) {
$sql_page_ads_links="select * from page_ads_links where type='Profile' and ad_device='mobile' and ad_id='".$boostAdRow['id']."' LIMIT 1";
}elseif($detect->isTablet()){
$sql_page_ads_links="select * from page_ads_links where type='Profile' and ad_device='tablet' and ad_id='".$boostAdRow['id']."' LIMIT 1";
}else{
$sql_page_ads_links="select * from page_ads_links where type='Profile' and ad_device='desktop' and ad_id='".$boostAdRow['id']."' LIMIT 1";
}
$result_page_ads_links=mysqli_query($connection,$sql_page_ads_links);
$row_page_ads_links = mysqli_fetch_assoc($result_page_ads_links);
}
}else{
#Check if all has entry or not
$row_page_ads_links =array();
$sql_page_ads_links="select * from page_ads_links where ad_id='all' and type='Profile'";
$result_page_ads_links=mysqli_query($connection,$sql_page_ads_links);
if(mysqli_num_rows($result_page_ads_links)){
#Check if it is for whiich device
$sql_page_ads_links="select * from page_ads_links where ad_id='all' and type='Profile' and ad_device='all' limit 1";
$result_page_ads_links=mysqli_query($connection,$sql_page_ads_links);
if(mysqli_num_rows($result_page_ads_links)){
#For all devices
$row_page_ads_links = mysqli_fetch_assoc($result_page_ads_links);
}else{
if($detect->isMobile() && !$detect->isTablet()){
$sql_page_ads_links="select * from page_ads_links where type='Profile' and ad_device='mobile' and ad_id='all' LIMIT 1";
}elseif($detect->isTablet()){
$sql_page_ads_links="select * from page_ads_links where type='Profile' and ad_device='tablet' and ad_id='all' LIMIT 1";
}else{
$sql_page_ads_links="select * from page_ads_links where type='Profile' and ad_device='desktop' and ad_id='all' LIMIT 1";
}
$result_page_ads_links=mysqli_query($connection,$sql_page_ads_links);
$row_page_ads_links = mysqli_fetch_assoc($result_page_ads_links);
}
}
}
#profile link code ends
?>
<div id="checklg" class="item col-sms-4 col-xs-6 col-sm-3 col-md-3 itdiv <?php echo $class.' '.$second_class;?>
<?php if(!empty($_GET['listgrid'])){ ?>
<?php if($_GET['listgrid']=="list"){ echo "list-group-item"; } ?>
<?php }else{?>
<?php if($detect->isMobile()){ ?>
<?php if(WEBSITE_GRID_MOBILE=="list"){ echo "list-group-item"; } ?>
<?php }else{ ?>
<?php if(WEBSITE_GRID_DESKTOP=="list"){ echo "list-group-item"; } ?>
<?php } ?>
<?php } ?>" style="padding-top:5px !important;">
<?php if($row_page_ads_links['base'] == "Popup-Message" && $row_page_ads_links['type'] == "Profile"){ ?>
<a class="Message_Modal" href="#msgModal1<?php echo $boostAdRow['id'];?>" data-toggle="modal">
<?php }elseif($row_page_ads_links['base'] == "Popup" && $row_page_ads_links['type'] == "Profile"){ ?>
<a class="Message_Modal" href="#msgModal1<?php echo $boostAdRow['id'];?>" data-toggle="modal">
<?php }else if(!empty($row_page_ads_links['message_outgoing_link']) && $row_page_ads_links['message_link_active'] == 1){ ?>
<a rel="nofollow" href="<?=$row_page_ads_links['message_outgoing_link']?>" target="_blank" alt="<?= $boostAdRow["profile_tile"] ?>" title="<?= $boostAdRow["profile_tile"] ?>">
<?php }else{?>
<?php if(!empty(WEBSITE_ADVERT_INDEX_POPUP) && trim(WEBSITE_ADVERT_INDEX_POPUP)=="Active"){?>
<a class="Message_Modal" href="#msgModal1<?php echo $boostAdRow['id'];?>" data-toggle="modal">
<?php }else{ ?>
<a href="<?php echo SUB_URL; ?>/<?php if($boostAdRow["category_id"] ==5){?>events<?php }else{ ?>user_detail<?php } ?>/<?php echo $boostAdRow["id"]."/".friendly_seo_string($boostAdRow["profile_tile"]);?>" alt="<?= $boostAdRow["profile_tile"] ?>" title="<?= $boostAdRow["profile_tile"] ?>">
<?php } ?>
<?php } ?>
<div class="thumbnail">
<?php
$plan="BOOST";
$ribb_class = 'gold';
if($boostAdRow["category_id"] == '1'){
$catgry="Escort";
if($boostAdRow['services']==1){
$match_area=$boostAdRow['incall'];
}else{
$match_area=$boostAdRow['outcall'];
}
}else if($boostAdRow["category_id"] == '2'){
$catgry="Massage Clinics";
$match_area=$boostAdRow['post_code'];
}else if($boostAdRow["category_id"] == '3'){
$catgry="Escort Agencies";
}else if($boostAdRow["category_id"] == '4'){
$catgry="Thai Massage";
$match_area=$boostAdRow['post_code'];
}else if($boostAdRow["category_id"] == '5'){
$catgry="Events";
$match_area=$boostAdRow['post_code'];
}
$area_code_split=explode(" ",$match_area);
$area_code=$area_code_split[0];
$address_postal_code = '';
$region=$boostAdRow['region'];
$subcountry=$boostAdRow['sub_country'];
$district=$boostAdRow['district'];
$ward=$boostAdRow['ward'];
if($region != ''){
$address_postal_code .= $region;
}
if($subcountry != '' && $subcountry != $region){
$address_postal_code .= "<br>".$subcountry;
}
if($district != '' && $district != $subcountry && $district != $region){
$address_postal_code .= "<br>".$district;
}
if($ward != '' && $ward != $district && $ward != $subcountry && $ward != $region){
$address_postal_code .= "<br>".$ward;
}
if($address_postal_code != ''){
$address_postal_code .= " - ".$area_code;
}else{
$address_postal_code .= " - ";
}
?>
<div>
<img class="group list-group-image user_multi_image lazy" src="<?php echo $main_img ?>" alt="<?php echo $boostAdRow["profile_tile"];?>" data-mouseover="<?php echo $multi_user_img; ?>" />
</div>
<div class="list_caption_toggle">
<div class="listhide">
<h2 class="h2_title group inner list-group-item-heading search_link1">
<?php
if(strlen($boostAdRow["profile_tile"]) > 50){
echo ucwords(mb_strtolower(substr($boostAdRow["profile_tile"],0,49),'UTF-8'))." ...";
}else {
echo ucwords(mb_strtolower($boostAdRow["profile_tile"],'UTF-8'));
}
?>
</h2>
</div>
<div class="listhide">
<?php if($detect->isMobile()){?>
<p class="age desk-des shail_list_list" style="display:none;"><?php echo substr($boostAdRow["profile_beskrivelse"],0,50)."..."; ?></p>
<p class="age desk-des shail_list_grid"><?php echo substr($boostAdRow["profile_beskrivelse"],0,20)."..."; ?></p>
<?php }else{ ?>
<p class="age desk-des"><?php echo mb_substr($boostAdRow["profile_beskrivelse"],0,90, "utf-8")."..."; ?> </p>
<?php } ?>
</div>
<?php
if($boostAdRow["category_id"]==1){
?>
<div class="listhide">
<p class="age" style="margin-top: 5px;"><?php echo $boostAdRow["alder"]." years | ".$boostAdRow[$nationality_column]; ?></p>
</div>
<?php
}else if($boostAdRow["category_id"] == 2 || $boostAdRow["category_id"] == 4 || $row["category_id"] == 5){
?>
<div class="listhide">
<p class="age" style="margin-top: 5px;"><?php echo $catgry; ?></p>
</div>
<?php
}else if($boostAdRow["category_id"] == 3){
?>
<div class="listhide">
<p class="age" style="margin-top: 5px;"><?php echo $catgry; ?></p>
</div>
<?php
}
?>
</div>
<div class="caption">
<div class="col-xs-8 col-md-8 agediv">
<div class="group inner list-group-item-heading user_discription col-md-12">
<h2 class="h2_title search_link1">
<?php
echo ucwords(mb_strtolower($boostAdRow["profile_tile"],'UTF-8'));
?>
</h2>
<?php
if($boostAdRow["update_date"] != '' && $boostAdRow["update_date"] != '0000-00-00 00:00:00'){
?>
<div class="update"><?= date('Y-m-d', strtotime($boostAdRow["update_date"])) ?></div>
<?php
}
?>
</div>
<p class="group inner list-group-item-text user_discription user_desc col-md-12">
<?php echo substr($boostAdRow["profile_beskrivelse"],0,400)."..."; ?>
</p>
<?php
if($boostAdRow["category_id"]==1){
?>
<div class="listhide">
<p class="group inner list-group-item-text user_discription col-md-6"><?php echo $boostAdRow["alder"].", ".$boostAdRow[$nationality_column]; ?></p>
</div>
<div class="col-md-6 col-sm-6 col-xs-6">
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Age :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow["alder"] == "" ? "---" : $boostAdRow["alder"]);?></span>
</p>
<?php
if($boostAdRow["kon"] == '1'){
$kongen="Female";
}else if($boostAdRow["kon"] == '2'){
$kongen="Male";
}else if($boostAdRow["kon"] == '3'){
$kongen="Trans";
}
?>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Gender :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow["kon"] == "" ? "---" : $kongen);?></span>
</p>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Height :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow["height"] == "" ? "---" : $boostAdRow["height"]." CM");?></span>
</p>
</div>
<div class="col-md-6 col-sm-6 col-xs-6 nopadding">
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Nationality :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow[$nationality_column] == "" ? "---" : $boostAdRow[$nationality_column]);?></span>
</p>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Breast Size :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow["bryst"] == "" ? "---" : $boostAdRow["bryst"]);?></span>
</p>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Weight :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow["weight"] == "" ? "---" : $boostAdRow["weight"]." KG");?></span>
</p>
</div>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12">
<label class="col-lg-3 col-md-3 col-xs-3 col-sm-3">Postcode:</label>
<span class="col-lg-9 col-md-9 col-xs-9 col-sm-9" style="padding-left: 8px;">
<?= $address_postal_code ?>
</span>
</p>
<?php
}else if($boostAdRow["category_id"] == 2 || $boostAdRow["category_id"] == 4){
?>
<div class="listhide">
<p class="group inner list-group-item-text user_discription col-md-6"><?php echo $boostAdRow["incall"];?></p>
</div>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12">
<label>
<span class="col-md-12 col-xs-12 col-sm-12 wrdbrk"><?php echo $boostAdRow["business_name"];?></span>
<span class="col-md-12 col-xs-12 col-sm-12 wrdbrk"><?php echo $region;?></span>
<span class="col-md-12 col-xs-12 col-sm-12 wrdbrk"><?php echo $subcountry;?></span>
<span class="col-md-12 col-xs-12 col-sm-12 wrdbrk"><?php echo $district;?></span>
<span class="col-md-12 col-xs-12 col-sm-12 wrdbrk"><?php echo $ward;?></span>
<span class="col-md-12 col-xs-12 col-sm-12 wrdbrk"><?php echo $boostAdRow["website"];?></span>
</label>
</p>
<?php
}else if($boostAdRow["category_id"] == 3){
?>
<div class="listhide">
<p class="group inner list-group-item-text user_discription col-md-6"><?php echo $catgry;?></p>
</div>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12">
<label class="col-md-4 col-xs-3 col-sm-3">Website :</label>
<span class="col-md-8 col-xs-9 col-sm-9 wrdbrk"><?php echo ($boostAdRow["website"] == "" ? "---" : $boostAdRow["website"]);?></span>
</p>
<?php
}else if($boostAdRow["category_id"] == 5){
?>
<div class="listhide">
<p class="group inner list-group-item-text user_discription col-md-6"><?php echo $boostAdRow["alder"].", ".$boostAdRow[$nationality_column]; ?></p>
</div>
<div class="col-md-6 col-sm-6 col-xs-6">
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Date :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow["event_date"] == "" ? "---" : $boostAdRow["event_date"]);?></span>
</p>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Place :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow["event_place"] == "" ? "---" : $boostAdRow["event_place"]);?></span>
</p>
</div>
<div class="col-md-6 col-sm-6 col-xs-6 nopadding">
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Time :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo $boostAdRow["event_time_from"]." - ".$boostAdRow["event_time_to"];?></span>
</p>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12 nopadding">
<label class="col-md-6 col-xs-6 col-sm-5">Registration :</label>
<span class="col-md-6 col-xs-6 col-sm-7"><?php echo ($boostAdRow["event_register_type"] == "" ? "---" : $boostAdRow["event_register_type"]);?></span>
</p>
</div>
<p class="group inner list-group-item-text user_discription col-md-12 col-xs-12 col-sm-12">
<label class="col-lg-3 col-md-3 col-xs-3 col-sm-3">Area :</label>
<span class="col-lg-9 col-md-9 col-xs-9 col-sm-9" style="padding-left: 8px;">
<?= $address_postal_code ?>
</span>
</p>
<?php
}
?>
</div>
</div>
<div>
<div class="ribbon"><span class="corner-ribbon <?= $ribb_class ?>"><?= $plan ?></span></div>
</div>
</div>
</a>
<?php if($row_page_ads_links['base'] == "Popup" && $row_page_ads_links['type'] == "Profile"){ ?>
<!-- Message Modal -->
<div class="modal fade Modal_Dialog cus_modal" id="msgModal1<?php echo $boostAdRow['id'];?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<button class="close_btn" type="button" data-dismiss="modal">x</button>
<iframe class="iframe_c" src="<?= $row_page_ads_links['message_outgoing_link'] ?>" ></iframe>
</div>
</div>
</div>
<?php } elseif($row_page_ads_links['base'] == "Popup-Message" && $row_page_ads_links['type'] == "Profile"){ ?>
<!-- Message Modal -->
<div class="modal fade Modal_Dialog profile_modal" id="msgModal1<?php echo $boostAdRow["id"];?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" style="width:auto !important;">
<div class="modal-content">
<button class="close_btn" type="button" data-dismiss="modal">x</button>
<iframe class="iframe_c" src="<?php echo MAIN_URL; ?>/user_detail?profile_id=<?=$boostAdRow['id']?>&mde=popup-message" ></iframe>
</div>
</div>
</div>
<?php }else{ ?>
<?php if(!empty(WEBSITE_ADVERT_INDEX_POPUP) && trim(WEBSITE_ADVERT_INDEX_POPUP)=="Active"){?>
<!-- Message Modal -->
<div class="modal fade Modal_Dialog profile_modal" id="msgModal1<?php echo $boostAdRow["id"];?>" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog" style="width:auto !important;">
<div class="modal-content">
<button class="close_btn" type="button" data-dismiss="modal">x</button>
<iframe class="iframe_c" src="<?php echo MAIN_URL; ?>/user_detail?profile_id=<?=$boostAdRow['id']?>" ></iframe>
</div>
</div>
</div>
<?php } ?>
<?php } ?>
</div>
<?php
$class=$second_class='';
}
?>
</div>
</div>
<?php
}
?>