X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=photo-tags.git;a=blobdiff_plain;f=index.php;h=62839eb1543b879427d06a81227a196c9a983102;hp=5e93f62d94cfb146d5e46f1ab23009913e44e584;hb=f040c97fefa22ffb6e5478fcbdcada36d193ce98;hpb=b03d63d5006a71307d4f04b22170bdeddc8d8746 diff --git a/index.php b/index.php index 5e93f62..62839eb 100644 --- a/index.php +++ b/index.php @@ -19,7 +19,15 @@ if(isset($_REQUEST["tag"])) else $tags = ""; +if(isset($_REQUEST["pic"])) + $pic = intval(htmlentities($_REQUEST["pic"])); +else + $pic = -1; +/* end parse flags */ + +/* The basic layout */ ?> + <?php echo htmlspecialchars($title) ?> @@ -28,43 +36,51 @@ else -
test
+

- - +
- Tags: + Add tag:
+ Current tags: +
-
-
+
+ +