?
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/student/ |
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/www/savoyglobal.net/eldertree/application/views/student/parents_details.php |
<script type="text/javascript"> $(document).ready(function(){ $('input:radio').checkbox({ cls : 'radio-button', empty : "<?= base_url() ?>/assets/img/sprites/forms/checkboxes/empty.png" }); }); function displayformdata1(controller,controllerfunction,id,table,field,page,returnpage) { $("#uploaddiv").empty().html('<CENTER><img src="<?= base_url() ?>assets/img/loading.gif" class="loading"/></CENTER>'); $("#uploaddiv").load("<?= site_url() ?>/"+controller+'/'+controllerfunction+'/'+id+'/'+table+'/'+field+'/'+page); $(".inliexample2").colorbox({width:"90%",height:"90%", inline:true, href:"#uploaddiv"}); } </script> <?php //$this->load->view('documentreadyfunctions'); ?> <h3 class="form-section">Parents Details </h3> <table id="table-example" class="table table-striped table-hover table-bordered"> <thead> <tr> <th id="sl">Sl No</th> <th>Father Name</th> <th>Father Qatar Id </th> <th>Father Mobile No</th> <th>Mother Name</th> <th>Mother Qatar Id </th> <th>Select</th> </tr> </thead> <tbody> <?php $i = 1; foreach ($viewinfo as $row) { ?> <tr> <td id="sl"> <?= $i ?> </td> <td> <a class="inliexample2" href="#" onclick="displayformdata1('student','single_page','<?= $row['parent_id'] ?>','parent','parent_id','single_parent')"> <?= $row['father_name'] ?></a> </td> <td> <?= $row['father_qatar_id_no'] ?> </td> <td> <?= $row['father_mobile_no']; ?> </td> <td> <?= $row['mother_name'] ?> </td> <td> <?= $row['mother_qatar_id_no'] ?> </td> <td style="padding-left: 45px"> <input type="radio" <?php if ($i == 1) { echo 'checked'; } ?> name="parent_id" id="parent_id<?= $row['parent_id'] ?>" value="<?= $row['parent_id'] ?>" /> </td> </tr> <?php $i++; } ?> </tbody> </table> <div style='display:none'> <div id="uploaddiv" class="container_12"> </div> </div>