?
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/master/ |
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/master/view_class_room.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $this->load->view('commonfunctions'); ?> <!-- BEGIN PAGE LEVEL STYLES --> <link rel="stylesheet" href="<?= base_url(); ?>assets/plugins/data-tables/DT_bootstrap.css" /> <!-- END PAGE LEVEL STYLES --> <div class="row-fluid"> <div class="span12"> <!-- BEGIN EXAMPLE TABLE PORTLET--> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-cogs"></i>Class Room Name</div> <div class="actions"> <a href="#" onclick="addformdisplay('add_class_room','master')" class="btn green"><i class="icon-plus"></i> Add</a> </div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered"> <thead> <tr> <th><input type="radio" name="course" id="br1" value="1" onchange="view_class_name()"/></th><th><label>Class Classification</label></th> <th><input type="radio" name="course" id="sg1" value="2" checked onchange="view_class_room()" /></th><th><label>Class Room Name</label></th> </tr> </thead> </table> <table class="table table-striped table-hover table-bordered" id="sample_3"> <thead> <tr> <th id="sl_th">Sl No</th> <th>Class Room Name</th> <th class="action_th">Edit</th> <th class="action_th">Delete</th> </tr> </thead> <tbody> <?php $table="class_name"; $field="class_room_id"; $i=0; foreach($viewinfo->result() as $row) { $i++; ?> <tr> <td id="sl"> <?= $i ?> </td> <td> <?=$row->class_room_name ?> </td> <td><a class="edit" href="#" onclick="editformdata('master','edit_page','<?=$row->class_room_id;?>','class_room','class_room_id','edit_class_room')">Edit</a></td> <td><a class="delete" href="#" onclick="deletedata('class_room',<?=$row->class_room_id;?>,'class_room_id','master','viewinmastersearch','search_class_room','view_class_room','<?=$table?>','<?=$field?>')">Delete</a></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <div id="ajax-modal" class="modal hide fade" tabindex="-1"></div> <script> jQuery(document).ready(function() { UIModals.init(); TableManaged.init(); }); </script>