ok

Mini Shell

Direktori : /home2/selectio/www/caliberembedded.com/
Upload File :
Current File : /home2/selectio/www/caliberembedded.com/apply.php

<?php include 'header.php'; ?>

<style>
    .main-banner-in {
    position: relative;
    background-color: #fbfaff;
    padding-top: 138px;
    padding-bottom: 82px;
    text-align: center;
}

.main-contact-page-in {
    padding-top: 50px;
    padding-bottom: 120px;
}
</style>

<?php 
if(isset($_POST['add_user'])){
      
        $statement = $pdo->prepare("INSERT INTO `tbl_user`(`name`,`email`,`phone`,`address`,`message`) VALUES (?,?,?,?,?)");
            $result=$statement->execute(array($_POST['name'],$_POST['email'],$_POST['phone'],$_POST['address'],$_POST['message']));
                    
                    if($result){
                        echo '<script> alert("Message sended successfully..."); </script>';
                    }else{
                         echo '<script> alert("Something Went Wrong.."); </script>';
    
                    }  
} 

?>

 <section class="main-banner-in">
        <span class="shape-1 animate-this">
            <img src="assets/images/shape-1.png" alt="shape">
        </span>
        <span class="shape-2 animate-this">
            <img src="assets/images/shape-2.png" alt="shape">
        </span>
        <span class="shape-3 animate-this">
            <img src="assets/images/shape-3.png" alt="shape">
        </span>
        <span class="shape-4 animate-this">
            <img src="assets/images/shape-4.png" alt="shape">
        </span>
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="h1-title">Apply Now</h1>
                </div>
            </div>
        </div>
    </section>
    
     <div class="main-banner-breadcrum">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="banner-breadcrum">
                        <ul>
                            <li><a href="index.php">Home</a></li>
                            <li><i class="fa fa-angle-right" aria-hidden="true"></i></li>
                            <li><a href="contact-us.php">Apply Now</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <section class="main-contact-page-in">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-12">
                    <div class="get-touch-box">
                        <div class="get-touch-title">
                            <!--<h2 class="h2-subtitle">Get In Touch</h2>-->
                            <h2 class="h2-title">Ready To Get Started</h2>
                        </div>
                        <div class="get-touch-form">
                            <form method="post">
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="form-box">
                                            <input type="text" name="name" class="form-input" placeholder="Full Name" required>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-box">
                                            <input type="email" name="email" class="form-input" placeholder="Email Address" required>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-box">
                                            <input type="text" name="phone" class="form-input" placeholder="Phone No." required>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="form-box">
                                            <input type="text" name="address" class="form-input" placeholder="Address" required>
                                        </div>
                                    </div>
                                    <div class="col-12">
                                        <div class="form-box">
                                            <textarea class="form-input" name="message" placeholder="Message..."></textarea>
                                        </div>
                                    </div>
                                    <div class="col-12">
                                        <div class="form-box mb-0">
                                            <button type="submit" name="add_user" class="sec-btn"><span>Submit Now</span></button>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
 
    
    



<?php include 'footer.php'; ?>

Zerion Mini Shell 1.0