<?php
/**
 *	Generated by miceCMS
 *	http://www.miceCMS.com/
 */
class mfile_editAction extends security_login {
	function action(){
		//接收参数并放入Session
		ModuleLimit(__CLASS__);
		global $conn;
		$miceSession = new session();
		if($this->_getParam('mfile_id')){
			//查找			
			$file=new model_File();
			$file->setSubsection(' WHERE file_id='.$this->_getParam('mfile_id'));
			$filers=$file->doSelectOne();
		}else{
			$filers=new model_File();
		}

		

		$smarty = new Smarty();
		$smarty->load_filter('pre','micePreCompileAdmin');
		$smarty->assign('filers',$filers);

		$filename = new getTPLFileName(__CLASS__);
		$smarty->display($filename->TPLFileName);
	}
}
?>