Файл: public_html/tpl/page/kate1/index.html
Строк: 412
<?php
<script>
function loadCompoments(o){
jQuery('input[name=tcat2]').val(o);
jQuery('.loadCompoments').html('<div style="float:left; padding:20px;"><img src="../../img/287.gif" /></div>');
jQuery('.allb').css('font-weight', 'normal');
var getType = 'null';
jQuery.post('init/catload2.php', { db : o, type : getType, db1 : 'unterkategorie2', suche : '{function="htmlspecialchars($_GET['suche'])"}', price : '{function="htmlspecialchars($_GET['price'])"}', pricestart : '{function="htmlspecialchars($_GET['pricestart'])"}', sucheWo : '{function="htmlspecialchars($_GET['sucheWo'])"}', umkreis : '{function="htmlspecialchars($_GET['umkreis'])"}', room : '{function="htmlspecialchars($_GET['room'])"}', flache : '{function="htmlspecialchars($_GET['flache'])"}', id3 : '{function="htmlspecialchars($_GET['id3'])"}', zulassung : '{function="htmlspecialchars($_GET['zulassung'])"}', kilometer : '{function="htmlspecialchars($_GET['kilometer'])"}', kraftstoff : '{function="htmlspecialchars($_GET['kraftstoff'])"}' }, function(r){
jQuery('.loadCompoments').html(r);
jQuery('.bpoint'+o).css('font-weight', 'bold');
});
}
function ajaxCat(i){ jQuery('.hidePageEnd').hide();
jQuery('input[name=tcat1]').val(i);
jQuery('input[name=tcat2]').val('');
var getType = 'null';
jQuery('.loadCompoments').html('<div style="float:left; padding:20px;"><img src="../../img/287.gif" /></div>');
jQuery('.allloadunder').hide(); jQuery('.allendFonts').css('font-weight', 'normal');
jQuery.get('init/loadcats.php', { get : i }, function(r){ jQuery('.bigFont'+i).css('font-weight', 'bold'); jQuery('.loadundercat_'+i).html(r); jQuery('.loadundercat_'+i).show(); });
jQuery.post('init/catload2.php', { db : i, type : getType, db1 : 'unterkategorie1', suche : '{function="htmlspecialchars($_GET['suche'])"}', price : '{function="htmlspecialchars($_GET['price'])"}', pricestart : '{function="htmlspecialchars($_GET['pricestart'])"}', sucheWo : '{function="htmlspecialchars($_GET['sucheWo'])"}', umkreis : '{function="htmlspecialchars($_GET['umkreis'])"}', room : '{function="htmlspecialchars($_GET['room'])"}', flache : '{function="htmlspecialchars($_GET['flache'])"}', id3 : '{function="htmlspecialchars($_GET['id3'])"}', zulassung : '{function="htmlspecialchars($_GET['zulassung'])"}', kilometer : '{function="htmlspecialchars($_GET['kilometer'])"}', kraftstoff : '{function="htmlspecialchars($_GET['kraftstoff'])"}' }, function(r){
jQuery('.loadCompoments').html(r);
});
}
/* TABsort */
function sortableTab(i){ jQuery('.hidePageEnd').hide();
jQuery('.loadCompoments').html('<div style="float:left; padding:20px;"><img src="../../img/287.gif" /></div>');
var tcat1 = jQuery('input[name=tcat1]').val();
var tcat2 = jQuery('input[name=tcat2]').val();
jQuery('.removeall').removeClass('tabadd');
jQuery('.allTab').addClass('allTabAdd');
switch(i)
{
case '1': jQuery('.tabprivat').addClass('tabadd'); break;
case '2': jQuery('.gewerbe').addClass('tabadd'); break;
case '3': jQuery('.gesuche').addClass('tabadd'); break;
}
if(tcat2 == ''){
var oi = tcat1;
var db2 = 'unterkategorie1';
}else{
var oi = tcat2;
var db2 = 'unterkategorie2';
}
jQuery.post('init/catload2.php', { db : oi, db1 : db2, sortbe : i, id : '{function="intval($_GET['id'])"}', id2 : '{function="intval($_GET['id2'])"}', suche : '{function="htmlspecialchars($_GET['suche'])"}', price : '{function="htmlspecialchars($_GET['price'])"}', pricestart : '{function="htmlspecialchars($_GET['pricestart'])"}', sucheWo : '{function="htmlspecialchars($_GET['sucheWo'])"}', umkreis : '{function="htmlspecialchars($_GET['umkreis'])"}', room : '{function="htmlspecialchars($_GET['room'])"}', flache : '{function="htmlspecialchars($_GET['flache'])"}', id3 : '{function="htmlspecialchars($_GET['id3'])"}', zulassung : '{function="htmlspecialchars($_GET['zulassung'])"}', kilometer : '{function="htmlspecialchars($_GET['kilometer'])"}', kraftstoff : '{function="htmlspecialchars($_GET['kraftstoff'])"}' }, function(r){
jQuery('.loadCompoments').html(r);
});
}
function allController(i){
jQuery('.loadCompoments').html('<div style="float:left; padding:20px;"><img src="../../img/287.gif" /></div>');
var tcat1 = jQuery('input[name=tcat1]').val();
var tcat2 = jQuery('input[name=tcat2]').val();
if(tcat2 == ''){
var oi = tcat1;
var db2 = 'unterkategorie1';
}else{
var oi = tcat2;
var db2 = 'unterkategorie2';
}
jQuery('.allTab').removeClass('allTabAdd');
jQuery('.removeall').removeClass('tabadd');
jQuery.post('init/catload2.php', { db : oi, db1 : db2, sortbe : '', id : '{function="intval($_GET['id'])"}', id2 : '{function="intval($_GET['id2'])"}', suche : '{function="htmlspecialchars($_GET['suche'])"}', price : '{function="htmlspecialchars($_GET['price'])"}', pricestart : '{function="htmlspecialchars($_GET['pricestart'])"}', sucheWo : '{function="htmlspecialchars($_GET['sucheWo'])"}', umkreis : '{function="htmlspecialchars($_GET['umkreis'])"}', room : '{function="htmlspecialchars($_GET['room'])"}', flache : '{function="htmlspecialchars($_GET['flache'])"}', id3 : '{function="htmlspecialchars($_GET['id3'])"}', zulassung : '{function="htmlspecialchars($_GET['zulassung'])"}', kilometer : '{function="htmlspecialchars($_GET['kilometer'])"}', kraftstoff : '{function="htmlspecialchars($_GET['kraftstoff'])"}' }, function(r){
jQuery('.loadCompoments').html(r);
});
}
</script>
<input type="hidden" name="tcat1-" value="{function="intval($_GET['id'])"}" />
<input type="hidden" name="tcat2-" value="{function="intval($_GET['id2'])"}" />
<input type="hidden" name="tcat1" />
<input type="hidden" name="tcat2" />
<style type="text/css">
.allTab{ padding:10px; font-family:Open Sans; }
.inTab1{ padding:8px; font-family:Open Sans; }
</style>
<div {style="float:left; clear:both; padding-top:20px; width:995px;"}>
<div {style="float:left;"}>
{include="page/kate1/menu"}
</div>
<div {style="float:left; padding-left:16px; width:720px;"}>
<div {style="float:left; clear:both; border-bottom:1px solid #ccc; width:775px;"}>
<div {style="float:left; clear:both; width:775px;"}>
<div {style="float:left; padding-top:0;"}>
<a href="javascript:void()" onclick="allController('1')"><div class="allTab">{$lang203}</div></a>
<div {style="float:left; padding-top:4px;"}>
<a href="javascript:void()" onclick="sortableTab('1')"><div class="inTab1 removeall tabprivat">{$lang204}</div></a>
</div>
<div {style="float:left; padding-top:4px;"}>
<a href="javascript:void()" onclick="sortableTab('2')"><div class="inTab1 removeall gewerbe">{$lang205}</div></a>
</div>
<div {style="float:left; padding-top:4px;"}>
<a href="javascript:void()" onclick="sortableTab('3')"><div class="inTab1 removeall gesuche">{$lang206}</div></a>
</div>
</div>
<div {style="float:right; padding-top:2px; padding-bottom:10px; display:none;"}>
<select name="sortierart" class="basic" data-custom-id="custom" data-custom-class="custom" {style="border-radius:5px;"}>
<option>{$lang545}</option>
</select>
</div>
</div>
</div>
<style type="text/css">.trun{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}</style>
<div {style="float:left; clear:both;"} class="loadCompoments">
{if="!$cat1"}
<div {style="float:left; clear:both; padding:20px 0;"}>
<div {style="float:left; clear:both; width:750px;"} class="mobile">
<div {style="float:left; border:1px solid #ff8300; background:#fff; padding:10px; width:100%;"} class="mobile">
<div {style="float:left; font-size:14px; color:#ff8300;"}><b>Es wurden leider keine Anzeigen für "{function="htmlspecialchars($_GET['suche'])"}" gefunden.</b></div>
<div {style="float:left; clear:both; padding-top:10px;"}>
Tipps für die erfolgreiche Suche
<ul>
<li>Wenn Sie mit einem Suchbegriff gesucht haben: Haben Sie sich vertippt?</li>
<li>Wenn Sie in einem bestimmten Ort suchen: Erweitern Sie den Umkreis.</li>
<li>Wenn Sie nach Gesuchen schauen: Klicken sie links auf 'Gesuche'.</li>
</ul>
</div>
</div>
</div>
</div>
{/if}
{loop="$cat1"}
<div class="cat1 anzeigeHoverShow" id="{$value.id}" onclick="location.href='{function="createseo($value.titel)"}-ID{$value.id}'" style="padding:0; {if="$value.ad_highlight_time != ''"}background:#fff4ce;{/if} width:775px; font-family:Open Sans;">
<div style="float:left;">
<div style="float:left; border-right:1px solid #eee; padding:4px; padding-left:0px; background:#fff;">
<div style="float:left; background:url(tpl/upload/{$value.bild}-160.jpg) #fff no-repeat center; width:160px; height:160px;"></div>
</div>
</div>
<div style="float:left; padding-left:20px; width:310px; padding-top:15px;">
<div style="float:left; font-size:16px; width:310px;" class="trun titel_{$value.id}"><b><a href="{function="createseo($value.titel)"}-ID{$value.id}" style="color:#444;">{function="wrapy($value.titel, 24)"}</a></b></div>
<div style="float:left; clear:both; padding-top:5px; font-size:13px; color:#666;">{function="htmlspecial2(nl2(wrapy($value.beschreibung,25)))"}</div>
<div style="float:left; clear:both; padding-top:20px; font-family:Open Sans; color:#666;">
{if="$value.i_flache"}
<div {style="float:left; padding-right:10px;"}>
<div {style="float:left; background:#eee; padding:4px 10px; border-radius:3px;"}><b>{$value.i_flache}m²</b></div>
</div>
{/if}
{if="$value.i_zimmer"}
<div {style="float:left; padding-right:10px;"}>
<div {style="float:left; background:#eee; padding:4px 10px; border-radius:3px;"}><b>{$value.i_zimmer} {$lang471}</b></div>
</div>
{/if}
{if="$value.a_kilometer"}
<div {style="float:left; padding-right:10px; padding-bottom:5px;"}>
<div {style="float:left; background:#eee; padding:4px 10px; border-radius:3px;"}><b>{function="number_format($value.a_kilometer,0,',','.')"} {$lang527}</b></div>
</div>
{/if}
{if="$value.a_ps"}
<div {style="float:left; padding-right:10px; padding-bottom:5px;"}>
<div {style="float:left; background:#eee; padding:4px 10px; border-radius:3px;"}><b>{$value.a_kw}KW/{$value.a_ps}{$lang546}</b></div>
</div>
{/if}
{if="$value.a_kraftstoff"}
<div {style="float:left; padding-right:10px; padding-bottom:5px;"}>
<div {style="float:left; background:#eee; padding:4px 10px; border-radius:3px;"}><b>{$value.a_kraftstoff}</b></div>
</div>
{/if}
</div>
</div>
<div {style="float:left; font-weight:bold; color:#ff8300; font-size:13px; padding-top:15px; width:120px;"} align="center">
<div {style="float:left; width:120px;"} align="center">
{if="$value.preisart != '3'"}{function="number_format($value.preis,0,',','.')"} {$lang547}{/if}
<br />
{if="$value.preisart == '1'"}Festpreis{elseif="$value.preisart == '2'"}VB{else}{$lang444}{/if}
</div>
{if="$value.accpaypal == 2"}
<div {style="float:left; clear:both; width:120px;"} align="center">
<img src="../../img/_/PayPal_rgb_60x60.png" />
</div>
{/if}
</div>
<div {style="float:left; width:50px; padding-top:15px; font-size:13px;"}>
{$value.postleitzahl} {function="geoort($value.postleitzahl)"}
</div>
{if="$value.ad_highlight_time == ''"}
<div {style="float:right; padding-top:15px; font-size:13px; padding-right:15px;"} align="right">
{function="timeline($value.erstellung)"}
</div>
{else}
<div {style="float:right;"}>
<img src="../../img/_/top.png" />
</div>
{/if}
</div>
{/loop}
</div>
<script>
jQuery('.anzeigeHoverShow').hover(function(e) {
var id = jQuery(this).attr('id');
//titel
jQuery('.titel_'+id).toggleClass('trun', 200, "easeOutSine");
},function(e){
var id = jQuery(this).attr('id');
jQuery('.titel_'+id).toggleClass('trun', 200, "easeOutSine");
});
</script>
<div {style="float:left; clear:both; padding-top:10px;"} class="hidePageEnd">
{function="pagenat()"}
</div>
<div {style="float:left; clear:both; padding-top:10px;"}>
<div {style="float:left; width:775px; border:1px solid #ccc; border-radius:5px;"}>
<div {style="float:left; padding:5px 10px; font-size:12px; background:#f2f2f2 repeat-x center; border-radius:5px 5px 0 0; border-bottom:1px solid #ccc; width:755px; color:#555; font-weight:bold;"}>
<div {style="float:left;"}>{$lang515}</div>
<div {style="float:right; font-weight:normal;"}>
<a href="last">{$lang223}</a> | <a href="dellist">{$lang224}</a>
</div>
</div>
<div {style="float:left; clear:both; padding:10px; width:775px;"}>
{loop="$letzte"}
<div {style="float:left; width:240px;"}>
<div {style="float:left; width:200px;"}>
<div {style="float:left; border:1px solid #ccc; padding:4px;"}><a href="itm{$value.id}"><div {style="float:left; width:60px; height:60px;"} style="background:url(tpl/upload/{$value.bild}-60.jpg) center no-repeat;"></div></a></div>
<div {style="float:left; padding-left:5px;"}>
<div {style="float:left; width:120px; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"}><a href="itm{$value.id}">{$value.name}</a></div>
<div {style="float:left; clear:both; padding-top:5px;"}>
{$value.ort}
</div>
<div {style="float:left; clear:both; padding-top:2px; width:120px;"}>
{if="$value.preisart != '3'"}{$value.preis} EUR{/if} {if="$value.preisart == '1'"}Festpreis{elseif="$value.preisart == '2'"}VB{else}{$lang444}{/if}
</div>
</div>
</div>
</div>
{/loop}
</div>
</div>
</div>
<div {style="float:left; clear:both; padding-top:20px;"}>
<div {style="float:left; width:775px; border:1px solid #9bcd32; border-radius:5px;"}>
<div {style="float:left; padding:5px 10px; font-size:14px; background:#feb51e url(tpl/img/cgr.png) repeat-x center; border-radius:5px 5px 0 0; border-bottom:1px solid #ccc; width:755px; color:#fff; font-weight:bold;"}>
<div {style="float:left;"}>{$lang209}</div>
</div>
<div {style="float:left; clear:both; padding:10px; width:775px;"}>
{include="page/ad_468x60"}
</div>
</div>
</div>
</div>
</div>
<div {style="position:absolute; left:987px; top:167px;"}><div {style="float:left; padding-top:20px;"}>
{include="page/ad_widescreen"}
</div></div>
?>