MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.227.48.131
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/nextvisioneducation.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/nextvisioneducation.com/home-contact.php
<?php
    if (isset($_POST['submit'])) {
        $name = mysqli_real_escape_string($db, $_POST['name']);
        $phone = mysqli_real_escape_string($db, $_POST['phone']);
        $email = mysqli_real_escape_string($db, $_POST['email']);
        $subject = mysqli_real_escape_string($db, $_POST['subject']);
        $message = mysqli_real_escape_string($db, $_POST['message']);

        $insert = "INSERT INTO tbl_queries(name, phone, email, subject, message)
                    VALUES ('$name', '$phone', '$email', '$subject', '$message')";
        $query = mysqli_query($db, $insert);

        if ($query) {
            echo ("<script>
                    window.alert('Successfully Sent Your Query.');
                    window.location.href='index.php';
                    </script>");

            mysqli_close($db);
        } else {
            echo ("<script>
                    window.alert('Failed To Send Your Query.');
                    window.location.href='index.php';
                    </script>");
        }
    }
?>


<div class="appoitment-area">
		<div class="images-overlay"></div>
		<div class="container">
			<div class="row">
				<div class="col-md-6 col-sm-6 col-xs-12">
					<div class="faq-sec">
						<div class="faq-single">
							<div class="media">
								<div class="media-left">
									<div class="icon">
										<img src="<?php echo $wspath ?>img/icon/question.png" alt />
									</div>
								</div>
								<div class="media-body">
									<h2>Can I help 24/7</h2>
									<p>Next Vision Computer: Excel, Tally, and 24/7 Computer Courses Support. Can I Help?</p>
								</div>
							</div>
						</div>
						<div class="faq-single">
							<div class="media">
								<div class="media-left">
									<div class="icon">
										<img src="<?php echo $wspath ?>img/icon/question.png" alt />
									</div>
								</div>
								<div class="media-body">
									<h2>Can I refund payment</h2>
									<p>Refund policy: "Refunds available within 10 days of purchase. Terms apply.</p>
								</div>
							</div>
						</div>
						<div class="faq-single">
							<div class="media">
								<div class="media-left">
									<div class="icon">
										<img src="<?php echo $wspath ?>img/icon/question.png" alt />
									</div>
								</div>
								<div class="media-body">
									<h2>How many year's exprience</h2>
									<p>Next Vision Computer: Empowering Futures with 7 Years Expertise in Excel, Tally, and Comprehensive Computer Courses.</p>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<div class="appointment-form">
						<h2>Get A Quote</h2>
						<form action="<?php $_PHP_SELF ?>" method="POST">
							<fieldset>
								<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
									<div class="sngl-field">
										<input placeholder="Name" name="name" type="text"/>
									</div>
								</div>
								<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
									<div class="sngl-field">
										<input placeholder="Phone" name="phone" type="text"/>
									</div>
								</div>
								<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
									<div class="sngl-field">
										<input placeholder="E-mail" name="email" type="email" required/>
									</div>
								</div>
								<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
									<div class="sngl-field">
									  <label for="cars" name="subject" style="color:white;">Choose Service:</label>
                                        <select id="cars" name="cars">
                                          <option value="volvo" style="color:white;">Bigners Computer Course</option>
                                          <option value="saab" style="color:white;">Basic Computer Course</option>
                                          <option value="fiat" style="color:white;">Web Designinig Computer</option>
                                          <option value="fiat" style="color:white;">Graphic Designing Course</option>
                                          <option value="fiat" style="color:white;">Data Entery Course</option>
                                          <option value="fiat" style="color:white;">Advance Computer Course</option>
                                          <option value="fiat" style="color:white;">EXcel Excetel Course</option>
                                          <option value="fiat" style="color:white;">Tally With GST Course</option>
                                          <!--<option value="audi">Audi</option>-->
                                        </select>
									<!--<input type="text" placeholder="Subject"   name="subject">-->
									</div>
								</div>
								<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
									<div class="sngl-field mt-2">
										<textarea placeholder="Message" rows="4" cols="50" name="message"></textarea>
									</div>
								</div>
								<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
									<div class="filed-submitbtn">
										<input value="Submit Message" name="submit" type="submit" />
									</div>
								</div>
							</fieldset>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	

MMCT - 2023