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 } ?>
|
2011-11-11 20:34:05 -05:00
|
|
|
<?php if($original == 'lost') { ?>
|
|
|
|
<div id="message">
|
|
|
|
Image has been lost.
|
|
|
|
</div>
|
|
|
|
<?php } else { ?>
|
2011-11-05 15:49:55 -04:00
|
|
|
<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">
|
2011-11-08 18:20:43 -05:00
|
|
|
<span class="label">Uploaded on:<br/>Original name:<br/>Views:<br/>Dimensions:<br/>Size:</span>
|
2011-11-08 19:09:24 -05:00
|
|
|
<span class="info"><?php echo $created; ?><br/><?php echo $original; ?><br/><?php echo $views; ?><br/><?php echo $width; ?>x<?php echo $height; ?><br/><?php echo $size; ?>kb</span>
|
2011-11-11 20:34:05 -05:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|