diff --git a/img/helper.clean.php b/img/helper.clean.php index e803029..af0b25e 100644 --- a/img/helper.clean.php +++ b/img/helper.clean.php @@ -3,7 +3,7 @@ /*------------------------------------------ * Helper.Clean.php - Holds the functions for cleaning input and output * - * Copyright (c) 2013 David Todd(c0de) of http://www.unps-gama.info and http://unps.us + * Copyright (c) 2013 David Todd (c0de) of http://www.unps-gama.info and http://unps.us * for use with the image host (http://img.unps-gama.info) *------------------------------------------ */ diff --git a/img/helper.get.php b/img/helper.get.php index 2f5302d..cc4a201 100644 --- a/img/helper.get.php +++ b/img/helper.get.php @@ -211,7 +211,7 @@ }elseif(!$result = $db->query($sql)){ die('There was a problem trying to upload your file - [' . $db->error . ']'); }else{ - echo "There was a problem trying to upload your file - Could be a database error"; + echo "There was a problem trying to upload your file - Could be a server error"; } } } diff --git a/img/img.extra.php b/img/img.extra.php index 8b8e457..81289fb 100644 --- a/img/img.extra.php +++ b/img/img.extra.php @@ -77,7 +77,7 @@ if($pics == '' || $pics == null){ echo ''; }else{ // Checks if there is a thumbnail for the image, if not show nothumb.png - if(in_array($pics, $thethumbs)){ + if(in_array($pics, $thethumbs)){ // Totally figured out how to use in_array by looking at default php scripts (Thank you wingrep :3) echo ''.$pics.''."\n "; }else{ echo ''.$pics.''."\n "; diff --git a/img/img.main.php b/img/img.main.php index fb00a9c..ac25e63 100644 --- a/img/img.main.php +++ b/img/img.main.php @@ -3,7 +3,7 @@ /*------------------------------------------ * Img.Main.php - Main program * - * Copyright (c) 2013 David Todd(c0de) of http://www.unps-gama.info and http://unps.us + * Copyright (c) 2013 David Todd (c0de) of http://www.unps-gama.info and http://unps.us * for use with the image host (http://img.unps-gama.info) *------------------------------------------ */ @@ -40,7 +40,6 @@ $_SESSION['username'] = $row['username']; $_SESSION['tags'] = $row['tags']; echo "

"; - //echo "$id
$img
$location
$type
$size
$time
$comment
$username
$tags\n"; }else{ $_SESSION['noimg'] = true; echo "

That image was not found in our database D:

";