$DB = MySql::getInstance();
$sql = "SELECT * FROM ".DB_PREFIX."blog WHERE hide='n' and checked='y' and sortid = ".分类ID;
$query = $DB->query($sql);
$result = $DB->num_rows($query);
$DB = MySql::getInstance();
$sql = "SELECT * FROM ".DB_PREFIX."blog WHERE hide='n' and checked='y' and sortid = ".分类ID;
$query = $DB->query($sql);
$result = $DB->num_rows($query);