27 lines
805 B
PHP
27 lines
805 B
PHP
<?php
|
|
require "setup.php";
|
|
if(is_null($comic)){
|
|
$comic=0;
|
|
die("comic is null");
|
|
}
|
|
?><!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link href="css/style.css" rel="stylesheet"/>
|
|
<title>
|
|
<?php $comic["title"]?>
|
|
</title>
|
|
</head>
|
|
<table id=comic>
|
|
<tr><td colspan=5>
|
|
<img class=strip title=<?php echo "\"${comic["hover"]}\"";?> src=<?php echo "\"${comic["file"]}\""?> /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href=index.php?id=0><img title="first comic" src="images/first.png"></a></td>
|
|
<td><a href=index.php?id=<?php echo $id-1?>><img title="previous comic" src=images/prev.png></a></td>
|
|
<td></td>
|
|
<td><a href=index.php?id=<?php echo $id+1?>><img title="next comic" src=images/next.png></a></td>
|
|
<td><a href=index.php ><img title="latest comic" src="images/latest.png" ></a></td>
|
|
</tr>
|
|
</table>
|
|
</html>
|