<!-- mod sz -->
<?php if ($drop == 0) { // ili condition $drop == 1 ?>
<!-- LOCATION DROP DOWN -->
<?php ItemForm::location_javascript(); ?>
<div class="location">
<label for="address"><?php _e('Country', 'veronika'); ?> <span>*</span></label>
<div class="select input-box">
<div>
<?php $prepare['i_country'] = ItemForm::country_select(); //country ?>
</div>
</div>
<!-- Regions select -->
<label for="address"><?php _e('Region', 'veronika'); ?> <span>*</span></label>
<div class="select input-box">
<?php ItemForm::region_select(osc_get_regions(), osc_user()) ; ?>
</div>
<!-- City select -->
<label for="address"><?php _e('City', 'veronika'); ?> <span>*</span></label>
<div class="select input-box">
<?php ItemForm::city_select(null, osc_user()) ; ?>
<?php //ili tak --> ItemForm::city_select(osc_get_cities(osc_user_region()), osc_user()) ; ?>
</div>
<?php } else { ?>
<!-- LOCATION -->
<div class="location">
<div class="row">
<input type="hidden" name="countryId" id="sCountry" class="sCountry" value="<?php echo $prepare['i_country']; ?>"/>
<input type="hidden" name="regionId" id="sRegion" class="sRegion" value="<?php echo $prepare['i_region']; ?>"/>
<input type="hidden" name="cityId" id="sCity" class="sCity" value="<?php echo $prepare['i_city']; ?>"/>
<label for="term">
<?php _e('Location', 'veronika'); ?>
<?php if(strpos($required_fields, 'location') !== false || strpos($required_fields, 'country') !== false || strpos($required_fields, 'region') !== false || strpos($required_fields, 'city') !== false) { ?>
<span class="req">*</span>
<?php } ?>
</label>
<div id="location-picker">
<input type="text" name="term" id="term" class="term" placeholder="<?php _e('Country, Region or City', 'veronika'); ?>" value="<?php echo veronika_get_term(veronika_get_session('term'), $prepare['i_country'], $prepare['i_region'], $prepare['i_city']); ?>" autocomplete="off"/>
<div class="shower-wrap">
<div class="shower" id="shower">
<div class="option service min-char"><?php _e('Type country, region or city', 'veronika'); ?></div>
</div>
</div>
<div class="loader"></div>
</div>
</div>
<?php } ?>
<!-- end mod sz -->