芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/joolsmen.com/application/views/user/includes/header.php
db->query("select * from system_settings WHERE status = 1"); $result = $query->result_array(); $this->website_name = ''; $this->website_logo_front = 'assets/img/logo.png'; $fav = base_url() . 'assets/img/favicon.png'; if (!empty($result)) { foreach ($result as $data) { if ($data['key'] == 'website_name') { $this->website_name = $data['value']; } if ($data['key'] == 'favicon') { $favicon = $data['value']; } if ($data['key'] == 'logo_front') { $this->website_logo_front = $data['value']; } if($data['key'] == 'meta_title'){ $this->meta_title = $data['value']; } if($data['key'] == 'meta_description'){ $this->meta_description = $data['value']; } if($data['key'] == 'meta_keywords'){ $this->meta_keywords = $data['value']; } } } if (!empty($favicon)) { $fav = base_url() . 'uploads/logo/' . $favicon; } $lang = (!empty($this->session->userdata('lang'))) ? $this->session->userdata('lang') : 'en'; $ColorList = $this->db->get('theme_color_change')->result_array(); $Orgcolor = $ColorList[0]['status']; $Bluecolor = $ColorList[1]['status']; $Redcolor = $ColorList[2]['status']; $Greencolor = $ColorList[3]['status']; $Defcolor = $ColorList[4]['status']; //session out for blocked users if($this->session->userdata('usertype')=='user') { $user_det = $this->db->where('id', $this->session->userdata('id'))->get('users')->row_array(); if($user_det['status'] != 1) { $this->session->sess_destroy(); redirect(base_url()); } } //session out for blocked providers if($this->session->userdata('usertype')=='provider') { $provider_det = $this->db->where('id', $this->session->userdata('id'))->get('providers')->row_array(); if($provider_det['status'] != 1) { $this->session->sess_destroy(); redirect(base_url()); } } ?>
meta_title;?>
uri->segment(1) == "book-service") { ?>