Файл: public_html/tpl/page/edit/index.html
Строк: 1176
<?php
<script type="text/javascript" src="../../cdn/v2/telephone.js"></script>
<link rel="stylesheet" href="../../cdn/v1/tele.css" media="screen" />
<style type="text/css">
input[type=tel] { height: 35px; margin: 0; padding: 6px 12px; border-radius: 2px; font-family: inherit; font-size: 100%;color: inherit; border: 1px solid #CCC; width: 250px; }
input[disabled], button[disabled] { background-color: #eee; }
.num{ background:#5c92fe; border-radius:30px; padding:10px 17px; font-size:16px; color:#fff; font-weight:bold; box-shadow:inset 0 0 0 4px #c2d6fe;}
.num_green{ background:#57b846; border-radius:30px; padding:2px 9px; font-size:16px; color:#fff; font-weight:bold; box-shadow:inset 0 0 0 4px #98d482;}
.col{float:left; width:150px; font-size:13px; font-weight:bold;}
.col2{float:left; width:150px; padding-top:10px; font-size:13px; font-weight:bold;}
.grey{ border:1px solid #cdced0; background:url(tpl/img/_/grey.png) repeat-x; padding:5px 20px; border-radius:3px; font-family:Open Sans; font-size:13px; font-weight:bold; cursor:pointer;}
</style>
{loop="$editdata"}
<form action="edit.php" method="post" enctype="multipart/form-data" id="onForm">
<input type="hidden" name="id" value="{$value.id}" />
<div style="float:left; clear:both; padding-top:30px; font-family:Open Sans, Arial;">
<div style="float:left; color:#9bcd32; font-weight:bold; font-size:18px;">{$lang157}</div>
<!-- Kategorie -->
<div style="float:left; clear:both; padding-top:30px;">
<div style="float:left;"><div class="num">1</div></div>
<div style="float:left; font-size:16px; padding:9px; padding-left:15px;">{$lang499}</div>
</div>
<!-- -->
<div style="float:left; clear:both; padding-top:30px">
<div class="col">{$lang160}<font style="color:#9bcd32;">*</font>:</div>
<div style="float:left; font-size:13px;">
<div style="float:left;">
<div style="float:left; width:100px;"><label><input type="radio" name="type" value="1" {if="$value.anzeigeart == 1"}checked{/if}> {$lang161}</label></div>
<div style="float:left; padding-left:5px;"><label><input name="type" value="2" type="radio" {if="$value.anzeigeart == 2"}checked{/if}> {$lang162}</label></div>
</div>
<div style="float:left; clear:both; padding-top:10px;">
<div style="float:left; width:100px;"><label><input type="radio" name="mtype2" onclick="jQuery('.imprint').hide();" value="1" {if="$value.anzeigeart2 == 1"}checked{/if}> {$lang163}</label></div>
<div style="float:left; padding-left:5px;"><label><input name="mtype2" value="2" onclick="jQuery('.imprint').show();" type="radio" {if="$value.anzeigeart2 == 2"}checked{/if}> {$lang164}</label></div>
</div>
{if="$value.anzeigeart2 == 2"}
<script>jQuery(document).ready(function(e) {
jQuery('.imprint').show();
});</script>
{/if}
{if="$modul == 1"}<script>jQuery(document).ready(function(e) {
jQuery('.imprint').show();
});</script>{/if}
<div style="float:left; clear:both; padding-top:15px; display:none;" class="imprint">
<div style="float:left; border-top:1px solid #eee; clear:both; padding-top:15px;">
<div style="float:left;">
{$lang442}
</div>
<div style="float:left; clear:both; padding-top:10px;">
<textarea name="impressum" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:400px; min-height:200px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text; resize:vertical" class="sod_select custom" placeholder="{$lang626}">{$value.impressum}</textarea>
</div>
</div>
</div>
</div>
</div>
<!-- Kategorie -->
<div style="float:left; clear:both; padding-top:30px;">
<div style="float:left;"><div class="num">2</div></div>
<div style="float:left; font-size:16px; padding:9px; padding-left:15px;">{$lang165}</div>
</div>
<!-- -->
<div style="float:left; clear:both; padding-top:30px; width:970px;">
<div style="float:left;">
<!-- -->
<div style="float:left; clear:both; padding-top:0px">
<div class="col2">{$lang166}<font style="color:#9bcd32;">*</font>:</div>
<div style="float:left; font-size:13px;">
<input type="text" maxlength="150" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:400px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="titel" value="{$value.titel}" />
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang167}<font style="color:#9bcd32;">*</font>:</div>
<div style="float:left; font-size:13px;">
<input type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="preis" placeholder="{$lang627}" value="{function="number_format($value.preis,0,',','')"}" />
</div>
<div style="float:left; padding-left:5px; font-family:arial;">
<select name="geldart" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="1" {if="$value.preisart == 1"}selected="selected"{/if}>{$lang060}</option>
<option value="2" {if="$value.preisart == 2"}selected="selected"{/if}>{$lang443}</option>
<option value="3" {if="$value.preisart == 3"}selected="selected"{/if}>{$lang444}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang101}<font style="color:#9bcd32;">*</font>:</div>
<div style="float:left; font-size:13px;">
<input type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="plz" placeholder="{$lang628}" maxlength="7" value="{$value.postleitzahl}" />
</div>
<div style="float:left; padding-left:5px; font-family:arial;">
<input type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:250px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="ort" placeholder="{$lang629}" value="{$value.stadt}" />
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang168}</div>
<div style="float:left; font-size:13px;">
<input type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:250px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="strasse" placeholder="{$lang370}" value="{$value.strasse}" />
</div>
<div style="float:left; padding-left:5px; font-family:arial;">
<input type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="nummer" placeholder="{$lang630}" maxlength="7" value="{$value.hausnummer}" />
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang169}</div>
<div style="float:left; font-size:13px;">
<input id="mobile-number" type="tel" name="telefon" value="{$value.telefon}">
</div>
</div>
<!-- -->
</div>
<!-- tipp -->
<div style="float:right;">
<div style="float:left; clear:both;">
<div style="float:left; border:1px solid #ff8300; background:#fff; border-radius:3px; padding:10px; width:255px;">
<div style="float:left; font-size:14px; color:#ff8300;"><b>{$lang170}</b></div>
<div style="float:left; clear:both; padding-top:10px; font-size:13px; color:#666;">
{$lang171}
</div>
</div>
</div>
<div style="float:left; clear:both; padding-top:10px;">
<div style="float:left; border:1px solid #ff8300; background:#fff; padding:10px; width:255px;">
<div style="float:left; font-size:14px; color:#ff8300;"><b>{$lang170}</b></div>
<div style="float:left; clear:both; padding-top:10px; font-size:13px; color:#666;">
{$lang172}
</div>
</div>
</div>
</div>
</div>
<!-- Kategorie -->
{if="$modul == 2"}
<div style="float:left; clear:both; padding-top:30px; width:970px;">
<div style="float:left;"><div class="num">3</div></div>
<div style="float:left; font-size:16px; padding:9px; padding-left:15px;">{$lang173}</div>
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang117}</div>
<div style="float:left; font-family:arial;">
<select name="a_zulassung" class="basic" style="width:100px;" data-custom-id="custom" data-custom-class="custom" data-size="6">
<option value="0" {if="$value.a_zulassung == 0"}selected="selected"{/if}>{$lang445}</option>
<option value="2014" {if="$value.a_zulassung == 2014"}selected="selected"{/if}>2014</option>
<option value="2013" {if="$value.a_zulassung == 2013"}selected="selected"{/if}>2013</option>
<option value="2012" {if="$value.a_zulassung == 2012"}selected="selected"{/if}>2012</option>
<option value="2011" {if="$value.a_zulassung == 2011"}selected="selected"{/if}>2011</option>
<option value="2010" {if="$value.a_zulassung == 2010"}selected="selected"{/if}>2010</option>
<option value="2009" {if="$value.a_zulassung == 2009"}selected="selected"{/if}>2009</option>
<option value="2008" {if="$value.a_zulassung == 2008"}selected="selected"{/if}>2008</option>
<option value="2007" {if="$value.a_zulassung == 2007"}selected="selected"{/if}>2007</option>
<option value="2006" {if="$value.a_zulassung == 2006"}selected="selected"{/if}>2006</option>
<option value="2005" {if="$value.a_zulassung == 2005"}selected="selected"{/if}>2005</option>
<option value="2004" {if="$value.a_zulassung == 2004"}selected="selected"{/if}>2004</option>
<option value="2003" {if="$value.a_zulassung == 2003"}selected="selected"{/if}>2003</option>
<option value="2002" {if="$value.a_zulassung == 2002"}selected="selected"{/if}>2002</option>
<option value="2001" {if="$value.a_zulassung == 2001"}selected="selected"{/if}>2001</option>
<option value="2000" {if="$value.a_zulassung == 2000"}selected="selected"{/if}>2000</option>
<option value="1999" {if="$value.a_zulassung == 1999"}selected="selected"{/if}>1999</option>
<option value="1998" {if="$value.a_zulassung == 1998"}selected="selected"{/if}>1998</option>
<option value="1997" {if="$value.a_zulassung == 1997"}selected="selected"{/if}>1997</option>
<option value="1996" {if="$value.a_zulassung == 1996"}selected="selected"{/if}>1996</option>
<option value="1995" {if="$value.a_zulassung == 1995"}selected="selected"{/if}>1995</option>
<option value="1994" {if="$value.a_zulassung == 1994"}selected="selected"{/if}>1994</option>
<option value="1993" {if="$value.a_zulassung == 1993"}selected="selected"{/if}>1993</option>
<option value="1992" {if="$value.a_zulassung == 1992"}selected="selected"{/if}>1992</option>
<option value="1991" {if="$value.a_zulassung == 1991"}selected="selected"{/if}>1991</option>
<option value="1990" {if="$value.a_zulassung == 1990"}selected="selected"{/if}>1990</option>
<option value="1989" {if="$value.a_zulassung == 1989"}selected="selected"{/if}>1989</option>
<option value="1988" {if="$value.a_zulassung == 1988"}selected="selected"{/if}>1988</option>
<option value="1987" {if="$value.a_zulassung == 1987"}selected="selected"{/if}>1987</option>
<option value="1986" {if="$value.a_zulassung == 1986"}selected="selected"{/if}>1986</option>
<option value="1985" {if="$value.a_zulassung == 1985"}selected="selected"{/if}>1985</option>
<option value="1980" {if="$value.a_zulassung == 1980"}selected="selected"{/if}>1980</option>
<option value="1975" {if="$value.a_zulassung == 1975"}selected="selected"{/if}>1975</option>
<option value="1970" {if="$value.a_zulassung == 1970"}selected="selected"{/if}>1970</option>
<option value="1965" {if="$value.a_zulassung == 1965"}selected="selected"{/if}>1965</option>
<option value="1960" {if="$value.a_zulassung == 1960"}selected="selected"{/if}>1960</option>
<option value="1955" {if="$value.a_zulassung == 1955"}selected="selected"{/if}>1955</option>
<option value="1950" {if="$value.a_zulassung == 1950"}selected="selected"{/if}>1950</option>
<option value="1940" {if="$value.a_zulassung == 1940"}selected="selected"{/if}>1940</option>
<option value="1930" {if="$value.a_zulassung == 1930"}selected="selected"{/if}>1930</option>
<option value="1920" {if="$value.a_zulassung == 1920"}selected="selected"{/if}>1920</option>
<option value="1910" {if="$value.a_zulassung == 1910"}selected="selected"{/if}>1910</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang446}</div>
<div style="float:left; font-family:arial;">
<select name="a_kilometer" class="basic" style="width:100px;" data-custom-id="custom" data-custom-class="custom" data-size="6">
<option value="0" {if="$value.a_kilometer == 0"}selected="selected"{/if}>{$lang115}</option>
<option value="2500" {if="$value.a_kilometer == 2500"}selected="selected"{/if}>2.500</option>
<option value="5000" {if="$value.a_kilometer == 5000"}selected="selected"{/if}>5.000</option>
<option value="10000" {if="$value.a_kilometer == 10000"}selected="selected"{/if}>10.000</option>
<option value="20000" {if="$value.a_kilometer == 20000"}selected="selected"{/if}>20.000</option>
<option value="30000" {if="$value.a_kilometer == 30000"}selected="selected"{/if}>30.000</option>
<option value="40000" {if="$value.a_kilometer == 40000"}selected="selected"{/if}>40.000</option>
<option value="50000" {if="$value.a_kilometer == 50000"}selected="selected"{/if}>50.000</option>
<option value="60000" {if="$value.a_kilometer == 60000"}selected="selected"{/if}>60.000</option>
<option value="70000" {if="$value.a_kilometer == 70000"}selected="selected"{/if}>70.000</option>
<option value="80000" {if="$value.a_kilometer == 80000"}selected="selected"{/if}>80.000</option>
<option value="90000" {if="$value.a_kilometer == 90000"}selected="selected"{/if}>90.000</option>
<option value="100000" {if="$value.a_kilometer == 100000"}selected="selected"{/if}>100.000</option>
<option value="125000" {if="$value.a_kilometer == 125000"}selected="selected"{/if}>125.000</option>
<option value="150000" {if="$value.a_kilometer == 150000"}selected="selected"{/if}>150.000</option>
<option value="175000" {if="$value.a_kilometer == 175000"}selected="selected"{/if}>175.000</option>
<option value="200000" {if="$value.a_kilometer == 200000"}selected="selected"{/if}>200.000</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang447}</div>
<div style="float:left; font-family:arial;">
<select name="a_kraftstoff" class="basic" style="width:100px;" data-custom-id="custom" data-custom-class="custom" data-size="6">
<option value="0" {if="$value.a_kraftstoff == 0"}selected="selected"{/if}>{$lang118}</option>
<option value="Alle" {if="$value.a_kraftstoff == 'Alle'"}selected="selected"{/if}>{$lang448}</option>
<option value="Benzin" {if="$value.a_kraftstoff == 'Benzin'"}selected="selected"{/if}>{$lang449}</option>
<option value="Diesel" {if="$value.a_kraftstoff == 'Diesel'"}selected="selected"{/if}>{$lang450}</option>
<option value="Gas (alle)" {if="$value.a_kraftstoff == 'Gas (alle)'"}selected="selected"{/if}>{$lang451})</option>
<option value="Gas" {if="$value.a_kraftstoff == 'Gas'"}selected="selected"{/if}>  {$lang452}</option>
<option value="Autogas (LPG)" {if="$value.a_kraftstoff == 'Autogas (LPG)'"}selected="selected"{/if}>  {$lang453}</option>
<option value="Erdgas (CNG)" {if="$value.a_kraftstoff == 'Erdgas (CNG)'"}selected="selected"{/if}>  {$lang454}</option>
<option value="Hybrid" {if="$value.a_kraftstoff == 'Hybrid'"}selected="selected"{/if}>{$lang455}</option>
<option value="Elektro/Benzin" {if="$value.a_kraftstoff == 'Elektro/Benzin'"}selected="selected"{/if}>  {$lang456}</option>
<option value="Elektro/Diesel" {if="$value.a_kraftstoff == 'Elektro/Diesel'"}selected="selected"{/if}>  {$lang457}</option>
<option value="Ethanol" {if="$value.a_kraftstoff == 'Ethanol'"}selected="selected"{/if}>{$lang458}</option>
<option value="Elektro" {if="$value.a_kraftstoff == 'Elektro'"}selected="selected"{/if}>{$lang459}</option>
<option value="Wasserstoff" {if="$value.a_kraftstoff == 'Wasserstoff'"}selected="selected"{/if}>{$lang460}</option>
<option value="Sonstige" {if="$value.a_kraftstoff == 'Sonstige'"}selected="selected"{/if}>{$lang461}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang462}</div>
<div style="float:left; font-family:arial;">
<select name="a_getriebe" class="basic" style="width:100px;" data-custom-id="custom" data-custom-class="custom" data-size="6">
<option value="0" {if="$value.a_getriebe == 0"}selected="selected"{/if}>{$lang463}</option>
<option value="1" {if="$value.a_getriebe == 1"}selected="selected"{/if}>{$lang464}</option>
<option value="2" {if="$value.a_getriebe == 2"}selected="selected"{/if}>{$lang465}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang466}</div>
<div style="float:left; font-family:arial;">
<select name="a_zustand" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.a_zustand == 0"}selected="selected"{/if}>{$lang175}</option>
<option value="1" {if="$value.a_zustand == 1"}selected="selected"{/if}>{$lang177}</option>
<option value="2" {if="$value.a_zustand == 2"}selected="selected"{/if}>{$lang176}</option>
<option value="3" {if="$value.a_zustand == 3"}selected="selected"{/if}>{$lang467}</option>
<option value="4" {if="$value.a_zustand == 4"}selected="selected"{/if}>{$lang468}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang469}</div>
<div style="float:left; font-family:arial;">
<input type="text" placeholder="kW" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="a_kw" value="{$value.a_kw}" />
</div>
<div style="float:left; font-family:arial; padding-left:5px;">
<input type="text" placeholder="PS" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="a_ps" value="{$value.a_ps}" />
</div>
</div>
<!-- -->
</div>
{elseif="$modul == 1"}
<div style="float:left; clear:both; padding-top:30px; width:970px;">
<div style="float:left;"><div class="num">3</div></div>
<div style="float:left; font-size:16px; padding:9px; padding-left:15px;">{$lang470}</div>
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang471}</div>
<div style="float:left; font-family:arial;">
<select name="i_zimmer" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.i_zimmer == 0"}selected="selected"{/if}>{$lang472}</option>
<option value="1" {if="$value.i_zimmer == 1"}selected="selected"{/if}>1</option>
<option value="2" {if="$value.i_zimmer == 2"}selected="selected"{/if}>2</option>
<option value="3" {if="$value.i_zimmer == 3"}selected="selected"{/if}>3</option>
<option value="4" {if="$value.i_zimmer == 4"}selected="selected"{/if}>4</option>
<option value="5" {if="$value.i_zimmer == 5"}selected="selected"{/if}>5</option>
<option value="6" {if="$value.i_zimmer == 6"}selected="selected"{/if}>6</option>
<option value="7" {if="$value.i_zimmer == 7"}selected="selected"{/if}>7</option>
<option value="8" {if="$value.i_zimmer == 8"}selected="selected"{/if}>8</option>
<option value="9" {if="$value.i_zimmer == 9"}selected="selected"{/if}>9</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang473}</div>
<div style="float:left; font-family:arial;">
<input type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="i_flache" value="{$value.i_flache}" />
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang474}</div>
<div style="float:left; font-family:arial;">
<select name="i_einbaukuche" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.i_einbaukuche == 0"}selected="selected"{/if}>{$lang472}</option>
<option value="1" {if="$value.i_einbaukuche == 1"}selected="selected"{/if}>{$lang184}</option>
<option value="2" {if="$value.i_einbaukuche == 2"}selected="selected"{/if}>{$lang185}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang475}</div>
<div style="float:left; font-family:arial;">
<select name="i_keller" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.i_keller == 0"}selected="selected"{/if}>{$lang472}</option>
<option value="1" {if="$value.i_keller == 1"}selected="selected"{/if}>{$lang184}</option>
<option value="2" {if="$value.i_keller == 2"}selected="selected"{/if}>{$lang185}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang476}</div>
<div style="float:left; font-family:arial;">
<select name="i_balkon" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.i_balkon == 0"}selected="selected"{/if}>{$lang472}</option>
<option value="1" {if="$value.i_balkon == 1"}selected="selected"{/if}>{$lang184}</option>
<option value="2" {if="$value.i_balkon == 2"}selected="selected"{/if}>{$lang185}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang477}</div>
<div style="float:left; font-family:arial;">
<select name="i_garten" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.i_garten == 0"}selected="selected"{/if}>{$lang472}</option>
<option value="1" {if="$value.i_garten == 1"}selected="selected"{/if}>{$lang184}</option>
<option value="2" {if="$value.i_garten == 2"}selected="selected"{/if}>{$lang185}</option>
</select>
</div>
</div>
<!-- -->
<div style="float:left; clear:both; padding-top:20px; font-size:13px; color:#666;">
{$lang478}
</div>
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang479}</div>
<div style="float:left; font-family:arial;">
<input name="i_miete" type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" value="{$value.i_miete}" />
</div>
<div style="float:left; padding:12px;">{$lang480}</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang481}</div>
<div style="float:left; font-family:arial;">
<input name="i_nebenkosten" type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" value="{$value.i_nebenkosten}" />
</div>
<div style="float:left; padding:12px;">{$lang480}</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang481}</div>
<div style="float:left; font-family:arial;">
<input name="i_heizkosten" type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" value="{$value.i_heizkosten}" />
</div>
<div style="float:left; padding:12px;">{$lang480}</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang482}</div>
<div style="float:left; font-family:arial;">
<input name="i_kaution" type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:100px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" value="{$value.i_kaution}" />
</div>
<div style="float:left; padding:12px;">{$lang480}</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang483}</div>
<div style="float:left; font-family:arial;">
<input name="i_bezugfrei" placeholder="{$lang631} 17.06.2015" type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:200px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" value="{$value.i_bezugfrei}" />
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang484}</div>
<div style="float:left; font-family:arial;">
<select name="i_provision" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.i_provision == 0"}selected="selected"{/if}>{$lang472}</option>
<option value="1" {if="$value.i_provision == 1"}selected="selected"{/if}>{$lang184}</option>
<option value="2" {if="$value.i_provision == 2"}selected="selected"{/if}>{$lang185}</option>
</select>
</div>
</div>
<!-- -->
</div>
{else}
<div style="float:left; clear:both; padding-top:30px; width:970px;">
<div style="float:left;"><div class="num">3</div></div>
<div style="float:left; font-size:16px; padding:9px; padding-left:15px;">{$lang173}</div>
<div style="float:left; clear:both;">
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang174}</div>
<div style="float:left; font-family:arial;">
<select name="zustand" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.zustand == 0"}selected="selected"{/if}>{$lang175}</option>
<option value="1" {if="$value.zustand == 1"}selected="selected"{/if}>{$lang177}</option>
<option value="2" {if="$value.zustand == 2"}selected="selected"{/if}>{$lang176}</option>
<option value="3" {if="$value.zustand == 3"}selected="selected"{/if}>{$lang178}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang179}</div>
<div style="float:left; font-size:13px;">
<input type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:170px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="shipcost" placeholder="{$lang180}" maxlength="7" value="{$value.shipcost}" />
</div>
<div style="float:left; font-family:arial; padding-left:5px;">
<select name="versandart" class="basic" data-size="5" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.versandart == 0"}selected="selected"{/if}>{$lang181}</option>
<option value="1" {if="$value.versandart == 1"}selected="selected"{/if}>{$lang486}</option>
<option value="2" {if="$value.versandart == 2"}selected="selected"{/if}>{$lang487}</option>
<option value="3" {if="$value.versandart == 3"}selected="selected"{/if}>{$lang488}</option>
<option value="4" {if="$value.versandart == 4"}selected="selected"{/if}>{$lang489}</option>
<option value="5" {if="$value.versandart == 5"}selected="selected"{/if}>{$lang490}</option>
<option value="6" {if="$value.versandart == 6"}selected="selected"{/if}>{$lang491}</option>
<option value="7" {if="$value.versandart == 7"}selected="selected"{/if}>{$lang492}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang182}</div>
<div style="float:left; font-family:arial;">
<select name="garantie" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.garantie == 0"}selected="selected"{/if}>{$lang472}</option>
<option value="1" {if="$value.garantie == 1"}selected="selected"{/if}>{$lang185}</option>
<option value="2" {if="$value.garantie == 2"}selected="selected"{/if}>{$lang184}</option>
</select>
</div>
</div>
<!-- -->
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang186}</div>
<div style="float:left; font-family:arial;">
<select name="accpaypal" class="basic" data-custom-id="custom" data-custom-class="custom">
<option value="0" {if="$value.accpaypal == 0"}selected="selected"{/if}>{$lang472}</option>
<option value="1" {if="$value.accpaypal == 1"}selected="selected"{/if}>{$lang187}</option>
<option value="2" {if="$value.accpaypal == 2"}selected="selected"{/if}>{$lang188}</option>
</select>
</div>
</div>
<!-- -->
</div>
<!-- tipp -->
<div style="float:right;">
<div style="float:left; clear:both;">
<div style="float:left; border:1px solid #ff8300; background:#fff; border-radius:3px; padding:10px; width:255px;">
<div style="float:left; font-size:14px; color:#ff8300;"><b>{$lang170}</b></div>
<div style="float:left; clear:both; padding-top:10px; font-size:13px; color:#666;">
<div style="float:left;"><img src="../../img/_/icon_dhl.gif" /></div>
<div style="float:left; padding-left:15px; width:180px;">
{$lang493}<br />
<a href="paketdienste" target="_blank"><b>{$lang494}</b></a>
</div>
</div>
</div>
</div>
</div>
</div>
{/if}
<!-- Kategorie -->
<div style="float:left; clear:both; padding-top:30px;">
<div style="float:left;"><div class="num">4</div></div>
<div style="float:left; font-size:16px; padding:9px; padding-left:15px;">{$lang189}</div>
<div style="float:left; clear:both; width:970px;">
<div style="float:left;">
<div style="float:left; padding-top:15px;">
<div style="float:left; cursor:pointer;">
<div style="float:left; padding-left:60px;">
<div class="num_green">+</div>
</div>
<div style="float:left; padding:5px; padding-left:10px; font-weight:bold;">{$lang190} <font style="color:#666;">{$lang495}</font></div>
</div>
<div style="float:left; clear:both; padding-top:20px; padding-left:60px;">
<input type="text" style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:400px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text" class="sod_select custom" name="youtube" placeholder="z.B. http://www.youtube.com/watch?v=6Ejga4kJUts" value="{$value.youtubelink}" />
</div>
<div style="float:left; clear:both; padding-top:20px; padding-left:60px;" class="insertVideoPicture">
</div>
</div>
<div style="float:left; padding-top:15px; clear:both;">
<div style="float:left; cursor:pointer;">
<div style="float:left; padding-left:60px;">
<div class="num_green">+</div>
</div>
<div style="float:left; padding:5px; padding-left:10px; font-weight:bold;">{$lang191} <font style="color:#9bcd32;">{$lang496}</font></div>
</div>
<div style="float:left; clear:both; padding-top:20px; padding-left:60px;" class="appendPhotos">
<div style="float:left;">
<div style="float:left; background:url(tpl/upload/{$value.bild}-160.jpg); width:120px; height:80px; background-size:120px auto;" class="pic1"></div>
<div style="float:left; padding:15px; padding-top:13px;">
<div style="float:left; clear:both; color:#666; font-size:13px;">
{$lang500}
</div>
<div style="float:left; clear:both; padding-top:5px;">
<div class="grey" onclick="jQuery('#file1').click();">{$lang501}</div>
</div>
<div style="float:left; clear:both; padding-top:5px; display:none;">
<input type="file" name="filehaupt[]" id="file1" />
</div>
</div>
</div>
</div>
<input type="hidden" name="lastphotos" value="{$value.fotos}" />
<div style="float:left; padding-left:60px; clear:both;">
<div style="float:left; clear:both; padding-top:15px; padding-bottom:15px; font-weight:bold; font-family:Open Sans;">
{$lang502}
</div>
{loop="$photos"}
<div style="float:left; clear:both;" class="photo_{$value}">
<div style="float:left; background:url(tpl/upload/{$value}-160.jpg); width:120px; height:80px; background-size:120px auto;"></div>
<div style="float:left; padding:15px; padding-top:13px;">
<div style="float:left; clear:both; color:#666; font-size:13px;">
{$lang503}
</div>
<div style="float:left; clear:both; padding-top:5px;">
<div class="grey" onclick="delphoto('{$value}')">{$lang504}</div>
</div>
</div>
</div>
{/loop}
</div>
<div style="float:left; clear:both; padding-top:20px; font-size:13px; font-weight:bold; padding-left:60px;" class="moreupload">
<a onclick="addphoto()">{$lang497}</a>
</div>
<div style="display:none;" class="getnextnum">{$photonum}</div>
<input type="hidden" name="ispic" value="0" />
<script>
function delphoto(val){
var allPhotos = jQuery('input[name=lastphotos]').val();
allPhotos = allPhotos.replace("|-|"+val, "");
allPhotos = allPhotos.replace(val, "");
jQuery('input[name=lastphotos]').val(allPhotos);
jQuery('.photo_'+val).slideUp(50);
}
</script>
<script>
function readURL(input,r) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function (e) {
$('.'+r).css('background', 'url('+e.target.result+') no-repeat center').css('background-size', '100px auto');
$('input[name=ispic]').val(1);
addphoto();
}
reader.readAsDataURL(input.files[0]);
}
}
$("#file1").change(function(){ readURL(this, 'pic1'); });
function addphoto(){
var numphotos = jQuery('.getnextnum').text();
if(numphotos == {$maxuploadphotos}){
jQuery('.moreupload').hide();
}
if(numphotos <= {$maxuploadphotos}){
jQuery('.appendPhotos').append('<div style="float:left; clear:both;">
<div style="float:left; background:url(tpl/img/4499997-160.jpg.png); width:120px; height:80px;" class="pic'+numphotos+'"></div>
<div style="float:left; padding:15px; padding-top:13px;">
<div style="float:left; clear:both; color:#666; font-size:13px;">
Wähle ein Foto aus:
</div>
<div style="float:left; clear:both; padding-top:5px;">
<div class="grey" onclick="jQuery('#file'+numphotos+'').click();">Foto vom Computer auswählen</div>
</div>
<div style="float:left; clear:both; padding-top:5px; display:none;">
<input type="file" name="file[]" id="file'+numphotos+'" />
</div>
</div>
</div><scr' + 'ipt>$("#file'+numphotos+'").change(function(){ readURL(this, 'pic'+numphotos+''); });</sc' + 'ript>');
}else{
}
jQuery('.getnextnum').text(Number(numphotos) + Number(1));
}
window.onload = function(){
addphoto();
}
</script>
</div>
</div>
<!-- tipp -->
<div style="float:right;">
<div style="float:left; clear:both;">
<div style="float:left; border:1px solid #ff8300; background:#fff; border-radius:3px; padding:10px; width:255px;">
<div style="float:left; font-size:14px; color:#ff8300;"><b>{$lang170}</b></div>
<div style="float:left; clear:both; padding-top:10px; font-size:13px; color:#666;">
{$lang194}
</div>
</div>
</div>
</div>
</div>
</div>
<!-- -->
<!-- Kategorie -->
<div style="float:left; clear:both; padding-top:30px;">
<div style="float:left;"><div class="num">5</div></div>
<div style="float:left; font-size:16px; padding:9px; padding-left:15px;">{$lang195}</div>
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div class="col2">{$lang196}<font style="color:#9bcd32;">*</font>:</div>
<div style="float:left; font-size:13px;">
<textarea style="background:#fff; border-radius:2px; font-family:Open Sans; font-size:13px; padding:10px 8px 10px 8px; box-shadow:inset 0 2px #fff; width:400px; min-height:200px; -moz-box-sizing: border-box; box-sizing: border-box; cursor:text; resize:vertical" class="sod_select custom" name="beschreibung">{$value.beschreibung}</textarea>
</div>
</div>
<!-- -->
</div>
<!-- -->
<!-- Kategorie -->
<div style="float:left; clear:both; padding-top:30px;">
<div style="float:left;"><div class="num">6</div></div>
<div style="float:left; font-size:16px; padding:9px; padding-left:15px;">{$lang197}</div>
<!-- -->
<div style="float:left; clear:both; padding-top:20px">
<div style="float:left; font-size:13px;">
{$lang198}<br>
<a href="page.php?id=3" target="_blank">{$lang199}</a> {$lang200} <a href="page.php?id=2" target="_blank">{$lang201}</a>.
</div>
<div style="float:left; clear:both; padding-top:20px; padding-bottom:40px;">
<input type="submit" value="{$addLang004}" style="border:0px solid #6e7cc5; cursor:pointer; background:#8ab31d; padding:7px 8px; font-size:14px; color:#fff; font-weight:bold; border-radius:3px; font-family:arial;">
</div>
<!-- -->
</div>
<!-- -->
</div>
</div>
</form>
<script>
jQuery('#onForm').submit(function(){
var bild = jQuery('input[name=old_photo1]').val();
var _type = jQuery('input[name=type]').val();
var _mtype2 = jQuery('input[name=mtype2]:checked').val();
var impressum = jQuery('textarea[name=impressum]').val();
var titel = jQuery('input[name=titel]').val();
var preis = jQuery('input[name=preis]').val();
var plz = jQuery('input[name=plz]').val();
var beschreibung= jQuery('textarea[name=beschreibung]').val();
if(_mtype2 == 2 && impressum == ''){
alert('Du musst ein Impressum eingeben!');
return false;
}else if(bild == ''){
alert('Du musst mindestens 1 Bild hochladen ( Bild* )');
return false;
}else if (titel == ''){
alert('Du musst eine Titel-Anzeige eingeben!');
return false;
}else if(preis == ''){
alert('Du musst einen Preis eingeben ( Wenn du etwas für 0€ einstellen möchtest gebe 0 ein');
return false;
}else if(plz == ''){
alert('Gebe eine Postleitzahl ein!');
return false;
}else if(beschreibung == ''){
alert('Bitte gebe eine Beschreibung ein!');
return false;
}else{
return true;
}
});
</script>
{/loop}
<script>
$("#mobile-number").intlTelInput({
defaultCountry: "de",
utilsScript: "lib/libphonenumber/build/utils.js"
});
</script>
?>