<?php
// Éú³ÉHTMLÄ£¿é¿ØÖÆÆ÷
class HtmlAction extends BaseAction {
	public function defaults() {
		$modules = get_module();
		$tmp = array();
		foreach($modules as $module) {
			if ($module['state'] == 1 && $module['usecategory'] == 1) {
				$tmp[] = $module;
			}
		}
		$this -> assign('modules', $tmp);
		$this -> display('html');
	}
}
