File: /home/puthuppa/public_html/contact.php.bak
<?php
@session_start();
ob_start();
include('controlpanel/includes/toolBox.php');
include("contact_action.php");
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Puthuppally Pally</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon.png" type="image/x-icon">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="main.css" rel="stylesheet">
<link href="responsive.css" rel="stylesheet">
<link href="src/css/jquery.mmenu.all.css" rel="stylesheet">
<script src="js/jquery-1.11.1.min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.0/jquery.validate.js"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<?php include("header.php");
/*google captcha*/
$sitekey = "6Lect6EUAAAAALTMGuzoU-hdnT1xpJbCQ8XtRDzI";
$secretkey = "6Lect6EUAAAAAJQHyvUc5Nh1bYYJz08YjgJmQDBi";
?>
<div class="contain">
<div class="lay">
<div class="shead">
<div>Contact Us</div>
</div>
</div>
</div>
<div class="contain bT pTB">
<div class="lay">
<?php
if(!empty($_GET['msg'])){?>
<span class="success-span" style="color:green"><?=$_GET['msg']?></span>
<?php } ?>
<?php
if(!empty($_GET['xmsg'])){?>
<span class="error-span" style="color:red"><?=$_GET['xmsg']?></span>
<?php } ?>
<div class="contain">
<h4 class="h4">Get in touch</h4>
<div class="contact-form">
<form method="post" enctype="multipart/form-data" id="contactusform">
<input type="text" name="name" placeholder="Enter your Name" class="ibox">
<input type="text" name="email" placeholder="Enter your Email ID" class="ibox">
<input type="text" name="phone" placeholder="Enter your Phone Number" class="ibox">
<textarea name="message" placeholder="Enter you Message" class="iarea"></textarea>
<div class="g-recaptcha" data-sitekey="<?php echo $sitekey;?>"></div>
<?php echo $mes=(isset($mesg))?$mesg:""; ?>
<input type="submit" value="Submit" class="ibtn">
</form>
</div>
<div class="contact-address">
<p class="adress post">St. George Orthodox Syriac Church (Valiyapally)<br>
Puthuppally P.O<br>
Kottayam – 686 011<br>
Kerala, South India
</p>
<p class="adress ph">+91-481-2352404.</p>
<!--<p class="adress mail">puthuppallypally@gmail.com</p>-->
<div id="map">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d1967.2507948217049!2d76.56609356810725!3d9.551957354978484!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3b062c1c2e614b3d%3A0x48ca29932ee3c3a1!2sSt.George+Patriarchal+Church!5e0!3m2!1sen!2sin!4v1411823056894" frameborder="0"></iframe>
</div>
</div><div class="clear"></div>
</div>
</div>
</div><div class="clear"></div>
<script type='text/javascript'>
function refreshCaptcha()
{
var img = document.images['captchaimg'];
img.src = img.src.substring(0,img.src.lastIndexOf("?"))+"?rand="+Math.random()*1000;
}
</script>
<script>
// When the browser is ready...
$(function() {
// Setup form validation on the #register-form element
$("#contactusform").validate({
// Specify the validation rules
rules: {
name: "required",
email: {
required: true,
email: true
},
phone: "required",
message: {
required: true,
minlength: 5
}
},
// Specify the validation error messages
messages: {
name: "Please enter your name",
email: "Please enter a valid email address",
message: "Please enter your message"
},
submitHandler: function(form) {
form.submit();
}
});
});
</script>
<?php include("footer.php"); ?>
<div class="banned-buttons"><a class="ban-b1 liveStreamOpen" id="mute"><img src="css/elements/live.png" alt="LIVE STREAM" draggable="false">LIVE STREAM</a>
<a href="donation-cart.php" class="ban-b2"><img src="css/elements/donate.png" alt="NERCHAS" draggable="false">NERCHAS</a>
<a href="prayer-request.php" class="ban-b3"><img src="css/elements/prayer.png" alt="PRAYER REQUEST" draggable="false">PRAYER REQUEST</a></div>
<section class="liveStreamWindow poparticle">
<div class="popsection">
<div class="container">
<!---
<div class="streamFrame"><iframe width="550" height="350" src="http://eventsonlive.com/live_player/live/webstream_CDNnetwork/index.php" scrolling="yes"allowfullscreen="allowfullscreen"
mozallowfullscreen="mozallowfullscreen"
msallowfullscreen="msallowfullscreen"
oallowfullscreen="oallowfullscreen"
webkitallowfullscreen="webkitallowfullscreen"></iframe><div class="streamClose"><i class="fa fa-minus closepup"></i></div>
--->
<div class="streamFrame"><iframe width="550" height="350" src="http://puthuppallylive.com/" scrolling="yes" allowfullscreen="allowfullscreen"
mozallowfullscreen="mozallowfullscreen"
msallowfullscreen="msallowfullscreen"
oallowfullscreen="oallowfullscreen"
webkitallowfullscreen="webkitallowfullscreen"></iframe><div class="streamClose"><i class="fa fa-minus closepup"></i></div></div>
</div>
</div>
</section>
<div class="popoverlay"></div>
<script>
$('.liveStreamOpen').click(function() {
$('.popoverlay').addClass('active');
$('.liveStreamWindow').delay(300).queue(function(){
$(this).addClass('active').clearQueue();
});
});
$('.closepup').click(function() {
$('.liveStreamWindow').removeClass('active');
$('.popoverlay').removeClass('active');
});
$(".banned-buttons a").hover(function(){
var a = $(this).width();
$(this).animate({left: -a}, 500);
},function(){
$(this).animate({left: '-44px'}, 400);
});
$("#mute").click(function(){
var audio = document.getElementById('background_audio');
audio.pause();
});
</script>
</body>
</html>
<?php ob_end_flush(); ?>