<?php
/**
 *	Generated by miceCMS
 *	http://www.miceCMS.com/
 */
class linkcategory_indexAction extends security_login {
	function action(){
		ModuleLimit(__CLASS__);
		global $conn;
		$category=new model_Category();
		$category->setSubsection('WHERE type = \'link\' ORDER BY path');
		$results=$category->doSelect();
		$ctype=CategoryType();

		

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