0) { $test = mysql_query("SELECT * FROM imageviews WHERE imageId='$imageId'"); if(mysql_numrows($test) == 0) { $result = mysql_query("INSERT INTO imageviews (imageId,totalViews)"."VALUES ('$imageId', '1')"); } else { $result = mysql_query("SELECT totalViews FROM imageviews WHERE imageId='$imageId' LIMIT 1"); $viewResults = mysql_fetch_array($result); $newViewResult = $viewResults["totalViews"]; if($newViewResult > 1000) { $newViewResult = 1; } else { $newViewResult = $newViewResult + 1; } $result = mysql_query("UPDATE imageviews SET totalViews='$newViewResult' WHERE imageId='$imageId'"); } } $imageId = $_GET['imageId']; $result = mysql_query("SELECT * FROM images LEFT JOIN imagecats ON images.catId = imagecats.catId LEFT JOIN imageviews ON images.imageId = imageviews.imageId LEFT JOIN ratings ON images.imageId = ratings.imageId WHERE images.imageId='$imageId' AND images.imageLive='1'"); $imageStuff = mysql_fetch_array($result); $numRows = mysql_num_rows($result); if($numRows == 0) { header("Location: index.html"); exit; } ?> <?php echo $imageStuff['imageName'] . ' - ' . $imageStuff['catName'];?> Animated GIF / GIF Animation - NonStop 24/7

' . strtolower($imageStuff['catName']);?> gif


Animation Name:
Category:
Description:
File:
Detail:
Total Views:
Rating:
Date Added:
Simply click once in the box, then CTRL+C!
Forum Code
MySpace Code (HTML)

Your rating has been counted!
'; } if($alreadyVoted) { echo '
You can only vote once per icon!
'; } ?>

rate this gif


send to buddies

Send the animated gif to one of your friends by entering their e-mail address in the box below!