GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/
Upload File :
Current File : /home/serb/www/send_mail.php

<? session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 ?>
<? include "includes/header_top.php";?>
<script language="javascript">
	function validate()
	{
		if(document.cntus.userName.value=="")
		{
			alert("Enter your Name");
			document.cntus.userName.focus();
			return false;
		}
		if((document.cntus.emailAddrs.value.indexOf('@',0)<1)||(document.cntus.emailAddrs.value.indexOf('.',0)<1))
		{
			alert("Enter any valid email address");
			document.cntus.emailAddrs.focus();
			return false;
		}		
		
		
				
		  
		 if(document.cntus.security_code.value=="")
		{
			alert("Enter Security Code");
			document.cntus.security_code.focus();
			return false;
		} 
   		
		  
		/*if(document.f1.check.checked!=true)
		{
			alert("You need to check your age.");
			return false;
		}*/
	}
</script>

<body>
<? include "includes/header.php";?>
<div class="wrapper">
  <div class="top_space" style="height:15px;"></div>
  <div class="inside_wrp_top">
  	<div class="insd_wr_top">Email This Provider</div>
    <div class="insd_wr_mid">
    	<div align="center">
     <? if($_GET['msg']=='success'){ ?>
            	<p style="padding-top:5px; color:#fb3b00;">Your Mail Has Been Sent Successfully</p>
			<? } ?>
     <form action="sendmail-process.php?postid=<?=$_GET['postid']?>" method="post" name="cntus" style="margin: 0px; padding: 0px;" onSubmit="return validate();">
		<input name="submit_form" value="1" type="hidden">
		<table class="join_table2" border="0" cellpadding="0" cellspacing="0">
         <tr>
          <td>Subject:</td>
          <td>You Have a Message from a customer</td>
          <td></td>
         </tr>
         <tr>
          <td>Your Email Address :</td>
          <td><input name="emailAddrs" id="email" class="main_input"   type="text">          </td>
          <td></td>
         </tr>
         <tr>
          <td>Confirm Email Address :</td>
          <td><input name="conemailAddrs" id="email" class="main_input"   type="text">          </td>
          <td></td>
         </tr>
            
         
         <tr>
          <td>Your Massage :</td>
          <td><textarea name="urQuery" id="querry" style="width:200px; height:150px;"></textarea>
          
          <td></td>
         </tr>
         <tr>
          <td>Security Code :</td>
          <td>
           <table>
	         <tbody><tr>          
              <td width="312" valign="top">
                <span>
                  Type the characters you see in the picture below.                </span>
                <div>
                    <img src="CaptchaSecurityImages.php?width=100&height=40&characters=5" />                   
                </div>
                <input id="security_code" name="security_code" type="text" />
                 <!--<input type="text" name="vercode" />--><!--<input name="captcha" type="text"> --><br/>
                 <span>
                    Letters are not case-sensitive                 </span>                </td>
              </tr>
              <tr>
                <td></td>
                <td>                </td>
                </tr>
              </tbody>
             </table>          </td>
          <td></td>
         </tr>        
         <tr>
          <td></td>
          <td>
           <input src="images/submit.png" type="image" style="margin-left:20px;"/>          </td>
          <td></td>
         </tr>
         <tr>
          <td></td>
          <td></td>
          <td></td>
         </tr>
         <tr>
          <td></td>
          <td></td>
          <td></td>
         </tr>
        </table>
      </form>
   </div>
    </div>
     <div class="insd_wr_bottom"></div>
  </div>
  
  

</div>
<br class="spacer" />

<? include "includes/footer.php";?>

./BlackJoker Mini Shell 1.0