ok

Mini Shell

Direktori : /home2/selectio/public_html/y1jobportal.in/
Upload File :
Current File : /home2/selectio/public_html/y1jobportal.in/contact.php

<?php
include("header.php");
?>


    
    <?php
if(isset($_POST['submit'])){
        try{
            $fname=$_POST['first_name'];
    	    $lname=$_POST['last_name'];
    	    $email=$_POST['email'];
            $job=$_POST['job'];
            $heading=$_POST['heading'];
            $content=$_POST['content'];
            $phone=$_POST['phone'];

             $to = "info@y1jobportal.in";
             $subject = "<p>Message Details:-<b >Addmision Enquiry:<b><br>";
             $subject1 =strip_tags($subject);
             $header ="";
             $header .= "First Name : <b>".$fname."</b><br>\r\n";
             $header .= "Sur Name: <b>".$lname."</b><br>\r\n";
             $header .= "Email: <b>".$email."</b><br>\r\n";
             $header .= "Heading: <b>".$heading."</b><br>\r\n";
             $header .= "Job: <b>".$job."</b><br>\r\n";
             $header .= "Content: <b>".$content."</b><br>\r\n";
             $header .= "Phone: <b>".$phone."</b><br>\r\n";
             
             $header1=strip_tags($header);
             
             $retval = mail ($to,$subject1,$header1);
               
  
            if($retval == true ){
                echo '<script>alert("Message Sended Successfully")</script>'; 
                
            }else{
                 echo '<script>alert("Message could not be sent...")</script>';
                 
            }  
        }catch(Exception $e){
            $error=$e;
        }   
    }

?>

		<!-- Sub Visual of the page -->
		<div class="subvisual-block subvisual-theme-1 bg-dark-green d-flex pt-60 pt-md-90 pt-lg-150 pb-30 text-white">
			<div class="pattern-image"><img src="images/bg-pattern-overlay.jpg" width="1920" height="570" alt="Pattern"></div>
			<div class="container position-relative text-center">
				<div class="row">
					<div class="col-12">
						<div class="subvisual-textbox">
							<h1>Contact Us</h1>
							<p>Feel free to get in touch with us. Need Help?</p>
						</div>
						<!--<nav class="breadcrumb-nav text-white d-flex justify-content-center mt-20 mt-lg-40">
							<ul class="breadcrumb mb-0">
								<li class="breadcrumb-item"><a href="index.php">Home</a></li>
								<li class="breadcrumb-item active">Contact Us</li>
							</ul>
						</nav>-->
					</div>
				</div>
			</div>
		</div>
		<!-- contain main informative part of the site -->
		<main class="main">
			<!-- Contact Section -->
			<section class="section section-contact section-theme-1 pt-35 pt-md-50 pt-lg-75 pt-xl-100 pt-xxl-120 pb-35 pb-md-50 pb-lg-75 pb-xl-100 pb-xxl-120">
				<div class="container">
					<!-- Section header -->
					<header class="section-header mb-30 mb-md-45 mb-xl-60">
						<strong class="subtitle">Connect with Us</strong>
						<h2>We Would Love to Respond to your queries</h2>
						<p>Fill out the form and a remember from our team will get back to you <strong>within 24 hours.</strong></p>
					</header>
					<div class="row justify-content-between">
						<div class="col-12 col-md-6 mb-40 mb-md-0">
							<!-- Contact Form -->
							<form method="post" class="contac-form" action="#">
								<div class="row">
									<div class="col-12 mb-15 mb-md-20 mb-lg-25">
										<input name="first_name" class="form-control" type="text" placeholder="First Name *" required>
									</div>
									<div class="col-12 mb-15 mb-md-20 mb-lg-25">
										<input name="last_name" class="form-control" type="text" placeholder="Last Name *" required>
									</div>
									<div class="col-12 mb-15 mb-md-20 mb-lg-25">
										<input name="email" class="form-control" type="email" placeholder="Email *" required>
									</div>
									<div class="col-12 mb-15 mb-md-20 mb-lg-25">
										<input name="job" class="form-control" value="<?php $job = ""; if(isset($_GET['job'])){ $job = $_GET['job']; } echo $job; ?>" type="text" placeholder="Job *" required>
									</div>
									<div class="col-12 mb-15 mb-md-20 mb-lg-25">
										<input name="heading" class="form-control" type="text" placeholder="Subject *" required>
									</div>
									<div class="col-12 mb-15 mb-md-20 mb-lg-25">
										<input name="phone" class="form-control" type="number" placeholder="Mobile No *" required>
									</div>
									<div class="col-12 mb-15 mb-md-20 mb-lg-25">
										<textarea name="content" class="form-control" cols="30" rows="10" placeholder="Comment"></textarea>
									</div>
									<div class="col-12">
										<button class="btn btn-green btn-sm" name="submit"><span class="btn-text">Send Message</span></button>
									</div>
								</div>
							</form>
						</div>
						<div class="col-12 col-md-6 col-xl-5">
							<ul class="contact-support">
								<li>
									<div class="contact-box">
										<div class="icon-holder">
											<i class="icon-map-pin"></i>
										</div>
										<div class="textbox">
											<h3 class="h4">Location:</h3>
											<address>Paramathi Velur, Namakkal (Dt)</address>
										</div>
									</div>
								</li>
								<li>
									<div class="contact-box">
										<div class="icon-holder">
											<i class="icon-phone"></i>
										</div>
										<div class="textbox">
											<h3 class="h4">Phone No:</h3>
											<p>
												Open a chat or give us call at<br>
												<a href="tel:+918270070086">+918270070086</a>
											</p>
										</div>
									</div>
								</li>
								<li>
									<div class="contact-box">
										<div class="icon-holder">
											<i class="icon-mail1"></i>
										</div>
										<div class="textbox">
											<h3 class="h4">Email Address:</h3>
											<p>
												Responsive within 1-2 business days<br>
												<a style="font-size: 15px;" href="mailto:info@y1jobportal.in">info@y1jobportal.in</a>
												<a style="font-size: 15px;" href="mailto:y1jobportalmathan@gmail.com">y1jobportalmathan@gmail.com (CEO) </a>
											</p>
										</div>
									</div>
								</li>
								<li>
									<a href="#" class="btn btn-green btn-sm"><span class="btn-text">Support</span></a>
								</li>
							</ul>
						</div>
						<div class="col-12 mt-40 mt-md-60 mt-lg-80">
							<div class="map-holder">
								<!--<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3023.228235889099!2d-73.99838752347539!3d40.735003136206416!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c2599799c5d041%3A0x555f998519eaa4ce!2s26%20W%2012th%20St%2C%20New%20York%2C%20NY%2010011%2C%20USA!5e0!3m2!1sen!2s!4v1685637946572!5m2!1sen!2s" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>-->
							
							<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3907.367390017899!2d77.91263601055012!3d11.66835418849208!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3ba957cfb46db30d%3A0x6378d2f4c11f92e6!2sChinnappampatti%20-%20Jalakandapuram%20Rd%2C%20Tamil%20Nadu!5e0!3m2!1sen!2sin!4v1708763392596!5m2!1sen!2sin"  allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe></div>
						</div>
					</div>
				</div>
			</section>
			<section class="section section-theme-3 section-explores pt-0 pb-35 pb-md-50 pb-lg-75 pb-xl-100 pb-xxl-120">
				<div class="container">
					<div class="section-header mb-20 md-md-50 text-center">
						<h3 class="h6">Get hired in top companies</h3>
					</div>
					<ul class="sites-list">
						<li><a href="#"><img src="images/com-logo02-2-r.png" alt="Image Description"></a></li>
						<li><a href="#"><img src="images/com-logo01-1-r.png" alt="Image Description"></a></li>
						<li><a href="#"><img src="images/com-logo03-3-r.png" alt="Image Description"></a></li>
						<li><a href="#"><img src="images/com-logo04-4.png" alt="Image Description"></a></li>
						<li><a href="#"><img src="images/com-logo05-5.png" alt="Image Description"></a></li>
					</ul>
				</div>
			</section>
		</main>
		<!-- footer of the page -->
					<section class="section section-theme-1 section-downloads pt-35 pt-md-0 pb-50 pb-md-75 pb-lg-75 pb-xl-110 pb-xxl-150">
				<div class="container">
					<!-- Section header -->
					<header class="section-header text-center mb-30 mb-md-40 mb-lg-50">
						<h2>Download our mobile app</h2>
						<p>Search through millions of jobs and find the right fit.<br> Simply swipe right to apply.</p>
					</header>
					<div class="app-buttons">
						<a class="btn-app btn-play-store" href="https://play.google.com/store/apps/details?id=com.y1jobportal&pcampaignid=web_share" title="download">
							<div class="store-icon">
								<img src="images/icon-play-store.png" width="28" height="30" alt="Google Play">
							</div>
							<div class="btn-text">
								Download From <span>Google Play  </span>
							</div>
						</a>
						<!--<a class="btn-app btn-app-store" href="#">-->
						<!--	<div class="store-icon">-->
						<!--		<img src="images/icon-app-store.png" width="32" height="38" alt="App Store">-->
						<!--	</div>-->
						<!--	<div class="btn-text">-->
						<!--		Download From <span>App Store</span>-->
						<!--	</div>-->
						<!--</a>-->
					</div>
					<div class="icon ico01"><img src="images/ico-app01.png" alt="Image Description"></div>
					<!--<div class="icon ico03"><img src="images/ico-app03.png" alt="Image Description"></div>-->
					<div class="icon ico03"><img src="images/ico-app04.png" alt="Image Description"></div>
				</div>
			</section>
<?php
		include("footer.php");
		?>

Zerion Mini Shell 1.0