DetToon获取任意栏目名称的方法

api/extend.func.php 加入以下函数function cat_name($catid) {global $db;$catid = intval($catid);$catname = '';$r = $db-get_one("SELECt catname FROM {$db-pre}category WHERe catid=$catid");$catname = $r['catname'];return $cat

346655709