GIF89a;
Direktori : /home/serb/public_html/ |
Current File : /home/serb/public_html/insert_new_escorts.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); $date=date('Y-m-d'); //$mont=explode('/',$_POST['dob']); //$incidentdt=$mont[2].'-'.$mont[0].'-'.$mont[1]; //echo $mont[0]; $srcc=addslashes($_POST['source']); $url=$_POST['webpage']; if (false === strpos($url, '://')) { $websit = 'http://' . $url; } else { $websit=$_POST['webpage']; } $fav=$_POST['fav']; if($_POST['updateemail']) { $upemail='Yes'; } if($_POST['travel']) { $travel='Yes'; } if($_POST['couple']) { $couple='Yes'; } if($_POST['duoStatus']) { $duos='Yes'; } if($_POST['meetingman']) { $mtman=$_POST['meetingman']; } if($_POST['meetingwm']) { $mtwm=$_POST['meetingwm']; } if($_POST['meetingcup']) { $mtcup=$_POST['meetingcup']; } if($_POST['meetingtrans']) { $mttrans=$_POST['meetingtrans']; } if($_post['meetinggay']) { $mtgay=$_POST['meetinggay']; } if($_POST['meetingtwoplus']) { $mttwoplus=$_POST['meetingtwoplus']; } if($_POST['updtphone']) { $upphone='Yes'; } if($_POST['viver']) { $viver='Yes'; } if($_POST['whatsapp']) { $whatapps='Yes'; } if($_POST['hiddennumber']) { $hidephone='Yes'; } if($_POST['pstar']) { $pornstar='Yes'; } if($_POST['bdms']) { $bdms='Yes'; } if($_POST['massage']) { $massage='Yes'; } if($_POST['visitor_country']=='US') { $sql_state="SELECT * FROM states Where id='".$_POST['prlState']."'"; $res_state=execute_query($sql_state); $row_state=mysql_fetch_array($res_state); $statename=$row_state['name']; $cityname=$_POST['prlCities']; } else if($_POST['visitor_country']=='RU') { $statename=""; $cityname=$_POST['rusia_city']; } else if($_POST['visitor_country']=='CA') { $statename=""; $cityname=$_POST['canada_city']; } else { $statename=$_POST['visitor_state']; $cityname=$_POST['visitor_city']; } $travelarea=""; if($_POST['usa']) { $travelarea=$_POST['usa'].","; } if($_POST['scandinavia']) { $travelarea=$travelarea.$_POST['scandinavia'].","; } if($_POST['asia']) { $travelarea=$travelarea.$_POST['asia'].","; } if($_POST['Canada']) { $travelarea=$travelarea.$_POST['Canada'].","; } if($_POST['westerneurope']) { $travelarea=$travelarea.$_POST['westerneurope'].","; } if($_POST['africa']) { $travelarea=$travelarea.$_POST['africa'].","; } if($_POST['Caribbean']) { $travelarea=$travelarea.$_POST['Caribbean'].","; } if($_POST['easterneurope']) { $travelarea=$travelarea.$_POST['easterneurope'].","; } if($_POST['Middleeast']) { $travelarea=$travelarea.$_POST['Middleeast'].","; } if($_POST['latinamerica']) { $travelarea=$travelarea.$_POST['latinamerica'].","; } if($_POST['australia']) { $travelarea=$travelarea.$_POST['australia'].","; } if($_FILES['avt_image']['tmp_name']) { $manu_imagename1=time().$_FILES['avt_image']['name']; move_uploaded_file($_FILES['avt_image']['tmp_name'],'avtar/'.$manu_imagename1); } if($_FILES['avt_image2']['tmp_name']) { $manu_imagename12=time().$_FILES['avt_image2']['name']; move_uploaded_file($_FILES['avt_image2']['tmp_name'],'avtar/'.$manu_imagename12); } if($_FILES['avt_image3']['tmp_name']) { $manu_imagename13=time().$_FILES['avt_image3']['name']; move_uploaded_file($_FILES['avt_image3']['tmp_name'],'avtar/'.$manu_imagename13); } if($_FILES['avt_image4']['tmp_name']) { $manu_imagename14=time().$_FILES['avt_image4']['name']; move_uploaded_file($_FILES['avt_image4']['tmp_name'],'avtar/'.$manu_imagename14); } /*$ad_videoname = ""; if($_FILES['ad_video']['tmp_name']) { $ad_videoname=time().$_FILES['ad_video']['name']; move_uploaded_file($_FILES['ad_video']['tmp_name'],'avtar/'.$ad_videoname); } */ ///escort_state='$statename', //escort_city='$cityname',country_name='".$_POST['visitor_country']."', $desp=addslashes($_POST['aboutme']); $slogan=addslashes($_POST['slogan']); if($_POST['noftad']) { //echo $mn; //exit; $ipp=@$_SERVER['REMOTE_ADDR']; $ins="INSERT INTO user_info(userid,username,password,email,user_type,user_country,status,ipaddress,dob,dob_month) VALUES('','".$_POST['userName']."','".$_POST['passWord']."','".$_POST['emailAddrs']."','".$_POST['acctype']."','".$_POST['usercountry']."','u','$ipp','".$_POST['dob']."','".$_POST['dobmonth']."')"; execute_query($ins); $id=mysql_insert_id(); $act_id=base64_encode($id); $to=$_POST['emailAddrs']; $subject="Your account has been successfully created for escortservice.org"; /*$body="<html> <head> <title>Thank you for register with Escortservice.org</title> </head> <body> <table style='padding:10px; color:#000;'> <tr><th>Thank you for register with Escortservice.org</th></tr> <tr><td><br/></td></tr> <tr> <td>Your account has been successfully created.</td> </tr> <tr> <td>Below You will find your account details to login:</td> </tr> <tr> <td>Username:".$_POST['userName']."</td> </tr> <tr> <td>Password:".$_POST['passWord']."</td> </tr> <tr> <td>To active your account please click the link below:<a href='http://escortservice.org/active.php?id=$id' style='color:#AD0066;'>Click Here</a></td> </tr> </table> </body> </html>"; sendEmail($to, $subject, $body);*/ $expiry = date("Y-m-d", time() + 90*24*60*60 ); $sql_ind_escort="insert into escort_details (id,user_id,escort_type,nickname,slogan,website, skype, email, update_email, address, escort_state, escort_city,country_name, gender, travel, couples, age, ethencity, orientation, duos, nationality, shaved, language, height, weight, tits, pussy, eye_color, hair_color, meeting_men, meeting_wm, meeting_cup, meeting_trans, meeting_gays, meeting_two, tel_national,tel_inter, update_tele,smstext,whatsapps,instruction, hidden_phone, pornstar, pornstar_name, bdms, partner, incall, outcall, massage, description, creation_date, status,updatedate,ft_ad_expair,travel_area,dob,dob_month,source,receive_email,desktop,vid_you2) VALUES ('','$id','".$_POST['acctype']."', '".$_POST['nickname']."','$slogan','$websit', '".$_POST['skype']."', '".$_POST['email']."', '$upemail','', '$statename', '$cityname', '".$_POST['visitor_country']."', '".$_POST['gender']."', '$travel','$couple', '".$_POST['ageDtls']."', '".$_POST['ethnicity']."', '".$_POST['orientation']."', '$duos', '".$_POST['nationality']."', '', '".$_POST['language']."', '".$_POST['height']."', '".$_POST['weight']."', '".$_POST['tits']."', '".$_POST['pussy']."', '".$_POST['eye_color']."', '".$_POST['hair_color']."', '$mtman', '$mtwm', '$mtcup', '$mttrans', '$mtgay', '$mttwoplus', '".$_POST['phnumber']."','".$_POST['phnumber2']."', '$upphone', '".$_POST['smstextt']."', '".$_POST['whatsapp']."', '".$_POST['instruction']."', '$hidephone', '$pornstar', '".$_POST['pornName']."', '$bdms', '".$_POST['partnername']."', '".$_POST['incall']."', '".$_POST['outcall']."', '$massage', '$desp', now(), 'u','','$expiry','$travelarea','".$_POST['dob']."','".$_POST['dobmonth']."','$srcc','".$_POST['receiveemail']."','D','".$_POST['ad_videoname']."')"; $ind_res=execute_query($sql_ind_escort); $pid=mysql_insert_id(); $sql_q="INSERT INTO escort_photo(id,postid,userid,picture)VALUES('','$pid','$id','".$_POST['manu_imagename1']."')"; execute_query($sql_q); $sql_q2="INSERT INTO escort_photo(id,postid,userid,picture)VALUES('','$pid','$id','".$_POST['manu_imagename11']."')"; execute_query($sql_q2); $sql_q3="INSERT INTO escort_photo(id,postid,userid,picture)VALUES('','$pid','$id','".$_POST['manu_imagename12']."')"; execute_query($sql_q3); $sql_q4="INSERT INTO escort_photo(id,postid,userid,picture)VALUES('','$pid','$id','".$_POST['manu_imagename13']."')"; execute_query($sql_q4); $_SESSION['reg_username']=""; $_SESSION['reg_email']=""; $_SESSION['reg_pass']=""; $_SESSION['reg_acctype']=""; $_SESSION['DOB']=""; $_SESSION['dob_month']=""; $_SESSION['ad_video']=""; $_SESSION['nickname']=""; $_SESSION['slogan']=""; $_SESSION['gender']=""; $_SESSION['orientation']=""; $_SESSION['ageDtls']=""; $_SESSION['ethnicity']=""; $_SESSION['nationality']=""; $_SESSION['hair_color']=""; $_SESSION['eye_color']=""; $_SESSION['height']=""; $_SESSION['weight']=""; $_SESSION['tits']=""; $_SESSION['pussy']=""; $_SESSION['language']=""; $_SESSION['meetingman']=""; $_SESSION['meetingwm']=""; $_SESSION['meetingcup']=""; $_SESSION['meetingtrans']=""; $_SESSION['meetingtwoplus']=""; $_SESSION['phnumber']=""; $_SESSION['phnumber2']=""; $_SESSION['updtphone']=""; $_SESSION['smstextt']=""; $_SESSION['whatsapp']=""; $_SESSION['instruction']=""; $_SESSION['hiddennumber']=""; $_SESSION['email']=""; $_SESSION['updateemail']=""; $_SESSION['webpage']=""; $_SESSION['skype']=""; $_SESSION['source']=""; $_SESSION['receiveemail']=""; $_SESSION['pstar']=""; $_SESSION['pornName']=""; $_SESSION['bdms']=""; $_SESSION['duoStatus']=""; $_SESSION['partnername']=""; $_SESSION['couple']=""; $_SESSION['massage']=""; $_SESSION['aboutme']=""; $_SESSION['visitor_country']=""; $_SESSION['prlState']=""; $_SESSION['prlCities']=""; $_SESSION['visitor_city']=""; $_SESSION['russia_city']=""; $_SESSION['incall']=""; $_SESSION['outcall']=""; $_SESSION['travel']=""; $_SESSION['usa']=""; $_SESSION['scandinavia']=""; $_SESSION['asia']=""; $_SESSION['Canada']=""; $_SESSION['westerneurope']=""; $_SESSION['africa']=""; $_SESSION['Caribbean']=""; $_SESSION['easterneurope']=""; $_SESSION['Middleeast']=""; $_SESSION['latinamerica']=""; $_SESSION['australia']=""; $_SESSION['manu_imagename1']=""; $_SESSION['manu_imagename11']=""; $_SESSION['manu_imagename12']=""; $_SESSION['manu_imagename13']=""; $_SESSION['manu_imagename14']=""; $_SESSION['contactMethod']=""; $_SESSION['featadprice']=""; $loc="thankyou.php?msg=success"; ?> <script language="javascript"> location.href="<?=$loc?>"; </script> <? } else if($_POST['ftad']) { $ad_total_amount = 0; $ftadstatus=''; $ad_type = ""; if($_POST['featadPrice'] != "") { $sql_adprice1="SELECT * FROM featured_ad_price WHERE no_of_weeks='".$_POST['featadPrice']."'"; $res_adprice1=execute_query($sql_adprice1); $row_adprice1=mysql_fetch_array($res_adprice1); $ad_total_amount += $row_adprice1['ad_price']; $ftadstatus='Yes'; $no_ofday=explode(' ',$ftno_ofweek); $daay=$no_ofday[0] * 7; $expiry = date("Y-m-d", time() + $daay*24*60*60 ); $ad_type .= $row_adprice1['no_of_weeks']." Featured Ad, "; } if($_POST['flash_ad'] == 1 || $_POST['flash_ad'] == 2) { if($_POST['flash_ad'] == 1) { $ad_total_amount = $ad_total_amount + $flash_amount; $daay = $flash_total_days; $expiry1 = date("Y-m-d", time() + $daay*24*60*60 ); $ad_type .= " ".$flash_item_name; } else if($_POST['flash_ad'] == 2) { $ad_total_amount = $ad_total_amount + $fflash_amount; $daay = $fflash_total_days; $expiry1 = date("Y-m-d", time() + $daay*24*60*60 ); $ad_type .= " ".$fflash_item_name; } } $sql_ind_escort="insert into temp_postad (id,user_id,escort_type,nickname,slogan,website, skype, email, update_email, address, escort_state, escort_city,country_name, gender, travel, couples, age, ethencity, orientation, duos, nationality, shaved, language, height, weight, tits, pussy, eye_color, hair_color, meeting_men, meeting_wm, meeting_cup, meeting_trans, meeting_gays, meeting_two, tel_national,tel_inter, update_tele,smstext,whatsapps,instruction, hidden_phone, pornstar, pornstar_name, bdms, partner, incall, outcall, massage, description, creation_date, status,updatedate,ft_ad_day,travel_area,dob,dob_month,image1,image2,image3,image4,source,receive_email,vid_you2,ad_total_amount,is_flash,ad_type) VALUES ('','$id','".$_POST['acctype']."', '".$_POST['nickname']."','$slogan','$websit', '".$_POST['skype']."', '".$_POST['email']."', '$upemail','', '$statename', '$cityname', '".$_POST['visitor_country']."', '".$_POST['gender']."', '$travel','$couple', '".$_POST['ageDtls']."', '".$_POST['ethnicity']."', '".$_POST['orientation']."', '$duos', '".$_POST['nationality']."', '', '".$_POST['language']."', '".$_POST['height']."', '".$_POST['weight']."', '".$_POST['tits']."', '".$_POST['pussy']."', '".$_POST['eye_color']."', '".$_POST['hair_color']."', '$mtman', '$mtwm', '$mtcup', '$mttrans', '$mtgay', '$mttwoplus', '".$_POST['phnumber']."','".$_POST['phnumber2']."', '$upphone','".$_POST['smstextt']."', '".$_POST['whatsapp']."', '".$_POST['instruction']."', '$hidephone', '$pornstar', '".$_POST['pornName']."', '$bdms', '".$_POST['partnername']."', '".$_POST['incall']."', '".$_POST['outcall']."', '$massage', '$desp', '', 'u','','".$_POST['featadPrice']."','$travelarea','".$_POST['dob']."','".$_POST['dobmonth']."','".$_POST['manu_imagename1']."','".$_POST['manu_imagename11']."','".$_POST['manu_imagename12']."','".$_POST['manu_imagename13']."','$srcc','".$_POST['receiveemail']."','".$_POST['ad_videoname']."','".$ad_total_amount."','".$_POST['flash_ad']."','".$ad_type."')"; execute_query($sql_ind_escort); $tempid=mysql_insert_id(); $_SESSION['SH_ESCORT_ID'] = $tempid; ?> <script language="javascript"> location.href="payment-chkout.php"; </script> <? } ?>