<?php
/**
 *	Generated by miceCMS
 *	http://www.miceCMS.com/
 */
class link_indexAction extends security_login {
	function action(){
		ModuleLimit(__CLASS__);
		global $conn;
		$link=new model_Link();
		$link->setSubsection('ORDER BY category_id ASC,orderid DESC');
		$results=$link->doSelect();

		

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