ok
Direktori : /home2/selectio/public_html/geniusgroove.in/ |
Current File : /home2/selectio/public_html/geniusgroove.in/enquiry.php |
<?php include 'header.php'?> <?php if(isset($_POST['submit'])){ try{ $name=$_POST['name']; $phone=$_POST['phone_number']; $email=$_POST['email']; $message = $_POST['message']; $qualification=$_POST['qualification']; $college_name=$_POST['college_name']; $to = "geniusgrooveofficial@gmail.com"; $subject = " I am $name contact for Message details!"; /*$message = "<b>This is HTML message.</b>"; $message .= "<h1>This is headline.</h1>";*/ //$header = "$email\r\n"; $header =""; $header .= "Name : ".$name."\r\n"; $header .= "Email : ".$email."\r\n"; $header .= "Phone Number : ".$phone."\r\n"; $header .= "Message : ".$message."\r\n"; $header .="Qualification :".$qualification."\r\n"; $header .="College Name :".$college_name."\r\n"; $retval = mail ($to,$subject,$header); 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; } } ?> <style> .input{ border-style: solid; border-color: rgb(201, 76, 76); } </style> <div class="container"> <script src="https://cdn.tailwindcss.com"></script> <form action="" method="post"> <section class="py-24"> <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"> <div class="grid lg:grid-cols-2 grid-cols-1"> <div class="lg:mb-0 mb-10"> <div class="group w-full h-full"> <div class="relative h-full"> <img src="https://pagedone.io/asset/uploads/1696488602.png" alt="ContactUs tailwind section" class="w-full h-full lg:rounded-l-2xl rounded-2xl bg-blend-multiply bg-indigo-700"/> <h1 class="font-manrope text-white text-4xl font-bold leading-10 absolute top-11 left-11">Enquiry</h1> <div class="absolute bottom-0 w-full lg:p-11 p-5"> <div class="bg-white rounded-lg p-6 block"> <a href="javascript:;" class="flex items-center mb-6"> <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M22.3092 18.3098C22.0157 18.198 21.8689 18.1421 21.7145 18.1287C21.56 18.1154 21.4058 18.1453 21.0975 18.205L17.8126 18.8416C17.4392 18.9139 17.2525 18.9501 17.0616 18.9206C16.8707 18.891 16.7141 18.8058 16.4008 18.6353C13.8644 17.2551 12.1853 15.6617 11.1192 13.3695C10.9964 13.1055 10.935 12.9735 10.9133 12.8017C10.8917 12.6298 10.9218 12.4684 10.982 12.1456L11.6196 8.72559C11.6759 8.42342 11.7041 8.27233 11.6908 8.12115C11.6775 7.96998 11.6234 7.82612 11.5153 7.5384L10.6314 5.18758C10.37 4.49217 10.2392 4.14447 9.95437 3.94723C9.6695 3.75 9.29804 3.75 8.5551 3.75H5.85778C4.58478 3.75 3.58264 4.8018 3.77336 6.06012C4.24735 9.20085 5.64674 14.8966 9.73544 18.9853C14.0295 23.2794 20.2151 25.1426 23.6187 25.884C24.9335 26.1696 26.0993 25.1448 26.0993 23.7985V21.2824C26.0993 20.5428 26.0993 20.173 25.9034 19.8888C25.7076 19.6046 25.362 19.4729 24.6708 19.2096L22.3092 18.3098Z" stroke="#4F46E5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </svg> <h5 class="text-black text-base font-normal leading-6 ml-5">+91-7200 7372 86</h5> </a> <a href="https://veilmail.io/irish-geoff" class="flex items-center mb-6"> <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M2.81501 8.75L10.1985 13.6191C12.8358 15.2015 14.1544 15.9927 15.6032 15.9582C17.0519 15.9237 18.3315 15.0707 20.8905 13.3647L27.185 8.75M12.5 25H17.5C22.214 25 24.5711 25 26.0355 23.5355C27.5 22.0711 27.5 19.714 27.5 15C27.5 10.286 27.5 7.92893 26.0355 6.46447C24.5711 5 22.214 5 17.5 5H12.5C7.78595 5 5.42893 5 3.96447 6.46447C2.5 7.92893 2.5 10.286 2.5 15C2.5 19.714 2.5 22.0711 3.96447 23.5355C5.42893 25 7.78595 25 12.5 25Z" stroke="#4F46E5" stroke-width="2" stroke-linecap="round"/> </svg> <h5 class="text-black text-base font-normal leading-6 ml-5">info@geniusgroove.in</h5> </a> <a href="javascript:;" class="flex items-center"> <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M25 12.9169C25 17.716 21.1939 21.5832 18.2779 24.9828C16.8385 26.6609 16.1188 27.5 15 27.5C13.8812 27.5 13.1615 26.6609 11.7221 24.9828C8.80612 21.5832 5 17.716 5 12.9169C5 10.1542 6.05357 7.5046 7.92893 5.55105C9.8043 3.59749 12.3478 2.5 15 2.5C17.6522 2.5 20.1957 3.59749 22.0711 5.55105C23.9464 7.5046 25 10.1542 25 12.9169Z" stroke="#4F46E5" stroke-width="2"/> <path d="M17.5 11.6148C17.5 13.0531 16.3807 14.219 15 14.219C13.6193 14.219 12.5 13.0531 12.5 11.6148C12.5 10.1765 13.6193 9.01058 15 9.01058C16.3807 9.01058 17.5 10.1765 17.5 11.6148Z" stroke="#4F46E5" stroke-width="2"/> </svg> <h5 class="text-black text-base font-normal leading-6 ml-5">RCC Complex, Angammal Colony, Salem, Tamil Nadu 636009 </h5> </a> </div> </div> </div> </div> </div> <div class="bg-gray-50 p-5 lg:p-11 lg:rounded-r-2xl rounded-2xl"> <h2 class="text-indigo-600 font-manrope text-4xl font-semibold leading-10 mb-11">Send Us A Enquiry</h2> <input type="text" name="name" class="bor w-full h-12 text-gray-600 placeholder-gray-400 shadow-sm bg-transparent text-lg font-normal leading-7 rounded-full border border-gray-200 focus:outline-none pl-4 mb-10" placeholder="Name"> <input type="text" name="email" class="bor w-full h-12 text-gray-600 placeholder-gray-400 shadow-sm bg-transparent text-lg font-normal leading-7 rounded-full border border-gray-200 focus:outline-none pl-4 mb-10" placeholder="Email"> <input type="text" name="phone_number" class="bor w-full h-12 text-gray-600 placeholder-gray-400 shadow-sm bg-transparent text-lg font-normal leading-7 rounded-full border border-gray-200 focus:outline-none pl-4 mb-10" placeholder="Phone"> <input type="text" name="qualification" class="bor w-full h-12 text-gray-600 placeholder-gray-400 shadow-sm bg-transparent text-lg font-normal leading-7 rounded-full border border-gray-200 focus:outline-none pl-4 mb-10" placeholder="Qualification"> <input type="text" name="college_name" class="bor w-full h-12 text-gray-600 placeholder-gray-400 shadow-sm bg-transparent text-lg font-normal leading-7 rounded-full border border-gray-200 focus:outline-none pl-4 mb-10" placeholder="College Name"> <textarea name="message" class="bor w-full h-12 text-gray-600 placeholder-gray-400 shadow-sm bg-transparent text-lg font-normal leading-7 rounded-full border border-gray-200 focus:outline-none pl-4 mb-10" placeholder="Message"></textarea> <!--<div class="mb-10">--> <!-- <h4 class="text-gray-500 text-lg font-normal leading-7 mb-4">Preferred method of communication</h4>--> <!-- <div class="flex">--> <!-- <div class="flex items-center mr-11">--> <!-- <input id="radio-group-1" type="radio" name="radio-group" class="hidden checked:bg-no-repeat checked:bg-center checked:border-indigo-500 checked:bg-indigo-100">--> <!-- <label for="radio-group-1" class="flex items-center cursor-pointer text-gray-500 text-base font-normal leading-6">--> <!-- <span class="border border-gray-300 rounded-full mr-2 w-4 h-4 ml-2 "></span> Email --> <!-- </label>--> <!-- </div>--> <!-- <div class="flex items-center">--> <!-- <input id="radio-group-2" type="radio" name="radio-group" class="hidden checked:bg-no-repeat checked:bg-center checked:border-indigo-500 checked:bg-indigo-100">--> <!-- <label for="radio-group-2" class="flex items-center cursor-pointer text-gray-500 text-base font-normal leading-6">--> <!-- <span class="border border-gray-300 rounded-full mr-2 w-4 h-4 ml-2 "></span> Phone --> <!-- </label>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <!--<input type="submit" name="submit" value="Send Message" class="w-full h-12 text-gray-600 placeholder-gray-400 bg-transparent text-lg shadow-sm font-normal leading-7 rounded-full border border-gray-200 focus:outline-none pl-4 mb-10" placeholder="Message">--> <button name="submit" value="Send Message" class="w-full h-12 text-white text-base font-semibold leading-6 rounded-full transition-all duration-700 hover:bg-indigo-800 bg-indigo-600 shadow-sm" placeholder="Message">Send</button> </div> </div> </section> </form> </div> <?php include 'footer.php'; ?> <style> .bor{ border: 1px solid #9f9f8e !important; } </style>