<?php
/**
 *	Generated by miceCMS
 *	http://www.miceCMS.com/
 */
class flash_editAction extends security_login {
	function action(){
		ModuleLimit(__CLASS__);
		global $conn;
		$article_id=$this->_getParam('article_id');
		if($article_id){
			$article=new model_Article();
			$article->setSubsection('WHERE article_id='.$article_id);
			$results=$article->doSelectOne();
		}else{
			$results=new model_Article();
		}

		$smarty = new Smarty();
		$smarty->load_filter('pre','micePreCompileAdmin');
		$smarty->assign('results',$results);
		$smarty->assign('sql',$conn->lastsql);
		$smarty->assign('index',MICE_URL.'admin.php/down');
		$smarty->assign('formaction',MICE_URL.'admin.php/flash/update');
		$filename = new getTPLFileName(__CLASS__);
		$smarty->display($filename->TPLFileName);
	}
}
?>