<!-- CATEGORY -->
<?php $category_type = osc_get_preference('publish_category', 'veronika_theme'); ?>
<?php if($category_type == 1 || $category_type == '') { ?>
<div class="row category flat">
<label for="catId"><span><?php _e('Select Category', 'veronika'); ?></span><span class="req">*</span></label>
<input id="catId" type="hidden" name="catId" value="<?php echo (veronika_get_session('sCategory') <> '' ? veronika_get_session('sCategory') : Params::getParam('sCategory')); ?>">
<div id="flat-cat">
<?php echo veronika_flat_category_select(); ?>
</div>
<?php echo veronika_flat_categories(); ?>
</div>
<?php } else if($category_type == 1) { ?>
<div class="row category multi">
<label for="catId"><span><?php _e('Category', 'veronika'); ?></span><span class="req">*</span></label>
<?php ItemForm::category_multiple_selects(null, Params::getParam('sCategory'), __('Select a category', 'veronika')); ?>
</div>
<?php } else if($category_type == 3) { ?>
<div class="row category simple">
<label for="catId"><span><?php _e('Category', 'veronika'); ?></span><span class="req">*</span></label>
<?php ItemForm::category_select(null, Params::getParam('sCategory'), __('Select a category', 'veronika')); ?>
</div>
<?php } ?>