<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
*      首页+cate+菜品
*/
class home extends CI_Controller
{
	
	function __construct()
	{
		parent::__construct();
<<<<<<< HEAD
			$this->load->model('option_model');
=======
		$this->load->model('option_model');
>>>>>>> 63c22ae8f51f87311083ad2e6cdadf4698797a43
		$this->load->model('pack_model');
		$data['site'] = $this->option_model->system('siteName');
		$data['keyword'] = $this->option_model->system('keyWord');
		$data['description'] = $this->option_model->system('keyWordDescriber');
		// var_dump($data);
		$this->load->view('header',$data);
	}
	//登录
	public function login(){

		$this->load->view('login');
	}
	//老用户登录
	public function login2(){

		$this->load->view('login2');
	}
	//注册
	public function register(){
		
		$this->load->view('register');
	}
	//首页
	public function index(){
		$data = $this->option_model->banners();
		$banner['banners'] = unserialize($data['banner']); 
		$this->load->view('index',$banner);
	}
	//菜单 by wf
	public function cailan(){


		$catejson = file_get_contents('http://192.168.199.151/API/API_Poorder/Get?dis=c');
		$data['cates'] = json_decode(json_decode($catejson));

		$foodjson = file_get_contents('http://192.168.199.151/API/API_Poorder/Get?dis=d');
		$data['foods'] = json_decode(json_decode($foodjson));
<<<<<<< HEAD
		
=======
<<<<<<< HEAD
		 
=======
<<<<<<< HEAD
		 
=======
		 var_dump($data);
		 exit;
>>>>>>> a5a75a286357766d2b2373f9d791d732c8d8a81d
>>>>>>> 720eeb6380a3109e725654d123d403e5b18fbadf
>>>>>>> 63c22ae8f51f87311083ad2e6cdadf4698797a43<commit_msg>no message<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
*      首页+cate+菜品
*/
class home extends CI_Controller
{
	
	function __construct()
	{
		parent::__construct();

		$this->load->model('option_model');
		$this->load->model('pack_model');
		$data['site'] = $this->option_model->system('siteName');
		$data['keyword'] = $this->option_model->system('keyWord');
		$data['description'] = $this->option_model->system('keyWordDescriber');
		// var_dump($data);
		$this->load->view('header',$data);
	}
	//登录
	public function login(){

		$this->load->view('login');
	}
	//老用户登录
	public function login2(){

		$this->load->view('login2');
	}
	//注册
	public function register(){
		
		$this->load->view('register');
	}
	//首页
	public function index(){
		$data = $this->option_model->banners();
		$banner['banners'] = unserialize($data['banner']); 
		$this->load->view('index',$banner);
	}
	//菜单 by wf
	public function cailan(){


		$catejson = file_get_contents('http://192.168.199.151/API/API_Poorder/Get?dis=c');
		$data['cates'] = json_decode(json_decode($catejson));

		$foodjson = file_get_contents('http://192.168.199.151/API/API_Poorder/Get?dis=d');
		$data['foods'] = json_decode(json_decode($foodjson));
{'fraction_non_alphanumeric': 0.22671353251318102, 'fraction_numerical': 0.05553602811950791, 'mean_word_length': 5.241228070175438, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '905486', 'n_tokens_mistral': 1237, 'n_tokens_neox': 1094, 'n_words': 139}