<?php if (!defined('IN_CONTEXT')) die('access violation error!'); ?>
<div class="contenttoolbar">
    <div class="contenttitle alignleft"><?php echo $gallery->name; ?></div>
</div>
<?php
$n_img = sizeof($gis);
if ($n_img > 0){
?>
<div class="piclistwrapper">
<?php for ($i = 0; $i < $n_img; $i++) { ?>
    <div class="picinfo">
        <a href="<?php echo $gis[$i]->feature_img;?>" title="<?php echo $gis[$i]->description; ?>" class="thickbox">
            <img class="picthumb" src="<?php echo $gis[$i]->feature_thumb;?>" border="0" /></a><br />
        <span class="picnamelink"><?php echo $gis[$i]->title;?></span>
    </div>
    <?php if ($i % $cols == ($cols - 1)) { ?><div class="clearer"></div><?php } ?>
<?php } ?>
    <div class="clearer"></div>
</div>
<?php } ?>
<?php
include_once(P_TPL.'/common/pager.php');
?>
