<?php /* Smarty version 2.6.26, created on 2017-04-14 13:31:40
         compiled from /home3/bargaip4/public_html/gevimmo/plugins/categories_icons/admin/add_category_block.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', '/home3/bargaip4/public_html/gevimmo/plugins/categories_icons/admin/add_category_block.tpl', 8, false),array('modifier', 'replace', '/home3/bargaip4/public_html/gevimmo/plugins/categories_icons/admin/add_category_block.tpl', 9, false),array('function', 'math', '/home3/bargaip4/public_html/gevimmo/plugins/categories_icons/admin/add_category_block.tpl', 21, false),)), $this); ?>
<tr>
	<td class="name"><?php echo $this->_tpl_vars['lang']['category_icon']; ?>
</td>
	<td class="field">
    	<div id="category_icon_upload">
		    <table class="sTable">
		        <tr>
					<td>
						<?php $this->assign('click_dom', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp='<a href="')) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['rlBase']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['rlBase'])))) ? $this->_run_mod_handler('cat', true, $_tmp, 'index.php?controller=settings&amp;group=') : smarty_modifier_cat($_tmp, 'index.php?controller=settings&amp;group=')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['group_id']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['group_id'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '">') : smarty_modifier_cat($_tmp, '">')))) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['lang']['here']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['lang']['here'])))) ? $this->_run_mod_handler('cat', true, $_tmp, '</a>') : smarty_modifier_cat($_tmp, '</a>'))); ?>
						<input class="file" type="file" name="icon"/> &nbsp;| <small><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['lang']['category_icon_notice'])) ? $this->_run_mod_handler('replace', true, $_tmp, '[width]', $this->_tpl_vars['config']['categories_icons_width']) : smarty_modifier_replace($_tmp, '[width]', $this->_tpl_vars['config']['categories_icons_width'])))) ? $this->_run_mod_handler('replace', true, $_tmp, '[height]', $this->_tpl_vars['config']['categories_icons_height']) : smarty_modifier_replace($_tmp, '[height]', $this->_tpl_vars['config']['categories_icons_height'])))) ? $this->_run_mod_handler('replace', true, $_tmp, '[here]', $this->_tpl_vars['click_dom']) : smarty_modifier_replace($_tmp, '[here]', $this->_tpl_vars['click_dom'])); ?>
</small>
					</td>
				</tr>
			</table>
		</div>
		
		<?php if (! empty ( $this->_tpl_vars['sPost']['icon'] )): ?>                                                    
			<div id="gallery">                                                         
				<div style="margin: 1px 0 4px 0;">
					<fieldset style="margin: 0 0 10px 0;">
						<legend id="legend_details" class="up" onclick="fieldset_action('details');"><?php echo $this->_tpl_vars['lang']['current_icon']; ?>
</legend>
						<div id="fileupload" class="ui-widget">
							<span class="item active template-download" style="width: <?php echo smarty_function_math(array('equation' => "x + y",'x' => $this->_tpl_vars['config']['categories_icons_width'],'y' => 4), $this);?>
px; height: <?php echo smarty_function_math(array('equation' => "x + y",'x' => $this->_tpl_vars['config']['categories_icons_width'],'y' => 4), $this);?>
px;">   
								<img src="<?php echo @RL_FILES_URL; ?>
<?php echo $this->_tpl_vars['sPost']['icon']; ?>
" style="border: 2px solid #D0D0D0; border-radius: 5px 5px 5px 5px; display: block; height: <?php echo smarty_function_math(array('equation' => "x + y",'x' => $this->_tpl_vars['config']['categories_icons_width'],'y' => 4), $this);?>
; width: <?php echo smarty_function_math(array('equation' => "x + y",'x' => $this->_tpl_vars['config']['categories_icons_width'],'y' => 4), $this);?>
px;" alt="<?php echo $this->_tpl_vars['lang']['category_icon']; ?>
" />   
								<img title="Delete" alt="Delete" class="delete" src="<?php echo $this->_tpl_vars['rlTplBase']; ?>
/img/blank.gif" onclick="xajax_deleteIcon('<?php echo $this->_tpl_vars['sPost']['key']; ?>
', '<?php if ($_GET['controller'] == 'listing_types'): ?>listing_type<?php else: ?>category<?php endif; ?>');" />   
							</span>
						</div>
					</fieldset>
				</div>
			</div>
			<div class="loading" id="photos_loading" style="width: 100%;"></div>
		<?php endif; ?>
	</td>
</tr>