PostCheck(1, $db_gdcheck & 4 && (!$db_postgd || $winddb['postnum'] < $db_postgd), $db_ckquestion & 4 && (!$postq || $winddb['postnum'] < $postq)); S::gp(array('atc_title', 'atc_content'), 'P', 0); require_once R_P . 'require/bbscode.php'; if ($postmodify->type == 'topic') { $postdata = new topicPostData($pwpost); $atcdb['special'] && $postdata->setData('special', $atcdb['special']); } else { $pid = 'tpc'; $postdata = new replyPostData($pwpost); } $postdata->initData($postmodify); $postdata->setTitle($atc_title); $postdata->setContent($atc_content); $isKmd && $postdata->setKmdInfo($kmdInfo); $postdata->setConvert(1); $postdata->setIfcheck(); $postmodify->execute($postdata); extract(L::style()); $leaveword = $atcdb['leaveword'] ? leaveword($atcdb['leaveword']) : ''; $content = convert($postdata->data['content'] . $leaveword, $db_windpost); if (strpos($content, '[p:') !== false || strpos($content, '[s:') !== false) { $content = showface($content); } if ($atcdb['ifsign'] < 2) { $content = str_replace("\n", '<br />', $content); } if ($postdata->data['ifwordsfb'] == 0) { $content = addslashes(wordsConvert(stripslashes($content))); } $creditnames = pwCreditNames(); if ($atcdb['attachs']) {