Это всё в engine.php вставлять? И куда? можно поподробнее?PHP:$cat_not_in_main = "1"; // если нужно 2 категории = "1,4"; $sql_select = "SELECT id, autor, date, short_story, full_story, xfields, title, category, alt_name, comm_num, allow_comm, allow_rate, rating, vote_num, news_read, flag, editdate, editor, reason, view_edit, tags FROM " . PREFIX . "_post WHERE category not in ($cat_not_in_main) AND ({$stop_list}approve)";
в engine.php меняем этот запрос
PHP:
$sql_select = "SELECT id, autor, date, short_story, full_story, xfields, title, category, alt_name, comm_num, allow_comm, allow_rate, rating, vote_num, news_read, flag, editdate, editor, reason, view_edit, tags FROM " . PREFIX . "_post WHERE {$stop_list}approve";