⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moviecontroller.php

📁 a short sketch about linux syntex lines.
💻 PHP
字号:
<?php/**/class MovieController extends Easy_Controller_Action{	public function Init(){		$this->_View->skin = $this->config['template'];		$this->_View->Template = new Template();	//		$this->_View->moviearea = $this->mconf['area'];		$this->_View->config = $this->config;	}	public function viewAction(){		$movid = intval($this->_Request->getParam('movid'));		$make = new MakeModel();		$make->view = &$this->_View;		echo $make->makeMovie($movid);		return true;	}	public function vipAction() {		$User = new UsersModel();		$uid = intval($this->_Request->getCookie('uid'));		$row = $User->login(array('uid'=> $uid));		if ($row['usergroup'] == $this->config['vip']){			exit($this->_View->render($this->_View->skin.'/vip'));		}else{			$this->_Request->redirect('');			exit;		}	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -