<?php $this->load->helper('date'); ?>
<div class="clearfix"></div>
<div class="row">
  <div class="col-md-5">
    <?php foreach ($user_note_list as $user_note): ?>
     <div class="panel panel-default">
        <div class="panel-heading">
          <h5 class="panel-title"><b>
          <?php $cur_time = explode(' ',$user_note->date_time);                
                echo nice_date($cur_time[0],'D, d M, Y');
          ?>
         </b></h5>
        </div>
        <div class="panel-body">
          <?= $user_note->note_text; ?>
            <div style="width:80px;" class="pull-right">
              <?php echo edit_action(base_url('dashboard/user_notes_edit'),$user_note->user_notes_ID); ?>
                <?php echo delete_action(base_url('dashboard/user_notes_delete'),$user_note->user_notes_ID,'Are you sure you want to delete this Notes'); ?>
            </div>
        </div>
      </div>
      <?php endforeach; ?>
  </div>
  </div>