?
Current Path : /home1/savoy/www/savoyglobal.net/sec_old/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/sec_old/application/views/student/view_parents.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/add.png" title="Add New" class="clickimage" onclick="addformdisplay('add_parents','student')" alt="Add New" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Parents Details</h4> </div> </div> <div class="grid_12"> <div class="box"> <div class="header"> </div> <div class="content"> <table id="table-example" class="table"> <thead> <tr> <th id="sl">Sl No</th> <th>Father Name</th> <th>Father No</th> <th>Mother Name</th> <th>Mother No</th> <th>Student Name</th> <th>Student ID</th> <th>Action</th> </tr> </thead> <tbody> <?php $table=""; $field=""; $i=0; foreach($viewinfo->result() as $row) { $i++; ?> <tr> <td id="sl"> <?=$i?> </td> <td> <a href="#" onclick="displayformdata('student','single_page','<?=$row->parent_id;?>','parent','parent_id','single_parent','search_parent')"> <?=$row->father_name?></a> </td> <td> <?=$row->father_mobile_no?> </td> <td> <?=$row->mother_name?> </td> <td> <?=$row->mother_mobile_no;?> </td> <td> <?php $student_list= explode(',',$row->student_list); foreach($student_list as $list){ echo '<p>'.$list.'</p>'; } ?> </td> <td> <?php $student_no= explode(',',$row->student_no); foreach($student_no as $list){ echo '<p>'.$list.'</p>'; } ?> </td> <td id="actions_3"> <div class="elements"><a href="#" onclick="uploadformdata('student','viewinstudentsearch','<?=$row->parent_id;?>','search_parent','view_parent')" ><img src="<?=base_url()?>assets/images/upload.png" title="Upload File" width="20" height="20" alt="Upload" align = "center" class="clickimage" /></a></div> <div class="elements"> <img src="<?=base_url()?>assets/images/edit-icon.gif" title="Edit" width="20" height="20" alt="Edit" align = "center" class="clickimage" onclick="editformdata('student','edit_page','<?=$row->parent_id;?>','parent','parent_id','edit_parent')" alt="" /> </div> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div>