���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/adimi/application/modules/dashboard/models/ |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Color_frontends extends CI_Model { //get frontend template color public function retrieve_color_editdata($theme = 'default') { $this->db->select('*'); $this->db->from('color_frontends'); $this->db->where('theme', $theme); $query = $this->db->get(); if ($query->num_rows() > 0) { return $query->row(); } return false; } //update frontend template color public function update_color($data, $theme_name='default') { $this->db->where('theme', $theme_name); $this->db->update('color_frontends', $data); return true; } }