<?php /* Smarty version 2.6.22, created on 2014-03-27 07:54:03
         compiled from C:/xampp/htdocs/zipmarket%5Capps%5Citems%5Cadmin/queue_view.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'C:/xampp/htdocs/zipmarket\\apps\\items\\admin/queue_view.html', 111, false),)), $this); ?>
<div class="page-info">
    <div class="container">
      <div id="breadcrumbs">
        <a href="/admin" class="first">Home</a> \ <a href="/admin/?m=items&c=list">Items</a> \ <a href="?m=<?php echo $_GET['m']; ?>
&c=queue&p=<?php echo $_GET['p']; ?>
">Queue</a> \
      </div>
      <h1 class="page-title"><?php echo $this->_tpl_vars['data']['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" action="" class="horizontal-form item-form disable-on-submit" 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['data']['user']['user_id']; ?>
" title="" target="_blank"><?php echo $this->_tpl_vars['data']['user']['username']; ?>
</a>
        </div>
      </div>
	 <div class="input-group">
        <label>Thumbnail</label>
        <div class="inputs">
           <img src="<?php echo $this->_tpl_vars['data_server']; ?>
uploads/items/<?php echo $_GET['id']; ?>
/<?php echo $this->_tpl_vars['data']['thumbnail']; ?>
" alt="" />
        </div>
      </div>
	 <div class="input-group">
        <label>Preview Screenshots</label>
        <div class="inputs">
           <img src="<?php echo $this->_tpl_vars['data_server']; ?>
uploads/items/<?php echo $_GET['id']; ?>
/preview.jpg" alt="" />
        </div>
      </div>
	 <div class="input-group">
        <label><?php echo $this->_tpl_vars['lang']['description']; ?>
</label>
        <div class="right" style="width: 710px;">
           <?php echo $this->_tpl_vars['data']['description']; ?>

        </div>
      </div>
	 <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 $_GET['id']; ?>
/<?php echo $this->_tpl_vars['data']['theme_preview']; ?>
" title=""><?php echo $this->_tpl_vars['data']['theme_preview']; ?>
</a>
		</div>
      </div>
	 <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 $_GET['id']; ?>
/<?php echo $this->_tpl_vars['data']['main_file']; ?>
" title=""><?php echo $this->_tpl_vars['data']['main_file']; ?>
</a>
		</div>
      </div>
	 <div class="input-group">
       <label><?php echo $this->_tpl_vars['lang']['category']; ?>
</label>
	    <div class="right">
          <?php $_from = $this->_tpl_vars['data']['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c']):
?><?php $_from = $this->_tpl_vars['c']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['e']):
        $this->_foreach['foo']['iteration']++;
?><?php echo $this->_tpl_vars['categories'][$this->_tpl_vars['e']]['name']; ?>
 <?php if (! ($this->_foreach['foo']['iteration'] == $this->_foreach['foo']['total'])): ?> &rsaquo; <?php endif; ?><?php endforeach; endif; unset($_from); ?><br /><?php endforeach; endif; unset($_from); ?>
		</div>
      </div>
	<?php if ($this->_tpl_vars['data']['demo_url'] != ''): ?>
	 <div class="input-group">
       <label for="demo_url"><?php echo $this->_tpl_vars['lang']['demo_url']; ?>
:</label>
        <div class="right">
          <a href="<?php echo $this->_tpl_vars['data']['demo_url']; ?>
" target="_blank"><?php echo $this->_tpl_vars['data']['demo_url']; ?>
</a>
        </div>
      </div>
	<?php endif; ?>
  <div class="input-group">
    <label><?php echo $this->_tpl_vars['lang']['usage_tags']; ?>
</label>
	 <div class="right">
	<?php $_from = $this->_tpl_vars['data']['tags']['usage']; 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']['style_tags']; ?>
</label>
	 <div class="right">
	<?php $_from = $this->_tpl_vars['data']['tags']['style']; 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']['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="input-group">
       <label><?php echo $this->_tpl_vars['lang']['want_to_be_freefile']; ?>
:</label>
       <div class="inputs">
	   <?php if ($_POST['free_request'] == 'true'): ?>
	    <img src="<?php echo $this->_tpl_vars['data_server']; ?>
admin/images/icons/24x24/accept.png" alt="" class="middle" />
        <?php else: ?>
	    <img src="<?php echo $this->_tpl_vars['data_server']; ?>
admin/images/icons/24x24/delete.png" alt="" class="middle" />
	   <?php endif; ?>	
		<input type="hidden" name="free_request" value="<?php echo $_POST['free_request']; ?>
" />
       </div>
    </div>
    <?php if ($_POST['free_request'] == 'true'): ?>
	 <div class="input-group">
        <label for="freefile"><?php echo $this->_tpl_vars['lang']['free_file']; ?>
?</label>
        <div class="inputs">
           <input class="input big" id="freefile" type="checkbox" name="free_file" value="true" <?php if ($_POST['free_file'] == 'true'): ?>checked="checked"<?php endif; ?> /> <?php echo $this->_tpl_vars['lang']['yes']; ?>
	
        </div>
     </div>
	<?php endif; ?>
	<div class="input-group">
      <label for="datepick"><?php echo $this->_tpl_vars['lang']['weekly_features_to']; ?>
</label>
       <div class="inputs">
          <input class="input big" type="text" id="datepick" name="weekly_to" value="<?php echo ((is_array($_tmp=$_POST['weekly_to'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /> 
       </div>
    </div>
  <div class="input-group">
    <label>User Price </label>
	<div class="right">
	 <?php echo $this->_tpl_vars['currency']['symbol']; ?>
 <?php echo $this->_tpl_vars['data']['suggested_price']; ?>

    </div>	
  </div>
    <div class="form-submit" style="margin-left:-407px;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('unapprove');" class="btn-icon submit"><?php echo $this->_tpl_vars['lang']['back_with_comment']; ?>
</button>
     <button type="button" onclick="showFields('delete');" class="btn-icon submit"><?php echo $this->_tpl_vars['lang']['remove_item']; ?>
</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" >
        </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>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['data_server']; ?>
admin/js/jquery.datepick.pack.js"></script>
<script type="text/javascript" src="<?php echo $this->_tpl_vars['data_server']; ?>
admin/js/jquery.datepick-en-GB.js"></script> 
<?php echo '
<script type="text/javascript">
$(document).ready(function(){
	Administry.dateInput(\'#datepick\'); 
});
</script>
'; ?>
	