я использую версию 7.3 79. $allow_comm = intval($_POST[\'allow_comm\']);80. if ($user_group[$member_id[\'user_group\']][\'allow_main\']) $allow_main = intval($_POST[\'allow_main\']); else $allow_main = 0;81. $approve = intval($_POST[\'approve\']);82. $allow_rating = intval($_POST[\'allow_rating\']);83. if ($user_group[$member_id[\'user_group\']][\'allow_fixed\']) $news_fixed = intval($_POST[\'news_fixed\']); else $news_fixed = 0;84. if (!count($_REQUEST[\'catlist\'])) {$catlist = array (); $catlist[] = \'0\';} else $catlist = $_REQUEST[\'catlist\'];85. $category_list = $db->safesql(implode(\',\', $catlist));86. пусто 87. if (!$config[\'allow_add_tags\']) $_POST[\'tags\'] = \"\";88. elseif (preg_match(\"/[\\||\\\'|\\<|\\>|\\\"|\\!|\\?|\\$|\\@|\\/|\\\\\\|\\&\\~\\*\\+]/\", $_POST[\'tags\'])) $_POST[\'tags\'] = \"\";89. else $_POST[\'tags\'] = $db->safesql(htmlspecialchars(strip_tags(stripslashes(trim($_POST[\'tags\']))), ENT_QUOTES));вот файл addnews.php [attachment=566]