<?php
  /**
   * Gallery
   *
   * @package Digital Downloads Pro
   * @author wojoscripts.com
   * @copyright 2010
   * @version $Id: gallery.php, v2.00 2011-07-10 10:12:05 gewa Exp $
   */
  if (!defined("_VALID_PHP"))
      die('. دسترسی مستقیم به این محل مجاز نمی باشد');
	  
 $galrow = $item->getGalleryImages();
?>
<!-- Start Gallery-->
<?php if($galrow):?>
<h4>تـصـاویـر</h4>
<div class="gallery-wrap">
  <ul id="galleryrow">
    <?php foreach($galrow as $grow):?>
    <?php $url = PRODGALURL . $grow['thumb'];?>
    <li style="width:25%"><a href="<?php echo $url;?>" title="<?php echo $grow['caption'];?>" rel="gallery" class="pirobox_gallery"> <img src="<?php echo PRODGALURL.'thumbs/'.$grow['thumb'];?>" alt=""/></a></li>
    <?php endforeach;?>
  </ul>
  <br clear="right" />
</div>
<?php endif;?>
<!-- End Gallery/--> 