whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
www
/
application
/
views
/
Upload File:
files >> //proc/self/root/home/papecmvm/www/application/views/view_registration.php
<?php require_once(APPPATH.'views/header.php');?> <?php require_once(APPPATH.'views/menu.php');?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Registration </h1> <ol class="breadcrumb"> <li><a href="<?php echo site_url('admin/Welcome')?>"><i class="fa fa-dashboard"></i> Dashboard</a></li> <li class="active">Registration</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-4"> <div class="box box-success"> <div class="box-header ui-sortable-handle"> <i class="fa fa-user"></i> <h3 class="box-title">User Detail</h3> <div class="box-tools pull-right"> </div> </div> <table class="table"> <tr> <th>Name</th> <td><?php echo $data[0]['name']; ?></td> </tr> <tr> <th>Email</th> <td><?php echo $data[0]['email']; ?></td> </tr> <tr> <th>Mobile</th> <td><?php echo $data[0]['mobile']; ?></td> </tr> <tr> <th>constitution</th> <td><?php echo $data[0]['constitution']; ?></td> </tr> <tr> <th>Date of Incorporation</th> <td><?php echo $data[0]['date_incorporation']; ?></td> </tr> <tr> <th>Nature of Business</th> <td><?php echo $data[0]['nob']; ?></td> </tr> <tr> <th>Unique Requiremant</th> <td><?php echo $data[0]['ur']; ?></td> </tr> <tr> <th>Report Interval</th> <td><?php echo $data[0]['ri']; ?></td> </tr> <tr> <th>GST</th> <td><?php echo $data[0]['gst']; ?></td> </tr> <tr> <th>PAN</th> <td><?php echo $data[0]['pan']; ?></td> </tr> </table> </div><!-- /.box --> </div> <div class="col-xs-12 col-sm-12 col-md-3"> <div class="box box-success"> <div class="box-header ui-sortable-handle"> <i class="fa fa-list"></i> <h3 class="box-title">Document Access Logs</h3> </div> </div> </div> <div class="col-xs-12 col-sm-12 col-md-5"> <div class="box box-success"> <div class="box-header ui-sortable-handle"> <i class="fa fa-file"></i> <h3 class="box-title">Documents</h3> <div class="box-tools"> </div> </div> <div class="box-body"> <ul class="file-tree"> <?php $somePath = $data[0]['folder_code']; $dirs = array_filter(glob('documents/'.$somePath.'/*'), 'is_dir'); foreach ($dirs as $key => $value) { ?> <li><a href="#"> <?php $exp = explode('/', $value); $year = ($exp[2]); echo $year; ?> </a> <ul> <?php $dirs2 = array_filter(glob('documents/'.$somePath.'/'.$year.'/*'), 'is_dir'); foreach ($dirs2 as $key2 => $value2) { ?> <li> <a href="#"> <?php $exp2 = explode('/', $value2); $month = ($exp2[3]); echo $month; ?> </a> <ul> <?php $dirs3 = array_filter(glob('documents/'.$somePath.'/'.$year.'/'.$month.'/*'), 'is_dir'); foreach ($dirs3 as $key3 => $value3) { ?> <li> <a href="#"> <?php $exp3 = explode('/', $value3); $stage = ($exp3[4]); echo $stage; ?> </a> <?php $dirs4 = array_filter(glob('documents/'.$somePath.'/'.$year.'/'.$month.'/'.$stage.'/*'), 'is_dir'); foreach ($dirs4 as $key4 => $value4) { ?> <ul> <li> <a href="#"> <?php $exp4 = explode('/', $value4); $act = ($exp4[5]); echo $act; ?> </a> <ul> <?php $dirs5 = array_filter(glob('documents/'.$somePath.'/'.$year.'/'.$month.'/'.$stage.'/'.$act.'/*'), 'is_file'); foreach ($dirs5 as $key5 => $value5) { $exp5 = explode('/', $value5); $doc = ($exp5[6]); $ext = pathinfo($doc, PATHINFO_EXTENSION); ?> <li class="<?php if($ext == 'png' || $ext == 'PNG' || $ext == 'jpg' || $ext == 'JPG' || $ext == 'jpeg' || $ext == 'JPEG') { echo 'li-img'; }else{ echo 'li-doc'; } ?>"> <a target="_blank" href="<?php echo base_url().$value5; ?>"><?php echo $doc; ?></a> </li> <?php } ?> </ul> </li> </ul> <?php } ?> </li> <?php } ?> </ul> </li> <?php } ?> </ul> </li> <?php } ?> </ul> </div> </div> </div> </div> </section><!-- /.content --> </div><!-- /.content-wrapper --> <?php require_once(APPPATH.'views/footer.php');?>
Copyright ©2021 || Defacer Indonesia