X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=photo-tags.git;a=blobdiff_plain;f=index.php;h=34efdc480c66992d3f578ea421617b727b16f308;hp=e5131db62d13d5975b99b8371dbb1b32b2e5bb6a;hb=d8bcd598e8ebc02ee3c7e27cd4634bf5678e51f1;hpb=c1e08c52aa47aa1db8a548c5c4b9c61f62335402 diff --git a/index.php b/index.php index e5131db..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,144 +36,205 @@ else -
test
+

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