prepare("UPDATE LOW_PRIORITY girls SET approved=1 WHERE fname=:sessid"); $stmt->bindParam(':sessid',$realname); $stmt->execute(); } if($_REQUEST["approve"] == 2){ $stmt = $pdodb->prepare("UPDATE LOW_PRIORITY girls SET approved=2 WHERE fname=:sessid"); $stmt->bindParam(':sessid',$realname); $stmt->execute(); } $stmt = $pdodb->prepare("SELECT ID,fname,aboutme,approved,mainpic,emailis, password,username,country,views,tviews,city,aid FROM girls WHERE fname=:sessid"); $stmt->bindParam(':sessid',$realname); $stmt->execute(); while($i3=$stmt->fetch()) { $tname2 = $i3["fname"]; $pid = $i3["ID"]; $aboutme = $i3["aboutme"]; $dapproved = $i3["approved"]; $dmainpic = $i3["mainpic"]; $emailis = $i3["emailis"]; $username = $i3["username"]; $password = $i3["password"]; $country = $i3["country"]; $views = $i3["views"]; $tviews = $i3["tviews"]; $city = $i3["city"]; $aid = $i3["aid"]; } if($_REQUEST["approve"] == 1){ $stmt = $pdodb->prepare("UPDATE LOW_PRIORITY pix SET approved=1 WHERE mid=:sessid"); $stmt->bindParam(':sessid',$pid); $stmt->execute(); $stmt = $pdodb->prepare("UPDATE LOW_PRIORITY girls SET newphoto=0 WHERE ID=:did "); $stmt->bindParam(':did',$pid); $stmt->execute(); $betreff = 'Photo approved for Miss Viral + Get Your Ticket'; $message2 = ' Some or all of your photos have been approved. Now get your ticket if you do not already have it http://www.missviral.com/buy.php This is your link to share with your friends so you win!: http://www.missviral.com/'.$_REQUEST["pl"].' username: '.$username.' password: '.$password.' '; if(strstr($emailis,"@")){ sendmail('', $emailis, $betreff, $message2); } } if($_REQUEST["approve"] == 2){ $stmt = $pdodb->prepare("UPDATE LOW_PRIORITY pix SET approved=2 WHERE mid=:sessid"); $stmt->bindParam(':sessid',$pid); $stmt->execute(); $stmt = $pdodb->prepare("UPDATE LOW_PRIORITY girls SET newphoto=0 WHERE ID=:did "); $stmt->bindParam(':did',$pid); $stmt->execute(); $betreff = ' Photos approved'; $message2 = ' Some or all of your photos have been approved. This is your link to share with your friends so you win!: http://www.missviral.com/'.$_REQUEST["pl"].' username: '.$username.' password: '.$password.' '; if(strstr($emailis,"@")){ sendmail('', $emailis, $betreff, $message2); } } if($_REQUEST["unapprove"] == 1){ $stmt = $pdodb->prepare("SELECT ID,picis FROM pix WHERE approved=0 AND mid=:sessid"); $stmt->bindParam(':sessid',$pid); $stmt->execute(); while($i3=$stmt->fetch()) { unlink('pix/'.$i3["picis"]); unlink('pix/'.str_replace("s","",$i3["picis"])); $stmt = $pdodb->prepare("DELETE FROM pix WHERE ID=:did "); $stmt->bindParam(':did',$i3["ID"]); $stmt->execute(); } $betreff = ' Photos not approved'; $message2 = ' Some or all of your photos have not been approved. Please improve the quality of photos. http://www.missviral.com/ username: '.$username.' password: '.$password.' '; if(strstr($emailis,"@")){ sendmail('', $emailis, $betreff, $message2); } echo 'update unapprove'; $stmt = $pdodb->prepare("UPDATE LOW_PRIORITY girls SET approved=0 WHERE ID=:sessid"); $stmt->bindParam(':sessid',$pid); $stmt->execute(); } ?> - Share to help me WIN! missviral.com
prepare("SELECT picis FROM pix WHERE approved=0 AND mid=:sessid"); $stmt->bindParam(':sessid',$pid); $stmt->execute(); if($stmt->rowCount() > 0){ echo 'some photos waiting for approval by admin
'; } $stmt = $pdodb->prepare("SELECT fname,mainpic,views FROM girls WHERE views > 3 ORDER by RAND() desc LIMIT 1"); $stmt->execute(); echo '
'; while($i3=$stmt->fetch()) { $nextmodel = str_replace(" ","-",$i3["fname"]); } ?>

From:  · 
show next model >>
'; ?>
prepare("SELECT ID,picis FROM pix WHERE approved > 0 AND mid=:sessid"); $stmt->bindParam(':sessid',$pid); $stmt->execute(); while($i3=$stmt->fetch()) { $npic = str_replace("s","",$i3["picis"]); echo '
'; if($_SESSION["uid"] == 2234){ echo '
delete'; } echo '
'; } ?>
Profile Views
Total Contest Views
voting is done by views. To help this person win, share this profile on Facebook

Share & Like to help me win
Contest Administrator
add me on Facebook
Model Agency Model Agency
?> prepare("UPDATE LOW_PRIORITY girls SET mainpic=:mainpic WHERE ID=:sessid"); $stmt->bindParam(':sessid',$pid); $stmt->bindParam(':mainpic',$npic); $stmt->execute(); } if($_SESSION["uid"] == 2234){ echo '
'; echo '
'; echo '
'; echo '

to be approved:
'; $stmt = $pdodb->prepare("SELECT ID,picis FROM pix WHERE approved=0 AND mid=:sessid"); $stmt->bindParam(':sessid',$pid); $stmt->execute(); while($i3=$stmt->fetch()) { $npic = str_replace("","",$i3["picis"]); echo '
'; if($_SESSION["uid"] == 2234){ echo '
delete
'; } echo '
'; } } echo '

'; echo '

'; ?>
$pid){ if($aid > 0 && $tviews < 1){ $stmt = $pdodb->prepare("UPDATE LOW_PRIORITY girls SET views=views+50 WHERE ID=:aid "); $stmt->bindParam(':aid',$aid); $stmt->execute(); } ?>