echo _T("site_gallery_report_this"); ?> ','<?php echo $image['id']; ?> ')"> <?php echo _T("site_gallery_report"); ?> </a> </div> <?php } ?> </li> <?php echo !(($k + 1) % $imgOnGalleryRow) ? '</ul>' : ''; // end row if ($k + 1 == $imgOnGalleryRow) { get_ad('gallery', 'gallery_ad'); } } // endfor // end row if it was not a full row of images if (($k + 1) % $imgOnGalleryRow) { echo '</ul>'; } echo $gallery->pagination(theme_setting('pagination_link_no')); } // load footer require CFROOTPATH . 'footer.php';