?
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/draft/school/scaffolding/views/ |
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/sims/draft/school/scaffolding/views/view.php |
<?php $this->load->view('header'); ?> <table border="0" cellpadding="0" cellspacing="1" style="width:100%"> <tr> <th>Edit</th> <th>Delete</th> <?php foreach($fields as $field): ?> <th><?php echo $field; ?></th> <?php endforeach; ?> </tr> <?php foreach($query->result() as $row): ?> <tr> <td> <?php echo anchor(array($base_uri, 'edit', $row->$primary), $scaff_edit); ?> </td> <td><?php echo anchor(array($base_uri, 'delete', $row->$primary), $scaff_delete); ?></td> <?php foreach($fields as $field): ?> <td><?php echo form_prep($row->$field);?></td> <?php endforeach; ?> </tr> <?php endforeach; ?> </table> <?php echo $paginate; ?> <?php $this->load->view('footer'); /* End of file view.php */ /* Location: ./system/scaffolding/views/view.php */