<?php /* Smarty version 2.6.22, created on 2014-02-11 23:53:49
         compiled from /home/joomaria/public_html/zipmarket/apps/items/admin/queue_view_update.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', '/home/joomaria/public_html/zipmarket/apps/items/admin/queue_view_update.html', 64, false),array('modifier', 'string_format', '/home/joomaria/public_html/zipmarket/apps/items/admin/queue_view_update.html', 66, false),)), $this); ?>
<div class="page-info">
    <div class="container">
      <div id="breadcrumbs">
        <a href="/admin" class="first">Home</a> \ <a href="?m=<?php echo $_GET['m']; ?>
&c=list">Items</a> \ <a href="/admin/?m=items&c=queue_update">Queue Update</a> \
      </div>
      <h1 class="page-title"><?php echo $this->_tpl_vars['item']['name']; ?>
</h1>
	  </div> 
  </div>
    <div id="content">
      <div class="container">
	 <?php echo $this->_tpl_vars['errorMessage']; ?>

    <div class="content" style="width:984px;">
   <div class="content-box">
	<form id="sampleform" class="horizontal-form item-form disable-on-submit" action="" method="post">
	 <div class="input-group">
       <label>Seller </label>
        <div class="right">
          <a href="/admin/?m=users&c=edit&id=<?php echo $this->_tpl_vars['item']['user']['user_id']; ?>
" title="" target="_blank"><?php echo $this->_tpl_vars['item']['user']['username']; ?>
</a>
        </div>
	</div>
	<?php if ($this->_tpl_vars['data']['thumbnail'] != ''): ?>
	 <div class="input-group">
        <label>Thumbnail</label>
        <div class="inputs">
           <img src="<?php echo $this->_tpl_vars['data_server']; ?>
uploads/items/<?php echo $this->_tpl_vars['item']['id']; ?>
/temp/<?php echo $this->_tpl_vars['data']['thumbnail']; ?>
" alt="" />
        </div>
      </div>
	<?php endif; ?> 
	<?php if ($this->_tpl_vars['data']['theme_preview'] != ''): ?>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['theme_preview']; ?>
</label>
        <div class="right">
          <a href="<?php echo $this->_tpl_vars['data_server']; ?>
/uploads/items/<?php echo $this->_tpl_vars['item']['id']; ?>
/temp/<?php echo $this->_tpl_vars['data']['theme_preview']; ?>
" title=""><?php echo $this->_tpl_vars['data']['theme_preview']; ?>
</a> 
        </div>
      </div>
	<?php endif; ?>
	<?php if ($this->_tpl_vars['data']['main_file'] != ''): ?>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['main_file']; ?>
</label>
        <div class="right">
           <a href="<?php echo $this->_tpl_vars['data_server']; ?>
/uploads/items/<?php echo $this->_tpl_vars['item']['id']; ?>
/temp/<?php echo $this->_tpl_vars['data']['main_file']; ?>
" title=""><?php echo $this->_tpl_vars['data']['main_file']; ?>
</a>
        </div>
      </div>
	<?php endif; ?>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['features_tags']; ?>
</label>
        <div class="right">
           <?php $_from = $this->_tpl_vars['data']['tags']['features']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['t']):
?><?php echo $this->_tpl_vars['t']; ?>
, <?php endforeach; endif; unset($_from); ?>	
        </div>
      </div>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['comment']; ?>
</label>
        <div class="right">
          <?php echo $this->_tpl_vars['data']['reviewer_comment']; ?>
	
        </div>
      </div>
    <div class="form-submit" style="margin-left:-630px;width:100%;">
     <button type="button" onclick="showFields('approve');"class="btn-icon upload"><?php echo $this->_tpl_vars['lang']['approve']; ?>
</button>
     <button type="button" onclick="showFields('delete');" class="btn-icon submit"><?php echo $this->_tpl_vars['lang']['remove_item_update']; ?>
</button>
    </div>
	 <div class="input-group" id="approve_item" <?php if ($_POST['action'] != 'approve'): ?>style="display: none;"<?php endif; ?>>
        <label for="newprice"><?php echo $this->_tpl_vars['lang']['new_price']; ?>
</label>
        <div class="right" style="margin-left:-100px">
         <input type="text" id="newprice" class="title" style="width:182px" value="<?php echo ((is_array($_tmp=$_POST['price'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" name="price" >
		 <br />
		 <?php echo $this->_tpl_vars['lang']['old_price']; ?>
: $<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['price'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>

        </div>
      </div>
	<input id="item_action" type="hidden" name="action" value="<?php echo $_POST['action']; ?>
" />
	 <div class="input-group" id="unapprove_item" <?php if ($_POST['action'] != 'delete'): ?>style="display: none;"<?php endif; ?>>
        <label for="comm"><?php echo $this->_tpl_vars['lang']['comment']; ?>
</label>
        <div class="right" style="margin-left:-100px">
         <textarea id="comm" name="comment_to_user"></textarea>		
        </div>
      </div>
		<p id="submit_form" <?php if ($_POST['action'] == ''): ?>style="display: none;"<?php endif; ?>>
			<input class="btn-icon save" type="submit" name="submit" value="<?php echo $this->_tpl_vars['lang']['save']; ?>
" onclick="return confirm('<?php echo $this->_tpl_vars['lang']['are_you_sure_submit']; ?>
');" />
		</p>	
	</form>
	  </div>
  </div>
</div>
</div>