='".date('Y-m-d H:i', time()-4*60*60)."' ORDER BY id DESC LIMIT 0, 1"; $re = mysqli_query($link, $q) ; $id = mysqli_fetch_array($re); if (!empty($id[0])){ $q = "UPDATE appt SET intime='".$d."', status='0' WHERE id='".$id[0]."'"; mysqli_query($link, $q) ; } else { $q = "INSERT INTO appt VALUES ('', '".$cell."', '".$info['storeid']."', '', '', '".$d."', '0', '0')"; mysqli_query($link, $q) ; $q = "UPDATE customers SET rept='1' WHERE cell='".$cell."'"; mysqli_query($link, $q) ; $q = "SELECT userid FROM girlprofile WHERE storeid='".$info['storeid']."'"; $re = mysqli_query($link, $q) ; while ( $rw = mysqli_fetch_row($re) ){ $q = "SELECT id, cell, logincode, wechat FROM users WHERE id='".$rw[0]."'"; $res = mysqli_query($link, $q) ; $girlinfo = mysqli_fetch_array($res); $msg = date('m-d H:i', strtotime($d))." 有人到,他的电话尾号是:".substr($cell, -4).", 点击此链接查看预约动态:https://pva799.com/meet/?cell=".$girlinfo[1]."&passcode=".$girlinfo[2]; $q = "UPDATE users SET expiry='".date('Y-m-d H:i', time()+12*60*60)."' WHERE id='".$girlinfo[0]."'"; mysqli_query($link, $q) ; // if (!empty($girlinfo[3])){ // $q = "INSERT INTO wechatmsg VALUES ('', '".$girlinfo[3]."', '".addslashes($msg)."', '".date('Y-m-d H:i')."', '0')"; // mysqli_query($link, "SET NAMES utf8"); // mysqli_query($link, $q) ; // } if (strpos($girlinfo[1], "E") !== false) $tonum = substr($girlinfo[1], 0, strlen($manager[0])-2); else $tonum = $girlinfo[1]; $q = "INSERT INTO message VALUES ('', '".$tonum."', '".$adsphoneid[0]."', '".addslashes($msg)."', '".date('Y-m-d H:i')."', '0')"; mysqli_query($link, "SET NAMES utf8"); mysqli_query($link, $q) ; } } $m = "New appointment info has been received."; if (strtotime($d) - time() >= 4*60*60) $t = "is made and confirmed."; else $t = "is made, see you soon. "; $msg = "Your appointment at ".date('m-d H:i', strtotime($d))." ".$t." When you arrive, you may either come to the website to tap the button *I am here* or text *I am here* to me. See the incall location on the website."; // Message_Send($msg, $cell, $adsphoneid[0], $link); mysqli_query($link, "UPDATE customers SET stage='2' WHERE cell='".$cell."'", $link) or die(mysql_error()); } else { Message_Send("Do you need help with the booking?", $cell, $adsphoneid[0], $link); } } if (isset($_POST['rlink_submit'])){ if (!empty($info['reflink'])){ $rlinkmsg = "Referral link is ".$info['reflink']; Message_Send($rlinkmsg, $cell, $adsphoneid[0], $link); } } if (isset($_POST['cancel_submit'])){ $q = "SELECT source FROM appt WHERE customercell='".$cell."'&&status='0'"; $res = mysqli_query($link, $q) ; $source = mysqli_fetch_array($res); if ($source[0] > 0){ $q = "DELETE FROM appointments WHERE id='".$source[0]."'"; mysqli_query($link, $q) ; } $q = "DELETE FROM appt WHERE customercell='".$cell."'&&status='0'"; mysqli_query($link, $q) ; } } ?> ='".date('Y-m-d H:i', time()-2*60*60)."' ORDER BY id DESC LIMIT 0, 1"; $res = mysqli_query($link, $q) ; $appt = mysqli_fetch_array($res); ?> Meet Me Today

You must be 19 or older to use this website. I agree and continue

".$m." /p"; ?>

MeetUp City For Incall

".$info['city']; ?> Please read the instructions here for texting to me. Please choose your meetup city below and view my service details and real pictures. Thanks.

= 1) echo "View the service details and pictures by clicking the name here. "; else echo "We are off at this location. Please check back later."; if ($num >= 2) echo "
"; $i = 1; while ( $rw = mysqli_fetch_row($re) ){ ?>

OUTCALL

My outcall (you host) rate varies between $280hr and $380hr depending on the distance. one hour minimum for each outcall visit. If you think the outcall rate is acceptable to you, please submit your exact address to me in the following form, my driver will contact you in a few minutes.

Hotel Name if it is a hotel
Address
Suite
Desired Time of Arrival

INCALL

You can make an appointment or modify an existing appointment here for incall (I host):

='".date('Y-m-d H:i', time()- 4*60*60)."' ORDER BY intime DESC LIMIT 0,1"; $re = mysqli_query($link, $q) ; $storeid = mysqli_fetch_array($re); if (!empty($storeid)){ $store = $storeid[1]; echo "You have an existing appointment for ".date('m-d H:i', strtotime($storeid[2])); echo "
If you have arrived at the incall location, please click this button, you will receive buzz code by sms text."; echo "

"; echo "
"; echo "
You can also modify the appointment in the following form"; } else { $q = "SELECT storeid FROM customers WHERE cell='".$cell."'"; $re = mysqli_query($link, $q) ; $storeid = mysqli_fetch_array($re); $store = $storeid[0]; } if (isset($store)){ $i = 0; $id = $store; while ($id == $store&&$i <= 2) { $id = Store_Find($info['city'], 0, $link); $i = $i + 1; } if ($id != $store&&empty($appt)){ echo "We have multiple locations in your current meetup city, please click the button below to change location.
"; echo "

"; } $q = "SELECT address, crossing FROM store WHERE id='".$store."'"; $re = mysqli_query($link, $q) ; $storeinfo = mysqli_fetch_array($re); } if (!empty($storeinfo)){ ?>
Incall Location
Estimated Time of Arrival

Book at www.PVA799.com to get PVA dollars

More ads, More choice and Save big by earning PVA dollars. To learn how, please visit www.PVA799.com