<?php
/**
 *	Generated by miceCMS
 *	http://www.miceCMS.com/
 */
class usergroup_indexAction extends security_login {
	function action(){
		ModuleLimit(__CLASS__);
		global $conn;
		$usergroup=new model_Usergroup();
		$usergroup->setSubsection('ORDER BY level');
		$usergroups=$usergroup->doSelect();

		

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

		$smarty->assign('index',MICE_URL.'admin.php/usergroup');
		$smarty->assign('create',MICE_URL.'admin.php/usergroup/edit');
		$smarty->assign('edit',MICE_URL.'admin.php/usergroup/edit/usergroup_id/');
		$smarty->assign('delete',MICE_URL.'admin.php/usergroup/delete/usergroup_id/');

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