Hi.. here is the content from item-post.. i think the problem is where i marked it in red but im not sure..
<?php
// meta tag robots
osc_add_hook('header','azul_nofollow_construct');
osc_enqueue_script('jquery-validate');
azul_add_body_class('');//item item-post
osc_add_hook('after-main','sidebar');
function sidebar(){
osc_current_web_theme_path('itempost-sidebar.php');
}
$action = 'item_add_post';
$edit = false;
if(Params::getParam('action') == 'item_edit'){
$action = 'item_edit_post';
$edit = true;
}
?>
<?php osc_current_web_theme_path('header.php') ; ?>
<?php ItemForm::location_javascript(); ?>
<div class="form-container form-horizontal form-container-box">
<div class="resp-wrapper">
<h2><?php _e('Post a Free Ad', 'azul'); ?></h2>
<ul id="error_list"></ul>
<form name="item" action="<?php echo osc_base_url(true);?>" method="post" enctype="multipart/form-data" id="item-post">
<fieldset>
<input type="hidden" name="action" value="<?php echo $action; ?>" />
<input type="hidden" name="page" value="item" />
<?php if($edit){ ?>
<input type="hidden" name="id" value="<?php echo osc_item_id();?>" />
<input type="hidden" name="secret" value="<?php echo osc_item_secret();?>" />
<?php } ?>
<h3><?php _e('Ad Information', 'azul'); ?></h3>
<div class="control-group">
<label class="control-label" for="title[<?php echo osc_locale_code(); ?>]"><?php _e('Ad Title', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::title_input('title',osc_locale_code(), osc_esc_html( azul_item_title() )); ?><font color="red"> *</font>
</div>
</div>
<div class="control-group">
<label class="control-label" for="select_1"><?php _e('Category', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::category_select(null, null, __('Select a category', 'azul')); ?><font color="red"> *</font>
</div>
</div>
<div class="control-group">
<label class="control-label" for="description[<?php echo osc_locale_code(); ?>]"><?php _e('Description', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::description_textarea('description',osc_locale_code(), osc_esc_html( azul_item_description() )); ?><font color="red"> *</font>
</div>
</div>
<?php if( osc_price_enabled_at_items() ) { ?>
<div class="control-group">
<label class="control-label" for="price"><?php _e('Price', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::price_input_text(); ?>
<?php ItemForm::currency_select(); ?>
</div>
</div>
<?php } ?>
<?php if( osc_images_enabled_at_items() ) {
ItemForm::ajax_photos();
} ?>
<div class="box location">
<h3><?php _e('Location', 'azul'); ?></h3>
<div class="control-group">
<label class="control-label" for="country"><?php _e('Country', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::country_select(osc_get_countries(), osc_user()); ?><font color="red"> *</font>
</div>
</div>
<div class="control-group">
<label class="control-label" for="region"><?php _e('Region', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::region_select(osc_get_regions(), osc_user()); ?><font color="red"> *</font>
<?php //ItemForm::region_select(osc_user()); ?>
</div>
</div>
<div class="control-group">
<label class="control-label" for="city"><?php _e('City/Area', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::city_select() ; ?>
</div>
</div>
<div class="control-group">
<label class="control-label" for="address"><?php _e('Address', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::address_text() ; ?>
</div>
</div>
</div>
<!-- seller info -->
<?php if(!osc_is_web_user_logged_in() ) { ?>
<div class="box seller_info">
<h3><?php _e("Seller information", 'azul'); ?></h3>
<div class="control-group">
<label class="control-label" for="contactName"><?php _e('Name', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::contact_name_text(); ?>
</div>
</div>
<div class="control-group">
<label class="control-label" for="contactPhone"><?php _e('Phone', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::contact_phone_text(); ?><font color="red"> *</font>
</div>
</div>
<div class="control-group">
<div class="controls checkbox">
<?php ItemForm::show_phone_checkbox(); ?> <label for="showPhone"><?php _e('Show Phone on the listing page', 'azul'); ?></label>
</div>
</div>
<div class="control-group">
<label class="control-label" for="contactEmail"><?php _e('E-mail', 'azul'); ?></label>
<div class="controls">
<?php ItemForm::contact_email_text(); ?><font color="red"> *</font>
</div>
</div>
<div class="control-group">
<div class="controls checkbox">
<?php ItemForm::show_email_checkbox(); ?> <label for="showEmail"><?php _e('Show my e-mail', 'azul'); ?></label>
</div>
</div>
<?php
}
if($edit) {
ItemForm::plugin_edit_item();
} else {
ItemForm::plugin_post_item();
}
?>
</div>
<div class="control-group">
<?php if( osc_recaptcha_items_enabled() ) { ?>
<div class="controls">
<?php osc_show_recaptcha(); ?>
</div>
<?php }?>
<div class="controls">
<button type="submit" class="ui-button"><?php if($edit) { _e("Update", 'azul'); } else { _e("Publish", 'azul'); } ?></button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
<script type="text/javascript">
<?php if(osc_locale_thousands_sep()!='' || osc_locale_dec_point() != '') { ?>
$().ready(function(){
$("#price").blur(function(event) {
var price = $("#price").prop("value");
<?php if(osc_locale_thousands_sep()!='') { ?>
while(price.indexOf('<?php echo osc_esc_js(osc_locale_thousands_sep()); ?>')!=-1) {
price = price.replace('<?php echo osc_esc_js(osc_locale_thousands_sep()); ?>', '');
}
<?php }; ?>
<?php if(osc_locale_dec_point()!='') { ?>
var tmp = price.split('<?php echo osc_esc_js(osc_locale_dec_point())?>');
if(tmp.length>2) {
price = tmp[0] '<?php echo osc_esc_js(osc_locale_dec_point())?>' tmp[1];
}
<?php }; ?>
$("#price").prop("value", price);
});
});
<?php }; ?>
</script>
<?php osc_current_web_theme_path('footer.php'); ?>
Thanks in advance teseo