<?php
/**
 *	Generated by miceCMS
 *	http://www.miceCMS.com/
 */
class flash_indexAction extends security_login {
	function action(){
		//接收参数并放入Session
		ModuleLimit(__CLASS__);
		$miceSession = new session();
		global $conn;
		//查找
		$subsql=' WHERE type=\'flash\' ORDER BY category_id ASC,browses ASC';
		$article=new model_Article();
		$article->setSubsection($subsql);
		$articlers=$article->doSelect();

		

		$smarty = new Smarty();
		$smarty->load_filter('pre','micePreCompileAdmin');
		$smarty->assign('index',MICE_URL.'admin.php/flash');
		$smarty->assign('create',MICE_URL.'admin.php/flash/edit');
		$smarty->assign('edit',MICE_URL.'admin.php/flash/edit/article_id/');
		$smarty->assign('delete',MICE_URL.'admin.php/flash/delete/article_id/');
		$smarty->assign('results',$articlers);
		$filename = new getTPLFileName(__CLASS__);
		$smarty->display($filename->TPLFileName);
	}
}
?>