2011-11-06 02:40:37 -05:00
|
|
|
<div id="message" class="pagination">
|
2011-11-06 02:34:41 -05:00
|
|
|
<?php echo $pagination; ?>
|
2011-11-06 02:40:37 -05:00
|
|
|
</div>
|
2011-11-06 02:34:41 -05:00
|
|
|
|
|
|
|
<div id="imageContainer" style="width: 960px;margin: auto;">
|
2011-11-11 20:39:17 -05:00
|
|
|
<?php
|
|
|
|
foreach($uploads as $upload) {
|
|
|
|
$extension = (preg_match('/guild/',$_SERVER['HTTP_HOST']) != 0 && $upload->id <= 927)
|
|
|
|
? '.jpg' : $upload->extension;
|
|
|
|
?>
|
2011-11-06 02:34:41 -05:00
|
|
|
<div id="galleryContainer">
|
2011-11-11 20:39:17 -05:00
|
|
|
<a href="<?php echo base_url($upload->id); ?>"><img src="<?php echo base_url('/thumbs/' . $upload->id . $extension); ?>" /></a>
|
2011-11-06 02:34:41 -05:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2011-11-06 02:40:37 -05:00
|
|
|
</div>
|
|
|
|
<div style="clear:both;"></div>
|
|
|
|
|
|
|
|
<div id="message" class="pagination">
|
|
|
|
<?php echo $pagination; ?>
|
2011-11-06 02:34:41 -05:00
|
|
|
</div>
|