No Category Now!"; }else{ $view_category.= "
"; foreach ($category as $cat){ if(trim($cat)=="") continue; $hash_num=hexdec(substr(md5($cat),0,7)); $label_theme=$color_theme[$hash_num%count($color_theme)]; if($label_theme=="") $label_theme="default"; $view_category.= "".htmlentities($cat,ENT_QUOTES,'utf-8')." "; } $view_category.= "
"; } /////////////////////////Template require("template/".$OJ_TEMPLATE."/category.php"); /////////////////////////Common foot if(file_exists('./include/cache_end.php')) require_once('./include/cache_end.php'); ?>