<?php /* Smarty version 2.6.22, created on 2014-02-11 19:02:44
         compiled from D:/Program+Files+%28x86%29/Ampps/www//zipmarket/apps/items/views/rightside.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'D:/Program Files (x86)/Ampps/www//zipmarket/apps/items/views/rightside.html', 25, false),array('modifier', 'string_format', 'D:/Program Files (x86)/Ampps/www//zipmarket/apps/items/views/rightside.html', 58, false),array('modifier', 'escape', 'D:/Program Files (x86)/Ampps/www//zipmarket/apps/items/views/rightside.html', 147, false),array('modifier', 'url', 'D:/Program Files (x86)/Ampps/www//zipmarket/apps/items/views/rightside.html', 169, false),)), $this); ?>
<div class="sidebar-l sidebar-right">
<?php if (check_login_bool ( ) && $_SESSION['user']['user_id'] == $this->_tpl_vars['item']['user_id']): ?>
 <div class="notice" style="margin-top:-0px;"><?php echo $this->_tpl_vars['lang']['this_is_your_file']; ?>
</div>
<?php endif; ?>
<?php if (isset ( $this->_tpl_vars['item']['is_buyed'] )): ?>

        <div class="notice" style="margin-top:-0px;">
<p style="line-height:23px;">
    شما این فایل را خریداری کرده اید . برای دانلود بر روی لینک  
    <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
download/<?php echo $this->_tpl_vars['item']['id']; ?>
">دانلود محصول</a>
    کلیک کنید .
  </p>
</div>
<?php endif; ?>

<?php if ($this->_tpl_vars['item']['free_file'] == 'true'): ?>
 <div class="free_item">
<?php if (check_login_bool ( )): ?>
        <h3>
          <img alt="Free Download!" src="/static/img/gold-star.png" height="30" width="30">
            <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
download/<?php echo $this->_tpl_vars['item']['id']; ?>
">دانلود رایگان محصول !</a>
        </h3>

        <p>
          این محصول رایگان ماه  <?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, 'F') : smarty_modifier_date_format($_tmp, 'F')); ?>
 می باشد!<br>
            برای دانلود کافیست عضو شوید .
        </p>
<?php else: ?>

        <h3>
          <img alt="Free Download!" src="/static/img/gold-star.png" height="30" width="30">
        </h3>

        <p style="line-height:23px;">
          این محصول رایگان ماه  <?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, 'F') : smarty_modifier_date_format($_tmp, 'F')); ?>
 می باشد!<br>
            <strong>برای دانلود شما باید به سایت ورود کنید . </strong>
        </p>
<?php endif; ?>
  </div>
<?php endif; ?>
<?php if (check_login_bool ( )): ?><?php else: ?>
<form id="licence" action="/<?php echo $this->_tpl_vars['languageURL']; ?>
items/<?php echo $this->_tpl_vars['item']['id']; ?>
/" method="post">
<p style="text-align:justify;line-height:23px;font-size:12px;">شما باید 
<input type="hidden" name="licence" id="licence" value="regular" />
<a href="javascript:;" onclick="document.getElementById('licence').submit();">وارد شوید</a>
 یا <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
sign_up/">عضو شوید</a> تا بتوانید این محصول را خریداری کنید
</p>
</form><?php endif; ?>
<?php if ($this->_tpl_vars['item']['free_file'] !== 'true'): ?>
<?php if (! check_login_bool ( ) || $_SESSION['user']['user_id'] !== $this->_tpl_vars['item']['user_id']): ?>
    <div class="pricebox">

    <form action="/<?php echo $this->_tpl_vars['languageURL']; ?>
items/<?php echo $this->_tpl_vars['item']['id']; ?>
" id="purchase-form" method="post" name="purchase-form">

  <div class="licenses">
    <meta itemprop="price" content="$3">
<?php if (isset ( $this->_tpl_vars['item']['user']['license']['personal'] )): ?>
      <h3 class="js-active"><div class="purchase-container"><span><?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")); ?>
<span class="price_in_dollars" data-licence="regular">    <?php echo $this->_tpl_vars['currency']['symbol']; ?>
</span></span>خرید محصول</div>
        <div class="clear"><!-- --></div>
      </h3>
      <div class="section js-open">
        <div class="purchase-container">
          <div class="purchase">
            <span class="price"><sup><?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")); ?>
</sup><span class="price_in_dollars" data-licence="regular"> <?php echo $this->_tpl_vars['currency']['symbol']; ?>
</span></span>
			  <input class="licence-type" id="licence" name="licence" type="hidden" value="regular" /></br>
              <button class="auto-width" id="purchase_button" onclick="chooseLicence('regular', '<?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")); ?>
', '<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['prepaid_price'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
', 'block')" type="submit">خرید آنلاین این محصول</button>
          </div>
          <p style="line-height:19px;text-align:justify;">
            <strong>خرید محصول</strong>
            شما می توانید این محصول را به وسلیه درگاه بانکی شتاب خریداری کنید و بلافاصله بعد از خرید ، آن را دریافت کنید .
          </p>
          <div class="clear"><!-- --></div>


        </div>
      </div>
<?php endif; ?>

<?php if (isset ( $this->_tpl_vars['item']['user']['license']['extended'] )): ?>
      <h3 class=""><div class="purchase-container"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['item']['extended_price'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
<span class="price_in_dollars" data-licence="extended"><?php echo $this->_tpl_vars['currency']['symbol']; ?>
</span></span>مجوز تمدید شده</div>
        <div class="clear"><!-- --></div>
      </h3>
	  
      <div class="section js-closed">
        <div class="purchase-container">
          <div class="purchase">
            <span class="price"><sup><?php echo ((is_array($_tmp=$this->_tpl_vars['item']['extended_price'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
</sup><span class="price_in_dollars" data-licence="extended"><?php echo $this->_tpl_vars['currency']['symbol']; ?>
</span></span>
              <button class="auto-width" id="purchase_button" onclick="chooseLicence('extended', '<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['extended_price'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
', '<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['extended_price'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.0f") : smarty_modifier_string_format($_tmp, "%.0f")); ?>
', 'none')" type="submit">خرید کنید</button>
          </div>
          <p>
            <strong>مجوز تمدید شده</strong>
            Use, by you or one client, in a single end product which end users can be charged for - <a href="/help/licenses/">اطلاعات</a>
          </p>
          <div class="clear"><!-- --></div>
        </div>
      </div>
<?php endif; ?>
  </div>
  <div class="clear"><!-- --></div>
  <small class="surcharge hidden">Add $2 if you are not using prepaid credits</small>
</form>
</div>
<?php endif; ?>
<?php endif; ?>

<?php if ($this->_tpl_vars['item']['weekly_to']): ?>
<div class="content-box vertical-space item-was-featured">
  <p>این یک محصول ویژه ایران تم است .</p>
</div>
<?php endif; ?> 

<?php if ($this->_tpl_vars['item']['user']['elite_author'] == 'true'): ?>
<div class="content-box vertical-space author-is-elite">
  <p>یک محصول توسط نویسنده خوب</p>
</div>
<?php endif; ?>

<?php if ($this->_tpl_vars['item']['user']['power_elite_author'] == 'true'): ?>
<div class="content-box vertical-space author-is-power-elite">
  <p>یک محصول توسط نویسنده عالی</p>
</div>
<?php endif; ?>
 <?php echo '      
<script type="text/javascript">
function chooseLicence(licence, price, prepaidprice, display) {
    $("#buynow-form input[name=licence], #prepaid-form input[name=licence]").val(licence);
    $("strong.buynow-figure").text("'; ?>
<?php echo '" + price);
    $("strong.prepaid-figure").text("'; ?>
<?php echo '" + prepaidprice);

}
</script>
'; ?>
   
  <div class="content-box author-info">
<div class="avatar-wrapper">
    <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/<?php echo $this->_tpl_vars['item']['user']['username']; ?>
/" class="avatar">
  			<?php if ($this->_tpl_vars['item']['user']['avatar'] != ''): ?>  
			  <img alt="<?php echo $this->_tpl_vars['item']['user']['username']; ?>
"  height="80" src="<?php echo $this->_tpl_vars['data_server']; ?>
uploads/users/<?php echo $this->_tpl_vars['item']['user']['user_id']; ?>
/A_<?php echo $this->_tpl_vars['item']['user']['avatar']; ?>
" width="80" />
			<?php else: ?>
				<img alt="<?php echo $this->_tpl_vars['item']['user']['username']; ?>
" height="80" src="<?php echo $this->_tpl_vars['data_server']; ?>
img/default-user.jpg" width="80" />
			<?php endif; ?>
    </a>
</div>
    <div class="details">
      <h2 class="decorator"><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/<?php echo $this->_tpl_vars['item']['user']['username']; ?>
/" rel="author"><?php echo $this->_tpl_vars['item']['user']['username']; ?>
</a></h2>
        <ul class="badges">
            <?php $_from = $this->_tpl_vars['user_badges']; 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['b']):
        $this->_foreach['foo']['iteration']++;
?>
		      	<img src="<?php echo $this->_tpl_vars['data_server']; ?>
<?php echo $this->_tpl_vars['b']['photo']; ?>
" height="20" width="20" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['b']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['b']['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" />
		      	<?php if (($this->_foreach['foo']['iteration'] == $this->_foreach['foo']['total'])): ?> <br /> <?php endif; ?>
	      	<?php endforeach; endif; unset($_from); ?>
        </ul>
     <?php if ($this->_tpl_vars['item']['user']['power_elite_author'] == 'true'): ?>
     <div class="power-elite-author">
      <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/portfolio/<?php echo $this->_tpl_vars['item']['user']['username']; ?>
" role="button" class="btn-icon portfolio"><?php echo $this->_tpl_vars['lang']['view_portfolio']; ?>
</a>
    </div>
  <?php else: ?>
  <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
user/portfolio/<?php echo $this->_tpl_vars['item']['user']['username']; ?>
" role="button" class="btn-icon portfolio">نمونه کارها</a>
    <?php endif; ?>
    </div>
  </div>
 <div class="sidebar-stats">
    <div class="sidebar-stats__box--sales">
      <div>
        <span><?php echo $this->_tpl_vars['item']['sales']; ?>
</span>
        <small>خرید</small>
      </div>
    </div>
    <div class="sidebar-stats__box--comments">
      <div>
        <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
items/comments/<?php echo $this->_tpl_vars['item']['id']; ?>
/<?php echo ((is_array($_tmp=$this->_tpl_vars['item']['name'])) ? $this->_run_mod_handler('url', true, $_tmp) : smarty_modifier_url($_tmp)); ?>
">
          <span><?php echo $this->_tpl_vars['item']['comments']; ?>
</span>
          <small>نظر</small>
        </a>
      </div>
    </div>
  </div> 

  <div class="content-box vertical-space social-shares">
  <div class='facebook-like-button'>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://<?php echo $this->_tpl_vars['domain']; ?>
/items/<?php echo $this->_tpl_vars['item']['id']; ?>
&amp;layout=standard&amp;show_faces=false&amp;width=308&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=80&amp;locale=en_US" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:35px;" allowTransparency="true"></iframe>
  </div>
  
  <div class='twitter-tweet-button'>
  <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://<?php echo $this->_tpl_vars['domain']; ?>
/items/<?php echo $this->_tpl_vars['item']['id']; ?>
" data-lang="en">تویتر</a>
  </div>
  
 <div class="google-plus-one-button">
 <div data-href="http://<?php echo $this->_tpl_vars['domain']; ?>
/items/<?php echo $this->_tpl_vars['item']['id']; ?>
" class="g-plusone" data-size="medium"></div>
 </div>

 <div class="pinterest-pin-it-button">
 <a href="//pinterest.com/pin/create/button/" data-pin-do="buttonBookmark" ><img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" /></a>
 </div>

  </div>
 <script>
  <?php echo '  marketplace.queue(function(){
      (function(d, s) {
        var js, fjs = d.getElementsByTagName(s)[0], load = function(url, id) {
          if (d.getElementById(id)) {return;}
          js = d.createElement(s); js.src = url; js.id = id;
          fjs.parentNode.insertBefore(js, fjs);
        };
        load(\'//connect.facebook.net/en_US/all.js#xfbml=1\', \'facebook-jssdk\');
        load(\'//apis.google.com/js/plusone.js\', \'gplus1-js\');
        load(\'//platform.twitter.com/widgets.js\', \'tweet-js\');
          load(\'//assets.pinterest.com/js/pinit.js\', \'pinterest-js\');
      }(document, \'script\'));
    });'; ?>

  </script>

  	<?php if ($this->_tpl_vars['item']['votes'] > 2): ?>
<div class="content-box vertical-space">
      <div class="rating-detailed">
    <div class="rating-detailed__header">
      <strong class="rating-detailed__title">امتیاز خریدار :</strong>
      <div class="rating-detailed__stars">
<?php unset($this->_sections['foo']);
$this->_sections['foo']['name'] = 'foo';
$this->_sections['foo']['start'] = (int)1;
$this->_sections['foo']['loop'] = is_array($_loop=6) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['foo']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['foo']['show'] = true;
$this->_sections['foo']['max'] = $this->_sections['foo']['loop'];
if ($this->_sections['foo']['start'] < 0)
    $this->_sections['foo']['start'] = max($this->_sections['foo']['step'] > 0 ? 0 : -1, $this->_sections['foo']['loop'] + $this->_sections['foo']['start']);
else
    $this->_sections['foo']['start'] = min($this->_sections['foo']['start'], $this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] : $this->_sections['foo']['loop']-1);
if ($this->_sections['foo']['show']) {
    $this->_sections['foo']['total'] = min(ceil(($this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] - $this->_sections['foo']['start'] : $this->_sections['foo']['start']+1)/abs($this->_sections['foo']['step'])), $this->_sections['foo']['max']);
    if ($this->_sections['foo']['total'] == 0)
        $this->_sections['foo']['show'] = false;
} else
    $this->_sections['foo']['total'] = 0;
if ($this->_sections['foo']['show']):

            for ($this->_sections['foo']['index'] = $this->_sections['foo']['start'], $this->_sections['foo']['iteration'] = 1;
                 $this->_sections['foo']['iteration'] <= $this->_sections['foo']['total'];
                 $this->_sections['foo']['index'] += $this->_sections['foo']['step'], $this->_sections['foo']['iteration']++):
$this->_sections['foo']['rownum'] = $this->_sections['foo']['iteration'];
$this->_sections['foo']['index_prev'] = $this->_sections['foo']['index'] - $this->_sections['foo']['step'];
$this->_sections['foo']['index_next'] = $this->_sections['foo']['index'] + $this->_sections['foo']['step'];
$this->_sections['foo']['first']      = ($this->_sections['foo']['iteration'] == 1);
$this->_sections['foo']['last']       = ($this->_sections['foo']['iteration'] == $this->_sections['foo']['total']);
?><?php if ($this->_tpl_vars['item']['rating'] >= $this->_sections['foo']['index']): ?><img src="/static/img/large-star-on.png" alt="" /><?php else: ?><img src="/static/img/large-star-off.png" alt="" /><?php endif; ?><?php endfor; endif; ?>
      </div>
      <small class="rating-detailed__average">
        <?php echo $this->_tpl_vars['item']['rating']; ?>
 average based on <?php echo $this->_tpl_vars['item']['votes']; ?>
 ratings.
      </small>
    </div>
  </div>
  </div>
  <?php else: ?> 
<div class="content-box vertical-space">
  <div class="rating-detailed">
    <strong>امتیاز خریدار :</strong> &nbsp;&nbsp;<small>نمایش : حداقل بالای 3 امتیاز</small>
  </div>
</div>
<?php endif; ?> 
    <div class="content-box vertical-space item-meta-attributes">
      <table id="item_attributes" border="0" cellpadding="0" cellspacing="0">
        <tbody>
		<tr>
		 <td class="attr-name">ایجاد شده در </td>
		 <td class="attr-detail"><?php echo ((is_array($_tmp=$this->_tpl_vars['item']['datetime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, 'd F Y') : smarty_modifier_date_format($_tmp, 'd F Y')); ?>
</td>
	  	<?php $_from = $this->_tpl_vars['item']['attributes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c'] => $this->_tpl_vars['a']):
?>
  	    <?php if ($this->_tpl_vars['a']): ?>
          <tr>
            <td class="attr-name"><?php echo $this->_tpl_vars['attributeCategories'][$this->_tpl_vars['c']]['name']; ?>
</td>
            <td class="attr-detail">
						  <?php if (is_array ( $this->_tpl_vars['a'] )): ?>
			  	<?php $this->assign('foo', 0); ?>
			  	<?php $_from = $this->_tpl_vars['a']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['ai']):
?>
					<?php if ($this->_tpl_vars['attributes'][$this->_tpl_vars['ai']]['photo'] != ''): ?>
						<img class="tooltip" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['attributes'][$this->_tpl_vars['ai']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['attributes'][$this->_tpl_vars['ai']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" src="<?php echo $this->_tpl_vars['data_server']; ?>
/uploads/attributes/<?php echo $this->_tpl_vars['attributes'][$this->_tpl_vars['ai']]['photo']; ?>
" />
					<?php else: ?>
						<a href="#"><?php echo $this->_tpl_vars['attributes'][$this->_tpl_vars['ai']]['name']; ?>
</a>,
					<?php endif; ?>
				  	<?php $this->assign('foo', $this->_tpl_vars['foo']+1); ?>
			  	<?php endforeach; endif; unset($_from); ?>
			  <?php else: ?>			  
			  	<?php if ($this->_tpl_vars['attributes'][$this->_tpl_vars['a']]['photo'] != ''): ?>
			  		<img class="tooltip" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['attributes'][$this->_tpl_vars['ai']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['attributes'][$this->_tpl_vars['a']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" src="<?php echo $this->_tpl_vars['data_server']; ?>
/uploads/attributes/<?php echo $this->_tpl_vars['attributes'][$this->_tpl_vars['a']]['photo']; ?>
" />
			  	<?php else: ?>
			  		<?php if ($this->_tpl_vars['attributeCategories'][$this->_tpl_vars['c']]['type'] == 'input'): ?>
			  		<a href=""><?php echo $this->_tpl_vars['a']; ?>
</a>,
			  		<?php else: ?>
			  			<a href="#"><?php echo $this->_tpl_vars['attributes'][$this->_tpl_vars['a']]['name']; ?>
</a>,
			  		<?php endif; ?>
			  	<?php endif; ?>
			  <?php endif; ?>
			</td>
          </tr>
	 	<?php endif; ?>
 	    <?php endforeach; endif; unset($_from); ?>
        </tbody>
      </table>
    </div>

	 <?php if (check_login_bool ( )): ?>
 <div class="content-box vertical-space bookmarks">
      <script>
<?php echo 'marketplace.queue(function(){
    $(\'#collection_create_link a\').toggle(
        function() {
          $(\'#collection_create_form\').show();
          $(this).parent().find(\'a\').text(\'Close New Collection\');

        },
        function() {
          $(\'#collection_create_form\').hide();
          $(this).parent().find(\'a\').text(\'Create New Collection\');
        }
    );
  });'; ?>

</script>

<form id="bookmark_form"  method="post" action="" enctype="multipart/form-data">

    <select id="collection_id" name="collection_id" style="width: 100%">
			<?php if ($this->_tpl_vars['bookCollections']): ?>
			<?php $_from = $this->_tpl_vars['bookCollections']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c']):
?>
        <option value="<?php echo $this->_tpl_vars['c']['id']; ?>
"><?php echo $this->_tpl_vars['c']['name']; ?>
</option>
		   	<?php endforeach; endif; unset($_from); ?>
			<?php endif; ?>
    </select>
    <p id="collection_create_link"><?php echo $this->_tpl_vars['lang']['or']; ?>
 <a href="javascript:open_collection();"><?php echo $this->_tpl_vars['lang']['create_bookmark']; ?>
</a></p>
    <div style="display:none;" id="collection_create_form" class="vertical-form">
   <hr>

    <div class="input-group">
      <label for="name"><?php echo $this->_tpl_vars['lang']['new_collection']; ?>
:</label>
      <div class="inputs">
        <input id="name" name="name" type="text" value="" />
      </div>
    </div>

    <div class="input-group">
      <label for="description"><?php echo $this->_tpl_vars['lang']['description']; ?>
:</label>
      <div class="inputs">
        <textarea id="description" name="description" rows="6" style="width: 300px"></textarea>
      </div>
    </div>

    <div class="input-group">
      <label for="file_upload"><?php echo $this->_tpl_vars['lang']['photo']; ?>
:</label>
      <div class="inputs">
        <input id="file_upload" name="file_upload" size="12" style="width: 170px;" type="file" />
        <small>(260 x 140px)</small>
      </div>
    </div>

    <div class="input-group">
      <div class="inputs">
        <label for="publically_visible">
          <input id="publically_visible" name="publically_visible" style="border:1px" type="checkbox" value="1" /> نمایش بصورت عمومی ؟
        </label>
      </div>
    </div>
  </div>

  <div class="form-submit" href="javascript: void(0);" onclick="$(this).parent().submit();" >
  <input type="hidden" name="add_collection" value="yes" />
<button type="submit" class="btn-icon bookmark">ثبت علاقه مندی ها</button>
</div>
</form>

    </div>
	<?php endif; ?>

      <ul class="tag-list" itemprop="keywords">
	  <?php $_from = $this->_tpl_vars['item']['tags']['features']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['t']):
?>
        <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
items/tag/features/<?php echo $this->_tpl_vars['t']; ?>
"><?php echo $this->_tpl_vars['t']; ?>
</a></li>
	  <?php endforeach; endif; unset($_from); ?>
	  
	  <?php $_from = $this->_tpl_vars['item']['tags']['usage']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['t']):
?>
        <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
items/tag/usage/<?php echo $this->_tpl_vars['t']; ?>
"><?php echo $this->_tpl_vars['t']; ?>
</a></li>
	  <?php endforeach; endif; unset($_from); ?>
	  
	  <?php $_from = $this->_tpl_vars['item']['tags']['style']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['t']):
?>
        <li><a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
items/tag/style/<?php echo $this->_tpl_vars['t']; ?>
"><?php echo $this->_tpl_vars['t']; ?>
</a></li>
	  <?php endforeach; endif; unset($_from); ?>
      </ul>

  <div class="item-copyright">
    <small>
      &copy; <?php echo $this->_tpl_vars['lang']['all_right_reserved']; ?>
 <?php echo $this->_tpl_vars['item']['user']['username']; ?>
 -
      <a href="/<?php echo $this->_tpl_vars['languageURL']; ?>
contacts/"><span><?php echo $this->_tpl_vars['lang']['report_file']; ?>
</span></a>
    </small>
  </div>
</div>