?
Current Path : /home1/savoy/public_html/savoyglobal.net/chess2015open/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/savoyglobal.net/chess2015open/application/views/site/registration.php |
<!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'); ?> </head> <body> <?php $this->load->view('site/menu'); ?> <div id="container"> <div class="banner"> <div class="banner_top"></div><!--banner_top end--> <div class="banner_mid_inner"><img src="<?= base_url() ?>assets/images/banners/registration.jpg" alt="About Savoy Global"/></div><!--banner_mid end--> <div class="banner_bot"></div><!--banner_bot end--> </div><!--banner end--> <div class="content"> <div class="content_left_contact"> <h6>Registration</h6> <p style="text-align:center; background-color: #0067b9; color:#fff; font-size: 18px;">Registration Fee: QR 30/- payable as Entry Fee on the day of the tournament at the venue.</p> <script type="text/javascript" src="<?= base_url() ?>assets/js/jquery-1.10.1.min.js"></script> <script type="text/javascript" src="<?= base_url() ?>assets/js/maskedinput.min.js"></script> <script type="text/javascript" src="<?= base_url() ?>assets/js/prototype.forms.js"></script> <script type="text/javascript" src="<?= base_url() ?>assets/js/jotform.forms.js"></script> <script type="text/javascript"> JotForm.init(function(){ JotForm.setInputTextMasking( 'father_mobile', '974########' ); JotForm.setInputTextMasking( 'mother_mobile', '974########' ); }); </script> <link href="<?= base_url() ?>assets/css/formstyle.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .form-label{ width:150px !important; } .form-label-left{ width:150px !important; } .form-line{ padding:10px; } .form-label-right{ width:150px !important; } .form-all{ width:650px; color:Black !important; font-family:Verdana; font-size:12px; } </style> <script type="text/javascript"> // JotForm.init(); function calcDate() { var d1 = document.getElementById('date_of_birth').value; d1 = parseDate(d1); var d2 = parseDate('21-02-2015'); var age = d2.getFullYear() - d1.getFullYear(); var m = d2.getMonth() - d1.getMonth(); if (m < 0 || (m === 0 && d2.getDate() < d1.getDate())) { age--; } if(age > 14) { alert('Sorry you are not eligible , your age is '+age); document.getElementById("date_of_birth").value = ''; } // alert(age); } function parseDate(input) { var parts = input.match(/(\d+)/g); // new Date(year, month [, date [, hours[, minutes[, seconds[, ms]]]]]) return new Date(parts[2], parts[1]-1, parts[0]); // months are 0-based } // function calcDate() // { // var d1 = document.getElementById('date_of_birth').value; // d1 = parseDate(d1); // var d2 = parseDate('21-02-2015'); // var diff = d2.getTime() - d1.getTime(); // alert(Math.floor(diff / (1000 * 60 * 60 * 24 * 365.25))); // } </script> <?php $attributes = array('class'=>'jotform-form','name'=>'form_12764552159','id'=>'12764552159'); echo form_open_multipart("site/insert_registration",$attributes); ?> <input type="hidden" name="formID" value="23121368167451" /> <div class="form-all"> <ul class="form-section"> <li class="form-line" id="id_1"> <label class="form-label-left" id="label_1" for="input_1"> Name<span class="form-required">*</span> </label> <div id="cid_1" class="form-input"> <input type="text" class="form-textbox validate[required]" id="fullname" name="fullname" /> </div> </li> <li class="form-line" id="id_2"> <label class="form-label-left" id="label_2" for="input_3"> Gender<span class="form-required">*</span> </label> <div id="cid_2" class="form-input"> <select name="gender" class="validate[required]" > <option value="">--Select--</option> <option value="Male">Male</option> <option value="Female">Female</option> </select> </div> </li> <li class="form-line" id="id_3"> <label class="form-label-left" id="label_3" for="input_3"> School Name<span class="form-required">*</span> </label> <div id="cid_3" class="form-input"> <input type="text" class="validate[required]" id="school_name" name="school_name" /> </div> </li> <li class="form-line" id="id_4"> <label class="form-label-left" id="label_4" for="input_4"> Date of birth & proof<span class="form-required">*</span> </label> <div id="cid_4" class="form-input"> <input type="text" class="validate[required]" id="date_of_birth" name="date_of_birth" onblur="calcDate()" /> <input type="file" name="proof" id="proof" /> </div> </li> <li class="form-line" id="id_5"> <label class="form-label-left" id="label_5" for="input_5"> Father's Name<span class="form-required">*</span> </label> <div id="cid_5" class="form-input"> <input type="text" class="validate[required]" id="father_name" name="father_name" /> </div> </li> <li class="form-line" id="id_6"> <label class="form-label-left" id="label_6" for="input_6"> Father's Mobile Number<span class="form-required">*</span> </label> <div id="cid_6" class="form-input"> <input type="text" masked="true" class="form-textbox validate[required]" id="father_mobile" name="father_mobile" /> </div> </li> <li class="form-line" id="id_7"> <label class="form-label-left" id="label_7" for="input_7"> Father's Email ID<span class="form-required">*</span> </label> <div id="cid_7" class="form-input"> <input type="email" class="form-textbox validate[required, Email]" id="father_email" name="father_email" /> </div> </li> <li class="form-line" id="id_8"> <label class="form-label-left" id="label_8" for="input_8"> Mother's Name<span class="form-required">*</span> </label> <div id="cid_8" class="form-input"> <input type="text" class="validate[required]" id="mother_name" name="mother_name" /> </div> </li> <li class="form-line" id="id_9"> <label class="form-label-left" id="label_9" for="input_9"> Mother's Mobile Number<span class="form-required">*</span> </label> <div id="cid_9" class="form-input"> <input type="text" class="validate[required]" class="form-textbox" id="mother_mobile" name="mother_mobile" /> </div> </li> <li class="form-line" id="id_10"> <label class="form-label-left" id="label_10" for="input_10"> Mother's Email ID </label> <div id="cid_10" class="form-input"> <input type="email" class="form-textbox" id="mother_email" name="mother_email" /> </div> </li> <li class="form-line" id="id_2"> <div id="cid_2" class="form-input-wide"> <div style="margin-left:156px" class="form-buttons-wrapper"> <button id="input_2" type="submit" class="form-submit-button"> Submit </button> </div> </div> </li> <li style="display:none"> Should be Empty: <input type="text" name="website" value="" /> </li> </ul> </div> <input class="" type="hidden" id="status" name="status" value="Pending"/> <?php form_close(); ?> </div><!--content_left end--> <?php $this->load->view('site/contact_right'); ?> </div><!--content end--> <script src="<?=base_url()?>assets/js/jquery.maskedinput.js" type="text/javascript"></script> <script type="text/javascript"> jQuery(function($){ $("#date_of_birth").mask("99-99-9999",{placeholder:"dd-mm-yyyy"}); }); </script> </div><!--container end--> <?php $this->load->view('site/footer'); ?> </body> </html>