X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=photo-tags.git;a=blobdiff_plain;f=index.php;h=34efdc480c66992d3f578ea421617b727b16f308;hp=5ee661ff8a40d4776d432915981650b0ab6dc643;hb=d8bcd598e8ebc02ee3c7e27cd4634bf5678e51f1;hpb=b3eb20491bf1d943d336c994c8a027836ff1f9eb diff --git a/index.php b/index.php index 5ee661f..34efdc4 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,24 +36,31 @@ else -
test
+

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