GIF89a;
Direktori : /home/serb/www/ |
Current File : /home/serb/www/verifyimage.php |
<? session_start(); if(!($_SESSION['islogin'])) { ?> <script language="javascript"> location.href="index.php"; </script> <? } include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); ?> <? include "includes/header_top.php";?> <? if($_POST) { $sql_pid="SELECT * FROM escort_details where user_id='".$_SESSION['userid']."'"; $res_pid=execute_query($sql_pid); $row_pid=mysql_fetch_array($res_pid); $pid=$row_pid['id']; if($_FILES['avt_image']['tmp_name']) { $manu_imagename1=time().$_FILES['avt_image']['name']; move_uploaded_file($_FILES['avt_image']['tmp_name'],'imageverifi/'.$manu_imagename1); } $sql_tweet="INSERT INTO veryfiimage(id,postid,userid,veriimage,weburl)Values('','".$row_pid['id']."','".$row_pid['user_id']."','$manu_imagename1','".$_POST['weblink']."')"; execute_query($sql_tweet); $id=mysql_insert_id(); $sql_approveemail="SELECT * FROM approval_email"; $res_approveemail=execute_query($sql_approveemail); $row_approveemail=mysql_fetch_array($res_approveemail); $to = $row_approveemail['emailid']; //$to='subhrajyoti.mca11@gmail.com'; $subject="Image Verification Mail"; $body="<html> <head> <title>Image Verification</title> </head> <body> <table style='padding:10px; color:#000;'> <tr><th></th></tr> <tr><td><br/></td></tr> <tr> <td>Below You will find Verify Image Details:</td> </tr> <tr> <td>To check this escort please click the link below:<a href='http://escortservice.org/verifyimagedetails.php?id=$pid' style='color:#AD0066;'>Click Here</a></td> </tr> <tr> <td>Username:".$row_pid['nickname']."</td> </tr> <tr> <td>Other website link:".$_POST['weblink']."</td> </tr> <tr> <td>To check this image please click the link below:<a href='http://escortservice.org/imageverifybyadmin.php?id=$id' style='color:#AD0066;'>Click Here</a></td> </tr> </table> </body> </html>"; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'From: escortservice <support@escortservice.org>' . "\r\n"; mail($to, $subject, $body, $headers); ?> <script language="javascript"> location.href="verifyimage.php?msg=1"; </script> <? } ?> <script language="javascript"> function validate() { if(document.f1.avt_image.value!=""){ var str = document.f1.avt_image.value; var lower = str.toLowerCase(); var newStr = lower.substring(lower.length-4, lower.length); //alert(newStr); if((newStr!=".jpg")&&(newStr!=".jpeg")&&(newStr!=".png")&&(newStr!=".bmp")){ alert("You cannot upload executable files...! Please upload files in jpg or jpeg or png extension."); document.f1.avt_image.focus(); return (false); } } /*if(document.f1.check.checked!=true) { alert("You need to check your age."); return false; }*/ } </script> <body> <link rel="stylesheet" href="css/elements.css" /> <script src="js/my_js.js"></script> <? $sql_gen="select * from escort_details where user_id='".$_SESSION['userid']."'"; $res_gen=execute_query($sql_gen); $row_gen=mysql_fetch_array($res_gen); if($row_gen['gender']=='Male') { include "includes/boys-header.php"; } else { include "includes/header.php"; } ?> <div class="main_bg"> <div style="height:32px;"></div> <div style="width:1000px; margin:0 auto;"> <div class="statedetails"> <div class="stdtls_header"> <span style="color:#000;">Home/My Account </div> <div class="stdtls_midder"> <div style="height:10px;"></div> <? $sql_postad="select * from escort_details where user_id='".$_SESSION['userid']."' AND status='a'"; $res_postad=execute_query($sql_postad); $num_postad=mysql_num_rows($res_postad); $row_postad=mysql_fetch_array($res_postad); ?> <div class="left_containmain"> <div style=" width:980px; margin:0 auto; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <? $sql_pstad="select * from escort_details where user_id='".$_SESSION['userid']."' "; $res_pstad=execute_query($sql_pstad); $num_pstad=mysql_num_rows($res_pstad); $row_pstad=mysql_fetch_array($res_pstad); if($num_pstad>0) { if($row_pstad['status']=='a') { ?> <td class="updatehdrstyle23"><a href="myaccount.php"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</a></td> <? } else {?> <td class="updatehdrstyle23"><img src="images/edit_profile.png" style="vertical-align:middle;" /><br/>My Profile</td> <? } } else { ?> <td class="updatehdrstyle23"><a href="userpostad.php"><img src="images/add_escort.png" style="vertical-align:middle;" /><br/>Post ad</a></td> <? } ?> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="escortimages.php"><img src="images/my_photo.png" style="width:52px; height:52px; vertical-align:middle" /><br/>My Photos</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="add-myvideos.php"><img src="images/my_videos.png" style="width:55px; height:55px; vertical-align:middle" /><br/>My Videos</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="verifyimage.php"><img src="images/verifyimage.png" style="width:55px; height:55px; vertical-align:middle" /><br/> 100% verify</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="add-mytours.php?pid=<?=$row_postad['id']?>"><img src="images/my_tour.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Tours</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><img src="images/my_reviews.png" style="width:55px; height:55px; vertical-align:middle" /><br/> My Reviews</td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="blacklist.php"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Black List</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <? if( $num_postad>0) { if($row_postad['ft_ad_status']=='Yes') { $todaydate=date('Y-m-d'); $exp=$row_postad['ft_ad_expair']; if($todaydate>$exp) {?> <td class="updatehdrstyle23"><a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</a></td> <? } else { ?> <td class="updatehdrstyle23"><img src="images/premium.png" onclick ="div_show()" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td> <? } } else {?> <td class="updatehdrstyle23"><a href="advertise-vipmember.php?estid=<?=$row_postad['id']?>"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</a></td> <? } ?> <? } else {?> <td class="updatehdrstyle23"><img src="images/premium.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Premium</td> <? } ?> </tr> <tr height="8"></tr> <tr> <td class="updatehdrstyle23"><a href="escort-harrasment.php"><img src="images/blacklist.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Report Harrasers</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="contact_us.php"><img src="images/support.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Support</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="password-setting.php"><img src="images/settings.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Settings</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="view-own-ad.php?name=<?=$row_postad['nickname']?>&phone=<?=$row_postad['tel_national']?>"><img src="images/viewad.png" style="width:55px; height:55px; vertical-align:middle" /><br/>View Ad</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="remove-account.php"><img src="images/removeacc.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Remove Account/AD</a></td> <td width="20" align="center"><img src="images/accmenudivider.png" /></td> <td class="updatehdrstyle23"><a href="logout.php"><img src="images/logout.png" style="width:55px; height:55px; vertical-align:middle" /><br/>Logout</a></td> </tr> </table> </div> <br/> <div id="abc"> <div id="popupContact"> <div class="contactin" > <!--<form action="sendmail-process.php" method="post" id="form11" name="f1" onSubmit="return validate();" >--> <div class="deliveredmsg" id="avt25"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr> <td class="wanttext"> <? $todaydate=date('Y-m-d'); $exp=$row_postad['ft_ad_expair']; $diff=(strtotime($exp) - strtotime($todaydate)) / (60 * 60 * 24); $diffday=explode('.',$diff) ?> <span class="messagetext">You have a current featured ad in progress and it can be renewed in <?=$diffday[0]?> amount of days. </span> </td> </tr> <tr height="10"></tr> <tr> <td> <div style="height:35px;"> </div> </td> </tr> <tr height="10"></tr> <tr> <td align="center"> <a href="myaccount.php"><img src="images/close.png" /></a> </td> </tr> <tr height="20"> <td></td> </tr> </table> </div> </div> </div> </div> <div style=" width:960px; margin:0 auto; font-family:'Open Sans',sans-serif; font-size:14px; color:#000;"> <div class="postadpagebody"> <h1>Verify Image</h1> <div style="height:30px; width:10%; margin:0 auto;"></div> <div style="float:left; width:350px; height:200px; margin-left:30px;"> <form action=<?=$_SERVER['PHP_SELF']?> method="post" name="f1" style="margin: 0px; padding: 0px;" enctype="multipart/form-data" onSubmit="return validate();"> <input name="submit_form" value="1" type="hidden"> <table border="0" cellpadding="0" cellspacing="0" style="margin:0 auto;"> <tr height="20"> <? if($_GET['msg']==1) { ?> <p style="text-align:left; font-size:14px; font-weight:400; color:#000; font-family: 'Roboto Condensed',sans-serif;">You have successsfully submited your documents.</p> <? } ?> </tr> <tr> <td style="text-align:left; font-size:22px; font-weight:400; color:#000; font-family: 'Roboto Condensed',sans-serif;">Not Verified?</td> </tr> <tr height="10"></tr> <tr> <td style="text-align:left; font-size:14px; font-weight:400; color:#000; font-family: 'Roboto Condensed',sans-serif;">Send us a pic of you and the word "Pretty Woman Network"<br/> written on a paper.</td> </tr> <tr height="15"></tr> <tr> <td><input type="file" name="avt_image"></td> </tr> <tr height="15"></tr> <tr> <td style="text-align:left; font-size:22px; font-weight:400; color:#000; font-family: 'Roboto Condensed',sans-serif;">Already verified on another site?</td> </tr> <tr height="10"></tr> <tr> <td style="text-align:left; font-size:14px; font-weight:400; color:#000; font-family: 'Roboto Condensed',sans-serif;">Just send us a link to your verified ad on another escort site.</td> </tr> <tr height="10"></tr> <tr> <td><input type="text" name="weblink" class="main_input" ></td> </tr> <tr height="10"></tr> <tr> <td><input type="image" src="images/submit.png" ></td> </tr> </table> </form> </div> <div style="float:right; text-align:center; width:559px; margin-right:1px; height:353px; margin-right:5px; border-radius:4px 4px 0 0; -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset; -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset; box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset; border:1px solid #dc9fc1; margin-top:5px;"> <img src="images/pwn.jpg" height="351" width="557" style="padding:1px;"> </div> <br class="spacer"> <br/><br/> </div> <br class="spacer" /> </div> <br class="spacer" /> </div> </div> <div class="stdtls_footer"></div> </div> <br class="spacer" /> </div> </div> <? include "includes/footer.php";?>