Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach ($query_isi->result() as $chat){
- // $query_data_chat = $this->db->get_where("chat",["dari_user_ID"=>Session("user_ID"),"kepada_user_ID"=>$list_user->user_ID]);
- // foreach ($query_data_chat->result as $data_chat){
- // }
- $isi_chat = '<li class="center-align pt-2 pb-2 sidenav-close chat-head">
- <a href="#!"><i class="material-icons mr-0">chevron_left</i>'.$chat->nama.'</a>
- </li>
- <li class="chat-body">
- <ul class="collection">
- <li class="collection-item display-flex avatar pl-5 pb-0" data-target="slide-out-chat">
- <span class="avatar-status avatar-online avatar-50">
- <img src="'.BASE_ASSETS.'/images/avatar/avatar-7.png" alt="avatar" />
- </span>
- <div class="user-content speech-bubble">
- <p class="medium-small">hello!</p>
- </div>
- </li>
- <li class="collection-item display-flex avatar justify-content-end pl-5 pb-0" data-target="slide-out-chat">
- <div class="user-content speech-bubble-right">
- <p class="medium-small">How can we help? We\'re here for you!</p>
- </div>
- </li>
- </ul>
- </li>
- <li class="center-align chat-footer">
- <form class="col s12" onsubmit="slide_out_chat()" action="javascript:void(0);">
- <div class="input-field">
- <input id="icon_prefix" type="text" class="search" />
- <label for="icon_prefix">Type here..</label>
- <a onclick="slide_out_chat()"><i class="material-icons prefix">send</i></a>
- </div>
- </form>
- </li>
- </ul>';
- }
Add Comment
Please, Sign In to add comment