prefix("phone_book") . "` as a join `" . $xoopsDB->prefix("phone_book_cate") . "` as b on a.cate_sn=b.cate_sn group by a.cate_sn"; $result = $xoopsDB->query($sql) or web_error($sql); while(list($cate_title, $count) = $xoopsDB->fetchRow($result)){ $data[]="\n['{$cate_title}', {$count}]"; } $all_data=implode(',',$data); return $all_data; } /*-----------執行動作判斷區----------*/ $pie_data=get_pie_data(); $xoopsTpl->assign('pie_data',$pie_data); /*-----------秀出結果區--------------*/ $xoopsTpl->assign("toolbar", toolbar_bootstrap($interface_menu)); $xoopsTpl->assign("isAdmin", $isAdmin); include_once XOOPS_ROOT_PATH . '/footer.php'; ```
進階搜尋
59人線上 (14人在瀏覽線上書籍)
會員: 0
訪客: 59