2011-11-05 15:49:55 -04:00
|
|
|
<?php if($prev != 0) { ?>
|
2011-11-08 15:04:25 -05:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).keydown(function(e) {
|
|
|
|
var key = e.keyCode || e.which;
|
|
|
|
if(key == 37) {
|
|
|
|
document.location.href = $('#left>a').attr('href');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
2011-11-05 15:49:55 -04:00
|
|
|
<div id="left">
|
2011-11-07 22:56:24 -05:00
|
|
|
<a href="<?php echo base_url($prev); ?>" class="navigation"></a>
|
2011-11-05 15:49:55 -04:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<?php if($next != 0) { ?>
|
2011-11-08 15:04:25 -05:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).keydown(function(e) {
|
|
|
|
var key = e.keyCode || e.which;
|
|
|
|
if(key == 39) {
|
|
|
|
document.location.href = $('#right>a').attr('href');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
2011-11-05 15:49:55 -04:00
|
|
|
<div id="right">
|
2011-11-07 22:56:24 -05:00
|
|
|
<a href="<?php echo base_url($next); ?>" class="navigation"></a>
|
2011-11-05 15:49:55 -04:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<div id="imageContainer">
|
2011-11-07 22:56:24 -05:00
|
|
|
<a href="<?php echo base_url('/uploads/' . $image); ?>"><img src="<?php echo base_url('/uploads/' . $image); ?>" class="image" /></a>
|
2011-11-05 15:57:05 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="message">
|
|
|
|
Uploaded on: <?php echo $created; ?><br/>
|
|
|
|
Original name: <?php echo $original; ?><br/>
|
|
|
|
Views: <?php echo $views; ?><br/>
|
2011-11-05 15:49:55 -04:00
|
|
|
</div>
|