Файловый менеджер - Редактировать - /home/d46091/udyamonlineregistration.org/contact-us.php
Назад
<?php $current_url = strtolower($_SERVER['SERVER_NAME']); include("config.php"); if(isset($_POST['submit'])){ $applicant_name = $_POST['applicant_name']; $mobile_number = $_POST['mobile_number']; $email_id = $_POST['email_id']; $sql= "INSERT INTO contact_form SET applicant_name ='".$applicant_name."', mobile_number = '".$mobile_number."',email_id ='".$email_id."'"; if (!$result = $conn->query($sql)) { die('There was an error running the query [' . $conn->error . ']'); } $to = "care@udyamonlineregistration.org"; // this is your Email address $from = $email_id; // this is the sender's Email address $name = $applicant_name; $mobile_no = $mobile_number; $subject = "Contact Form submission"; //$subject2 = "Contact form submission"; $message = " Applicant Name : " . $name ."\n Mobile Name : ". $mobile_no ."\n Email Id : ". $from ."\n "; //$message2 = "Thank you " . $name . " we will contact you shortly."; $headers = "From:" . $from; // $headers2 = "From:" . $to; mail($to,$subject,$message,$headers); //mail($from,$subject2,$message2,$headers2); // sends the message to the sender echo '<script>alert("Thank you , we will contact you shortly.")</script>'; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Contact Us to Udyam Org</title> <meta name="description" content="Contact us to our team of udyamregiter.in who are always available for you to solve all your Queries. "> <link rel="icon" href="./assets/img/flag.png" type="image/gif" sizes="16x16"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap" rel="stylesheet"> <link rel="stylesheet" href="../main.css"> <style> .container-fluid.fcs-padding-container { background: #ffffff !important; } </style> </head> <body> <?php include 'header.php'; ?> <!-- Tabbar --> <div class="container fcs-form-container"> <div class="container-fluid fcs-padding-container"> <h1 class="fcs-bold-text-white">Contact Us</h1> <div class="card-text" style="margin-top: 30px; text-align: left;"> <div class="row"> <div class="col-lg-6 mx-auto"> <div class="col-lg-12"> <!--<h2 class="text-center">Fill Form to contact Us</h2>--> <form action="contact-us.php" method="post" style="padding:30px;"> <div class="form-group"> <label>Name:</label> <input type="text" name="applicant_name" class="form-control" required> </div> <div class="form-group"> <label>Mobile No:</label> <input type="tel" name="mobile_number" class="form-control" required> </div> <div class="form-group"> <label>Email: </label> <input type="text" name="email_id" class="form-control" required> </div> <br> <!--<label>Message:</label><br><textarea rows="5" name="message" cols="30"></textarea><br>--> <input type="submit" class="btn btn-primary fcs-submit-button" name="submit" value="Submit"> </form> </div> </div> <div class="col-lg-6 mx-auto"> <div class="col-lg-12"> <form> <div class="form-group" style="margin-top: 15px;"> <label class="fcs-text-dark"><b>APPLICANT NAME</b> <br> Applicant Need To Provide His/her Name As Given On Pan Card<br> आवेदक को पैन कार्ड पर दिया गया अपना नाम प्रदान करना होगा </label> </div> <div class="form-group" style="margin-top: 30px;"> <label class="fcs-text-dark"><b>MOBILE NO</b> <br> Applicant Need To Fill Correct Mobile Number To Get Notification <br> अधिसूचना प्राप्त करने के लिए आवेदक को सही मोबाइल नंबर भरना होगा </label> </div> <div class="form-group" style="margin-top: 30px;"> <label class="fcs-text-dark"><b>EMAIL:</b> <br> Applicant Need To Provide Correct Email Id To Receive Notification Related To Udyam Certificate <br> आवेदक को उद्यम प्रमाणपत्र से संबंधित अधिसूचना प्राप्त करने के लिए सही ईमेल आईडी प्रदान करने की आवश्यकता है </label> </div> <div class="form-group" style="margin-top: 30px;"> <label class="fcs-text-dark"><b>SUBMIT :</b> <br> After Filling All The Details In Contact Form , Applicant Need To Click On Submit Button <br> संपर्क प्रपत्र में सभी विवरण भरने के बाद, आवेदक को सबमिट बटन पर क्लिक करना होगा। </label> </div> </form> </div> </div> </div><br> <div> We Are Here To Assist You In Your Udyam Registration Process! Fill Out The Form And Our Team Will Get In Touch With You Shortly To Guide You Through The Udyam Registration Process And Answer Any Queries You May Have.<br><br> Please Provide Us With Your Contact Details And A Brief Message Outlining Your Udyam Registration Needs. Our Experts Will Ensure A Smooth And Hassle-free Registration Experience For Your Business.<br><br> हम आपकी उद्यम पंजीकरण प्रक्रिया में आपकी सहायता के लिए यहां हैं! फॉर्म भरें और हमारी टीम उद्यम पंजीकरण प्रक्रिया में आपका मार्गदर्शन करने और आपके किसी भी प्रश्न का उत्तर देने के लिए शीघ्र ही आपसे संपर्क करेगी।<br><br> कृपया हमें अपना संपर्क विवरण और अपनी उद्यम पंजीकरण आवश्यकताओं को रेखांकित करने वाला एक संक्षिप्त संदेश प्रदान करें। हमारे विशेषज्ञ आपके व्यवसाय के लिए एक सहज और परेशानी मुक्त पंजीकरण अनुभव सुनिश्चित करेंगे। </div><br> <div style="text-align:center"> Email id : <?php echo 'care@'.$current_url;?> <br><br> <b>Note :</b> Please submit you details our representative will get back to you shortly.<br><br> Note : For quick resolution we advise our clients to click <a href="complaint-form.php">Here</a> and submit your grievance. </div> </div> </div> </div> <?php include 'footer.php'; ?> <!-- Custom JS --> <script src="./assets/js/nav.js"></script> <script src="./assets/js/util.js"></script> <script src="./assets/js/main.js"></script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка