query_id = "admin.getCommentCount"; $output->action = "select"; $output->column_type["comment_srl"] = "number"; $output->column_type["module_srl"] = "number"; $output->column_type["document_srl"] = "number"; $output->column_type["parent_srl"] = "number"; $output->column_type["is_secret"] = "char"; $output->column_type["content"] = "bigtext"; $output->column_type["voted_count"] = "number"; $output->column_type["blamed_count"] = "number"; $output->column_type["notify_message"] = "char"; $output->column_type["password"] = "varchar"; $output->column_type["user_id"] = "varchar"; $output->column_type["user_name"] = "varchar"; $output->column_type["nick_name"] = "varchar"; $output->column_type["member_srl"] = "number"; $output->column_type["email_address"] = "varchar"; $output->column_type["homepage"] = "varchar"; $output->column_type["uploaded_count"] = "number"; $output->column_type["regdate"] = "date"; $output->column_type["last_update"] = "date"; $output->column_type["ipaddress"] = "varchar"; $output->column_type["list_order"] = "number"; $output->tables = array( "comments"=>"comments", ); $output->_tables = array( "comments"=>"comments", ); $output->columns = array ( array("name"=>"count(*)","alias"=>"count"), ); return $output; ?>