MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.223.125.236
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/thedigitaldubai.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/thedigitaldubai.com/gadgets_feature.php
<style>

.flBtnCntr {
  display: inline-flex;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index:999999;
}
.flBtnBox {
  outline: 0;
  border: 0;
  border-radius: 50%;
  background-color: #2978d3;
  color: #fff;
  cursor: pointer
}
.flBtnBox.big1 {
  background-color: green;
  font-size: 30px;
  height: 60px;
  width: 60px
}
.flBtnBox.small1 {
  animation: showBtn 150ms cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform: scale(0);
  background-color: #363636;
  margin: 0 5px;
  font-size: 20px;
  height: 40px;
  width: 40px;
}
.flBtnBox.small1:nth-child(2) {
  animation-delay: 150ms
}
.flBtnBox.small1:nth-child(3) {
  animation-delay: 300ms
}
@keyframes showBtn {
  0% {
    transform: scale(0)
  }
  100% {
    transform: scale(1)
  }
}
.flBtnBox.big1:hover {
  box-shadow: 0 0 10px rgba(41,120,211,0.4)
}
.flBtnBox.small1:hover {
  box-shadow: 0 0 10px rgba(0,0,0,0.3)
}
.flBtns {
  position: absolute;
  left: 100%;
  top: 0;
  bottom: 0;
  display: none;
  padding: 0 5px;
  align-items: center
}
.flBtnCntr:hover .flBtns {
  display: inline-flex;
}





/*************** Live Chat ************************/

.modaldolly {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index:999; /* Sit on top */
  padding-top:20px; /* Location of the box */
  left: 0;
  top: 0;
  overflow:hidden;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* modaldolly Content */
.modaldolly-content2 {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width:30%;
  top:10px;
}

/* The closechat2 Button */
.closechat2 {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closechat2:hover,
.closechat2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


.call-now-btn{
    display:none;
}

@media only screen and (min-width:320px) and (max-width:480px) and (orientation:portrait){
.modaldolly-content2{
      background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width:100%;
  top:10px;
}

.call-now-btn{
 display:inline-block;   
}

}
</style>




<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
   
<div class="flBtnCntr">
  <button class="flBtnBox big1"><i class="fa fa-whatsapp "></i><!--<img src="<?=$site_url?>/images/gadgets-icon.png">--></button>
  <div class="flBtns">
      
      <?php
if($compDATA['admin_callback_option']=="Yes")
{?>
    <button class="flBtnBox small1" data-toggle="modal" data-target="#myModalFeature"><i class="fa fa-envelope"></i></button>
<?}?>

                   <?php
if($compDATA['admin_call_now_option']=="Yes")
{?>

    <button class="flBtnBox small1 call-now-btn"  >
        <a href="tel:+91<?=$compDATA['admin_call_now_number']?>" style="color:white;">
            <i class="fa fa-phone"></i>
            </a>
            </button>
<?}?>
  
  <?php
if($compDATA['admin_whatsapp_option']=="Yes")
{?>

<?php if($compDATA['admin_whatsapp_number']=="" || empty($compDATA['admin_whatsapp_number'])){ ?>
<button class="flBtnBox small1"><i class="fa fa-whatsapp"></i></button>
  <?}else{?>
 <button class="flBtnBox small1"> <a href="https://wa.me/91<?=substr($compDATA['admin_whatsapp_number'], -10)?>" target="_blank" style="color:white;"><i class="fa fa-whatsapp"></i></a></button>
 <?}?>
 <?}?>
  
    
  
  <?php
if($compDATA['admin_skype_option']=="Yes")
{?>  
    <button class="flBtnBox small1">
        <a href="https://web.skype.com/"  style="color:white;" target="_blank">
            <i class="fa fa-skype"></i>
            </a>
            </button>
  <?}?>
  
   <?php
if($compDATA['admin_live_chat_code']!="")
{?>  
    <button class="flBtnBox small1" id="myBtn2"><i class="fa fa-comments-o"></i></button>
<?}?>
  </div>
</div>




<?php
$flag_mail=0;
 if(isset($_POST['CallBack_Enq'])){

  @extract($_POST);
  
    /*
       $short_msg=substr($uemailcc,0,50);
       $varUserName="t1webkey";
      $varPWD="105658508";
      $varSenderID="NEWREG";
        $msg_body="Client Name : $unamecc \n Client Email : $uemailcc \n Client Mobile : $uphonecc \n Enquiry Detail : $short_msg";
      
      $varMSG=urlencode("$msg_body");
      $url="http://sms4power.com/api/swsendSingle.asp?";//
      $data="username=$varUserName&password=$varPWD&sender=$varSenderID&sendto=9958276296&message=$varMSG";
     
  
  function postdata($url,$data)
    {
    //The function uses CURL for posting data to
      $objURL = curl_init($url);
      curl_setopt($objURL, CURLOPT_RETURNTRANSFER,1); 
      curl_setopt($objURL,CURLOPT_POST,1);
      curl_setopt($objURL, CURLOPT_POSTFIELDS,$data);
      $retval = trim(curl_exec($objURL));
      curl_close($objURL);
      return $retval;
    }
  $sendSMS = postData($url,$data);*/
   

  $sql="insert into tbl_enquiry set
          enquiry_name='$unamecc',
        enquiry_email='$uemailcc',
        enquiry_comp_name='$ucompanycc',
        enquiry_mobile='$uphonecc',
      enquiry_detail='$umessagecc',
      enquiry_source='Call Back Enquiry',
      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;'>$unamecc</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;'>$uphonecc</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;'>$uemailcc</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>Company Name</strong> </td>
      <td vAlign='top' style='font-family:Verdana, Arial, Helvetica, sans-serif;padding:10px;'>$ucompanycc</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;'>$umessagecc</td>
    </tr>    
  </tbody>
</table>
</body>
</html>";
//$toEmail = "rehantki@gmail.com";

$toEmail = "$compDATA[admin_email]";
$subject = "Enquiry from $hostName";
            $from="$uemailcc";
        $Headers1 = "From: $unamecc<$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");
        
         $toEmail."<br>";
         
         
         
       
       
$toEmail = "$uemailcc";
$subject = "Enquiry submitted successfully on $hostName";
$from="$compDATA[admin_email]";
$Headers1 = "From: $hostName<$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");

$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 =$uemailcc;   
$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($uemailcc){
@mail($mail_to_admin,$sub_admin,$mail_admin_body,$headers_admin);
$flag_mail=1;

$full_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";


?>

    

<script>
    alert("Enquiry form submitted successfully, We will contact you soon.");
    window.location.href="<?=$full_url?>";
    
    
    </script>

    
  <?  
}

 }
?>


  <style>
     
#error_style_callback{
    color:white; 
    font-size:13px;
    font-family:arial;
    background-color:#c32323;
    border-radius:7px; 
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-sizing: border-box;
    padding:7px;
}

.error_name_callback{
       display:none;
}
.error_email_callback{
       display:none;
}
.error_company_callback{
       display:none;
}

.error_phone_callback{
       display:none;
}
.error_message_callback{
       display:none;
}

.error_captcha_callback{
       display:none;
}

   </style>
   




<!-- The Modal -->
  <div class="modal fade" id="myModalFeature" style="z-index: 99999;">
    <div class="modal-dialog modal-md">
      <div class="modal-content">
      
        <!-- Modal Header -->
        <div class="modal-header">
          <h4 class="modal-title" style="font-weight:bold;">Would you like us to call you back? </h4>
          <button type="button" class="close" data-dismiss="modal">&times;</button>
        </div>
        
        <!-- Modal body -->
        <div class="modal-body">
   
   <form action="" method="post" enctype="multipart/form-data" onsubmit="return checkValidationcc();">
       <label>Name *</label>
           <input type="text" class="form-control" name="unamecc" id="unamecc" onkeyup="errName1();" />
        <p id="error_style_callback" class="error_name_callback"></p>
       
       <label>Email *</label>
           <input type="text" class="form-control" name="uemailcc" id="uemailcc" onkeyup="errEmail1();" />
            <p id="error_style_callback" class="error_email_callback"></p>
            
       
       <label>Company (Optional)</label>
           <input type="text" class="form-control" name="ucompanycc" id="ucompanycc" onkeyup="errCompany1();" />
              <p id="error_style_callback" class="error_company_callback"></p>
       
       
       <label>Phone Number *</label>
           <input type="text" class="form-control" name="uphonecc" id="uphonecc" onkeyup="errPhone1();"  maxlength="10" />
             <p id="error_style_callback" class="error_phone_callback"></p>
       
       
       <label>Message *</label>
           <textarea class="form-control" name="umessagecc" id="umessagecc"  onkeyup="errMsg1();"></textarea>
             <p id="error_style_callback" class="error_message_callback"></p>
       
       
         
     <br>
           <input type="text" id="callback_Captcha" name="callback_Captcha" style="border:none; width:100px; height:35px; font-weight:bold; font-family:chiller;     font-size: 30px;    text-align: center;    background-color: gray;    color: white;" maxlength="4" value="<?=rand(1000,9999)?>"  onmousedown='return false;' onselectstart='return false;' autocomplete="off" />
           <input type="text" name="CaptchaValue" id="CaptchaValue" style="width:100px; height:35px;" maxlength="4" placeholder="Enter captcha *" onkeyup="errCaptcha1();" />
           
       
       
           <input type="submit" class="btn btn-success" name="CallBack_Enq" />
           <p id="error_style_callback" class="error_captcha_callback"></p>
       
       
       
       
   </form>
   
        </div>
        
        <!-- Modal footer -->
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
        </div>
        
      </div>
    </div>
  </div>
  




<div id="mymodaldollychat1" class="modaldolly" style="overflow:hidden; z-index:9999;">
  <div class="modaldolly-content2" >
    <span class="closechat2">&times;</span>
    <p><iframe src="<?=$compDATA['admin_live_chat_code']?>"   height="500" width="100%" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe></p>
  </div>

</div>


<script>
// Get the modaldolly
var modaldolly = document.getElementById("mymodaldollychat1");

// Get the button that opens the modaldolly
var btn = document.getElementById("myBtn2");

// Get the <span> element that closechat2s the modaldolly
var span = document.getElementsByClassName("closechat2")[0];

// When the user clicks the button, open the modaldolly 
btn.onclick = function() {
  modaldolly.style.display = "block";
}

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

// When the user clicks anywhere outside of the modaldolly, closechat2 it
window.onclick = function(event) {
  if (event.target == modaldolly) {
    modaldolly.style.display = "none";
  }
}










   function trimfield(str) 
        { 
            return str.replace(/^\s+|\s+$/g,''); 
        }
    function checkValidationcc(){
        var i=0,flag=0;
        var name=document.getElementById("unamecc");
        var company=document.getElementById("ucompanycc");
        var phone=document.getElementById("uphonecc");
        var email=document.getElementById("uemailcc");
        var message=document.getElementById("umessagecc");
        var str1 = document.getElementById('callback_Captcha').value;
        var captcha = document.getElementById('CaptchaValue').value;
    
        if(name.value==""){
            $('#unamecc').css({"border-color":"red"});
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "0px"},"fast");
            
            name.focus();
            
             $(".error_name_callback").html("Please enter your name");
            $('.error_name_callback').fadeIn('slow');
            return false;
        }if(name.value.length<=3){
             $('#unamecc').css({"border-color":"red"});
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "0px"},"fast");
            name.focus();
            $(".error_name_callback").html("Name should be greater than 3 alphabet");
            $('.error_name_callback').fadeIn('slow');
            return false;
        }if (/[0-9]/g.test(name.value)) {
                 $('#unamecc').css({"border-color":"red"});
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "-5px"},"fast");
            $("#unamecc").animate({left: "5px"},"fast");
            $("#unamecc").animate({left: "0px"},"fast");
                name.focus();
         $(".error_name_callback").html("Use alphabet only");
            $('.error_name_callback').fadeIn('slow');
                return false;
        }if (!/[A-Za-z\s]/g.test(company.value) && company.value!="") {
            $('#ucompanycc').css({"border-color":"red"});
            $("#ucompanycc").animate({left: "-5px"},"fast");
            $("#ucompanycc").animate({left: "5px"},"fast");
            $("#ucompanycc").animate({left: "-5px"},"fast");
            $("#ucompanycc").animate({left: "5px"},"fast");
            $("#ucompanycc").animate({left: "-5px"},"fast");
            $("#ucompanycc").animate({left: "5px"},"fast");
            $("#ucompanycc").animate({left: "0px"},"fast");
                company.focus();
        $(".error_company_callback").html("Value should not be numeric");
        $('.error_company_callback').fadeIn('slow');
                return false;
        }
        if(email.value==""){
             $('#uemailcc').css({"border-color":"red"});
            $("#uemailcc").animate({left: "-5px"},"fast");
            $("#uemailcc").animate({left: "5px"},"fast");
            $("#uemailcc").animate({left: "-5px"},"fast");
            $("#uemailcc").animate({left: "5px"},"fast");
            $("#uemailcc").animate({left: "-5px"},"fast");
            $("#uemailcc").animate({left: "5px"},"fast");
            $("#uemailcc").animate({left: "0px"},"fast");
            email.focus();
             $(".error_email_callback").html("Please enter your email");
            $('.error_email_callback').fadeIn('slow');
            return false;            
        }if(!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email.value)){
             $('#uemailcc').css({"border-color":"red"});
            $("#uemailcc").animate({left: "-5px"},"fast");
            $("#uemailcc").animate({left: "5px"},"fast");
            $("#uemailcc").animate({left: "-5px"},"fast");
            $("#uemailcc").animate({left: "5px"},"fast");
            $("#uemailcc").animate({left: "-5px"},"fast");
            $("#uemailcc").animate({left: "5px"},"fast");
            $("#uemailcc").animate({left: "0px"},"fast");
            email.focus();
             $(".error_email_callback").html("Please enter valid email address");
            $('.error_email_callback').fadeIn('slow');
            return false;
        }if(phone.value==""){
             $('#uphonecc').css({"border-color":"red"});
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "0px"},"fast");
            phone.focus();
            $(".error_phone_callback").html("Please enter phone number");
            $('.error_phone_callback').fadeIn('slow');
            return false;
        }if(isNaN(phone.value)){
             $('#uphonecc').css({"border-color":"red"});
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "0px"},"fast");
            phone.focus();
             $(".error_phone_callback").html("Please enter numeric value");
            $('.error_phone_callback').fadeIn('slow');
            return false;
        }if(phone.value.length<10 || phone.value.length>10){
             $('#uphonecc').css({"border-color":"red"});
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "-5px"},"fast");
            $("#uphonecc").animate({left: "5px"},"fast");
            $("#uphonecc").animate({left: "0px"},"fast");
            phone.focus();
            $(".error_phone_callback").html("Phone number should be 10 digit long");
            $('.error_phone_callback').fadeIn('slow');
            return false;
            
        }if(trimfield(message.value)==""){
             $('#umessagecc').css({"border-color":"red"});
            $("#umessagecc").animate({left: "-5px"},"fast");
            $("#umessagecc").animate({left: "5px"},"fast");
            $("#umessagecc").animate({left: "-5px"},"fast");
            $("#umessagecc").animate({left: "5px"},"fast");
            $("#umessagecc").animate({left: "-5px"},"fast");
            $("#umessagecc").animate({left: "5px"},"fast");
            $("#umessagecc").animate({left: "0px"},"fast");
            message.focus();
             $(".error_message_callback").html("Please leave your message");
            $('.error_message_callback').fadeIn('slow');
            return false;
        }if(captcha==""){
            $('#CaptchaValue').css({"border-color":"red"});
            $("#CaptchaValue").animate({left: "-5px"},"fast");
            $("#CaptchaValue").animate({left: "5px"},"fast");
            $("#CaptchaValue").animate({left: "-5px"},"fast");
            $("#CaptchaValue").animate({left: "5px"},"fast");
            $("#CaptchaValue").animate({left: "-5px"},"fast");
            $("#CaptchaValue").animate({left: "5px"},"fast");
            $("#CaptchaValue").animate({left: "0px"},"fast");
            $("#CaptchaValue").focus();
             $(".error_captcha_callback").html("Please enter captcha code");
            $('.error_captcha_callback').fadeIn('slow');
            return false;
        }if (str1 != captcha){
            $('#CaptchaValue').css({"border-color":"red"});
            $("#CaptchaValue").animate({left: "-5px"},"fast");
            $("#CaptchaValue").animate({left: "5px"},"fast");
            $("#CaptchaValue").animate({left: "-5px"},"fast");
            $("#CaptchaValue").animate({left: "5px"},"fast");
            $("#CaptchaValue").animate({left: "-5px"},"fast");
            $("#CaptchaValue").animate({left: "5px"},"fast");
            $("#CaptchaValue").animate({left: "0px"},"fast");
            $("#CaptchaValue").focus();
             $(".error_captcha_callback").html("Please enter correct captcha code");
            $('.error_captcha_callback').fadeIn('slow');
            return false;
        }
    }
    
    function errName1(){
        $('#unamecc').css({"border-color":"#49aecc"});
          $('.error_name_callback').css({"display":"none"});
    }
    function errEmail1(){
        $('#uemailcc').css({"border-color":"#49aecc"});
        $('.error_email_callback').css({"display":"none"});
    }
    function errCompany1(){
        $('#ucompanycc').css({"border-color":"#49aecc"});
        $('.error_company_callback').css({"display":"none"});
    }
    function errPhone1(){
        $('#uphonecc').css({"border-color":"#49aecc"});
        $('.error_phone_callback').css({"display":"none"});
    }
    function errMsg1(){
        $('#umessagecc').css({"border-color":"#49aecc"});
        $('.error_message_callback').css({"display":"none"});
    }
    function errCaptcha1(){
        $('#captcha1').css({"border-color":"#49aecc"});
        $('.error_captcha_callback').css({"display":"none"});
    }

</script>

    

MMCT - 2023