Şuanki Dizin: /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/contact-us.php |
<?php require_once("78enc22_main7sqww_8d9/lib/functions.php"); $db =new login_function(); $contact_error=""; $succ_flag= 0; $flag = 0; if(isset($_POST['add_btn'])) { $name = $_POST['name']; $email = $_POST['email']; $phone = $_POST['contact']; $feedback = $_POST['feedback']; if(!is_numeric($phone)) { $contact_error = "Please enter numeric phone no"; $flag = 1; } else if(strlen($phone)<10 OR strlen($phone)>10) { $contact_error = "Please enter valid 11 digit phone no"; $flag = 1; } if($flag == 0) { // the message $msg = "Name : ".$name."<br /> Email ID : ".$email."<br />Phone No :".$phone."<br /> Message : ".$feedback; // use wordwrap() if lines are longer than 70 characters $msg = wordwrap($msg,70); // send email mail("svsmdspolytechnic@gmail.com","CONTACT US SECTION - WEBSITE",$msg); if($db->add_feedback($name,$email,$phone,$feedback)) { $succ_flag = 1; } } } ?> <?php require_once("header.php"); ?> <?php require_once("header.php"); ?> <div class="parent_colour container"> <div class="department-main-section" style="min-height:600px;"> <br /> <center><h2 class="head-title">Conatct Us</h2> <div class="col-md-5 contact-info text-left"> <h3>contact information</h3> <div class="info-detail"> <ul><li><i class="fa fa-calendar"></i><span>Monday - Saturday:</span> 09:00 AM to 05:00 PM</li></ul> <ul><li style="line-height:0px;"><i class="fa fa-map-marker"></i><span>Address:</span> 604/2, NEAR BHAKTA NIWAS, GANGAPUR ROAD, AKKALKOT. DIST-SOLAPUR, State : Maharashtra-413216. </li></ul> <ul style="margin-top:25px;"><li style="line-height:0px;"><i class="fa fa-map-marker"></i><span>Nearest Railway Station :</span> Akkalkot Station – 11 km</li></ul> <ul><li style="line-height:0px;"><i class="fa fa-map-marker"></i><span>Nearest Airport :</span> Solapur – 34Km</li></ul> <ul style="margin-top:0px;"><li><i class="fa fa-phone"></i><span>Phone:</span> 02181 221321</li></ul> <ul><li><i class="fa fa-envelope"></i><span>Email:</span> svsmdpolytechnic@gmail.com</li></ul> <ul><li><i class="fa fa-envelope"></i><span>Website:</span> <a href="http://www.swamipolytechnic.org.in" style="color:#FFFFFF;">www.swamipolytechnic.org.in</a></li></ul> </div> </div> <div class="col-md-6 col-md-offset-1 contact-form"> <?php if($succ_flag==1) { ?> <center><span style="color:yellow;font-size:20px;">Your message sent sucessfully</span></center> <?php } ?> <h3>leave us a message</h3> <form class="form" method="post"> <input class="name" type="text" placeholder="Name" name="name" required> <input class="email" type="email" placeholder="Email" name="email" required> <input class="phone" type="text" placeholder="Phone No:" name="contact" required> <h4><span style="color:white;float:left;"><?php echo $contact_error; ?></span> <textarea class="message" id="message" cols="30" rows="10" placeholder="Message" name="feedback" required></textarea> <input class="submit-btn" type="submit" value="SUBMIT" name="add_btn" style="background-color:ORANGERED; float:left; margin-left:150px;"> </form> </div> <!--<img src="/images/akkalkoat-swami-polytechnic.jpg" style="width:100%;" />--> </div> <!-- map section --> <div class="api-map" id="contact"> <div class="container-fluid"> <div class="row"> <iframe src="https://www.google.com/maps/embed?pb=!1m23!1m12!1m3!1d11697.090460123134!2d76.20478380372872!3d17.516156449766573!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m8!3e6!4m0!4m5!1s0x3bc609a7e6bf55c5%3A0x54956186180f70c8!2sswami+polytechnic+akkalkot+map!3m2!1d17.515254!2d76.212716!5e1!3m2!1sen!2sin!4v1503601471211" width="100%" height="450" frameborder="0" style="border:0" allowfullscreen></iframe> </div> </div> </div><!-- end of map section --> <?php require_once("footer.php"); ?> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4