Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
qtdcvxyp
/
public_html
/
sms
/
aa
/
application
/
views
/
admin
✏️
Editing: search.php
<?php $currency_symbol = $this->customlib->getSchoolCurrencyFormat(); ?> <style type="text/css"> /*REQUIRED*/ .carousel-row { margin-bottom: 10px; } .slide-row { padding: 0; background-color: #ffffff; min-height: 150px; border: 1px solid #e7e7e7; overflow: hidden; height: auto; position: relative; } .slide-carousel { width: 20%; float: left; display: inline-block; } .slide-carousel .carousel-indicators { margin-bottom: 0; bottom: 0; background: rgba(0, 0, 0, .5); } .slide-carousel .carousel-indicators li { border-radius: 0; width: 20px; height: 6px; } .slide-carousel .carousel-indicators .active { margin: 1px; } .slide-content { position: absolute; top: 0; left: 20%; display: block; float: left; width: 80%; max-height: 76%; padding: 1.5% 2% 2% 2%; overflow-y: auto; } .slide-content h4 { margin-bottom: 3px; margin-top: 0; } .slide-footer { position: absolute; bottom: 0; left: 20%; width: 78%; height: 20%; margin: 1%; } /* Scrollbars */ .slide-content::-webkit-scrollbar { width: 5px; } .slide-content::-webkit-scrollbar-thumb:vertical { margin: 5px; background-color: #999; -webkit-border-radius: 5px; } .slide-content::-webkit-scrollbar-button:start:decrement, .slide-content::-webkit-scrollbar-button:end:increment { height: 5px; display: block; } </style> <div class="content-wrapper" style="min-height: 946px;"> <section class="content-header"> <h1> <i class="fa fa-user"></i> <?php echo $this->lang->line('search_student'); ?></h1> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-md-12"> <?php if (isset($resultlist)) { ?> <div class="nav-tabs-custom theme-shadow"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab_1" data-toggle="tab" aria-expanded="true"><i class="fa fa-list"></i> <?php echo $this->lang->line('student_lists'); ?></a></li> <li class=""><a href="#tab_2" data-toggle="tab" aria-expanded="false"><i class="fa fa-newspaper-o"></i> <?php echo $this->lang->line('detailed_view'); ?></a></li> </ul> <div class="tab-content"> <div class="tab-pane active table-responsive no-padding" id="tab_1"> <div class="download_label"><?php echo $this->lang->line('student_lists'); ?></div> <table class="table table-striped table-bordered table-hover header-student-list" data-export-title="<?php echo $this->lang->line('student_lists'); ?>"> <thead> <tr> <th><?php echo $this->lang->line('admission_no'); ?></th> <th><?php echo $this->lang->line('student_name'); ?></th> <th><?php echo $this->lang->line('class'); ?></th> <?php if ($sch_setting->father_name) { ?> <th><?php echo $this->lang->line('father_name'); ?></th> <?php } ?> <th><?php echo $this->lang->line('date_of_birth'); ?></th> <th><?php echo $this->lang->line('gender'); ?></th> <?php if ($sch_setting->category) { ?> <th><?php echo $this->lang->line('category'); ?></th> <?php }if ($sch_setting->mobile_no) { ?> <th><?php echo $this->lang->line('mobile_no'); ?></th> <?php } ?> <?php if (!empty($fields)) { foreach ($fields as $fields_key => $fields_value) { ?> <th><?php echo $fields_value->name; ?></th> <?php } } ?> <th class="text-right"><?php echo $this->lang->line('action'); ?></th> </tr> </thead> <tbody> </tbody> </table> </div> <div class="tab-pane" id="tab_2"> <?php if (empty($resultlist)) { ?> <div class="alert alert-info"> <?php echo $this->lang->line('no_record_found'); ?> </div> <?php } else { $count = 1; foreach ($resultlist as $student) { if (empty($student["image"])) { $image = "uploads/student_images/no_image.png"; } else { $image = $student['image']; } ?> <div class="carousel-row"> <div class="slide-row"> <div id="carousel-2" class="carousel slide slide-carousel" data-ride="carousel"> <div class="carousel-inner"> <div class="item active"> <a href="<?php echo base_url(); ?>student/view/<?php echo $student['id'] ?>"> <?php if($sch_setting->student_photo){?> <img class="img-responsive img-thumbnail width150" alt="<?php echo $this->customlib->getFullName($student['firstname'],$student['middlename'],$student['lastname'],$sch_setting->middlename,$sch_setting->lastname); ?>" src="<?php echo base_url() . $image ?>" alt="Image"><?php } ?></a> </div> </div> </div> <div class="slide-content"> <h4><a href="<?php echo base_url(); ?>student/view/<?php echo $student['id'] ?>"><?php echo$this->customlib->getFullName($student['firstname'],$student['middlename'],$student['lastname'],$sch_setting->middlename,$sch_setting->lastname); ?></a></h4> <div class="row"> <div class="col-xs-6 col-md-6"> <address> <strong><b><?php echo $this->lang->line('class'); ?>: </b><?php echo $student['class'] . "(" . $student['section'] . ")" ?></strong><br> <?php if (!$adm_auto_insert) { ?> <b><?php echo $this->lang->line('admission_no'); ?>: </b><?php echo $student['admission_no'] ?><br/><?php } ?> <b><?php echo $this->lang->line('date_of_birth'); ?>:</b> <?php if ($student["dob"] != null && $student["dob"]!='0000-00-00') { echo date($this->customlib->getSchoolDateFormat(), $this->customlib->dateyyyymmddTodateformat($student['dob'])); } ?><br> <b><?php echo $this->lang->line('gender'); ?>: </b><?php echo $student['gender'] ?><br> </address> </div> <div class="col-xs-6 col-md-6"> <?php if ($sch_setting->local_identification_no) { ?> <b><?php echo $this->lang->line('local_identification_no'); ?> : </b><?php echo $student['samagra_id'] ?><br><?php } if($sch_setting->guardian_name){?> <b><?php echo $this->lang->line('guardian_name'); ?> : </b><?php echo $student['guardian_name'] ?><br> <?php } if($sch_setting->guardian_name){?> <b><?php echo $this->lang->line('guardian_phone'); ?>: </b> <abbr title="Phone"><i class="fa fa-phone-square"></i> </abbr> <?php echo $student['guardian_phone'] ?><br> <?php } if ($sch_setting->current_address) { ?> <b><?php echo $this->lang->line('current_address'); ?>: </b><?php echo $student['current_address'] ?>, <?php echo $student['city'] ?><br><?php } ?> </div> </div> </div> <div class="slide-footer"> <span class="pull-right buttons"> <a href="<?php echo base_url(); ?>student/view/<?php echo $student['id'] ?>" class="btn btn-default btn-xs" data-toggle="tooltip" title="<?php echo $this->lang->line('show'); ?>" > <i class="fa fa-reorder"></i> </a> <?php if ($this->rbac->hasPrivilege('student', 'can_edit')) { ?> <a href="<?php echo base_url(); ?>student/edit/<?php echo $student['id'] ?>" class="btn btn-default btn-xs" data-toggle="tooltip" title="<?php echo $this->lang->line('edit'); ?>"> <i class="fa fa-pencil"></i> </a> <?php }if ($this->rbac->hasPrivilege('collect_fees', 'can_add')) { ?> <a href="<?php echo base_url(); ?>studentfee/addfee/<?php echo $student['id'] ?>" class="btn btn-default btn-xs" data-toggle="tooltip" title="" data-original-title="<?php echo $this->lang->line('add_fees'); ?>"> <?php echo $currency_symbol; ?> </a> <?php } ?> </span> </div> </div> </div> <?php $count++; } } ?> </div> </div> </div> <?php } ?> </div> </div> </section> </div> <script> $(document).ready(function() { var search_text ='<?php echo $search_text; ?>' ; if(search_text!=""){ search_text = search_text }else{ search_text=0 } initDatatable('header-student-list','admin/admin/dtstudentlist/'+search_text); }); </script>
💾 Save Changes
❌ Cancel