File Manager
Create Folder
Create File
Upload File
Home
/ Directory >
/
home1
/
swachhmaharashtr
/
public_html
/
app
/
views
/
partials
/
photo
Item Name
Actions
add.php
Delete
Rename
Edit
edit.php
Delete
Rename
Edit
list.php
Delete
Rename
Edit
view.php
Delete
Rename
Edit
Edit File: view.php
<?php $comp_model = new SharedController; $page_element_id = "view-page-" . random_str(); $current_page = $this->set_current_page_link(); $csrf_token = Csrf::$token; //Page Data Information from Controller $data = $this->view_data; //$rec_id = $data['__tableprimarykey']; $page_id = $this->route->page_id; //Page id from url $view_title = $this->view_title; $show_header = $this->show_header; $show_edit_btn = $this->show_edit_btn; $show_delete_btn = $this->show_delete_btn; $show_export_btn = $this->show_export_btn; ?> <section class="page" id="<?php echo $page_element_id; ?>" data-page-type="view" data-display-type="table" data-page-url="<?php print_link($current_page); ?>"> <div class=""> <div class="container-fluid"> <div class="row "> <div class="col-12 p-0 comp-grid"> <?php $this :: display_page_errors(); ?> <div class="card animated fadeIn page-content"> <?php $counter = 0; if(!empty($data)){ $rec_id = (!empty($data['id']) ? urlencode($data['id']) : null); $counter++; ?> <div id="page-report-body" class=""> <table class="table table-hover table-borderless table-striped"> <!-- Table Body Start --> <tbody class="page-data" id="page-data-<?php echo $page_element_id; ?>"> <tr hidden class="td-id"> <th class="title"> Id: </th> <td class="value"><?php echo $data['id']; ?></td> </tr> <tr class="td-photo1"> <th class="title"> : </th> <td class="value"> <?php echo $data['photo1']; ?></td> </tr> </tbody> <!-- Table Body End --> </table> </div> <div class="p-3 d-flex"> </div> <?php } else{ ?> <!-- Empty Record Message --> <div class="text-muted p-3"> <i class="fa fa-ban"></i> No Record Found </div> <?php } ?> </div> </div> </div> </div> </div> </section>