<?php
/**
 *	Generated by miceCMS
 *	http://www.miceCMS.com/
 */
class poll_indexAction extends security_login {
	function action(){
		ModuleLimit(__CLASS__);
		global $conn;
		$pollcategory=new model_Pollcategory();
		$pollcategory->setSubsection('ORDER BY pollcategory_id DESC');
		$results=$pollcategory->doSelect();

		

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