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 @@
-
-
-
+
+
+
+
+
\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";
-?>
-
-
-
-
-
-
-
-
-
-
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 "
|
\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();
}
?>
-
-
+