[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
pmbku
/
assets
/
grocery_crud
/
themes
/
flexigrid
/
views
/
[
Home
]
File: list.php
<?php if(!empty($list)){ ?> <div class="bDiv" > <table class="table table-bordered table-hover" id="flex1"> <thead> <tr class='hDiv'> <?php if (!$unset_delete):?> <th> <input type="checkbox" value="all" class="check check-table"> </th> <?php endif ?> <?php foreach($columns as $column){?> <th class="field-sorting <?php if(isset($order_by[0]) && $column->field_name == $order_by[0]){?><?php echo " ".$order_by[1]?><?php }?>" rel='<?php echo $column->field_name?>'> <?php echo $column->display_as?> <span class="sort pull-right"><i class="fa fa-sort"></i></span> </th> <?php }?> <?php if(!$unset_delete || !$unset_edit || !$unset_read || !empty($actions)){?> <th abbr="tools" axis="col1"><?php echo $this->l('list_actions'); ?></th> <?php }?> </tr> </thead> <tbody> <?php foreach($list as $num_row => $row){ ?> <tr> <?php if (!$unset_delete):?> <td> <input type="checkbox" value="<?php echo $row->primary_key_value ?>" class="check check-table"> </td> <?php endif ?> <?php foreach($columns as $column){?> <td><?php echo $row->{$column->field_name} != '' ? $row->{$column->field_name} : ' ' ; ?></td> <?php }?> <?php if(!$unset_delete || !$unset_edit || !$unset_read || !empty($actions)){?> <td class="td-action"> <ul class='tools list-unstyled table-menu'> <?php if(!empty($row->action_urls)){ foreach($row->action_urls as $action_unique_id => $action_url){ $action = $actions[$action_unique_id]; ?> <li> <a href="<?php echo $action_url; ?>" class="<?php echo $action->css_class; ?> crud-action" title="<?php echo $action->label?>"><i class="<?php echo $action->image_url ?>"></i> <?php echo $action->label; ?></a> </li> <?php } } ?> <?php if(!$unset_read){?> <li> <a href='<?php echo $row->read_url?>' title='<?php echo $this->l('list_view')?> <?php echo $subject?>' class="edit_button"><i class='fa fa-list'></i> Detail</a> </li> <?php }?> <?php if(!$unset_edit){?> <li> <a href='<?php echo $row->edit_url?>' title='<?php echo $this->l('list_edit')?> <?php echo $subject?>' class="edit_button"><i class='fa fa-pencil'></i> Edit</a> </li> <?php }?> </ul> </td> <?php }?> </tr> <?php } ?> </tbody> </table> </div> <?php }else{?> <br/> <?php echo $this->l('list_no_items'); ?> <br/> <br/> <?php }?>