|
Server IP : 45.113.226.95 / Your IP : 216.73.216.239 Web Server : LiteSpeed System : Linux bharat.hostitbro.com 5.14.0-611.13.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 04:57:59 EST 2025 x86_64 User : digita21 ( 1701) PHP Version : 8.3.30 Disable Function : mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF Directory (0750) : /home2/digita21/worldwideengineers.in/../mail/../ssl/../realpropertyindia.com/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
session_start();
include("config.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Webartinfo">
<meta name="author" content="Webartinfo">
<title>Shiv Ganga Real Estate</title>
<!-- Favicon Icon -->
<link rel="icon" type="image/png" href="img/favicon.png">
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Icons -->
<link href="vendor/icons/css/materialdesignicons.min.css" media="all" rel="stylesheet" type="text/css" />
<!-- Select2 CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css" />
<link href="vendor/select2/css/select2-bootstrap.css" />
<link href="vendor/select2/css/select2.min.css" rel="stylesheet" />
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<?php
include('./inc/header.php');
?>
<section class="section-padding bg-dark inner-header" style="background: url('./img/banner-min.jpg'); background-size: cover; width: 100%;">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1 class="mt-0 mb-3 text-white">Contact Us</h1>
<div class="breadcrumbs">
<p class="mb-0 text-white">
<a class="text-white" href="index.php">Home</a> /
<span class="text-success">Contact Us</span>
</p>
</div>
</div>
</div>
</div>
</section>
<?php
include('config.php'); // DB connection
if(isset($_POST['submit']))
{
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$query = "INSERT INTO contact(name,email,phone,subject,message)
VALUES('$name','$email','$phone','$subject','$message')";
if(mysqli_query($con,$query))
{
echo "<script>alert('Message Sent Successfully');</script>";
}
else
{
echo "<script>alert('Error Occurred');</script>";
}
}
?>
<section class="section-padding bg-light">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<h2 class="mb-4 fs-3 fw-bold" style="font-wieght: bold;">Shiv Ganga Real Estate – Your Trusted Partner in Property Solutions</h2>
<form method="POST">
<div class="form-group mb-3">
<input type="text" name="name" class="form-control" placeholder="Enter Your Name" required>
</div>
<div class="form-group mb-3">
<input type="email" name="email" class="form-control" placeholder="Enter Your Email" required>
</div>
<div class="form-group mb-3">
<input type="text" name="phone" class="form-control" placeholder="Enter Your Phone" required>
</div>
<div class="form-group mb-3">
<input type="text" name="subject" class="form-control" placeholder="Enter Subject" required>
</div>
<div class="form-group mb-3">
<textarea name="message" class="form-control" rows="5" placeholder="Enter Message" required></textarea>
</div>
<div class="text-center">
<button type="submit" name="submit" class="btn btn-primary px-5">
Send Message
</button>
</div>
</form>
</div>
<div class="col-md-6">
<img src="./img/999-realestate-list-property.jpg" class="img-fluid" alt="">
</div>
</div>
</div>
</section>
<?php
include('./inc/footer.php');
?>