Beispiel #1
0
 foreach ($selectid as $aid) {
     $aedit->set_aid($aid);
     $aedit->basic_data();
     if (!empty($arcdeal['delete'])) {
         $aedit->arc_delete();
         continue;
     }
     if (!empty($arcdeal['readd'])) {
         //重发布
         $aedit->readd(1);
     }
     if (!empty($arcdeal['autoabstract'])) {
         $aedit->autoabstract();
     }
     if (!empty($arcdeal['autothumb'])) {
         $aedit->autothumb();
         if (!empty($c_upload->ufids)) {
             $c_upload->closure(1, $aid);
             $c_upload->ufids = array();
         }
     }
     if (!empty($arcdeal['autosize'])) {
         include_once M_ROOT . "./include/fields.cls.php";
         $aedit->autosize();
     }
     if (!empty($arcdeal['autokeyword'])) {
         $aedit->autokeyword();
     }
     if ($curuser->pmbypmids('chk', $aedit->channel['chpmid'])) {
         $_chk = 0;
         foreach (array(-1, 1, 2, 3, 13, 12, 11) as $v) {