Beispiel #1
0
     S::gp(array('oldatt_special', 'oldatt_needrvrc'), 'P', 2);
     S::gp(array('oldatt_ctype', 'oldatt_desc'), 'P');
     $postmodify->initAttachs($oldatt_special, $oldatt_needrvrc, $oldatt_ctype, $oldatt_desc);
 }
 L::loadClass('attupload', 'upload', false);
 if (PwUpload::getUploadNum() || $flashatt) {
     $postdata->att = new AttUpload($winduid, $flashatt);
     $postdata->att->check();
     $postdata->att->setReplaceAtt($postmodify->replacedb);
 }
 $postmodify->execute($postdata);
 if ($postdata->getIfcheck()) {
     if ($postdata->filter->filter_weight == 3) {
         $pinfo = 'enter_words';
         $banword = implode(',', $postdata->filter->filter_word);
     } elseif ($prompts = $pwpost->getprompt()) {
         isset($prompts['allowhide']) && ($pinfo = "post_limit_hide");
         isset($prompts['allowsell']) && ($pinfo = "post_limit_sell");
         isset($prompts['allowencode']) && ($pinfo = "post_limit_encode");
     } else {
         $pinfo = 'enter_thread';
     }
 } else {
     if ($postdata->filter->filter_weight == 2) {
         $banword = implode(',', $postdata->filter->filter_word);
         $pinfo = 'post_word_check';
     } elseif ($postdata->linkCheckStrategy) {
         $pinfo = 'post_link_check';
     } else {
         $pinfo = 'post_check';
     }