File: /storage/v6964/avoxlive/public_html/application/views/backend/visitor/my_chat.php
<?php
$patient_id = $this->session->userdata('patient_id');
$doctor_id = $this->session->userdata('doctor_id');
?>
<div class="row">
<div class="col-sm-12">
<div class="panel panel-info">
<div class="panel-heading"> <i class="fa fa-list"></i> <?php echo get_phrase('list');?>
</div>
<div class="panel-wrapper collapse in" aria-expanded="true">
<div class="panel-body table-responsive">
<table id="example23" class="display nowrap" cellspacing="0" width="100%">
<thead>
<tr>
<th>S.NO</th>
<th>Name</th>
<!-- <th>Status</th> -->
<th>chat</th>
</tr>
</thead>
<tbody>
<tr>
<?php $no = 1 ; $get_doctor_from_model = $this->crud_model->list_all_doctor_and_order_with_doctor_id();
foreach ($get_doctor_from_model as $key => $doctor):
?>
<td><?php echo $no++ ; ?></td>
<td><?php echo $doctor['name'];?></td>
<td><a href="<?php echo base_url();?>patient/chat/<?php echo $doctor['doctor_id'];?>"
class="btn btn btn-info btn-circle btn-xs" ><i class="prime zmdi zmdi-comment-outline"></i></a></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script>
</script>