📁
File Manager
/home/nepsrganj/public_html/application/views/admin
7.4.33 · Linux
/
/
home
/
nepsrganj
/
public_html
/
application
/
views
/
admin
/home/nepsrganj/public_html/application/views/admin/classes.php
← Back to folder
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Insert Blog</title> <link rel="icon" type="/assets/images/logo.jpg" href="/assets/images/logo.jpg"> <!-- Bootstrap core CSS--> <?php echo link_tag('assests/vendor/bootstrap/css/bootstrap.min.css'); ?> <!-- Custom fonts for this template--> <?php echo link_tag('assests/vendor/fontawesome-free/css/all.min.css'); ?> <!-- Page level plugin CSS--> <?php echo link_tag('assests/vendor/datatables/dataTables.bootstrap4.css'); ?> <!-- Custom styles for this template--> <?php echo link_tag('assests/css/sb-admin.css'); ?> </head> <body id="page-top"> <?php include APPPATH.'views/admin/includes/header.php';?> <div id="wrapper"> <?php include APPPATH.'views/admin/includes/sidebar.php';?> <div id="content-wrapper"> <div class="container-fluid"> <!-- Breadcrumbs--> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="<?php echo site_url('admin/Dashboard'); ?>">Dashboard</a> </li> <li class="breadcrumb-item active">Add Class</li> </ol> <div class="card-body"> <div class="table-responsive"> <?php if ($this->session->flashdata('successfully')) { ?> <p style="color:green; font-size:18px;"><?php echo $this->session->flashdata('successfully'); ?></p> <?php if ($this->session->flashdata('erroruser')) { ?> <p style="color:red; font-size:18px;"><?php echo $this->session->flashdata('erroruser'); ?></p> </div> <?php } } ?> <div style="color:red"> <?php echo validation_errors(); ?> <?php if(isset($error)){print $error;}?> </div> <div class="container p-5 my-5 border"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12"> <div class="panel panel-default"> <div class="panel-heading"><h1>Add Class</h1></div> <div class="panel-body"> <?php echo form_open_multipart('admin/Classes');?> <label for="">Class</label> <input type="text" class="form-control" name="level" value="<?= set_value('level');?>"> <br> <label>Section</label> <input type="text" class="form-control" name="section" value="<?= set_value('section'); ?>"> <br> <a href="<?=base_url();?>" class="btn btn-warning">Back</a> <input class="btn btn-success" type="submit" name="submit" value="Submit"> </form> <div class="card-body"> <div class="table-responsive"> <?php if ($this->session->flashdata('successfully')) { ?> <p style="color:green; font-size:18px;"><?php echo $this->session->flashdata('successfully'); ?></p> <?php if ($this->session->flashdata('erroruser')) { ?> <p style="color:red; font-size:18px;"><?php echo $this->session->flashdata('erroruser'); ?></p> </div> <?php } } ?> <table class="table table-bordered" id="dataTable" width="100%" > <thead> <tr style="background:#CCC"> <th>ID</th> <th>Class</th> <th>Section</th> <th>Updated date</th> <th>Action</th> </tr></thead> <?php if(count($data)) : $cnt=1; foreach ($data as $row) : ?> <tr> <td><?php echo htmlentities($cnt);?></td> <td><?php echo htmlentities($row->level)?></td> <td><?php echo htmlentities($row->section)?></td> <td><?php echo htmlentities($row->updated_date)?></td> <td> <?php echo anchor("admin/Classes/deletedata/{$row->classid}",' ','class="fa fa-trash"')?> <!--<?php echo anchor("admin/Classes/getuserdetail/{$row->classid}",' ','class="fa fa-edit"')?>--> <!--<input type="button" class="btn fa fa-edit" data-toggle="modal" data-target="#myModal" href='updatedata?classid=".$classid->classid."'>--> <?php echo " <a href='Classes/updatedata?classid=".$row->classid."' class='fa fa-edit'></a>"; ?> </td> </tr> <?php $cnt++; endforeach; else : ?> <tr> <td colspan="6">No Record found</td> </tr> <?php endif; ?> </tbody> </table> </table><br> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <!-- /.container-fluid --> <!-- Sticky Footer --> <?php include APPPATH.'views/admin/includes/footer.php';?> </div> <!-- /.content-wrapper --> </div> <!-- /#wrapper --> <!-- Scroll to Top Button--> <a class="scroll-to-top rounded" href="#page-top"> <i class="fas fa-angle-up"></i> </a> <script src="<?php echo base_url('assests/vendor/jquery/jquery.min.js'); ?>"></script> <script src="<?php echo base_url('assests/vendor/bootstrap/js/bootstrap.bundle.min.js'); ?>"></script> <!-- Core plugin JavaScript--> <script src="<?php echo base_url('assests/vendor/jquery-easing/jquery.easing.min.js'); ?>"></script> <!-- Page level plugin JavaScript--> <script src="<?php echo base_url('assests/vendor/chart.js/Chart.min.js'); ?>"></script> <script src="<?php echo base_url('assests/vendor/datatables/jquery.dataTables.js'); ?>"></script> <script src="<?php echo base_url('assests/vendor/datatables/dataTables.bootstrap4.js'); ?>"></script> <!-- Custom scripts for all pages--> <script src="<?php echo base_url('assests/js/sb-admin.min.js'); ?>"></script> <script src="<?php echo base_url('assests/js/demo/datatables-demo.js'); ?>"></script> <script src="<?php echo base_url('assests/js/demo/chart-area-demo.js'); ?>"></script> </body> </html>
Cancel
✓ Save