X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=photo-tags.git;a=blobdiff_plain;f=index.php;h=55bc6c74e850f65e221559c81a75e86b1ea6cbf8;hp=018beddc3578929e0915c7f3b23aa5fce66a7f29;hb=f28ee54de58df18b6436d127b6dc06fa95eec8ea;hpb=4849d7271c75cace9faffc1353c22101b84c49bb diff --git a/index.php b/index.php index 018bedd..55bc6c7 100644 --- a/index.php +++ b/index.php @@ -14,88 +14,268 @@ if(isset($_REQUEST["page"])) else $page = 1; +if(isset($_REQUEST["tag"])) + $tags = htmlentities($_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) ?> - - - + + + -
test
+

- - + -
-
+ +
+
+ Search for tag: + + +
+ Current tags: + +
+ +
+ +