Beispiel #1
0
 if (!empty($arcdeal['delete'])) {
     $aedit->arc_delete();
     continue;
 }
 if (!empty($arcdeal['readd'])) {
     //重发布
     $aedit->readd(1);
 }
 if ($curuser->pmbypmids('chk', $aedit->channel['chpmid'])) {
     $_chk = 0;
     foreach (array(-1, 1, 2, 3, 13, 12, 11) as $v) {
         if (!empty($arcdeal['check' . $v])) {
             if ($_chk && $v > 10) {
                 break;
             }
             $aedit->pre_check($v);
             if ($v == -1) {
                 break;
             }
             if ($v < 10) {
                 $_chk = 1;
             }
         }
     }
 }
 if (!empty($arcdeal['abover'])) {
     $aedit->updatefield('abover', 1, 'main');
 } elseif (!empty($arcdeal['unabover'])) {
     $aedit->updatefield('abover', 0, 'main');
 }
 if (!empty($arcdeal['caid'])) {