MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.20.66
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/agkeymaker.in/../www/../thedigitalgulf.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/agkeymaker.in/../www/../thedigitalgulf.com/call.php
<style type="text/css">
#wh-widget-send-button {
	margin: 0 !important;
	padding: 0 !important;
	position: fixed !important;
	z-index: 16000160 !important;
	bottom: 0 !important;
	text-align: center !important;
	height: 90px;
	width: 60px;
	visibility: visible;
	transition: none !important;
}
#wh-widget-send-button.wh-widget-right {
	right: 0;
}
#wh-widget-send-button.wh-widget-left {
	left: 10px;
}
#wh-widget-send-button iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
div.clear {
	clear: both;
}
.cp-widget-button {
	display: inline-block;
	position: fixed;
	bottom: 80px;
	left: 20px;
	z-index: 999999
}
.cp-widget-button__inner {
	height: 50px;
	width: 50px;
	background: #0c9191;
	border-radius: 50%;
	text-align: center;
	cursor: pointer;
	padding: 25%;
	box-shadow: 1px 1px 10px #0c9191;
}
.call-pop1 p {
	font-size: 20px;
	padding: 20px 50px 0
}
.text-center1 {
	z-index: 999999;
	padding-top: 100px;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.8);
}
.close {
	float: right;
	font-size: 31px !important;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	text-shadow: 0 1px 0 #fff;
	opacity: 4;
	filter: alpha(opacity=20);
	background-color: #0c9191;
	padding: 13px;
}
/**********pop************/
.bg_pof {
	background: #FFF;
	padding: 0px;
	z-index: 999;
	box-shadow: 1px 1px 50px #0c9191;
}
.bg-clrd_f {
	color: #fff;
	text-align: center;
	border: solid 1px #0c9191;
	background-color: #0c9191;
	margin: 0px 0px 20px 0px;
	/* padding: 0px;*/  padding: 12px 0px;
}
.form-control {
	width: 100%;
	height: 40px;
	margin-bottom: 10px;
	border: solid 1px #ccc;
}
.site-button1 {
	background-color: #0c9191;
	color: #fff;
	padding: 5px 10px !important;
	border: solid 1px #0c9191;
	text-align: center;
	margin-bottom: 30px;
transition:all 1.s;
}
.site-button1:hover {
	background-color: #1cb4b4;
 transition:all 1.s;
}
textarea {
	resize: none;
}
.bg-clrd_f {
	text-align: left;
	font-size: 16px;
	padding: 15px 10px;
}
/* The Close Button */
.close {
	position: absolute;
	top: -8px;
	right: 0px;
	color: #f1f1f1;
	font-weight: bold;
	transition: 0.3s;
}
.close:hover, .close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

@media (min-width:320px) and (max-width:767px) {
.cp-widget-button__inner {
	animation: bounce 1s infinite alternate;
	-webkit-animation: bounce 1s infinite alternate
}
.cp-widget-button__inner img {
	width: 20px;
	height: 20px;
}
.cat-textformat h2 {
	color: #1178ba!important
}
.cat-textformat p {
	text-align: left;
	word-wrap: break-word
}
.cat-textformat ul {
	width: auto;
	height: auto;
	padding: 0;
	margin: 15px 0 0 0
}
.cat-textformat ul li {
	background: url(images/call1.png) 0 0 no-repeat;
	width: auto;
	height: auto;
	padding: 0 0 0 36px;
	margin: 10px 0 10px;
	line-height: 25px
}
.call-pop1 p {
	padding: 33px 64px
}
.call-pop1 p {
	font-size: 24px;
	padding: 46px 33px
}
.bg-clrd_f {
	font-size: 18px !important;
}
.close {
	position: absolute;
	top: -9px !important;
	right: 0px !important;
}
}
</style>



<?php
 if(isset($_POST['btnSub'])){
  @extract($_POST);
  
  /* $sql="insert into tbl_enquiry set
          enquiry_name='$name',
  		  enquiry_email='$email',
		  enquiry_mobile='$mobile',
		  enquiry_detail='$message',
		  enquiry_source='Contact Us',
		  enquiry_add_date=now()";
		  db_query($sql);*/
		  $clrerr="green";
		  ///////////////****** 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; text-decoration:none;' colspan='3' >Contact Us 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;'>$message</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>Purpose  </strong> </td>
      <td vAlign='top' style='font-family:Verdana, Arial, Helvetica, sans-serif;padding:10px;'>$purpose</td>
    </tr> 
    
  </tbody>
</table>
</body>
</html>";
$toEmail = "astechmedia.in@gmail.com";
$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="support@thedigitalgulf.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//////////////////////////////////




		//  set_session_msg("Thanks for your interest. We will contact you soon.");
		?>
		
		<script>alert("Thanks for your interest. We will contact you soon.");</script>
		<?
		  //header("Location:contact-us.php");
//		  exit;
}

?>




<link rel="stylesheet" href="css/styd1.css" type="text/css">
<div id="loading-area"></div>
<div id="myModal" class="modal">
 
  <div class="modal-content" id="img01">
    <div class="bg_pof">
   <h2 class="bg-clrd_f">Would you like us to call you back? <span class="close">&times;</span></h2>
   
   <div class="col-md-12">
 
     <form name="call-pop_form" id="call-pop_form" action="" method="post">
        <div class="form-style">
          <div class="col-md-12 col-xs-12">
            <select name="purpose" id="purpose" class="form-control" required>
            <option value="">-- Select Purpose --</option>
            <option value="New Website">New Website</option>
            <option value="Website Redesigning">Website Redesigning</option>
            <option value="Ecommerce Website">Ecommerce Website</option>
            <option value="B2B Portal Development">B2B Portal Development</option>
            <option value="SEO Service">SEO Service</option>
            <option value="Testimonial">Testimonial</option>
            <option value="Career">Career</option>
            <option value="Complaint">Complaint</option>
            <option value="Other">Other</option>
        </select> 
          </div>
          <div class="col-md-12 col-xs-12">         
            <input type="text" name="mobile" id="mobilecallback" required class="form-control" maxlength="12" placeholder="e.g. 91-999-941-4160"> 
        </div>
          <div class="col-md-12 col-xs-12">  
            <input type="text" name="name" id="namecallback" required class="form-control" placeholder="Full Name">
        </div>
          <div class="col-md-12 col-xs-12">
            <input type="email" name="email" required id="emailcallback" class="form-control" placeholder="Email Address">
        </div>
          <div class="col-md-12 col-xs-12">
            <textarea name="message" id="messagecallback" required class="form-control" cols="30" rows="3" placeholder="Message"></textarea>
        </div>
          <div class="col-md-12 col-xs-12 text-center">
            <button type="submit" id="email_number" name="btnSub" class="site-button1">Submit</button>  
        </div>               
      </div>
    </form>
                          </div>
                              <div style="clear:both"></div>
                              </div>
                               
  </div>
</div>
  <div class="cp-widget-button" id="myImg">
    <div data-brand-color="background" onclick="show()" class="cp-widget-button__inner"> <img src="images/call1.png" alt="" style="width:25px;"> </div>
</div>
<!----------change-pws---->
 <script>
// Get the modal
var modal = document.getElementById('myModal');

// Get the image and insert it inside the modal - use its "alt" text as a caption
var img = document.getElementById('myImg');
var modalImg = document.getElementById("img01");
var captionText = document.getElementById("caption");
img.onclick = function(){
    modal.style.display = "block";
    modalImg.src = this.src;
    captionText.innerHTML = this.alt;
}

// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];

// When the user clicks on <span> (x), close the modal
span.onclick = function() { 
    modal.style.display = "none";
}
</script>






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



MMCT - 2023