diff --git a/img/index.php b/img/index.php index c3488f6..d9faec3 100755 --- a/img/index.php +++ b/img/index.php @@ -5,15 +5,14 @@ * * UnPS-GAMA Image Host * Copyright (c) 2013 UnPS-GAMATechnologies - * Author: David Todd (c0de) of http://www.unps-gama.info + * Author: David Todd (c0de) of http://www.unps-gama.info and http://unps.us * * ----------------------------------------------------------- * TODO: * - * Properly align image in post box - * DONE - Make better uploader - better naming, autotag username and filename * JavaScript fo show bigger image if clicked - * Fix Last Modified for uploaded files + * Thumbnails for image list on main page (100px x 100px) + * Fix headstuff() and title() * Picture Thumbnail for uname, tag, and search * Multiple tags without search? * Convert to mysqli @@ -95,7 +94,7 @@ } function search(){ - if(!empty($_GET['search']) && $_GET['submit'] == "Search"){ // Show list of pictures according to search term + if(!empty($_GET['search'])){ // Show list of pictures according to search term $search = sanitize($_GET['search']); $search = explode(" ", $search); echo "