Current File : /home/inlingua/public_html/sensoriumpsychologists.com/backup/screening/franchise/contact_us.php |
<?php
$msg="";
if(!empty($_POST))
{
$name=$_POST['name'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$query=$_POST['query'];
$name=htmlspecialchars($name);
$phone=htmlspecialchars($phone);
$email=htmlspecialchars($email);
$query=htmlspecialchars($query);
$remoteaddr=$_SERVER['REMOTE_ADDR'];
$userhttpagent=$_SERVER['HTTP_USER_AGENT'];
$to_2 = "rohit_sansanwal@yahoo.com";
$subject = "QUERY from CONTACT US PAGE of www.ymrdevelopers.com";
$ipdetails="\n\n\n---------------\nCLIENT DETAILS\nREMOTE ADDR : ".$remoteaddr."\nUSER HTTP AGENT : ".$userhttpagent;
$message = "SENDER DETAILS\nName : ".$name."\nPhoneno : ".$phone."\nEmail ID : ".$email."\nResume : ".$query.$ipdetails;
require '../PHPMailer-master/PHPMailerAutoload.php';
$email = new PHPMailer();
$email->From = 'info@urjjtechnoyug.com';
$email->FromName = 'ymrdevelopers.in';
$email->Subject = 'QUERY SENT FROM www.ymrdevelopers.com';
$email->Body = $message;
$email->AddAddress( 'info@ymrdevelopers.com' );
$email->AddAddress( 'rohit_sansanwal@yahoo.com' );
if (!$email->send()) {
exit("Error : Couldn't send...!!!");
} else {
}
$msg="Your Query sent. We'll revert back soon.";
}
?>
<!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=utf-8" />
<title>YMR Developers Private Limited</title>
</head>
<link rel="stylesheet" href="css/style.css" type="text/css" />
<script src="css/jquery_file.js"></script>
<script src="css/my_func.js"></script>
<script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=false"></script>
<script>
var myCenter=new google.maps.LatLng(28.594515, 77.047706);
function initialize()
{
var mapProp = {
center:myCenter,
zoom:15,
mapTypeId:google.maps.MapTypeId.ROADMAP
};
var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);
var marker=new google.maps.Marker({
position:myCenter,
animation:google.maps.Animation.BOUNCE
});
marker.setMap(map);
var infowindow = new google.maps.InfoWindow({
content:"<div style=\"width:200px;color:#c62932;font-weight:bold;\">YMR Developers Pvt Ltd</div>"
});
infowindow.open(map,marker);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<body>
<div style="position:relative;line-height:30px;text-align:center;font-size:16px;font-weight:bold;background-color:#900;color:#FFF;"><?php echo($msg);?></div>
<?php include("common/header_var.php");?>
<?php
$top_contact=$top_val;
?>
<?php include("common/header.php");?>
<div id="googleMap" style="position:relative;width:100%;min-width:1000px;height:300px;"></div>
<div id="main_container">
<div style="position:relative;" id="main">
<table width="100%" cellpadding="0" cellspacing="0">
<tr style="height:20px"><td colspan="3"></td></tr>
<tr valign="top">
<td style="font-size:12px;">
<form method="post">
<table width="100%" cellpadding="0" cellspacing="0">
<tr style="height:60px;">
<td colspan="5"><h1>Query Us</h1></td>
</tr>
<!--<tr style="color:#333;font-weight:bold;">
<td style="width:32%;">Your name<span style="color:#F00;font-size:18px;font-weight:bold;">*</span></td>
<td style="width:2%;"> </td>
<td style="width:32%;">Your contact no<span style="color:#F00;font-size:18px;font-weight:bold;">*</span></td>
<td style="width:2%;"> </td>
<td style="width:32%;">Your email id<span style="color:#F00;font-size:18px;font-weight:bold;">*</span></td>
</tr>-->
<tr style="height:10px;">
<td colspan="5"></td>
</tr>
<tr>
<td style="width:32%;"><input required type="text" name="name" placeholder=" Your name here" id="name" style="width:100%;height:30px;padding:0;margin:0;box-shadow:0 0 2px #000;" /></td>
<td style="width:2%;"> </td>
<td style="width:32%;"><input required type="text" name="phone" placeholder=" Your contact no here" id="phone" style="width:100%;height:30px;padding:0;margin:0;box-shadow:0 0 2px #000;" /></td>
<td style="width:2%;"> </td>
<td style="width:32%;"><input required type="text" name="email" id="email" placeholder=" Your email id here" placeholder=" Your name here" style="width:100%;height:30px;padding:0;margin:0;box-shadow:0 0 2px #000;" /></td>
</tr>
<tr style="height:10px;">
<td colspan="5"></td>
</tr>
<tr>
<td colspan="5"><textarea required name="query" id="query" placeholder="Your query here..." style="width:100%;height:150px;padding:0;margin:0;box-shadow:0 0 2px #000;"></textarea></td>
</tr>
<tr style="height:10px;">
<td colspan="5"></td>
</tr>
<tr>
<td align="left" colspan="5"><input type="submit" value="Send Now" /></td>
</tr>
<tr style="height:20px;">
<td colspan="5"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div><br /><br />
</div>
<div class="main_container_2" style="background-color:#e1e1e1;">
<div class="main_2">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td><br /><br />
<table cellpadding="0" border="0" cellspacing="0" style="width:100%; padding-bottom:60px;">
<tr>
<td><h1>REACH US</h1></td>
<td style="width:30px;"></td>
<td rowspan="3" style="width:400px;">
<img src="images/24x7_2.png" height="156px" />
</td>
</tr>
<tr style="height:20px;">
<td colspan="3"></td>
</tr>
<tr valign="top">
<td>
<table>
<tr valign="top">
<td><strong>Address</strong></td>
<td style="padding:0 10px;"><strong>:</strong></td>
<td>
YMR DEVELOPERS PVT. LTD.<br />
304, PLot no - 12, Vardhaman Sunder Plaza,<br>
Sec-12, Dwarka<br>
New Delhi - 110075
</td>
</tr>
<tr style="height:10px;">
<td colspan="3"></td>
</tr>
<tr valign="top">
<td><strong>Contact No</strong></td>
<td style="padding:0 10px;"><strong>:</strong></td>
<td>011-47041744<br>
(+91) 9873340218
</td>
</tr>
<tr style="height:10px;">
<td colspan="3"></td>
</tr>
<tr valign="top">
<td><strong>Email ID</strong></td>
<td style="padding:0 10px;"><strong>:</strong></td>
<td>
info@ymrdevelopers.com
</td>
</tr>
</table>
</td>
</tr>
</table>
<br /><br />
</td>
</tr>
</table>
</div>
</div>
<?php include("common/footer.php");?>
</body>
</html>