Файл: Kagao-v3.0/upload/tpl/page/meineanzeigen/index.html
Строк: 321
<?php
{if="$isLogin"}
<script type="text/javascript">jQuery('body').css('background', '#f0f0f0');</script>
<style type="text/css">label{ cursor:pointer; }</style>
{if="isset($_GET['complete'])"}
<div {style="float:left; clear:both; padding-bottom:10px; padding-top:20px;"}>
<div {style="float:left; width:930px; padding:20px; color:#4F8A10; font-weight:bold; background:#DFF2BF; border:0px solid ; border-radius:5px; font-size:14px;"}>{$lang554}</div>
</div>
{/if}
{if="$_GET['sk'] == 'cancel'"}
<div {style="float:left; clear:both; padding-bottom:10px; padding-top:20px;"}>
<div {style="float:left; width:930px; padding:20px; color:#D8000C; font-weight:bold; background:#FFBABA; border:0px solid; border-radius:5px; font-size:14px;"}>{$lang555}</div>
</div>
{/if}
<div {style="float:left; clear:both; padding-top:20px; width:100%;"}>
<div {style="float:left; font-size:22px; font-family:Open Sans;"}>{$lang059}</div>
</div>
<div {style="float:left; clear:both; padding-top:20px;"}>
<style type="text/css">.trun{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}</style>
{loop="$letzte"}
<div {style="float:left; clear:both; padding-bottom:15px; font-family:Open Sans;"}>
<div {style="float:left; width:970px; background:#fff; border-radius:3px; box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.15); "}>
<div {style="float:left; min-height:150px; width:970px;"}>
<div {style="float:left; cursor:pointer;"} onclick="location.href='{function="createseo($value.titel)"}-ID{$value.id}'">
<div style="float:left; background:url(tpl/upload/{$value.bild}-200.jpg) #fff no-repeat center; width:190px; height:190px; border-radius:3px 0 0 0;"></div>
</div>
<div style="float:left; padding:30px; font-size:14px; width:300px;" class="trun">
<div style="float:left; width:280px;" class="trun" title="{$value.titel}">
<b><a href="{function="createseo($value.titel)"}-ID{$value.id}">{function="wrapy($value.titel, 20)"}</a></b>
</div>
<div style="float:left; clear:both; padding-top:15px; color:#666;">
{if="$value.preisart != '3'"}{function="number_format($value.preis,0,',','.')"} {$amount_mode} {/if}{if="$value.preisart == '1'"}{$lang060}{elseif="$value.preisart == '2'"}{$lang443}{else}{$lang444}{/if}
</div>
<div style="float:left; clear:both; padding-top:5px; color:#666;">
<div style="float:left;">
{$langAdd050}: {function="addMonth($value.erstellung)"}
</div>
<div style="float:left; padding-left:10px;">
<div style="float:left;"><img src="../../cdn/assets/ic_interests_unapproved_grey3.png" width="20" /></div>
<div style="float:left; padding-left:5px;"><a href="page.php?id=7#help_refresh_product" target="_blank">{$langAdd049}</a></div>
</div>
</div>
<div style="float:left; clear:both;">
{if="$value.statuscode == 0"}
<div style="float:left; padding:10px 0 0 0;">
<div style="float:left; clear:both; background:#ffffeb; border-left:2px solid #ffde43; font-weight:bold; width:320px; color:#444; font-family:Open Sans; border-radius:3px; font-size:13px; padding:10px;">
{$lang557}
</div>
</div>
{elseif="$value.statuscode == 2"}
<div style="float:left; padding:10px 0 0 0;">
<div style="float:left; clear:both; background:#ffffeb; border-left:2px solid #ffde43; font-weight:bold; width:320px; color:#444; font-family:Open Sans; border-radius:3px; font-size:13px; padding:10px;">
{$lang558}
</div>
</div>
{elseif="$value.statuscode == 4"}
<div style="float:left; padding:10px 0 0 0;">
<div style="float:left; clear:both; background:#ffffeb; border-left:2px solid #ffde43; font-weight:bold; width:320px; color:#444; font-family:Open Sans; border-radius:3px; font-size:13px; padding:10px;">
{$lang559}
</div>
</div>
{/if}
</div>
</div>
<div style="float:right; padding:20px; width:350px;">
<div style="float:left; clear:both;">
<div style="float:left; width:30px; padding-top:8px;">
{if="$value.ad_galerie_time != ''"}
<img src="../../cdn/assets/tw__ic_tweet_verified.png" />
<div style="float:left; clear:both; padding-top:3px; color:#666;">
<div style="position:absolute; margin-left:-95px;">
Bis: {$value.ad_galerie}
</div>
</div>
{else}
<input name="galerie_{$value.id}" id="galerie_{$value.id}" type="checkbox" />
{/if}
</div>
<div style="float:left;">
<div style="float:left;">
<div style="float:left;"><label for="galerie_{$value.id}"><img src="../../cdn/assets/ic_badge_favourites_normal.png" /></label></div>
<div style="float:left; font-size:14px; padding:8px; color:#ffca1b; width:100px;"><label for="galerie_{$value.id}">{$langAdd035}</label></div>
</div>
<div style="float:left; padding:8px; font-size:14px; width:60px;" align="right">10 {$langAdd031}</div>
<div style="float:left; padding:8px; font-size:14px; width:60px;" align="right">{$galerie_price} {$amount_mode}</div>
</div>
</div>
<div style="float:left; clear:both;">
<div style="float:left; width:30px; padding-top:8px;">
{if="$value.ad_highlight_time != ''"}
<img src="../../cdn/assets/tw__ic_tweet_verified.png" />
<div style="float:left; clear:both; padding-top:3px; color:#666;">
<div style="position:absolute; margin-left:-95px;">
Bis: {$value.ad_highlight}
</div>
</div>
{else}
<input name="light_{$value.id}" id="light_{$value.id}" type="checkbox" />
{/if}
</div>
<div style="float:left;">
<div style="float:left;"><label for="light_{$value.id}"><img src="../../cdn/assets/ic_badge_popularusers_normal.png" /></label></div>
<div style="float:left; font-size:14px; padding:8px; color:#ff8200; width:100px;"><label for="light_{$value.id}">{$langAdd034}</label></div>
<div style="float:left; padding:8px; font-size:14px; width:60px;" align="right">10 {$langAdd031}</div>
<div style="float:left; padding:8px; font-size:14px; width:60px;" align="right">{$highlight_price} {$amount_mode}</div>
</div>
</div>
<div style="float:left; clear:both;">
<div style="float:left; width:30px; padding-top:8px;">
{if="$value.ad_hochschieben != ''"}
<img src="../../cdn/assets/tw__ic_tweet_verified.png" />
<div style="float:left; clear:both; padding-top:3px; color:#666;">
<div style="position:absolute; margin-left:-95px;">
Bis: {$value.ad_hoch_datum}
</div>
</div>
{else}
<input name="pipe_{$value.id}" id="pipe_{$value.id}" type="checkbox" />
{/if}
</div>
<div style="float:left;">
<div style="float:left;"><label for="pipe_{$value.id}"><img src="../../cdn/assets/ic_badge_riseup_normal.png" /></label></div>
<div style="float:left; font-size:14px; padding:8px; color:#87b919; width:100px;"><label for="pipe_{$value.id}">{$langAdd033}</label></div>
<div style="float:left; padding:8px; font-size:14px; width:60px;" align="right">{$langAdd032}</div>
<div style="float:left; padding:8px; font-size:14px; width:60px;" align="right">{$hochschieben_price} {$amount_mode}</div>
</div>
</div>
<div style="float:left; clear:both; display:none;" class="showpriceinfo_{$value.id}">
<div style="float:left; clear:both; width:335px; font-size:14px;">
<div style="float:right; width:60px; padding:8px;" align="right"><span class="price_{$value.id}">0</span> {$amount_mode}</div>
<div style="float:right; padding:8px;">{$langAdd036}:</div>
</div>
<div style="float:left; clear:both; width:335px; font-size:14px; padding-top:5px;">
<div style="float:right;"><input type="submit" value="{$langAdd037}" class="submitMiddleBlue" onclick="checkout_{$value.id}()" /></div>
</div>
</div>
<script>
function checkout_{$value.id}(){
box('pay', Array(
jQuery('input[name=light_{$value.id}]:checked').val() ? jQuery('input[name=light_{$value.id}]:checked').val() : '0',
jQuery('input[name=pipe_{$value.id}]:checked').val() ? jQuery('input[name=pipe_{$value.id}]:checked').val() : '0',
jQuery('input[name=galerie_{$value.id}]:checked').val() ? jQuery('input[name=galerie_{$value.id}]:checked').val() : '0',
'{$amount_mode}',
'{$value.id}'
));
}
jQuery('#galerie_{$value.id}').change(function(e) {
var isChecked = jQuery('input[name=galerie_{$value.id}]:checked').val();
if( isChecked == 'on' ){
jQuery('.price_{$value.id}').text( Math.round( Number( jQuery('.price_{$value.id}').text() ) + Number({$galerie_price}) ) );
jQuery('.showpriceinfo_{$value.id}').slideDown(50);
}else{
jQuery('.price_{$value.id}').text( Math.round( Number( jQuery('.price_{$value.id}').text() ) - Number({$galerie_price}) ) );
var endprice = jQuery('.price_{$value.id}').text();
if(endprice == '0'){ jQuery('.showpriceinfo_{$value.id}').slideUp(50); }
}
});
jQuery('#light_{$value.id}').change(function(e) {
var isChecked = jQuery('input[name=light_{$value.id}]:checked').val();
if( isChecked == 'on' ){
jQuery('.price_{$value.id}').text( Math.round( Number( jQuery('.price_{$value.id}').text() ) + Number({$highlight_price}) ) );
jQuery('.showpriceinfo_{$value.id}').slideDown(50);
}else{
jQuery('.price_{$value.id}').text( Math.round( Number( jQuery('.price_{$value.id}').text() ) - Number({$highlight_price}) ) );
var endprice = jQuery('.price_{$value.id}').text();
if(endprice == '0'){ jQuery('.showpriceinfo_{$value.id}').slideUp(50); }
}
});
jQuery('#pipe_{$value.id}').change(function(e) {
var isChecked = jQuery('input[name=pipe_{$value.id}]:checked').val();
if( isChecked == 'on' ){
jQuery('.price_{$value.id}').text( Math.round( Number( jQuery('.price_{$value.id}').text() ) + Number({$hochschieben_price}) ) );
jQuery('.showpriceinfo_{$value.id}').slideDown(50);
}else{
jQuery('.price_{$value.id}').text( Math.round( Number( jQuery('.price_{$value.id}').text() ) - Number({$hochschieben_price}) ) );
var endprice = jQuery('.price_{$value.id}').text();
if(endprice == '0'){ jQuery('.showpriceinfo_{$value.id}').slideUp(50); }
}
});
</script>
</div>
</div>
<div style="float:left; clear:both; width:970px; border-top:1px solid #eee;">
<a href="edit?id={$value.id}">
<div style="float:left; padding:15px;">
<div style="float:left;"><img src="../../cdn/assets/ic_edit_grey3.png" width="24" /></div>
<div style="float:left; padding:5px; font-weight:bold; font-size:13px; padding-left:10px; color:#666;">{$addLang004}</div>
</div>
</a>
<div class="opendelok_{$value.id}">
<a href="javascript:void()" onclick="jQuery('.opendelok_{$value.id}').slideToggle(30);">
<div style="float:left; padding:15px;">
<div style="float:left;"><img src="../../cdn/assets/ic_delete_grey3.png" width="24" /></div>
<div style="float:left; padding:5px; font-weight:bold; font-size:13px; padding-left:10px; color:#666;">{$tplLang011}</div>
</div>
</a>
</div>
<div style="display:none;" class="opendelok_{$value.id}">
<a href="meineanzeigen.php?sk=delproduct&id={$value.id}">
<div style="float:left; padding:15px;">
<div style="float:left;"><img src="../../cdn/assets/ic_delete_grey3.png" width="24" /></div>
<div style="float:left; padding:5px; font-weight:bold; font-size:13px; padding-left:10px; color:#666;">{$lang065}</div>
</div>
</a>
</div>
{if="$value.statuscode == 1"}
<a href="meineanzeigen.php?sk=dec&id={$value.id}">
<div style="float:left; padding:15px;">
<div style="float:left;"><img src="../../cdn/assets/ic_failed.png" width="24" /></div>
<div style="float:left; padding:5px; font-weight:bold; font-size:13px; padding-left:10px; color:#666;">{$langAdd048}</div>
</div>
</a>
{elseif="$value.statuscode == 2"}
<a href="meineanzeigen.php?sk=act&id={$value.id}">
<div style="float:left; padding:15px;">
<div style="float:left;"><img src="../../cdn/assets/ic_failed.png" width="24" /></div>
<div style="float:left; padding:5px; font-weight:bold; font-size:13px; padding-left:10px; color:#666;">{$langAdd052}</div>
</div>
</a>
{/if}
<div style="float:right; padding:15px;">
<div style="float:left;"><img src="../../cdn/assets/ic_favouritesstroke_grey3.png" width="24" /></div>
<div style="float:left; padding:5px; font-weight:bold; font-size:13px; padding-left:10px; color:#666;">{$value.beobachter} {$langAdd047} {if="$value.beobachter >= 1"} | <a href="beobachter.php?id={$value.id}" style="color:#666;">{$lang556}</a>{/if}</div>
</div>
<div style="float:right; padding:15px;">
<div style="float:left;"><img src="../../cdn/assets/ic_friends_grey4.png" width="24" /></div>
<div style="float:left; padding:5px; font-weight:bold; font-size:13px; padding-left:10px; color:#666;">{$value.counter} {$langAdd051}</div>
</div>
</div>
</div>
</div>
{/loop}
</div>
{else}
<script>jQuery('.headerLoginViewModule').hide();</script>
{include="page/meineanzeigen/login"}
{/if}
?>