chat_users as $user_key => $user_value) { if (!empty($user_value->messages)) { $count_noti = getConnectionNotification($userList, $user_value->id); ?>
  • user_details->image == "") { $img = base_url() . "uploads/staff_images/no_image.png"; } else { $img = ($user_value->user_details->user_type == "staff") ? base_url() . "uploads/staff_images/" . $user_value->user_details->image : base_url() . $user_value->user_details->image; } ?>

    user_details->name; echo ($user_value->user_details->user_type == "staff") ? " (" . $this->lang->line('staff') . ")" : " (" . $this->lang->line('student') . ")"; ?>

    id != $user_value->messages->chat_user_id) { echo "" . $this->lang->line('you') . ": "; } ?> messages->message; ?>

    0) { ?> 0
  • chat_user_notification)) { foreach ($userList->chat_user_notification as $notifiction_key => $notifiction_value) { if ($notifiction_value->chat_connection_id == $chat_connection_id) { return $notifiction_value->no_of_notification; } } } return 0; } ?>