芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/joolsmen.com/application/views/admin/include/navbar.php
db->where('n.receiver',$this->session->userdata('chat_token'))->where('n.status',1)->from('notification_table as n')->join('providers as p ','p.token=n.sender','left')->select('n.notification_id,n.message,n.created_at,p.name,p.profile_img,n.utc_date_time')->get()->result_array();?>
Notifications
Clear All
= $value['message'];?>
= $timeBase;?>
session->userdata('admin_id'); $admin_profile=$this->db->where('user_id',$admin_id)->get('administrators')->row_array(); if(file_exists($admin_profile['profile_img'])){ $prof_img = $admin_profile['profile_img']; }else{ $prof_img = ""; } $navprofile_img = (!empty($prof_img))?$prof_img:'assets/img/user.jpg';?>
Profile
Logout
session->flashdata('error_message')) { ?>
session->flashdata('error_message');?>
session->unset_userdata('error_message'); } ?> session->flashdata('success_message')) { ?>
session->flashdata('success_message');?>
session->unset_userdata('success_message'); } ?>