?
Current Path : /home1/savoy/public_html/savoyeducation.com/Backup23-11-16/application/views/site/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyeducation.com/Backup23-11-16/application/views/site/contact.php |
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <?php $this->load->view('site/header-contact'); ?> <script type="text/javascript"> function validateForm() { var x=document.forms["contact_form"]["name"].value; var y=document.forms["contact_form"]["email"].value; var z=document.forms["contact_form"]["message"].value; if (x==null || x=="") { alert("Please enter your name"); return false; } if (y==null || y=="") { alert("Please enter your email"); return false; } if (z==null || z=="") { alert("Please enter a message"); return false; } } </script> <!--form start --> <link href="<?=base_url();?>assets/css/responsiveform.css" rel="stylesheet" type="text/css" /> </head> <body> <?php $this->load->view('site/menu'); ?> <div id="wrapper"> <!-- Home Content Part - Box Three ================================================== ================================================== --> <div class="container boxtwo"> <div class="inner_ban"> <img src="<?=base_url()?>assets/images/contact_inner.jpg"/></div> <div class="boxtwo_clear"></div> <div class="second_one"> <section class="boxtwoleft"> <form name="contact_form" action="<?=site_url();?>/site/insert_contact" method="post" id="contactform" onsubmit="return validateForm()" > <!-- To make a responsive form each element of the form should be in a separate div.!--> <div id="form_responsive"> <div> <label for="name"> Your Name </label> <div><Input type="text" Name="name" Placeholder="Enter Name" width="100px;" autofocus></div> </div> <div> <label for="email"> Email Id </label> <div><Input type="text" Name="email" Placeholder="yourname@gmail.com"></div> </div> <div> <label for="contact"> Contact Number </label> <div><Input type="tel" Name="contactno" Placeholder="Enter Number"></div> </div> <div> <label for="website"> Subject </label> <div><Input type="text" Name="subject" /></div> </div> <div> <label for="message"> Message </label> <div><textarea id="comment" Name="message" rows="10" cols="15" Placeholder="Message"></textarea></div> </div> <div> <div class="buttons"> <input type="image" name="imageField" id="imageField" src="<?=base_url()?>assets/images/send.gif" class="send" /> <div class="clr"></div> </div> </div> </div> </form> </section> </div> <!-- one-third column ends here --> <div class="second_two lastcolumn"> <section class="boxtworight"> <div class="in_contact_info"> <h3 class="contact_info_head">Savoy Education Center </h3> <span class="adress_bar_01">Po Box 200203</span> <span class="adress_bar_01">Doha, Qatar</span> <span class="adress_bar_01">T: +974 6614 7458</span> <span class="adress_bar_01">T: +974 5519 6752</span> <br /> <span class="adress_bar_01 info_link">E-mail: <a href="mailto:info@savoyeducation.com?Subject=" target="_top">info@savoyeducation.com</a></span> <span class="adress_bar_01"><a href="http://www.savoyeducation.com">www.savoyeducation.com</a></span> </section> </div> <!-- one-third column ends here --> </div> <!-- container ends here --> </section> <?php $this->load->view('site/footer'); ?> </div> </body>