Should be just minor changes I think

This commit is contained in:
alopexc0de
2013-02-19 02:26:24 -05:00
parent 6d57b39575
commit d7e59f6dd8
4 changed files with 4 additions and 5 deletions

View File

@@ -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 '<a href="?img='.$pics.'"><img src="thumbs/'.$pics.'" alt="'.$pics.'" title="'.$pics.'"/></a>'."\n ";
}else{
echo '<a href="?img='.$pics.'"><img src="nothumb.png" alt="'.$pics.'" title="'.$pics.'"/></a>'."\n ";