17 lines
454 B
PHP
17 lines
454 B
PHP
<?php
|
|
include 'include/db.php';
|
|
include 'include/templates.php';
|
|
|
|
showHeader();
|
|
$imgs = getImage(1);
|
|
$imgs[0]["uploader"] = uuidToUsername($imgs[0]["uploader"]);
|
|
$tags = explode(",", $imgs[0]["tags"]);
|
|
|
|
echo '<center><img src="' . $imgs[0]["location"] . '" /></center>';
|
|
echo '<strong>Uploader:</strong> ' . $imgs[0]["uploader"];
|
|
echo '<br/><strong>Tags:</strong>';
|
|
for($x = 0; $x < count($tags); $x++) {
|
|
printTag($tags[$x], true);
|
|
}
|
|
echo $footer;
|
|
?>
|