", ""); else { include_once SYSTEM_DIR.'/classes/parse.class.php'; $parse = new ParseFilter(); include_once SYSTEM_DIR . '/ajax/bbcode.php'; if ($_POST['submit']) { $new = $db->safesql( $parse->BB_Parse( $parse->process( $_POST['reason'] ), false )); $db->query("UPDATE `".USERPREFIX."_reputation` SET `text`='$new' WHERE `id`='$id'"); msg("info", $langms['sea_info'], "{$lang_repa['repa_msg_chd']}

", ""); } else { echoheader("",""); echo << function ins_smile ( text ){ doInsert(' ' + text + ' ', '', false); document.getElementById('dle_emo').style.visibility = "hidden"; document.getElementById('dle_emo').style.display = "none"; ie_range_cache = null; };
HTML; echo ""; echo <<
Главное меню
HTML; opentable(); tableheader($lang_repa['repa_cntrl']); $res = $db->super_query("SELECT * FROM ".PREFIX."_reputation where id = '$id'"); if ($res['id'] == $id) { $text = $parse->decodeBBCodes( $res['text'], false ); echo <<
{$lang_repa['repa_comm_ed']} {$bb_code}
 
HTML; } else { @header("Location: $PHP_SELF?mod=repa&action=control"); } closetable(); echofooter(); closetable(); } } ?>