['*'], 'table_name' => 'blogs', 'cond' => "poster = '" . UOJUserBlog::id() . "' and is_hidden = 0", 'tail' => 'order by post_time desc', 'page_len' => 5 ]); $all_tags = DB::selectAll("select distinct tag from blogs_tags where blog_id in (select id from blogs where $blogs_cond)"); ?>