prepare("UPDATE LOW_PRIORITY pix SET views=views+1 WHERE ID=:picid"); $stmt->bindParam(':picid',$pid); $stmt->execute(); $stmt = $pdodb->prepare("SELECT pix.ID,pix.picis,girls.username,girls.fname,girls.emailis,pix.make,pix.model,pix.exposure,pix.aperture,pix.iso,pix.odate,pix.Software,pix.Flash,pix.FocalLength,pix.LensInfo,pix.likes,pix.comments,girls.ID as gid,girls.premium,girls.city,girls.country,girls.mainpic,pix.views,pix.owidth,pix.oheight FROM pix,girls WHERE pix.mid=girls.ID AND pix.ID=:pid"); $stmt->bindParam(':pid',$pid); $stmt->execute(); while($i3=$stmt->fetch()) { $picis = $i3["picis"]; $pid = $i3["ID"]; $useris = $i3["username"]; $fname = $i3["fname"]; $emailis = $i3["emailis"]; $make = $i3["make"]; $model = $i3["model"]; $exposure = $i3["exposure"]; $aperture = $i3["aperture"]; $iso = $i3["iso"]; $odate = $i3["odate"]; $Software = $i3["Software"]; $Flash = $i3["Flash"]; $FocalLength = $i3["FocalLength"]; $LensInfo = $i3["LensInfo"]; $likes = $i3["likes"]; $comments = $i3["comments"]; $girlsid = $i3["gid"]; $premium = $i3["premium"]; $city = $i3["city"]; $country = $i3["country"]; $mainpic = $i3["mainpic"]; $views = $i3["views"]; $owidth = $i3["owidth"]; $oheight = $i3["oheight"]; } if($_REQUEST["tags"] <> "" & $_SESSION["uid"] > 0){ $tags = str_replace('#',',',$_REQUEST["tags"]); $stmt1 = $pdodb->prepare("INSERT INTO tags (picid,mid,comment) VALUES (:picid,:mid,:comment)"); $stmt1->bindParam(':picid', $pid); $stmt1->bindParam(':mid', $_SESSION["uid"]); $stmt1->bindParam(':comment', $tags); $stmt1->execute(); #echo $emailis; $betreff = 'your received a tag or description on your photo'; $message2 = ' Your PJOX Photo: http://www.pjox.com'.$_SERVER["REQUEST_URI"].' Your PJOX Page: http://www.pjox.com/'.str_replace(" ","-",$useris).' '; if(strstr($emailis,"@")){ sendmail('', $emailis, $betreff, $message2); } } $stmt = $pdodb->prepare("SELECT comment, girls.username FROM tags, girls WHERE tags.mid=girls.ID AND tags.picid=:picid"); $stmt->bindParam(':picid',$pid); $stmt->execute(); while($i3=$stmt->fetch()) { $btitle = $i3["comment"]; $dt = ucfirst($i3["comment"]) . " Photos & Images" ; $tags .= '
'; $bcom = explode(",",$i3["comment"]); foreach ($bcom as $b1){ $tags .= '#'.trim($b1).' '; } $tags .= '
by '.$i3["username"].''; $tags .= '
'; } include('meta.php'); include("header.php"); if($_REQUEST["comis"] <> "" & $_SESSION["uid"] > 0){ $stmt1 = $pdodb->prepare("INSERT INTO comments (picid,mid,comment) VALUES (:picid,:mid,:comment)"); $stmt1->bindParam(':picid', $pid); $stmt1->bindParam(':mid', $_SESSION["uid"]); $stmt1->bindParam(':comment', $_REQUEST["comis"]); $stmt1->execute(); $stmt1 = $pdodb->prepare("UPDATE LOW_PRIORITY pix SET comments=comments+1,lastlike=now() WHERE ID=:picid"); $stmt1->bindParam(':picid', $pid); $stmt1->execute(); if($_SESSION["uid"] <> $gid && $_SESSION["uid"] > 0){ $stmt1 = $pdodb->prepare("UPDATE LOW_PRIORITY pix SET pcomments=pcomments+1 WHERE ID=:picid"); $stmt1->bindParam(':picid', $pid); $stmt1->execute(); } #echo $emailis; $betreff = 'your received a comment on your photo'; $message2 = ' Your PJOX Photo: http://www.pjox.com'.$_SERVER["REQUEST_URI"].' Your PJOX Page: http://www.pjox.com/'.str_replace(" ","-",$useris).' '; if(strstr($emailis,"@")){ sendmail('', $emailis, $betreff, $message2); } } ?>
'; ?>
show full size | Show/Hide Tags

0){ ?>
Add description & tags (seperate by commas) so people can find this photo

""){ ?>

PRO';}?>

@
Popularity: 😄
Likes:
Comments:
Views:
👍 like this image

Technical Specs:
Date Shot:
Camera Brand: