From 3a9a44f6089d30518e4b9d32e776a6f22321ac35 Mon Sep 17 00:00:00 2001 From: alopexc0de Date: Fri, 16 Nov 2012 04:15:24 -0500 Subject: [PATCH] Total revamp, brand new code --- img/index.php | 214 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 148 insertions(+), 66 deletions(-) diff --git a/img/index.php b/img/index.php index 8f58995..e7217e3 100755 --- a/img/index.php +++ b/img/index.php @@ -1,75 +1,157 @@ - - - - - + + + + + + + + + + + +
+ + To UnPS-GAMA + +
+ \n"; - print "\n"; - print "\n"; - print "\n"; +function sanatize($input){ + if ($input == null) die("Sanatize() - No Input Provided, Aborting\r\n
"); + $output = strip_tags($input); + $output = stripslashes($output); + $output = mysql_real_escape_string($output); + $output = strtolower($output); + return $output; } -print "GAMA IMGShare" . $title ."\n"; -?> - - - - -
- -To UnPS-GAMA - -
-

You didn't specify an image. This is an image hoster.
Please specify an image with the url: unps-gama.tk/img/?img=(IMGAGE STUFF HERE)


Want to upload pictures?

Image Uploader Here


" . "

List of files:

" . $thelist . "
"; - -}else{ -echo "
\n"; -echo "
\n"; -echo "\n"; -echo "

Currently viewing: " . $img . "

\n"; -echo "
\n"; + echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; + $title = " - Now Showing: " . $img; + echo "GAMA IMGShare" . $title ."\n"; + echo " + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ Currently Viewing: $img +
+ Image Type: $type +
+ Image Size: $size +
+ Time/Date Posted: $time +
+ Poster's Username: $username +
+ Poster's Comment: $comment +
+ Back to index +
+
+ "; + mysql_close(); + } +}}else{ + include('getfiles.php'); + echo " + GAMA IMGShare + +

You didn't specify an image. This is an image hoster. + +
+ Please specify an image with the url: img.unps-gama.info/?img=(IMGAGE STUFF HERE)

+
+

Want to upload pictures?

+ Image Uploader Here
+
"; + echo "

List of files:

" . $thelist . "
"; + mysql_close(); } ?> -
- +