コード例 #1
0
ファイル: arcs.php プロジェクト: polarlight1989/08cms
                                 $archivenew[$k] = saveastxt(stripslashes($archivenew[$k]), $aedit->namepres[$k]);
                             }
                             $aedit->updatefield($k, $archivenew[$k], $v['tbl']);
                             if ($arr = multi_val_arr($archivenew[$k], $v)) {
                                 foreach ($arr as $x => $y) {
                                     $aedit->updatefield($k . '_' . $x, $y, $v['tbl']);
                                 }
                             }
                         }
                     }
                 }
             }
             $c_upload->closure(1, $aid);
             $aedit->updatedb();
             if (!empty($archivenew['cpupdate'])) {
                 $aedit->updatecopy($archivenew['cpupdate']);
             }
             if ($channel['autostatic']) {
                 include_once M_ROOT . "./include/arc_static.fun.php";
                 arc_static($aid);
                 unset($arc);
             }
             $c_upload->saveuptotal();
             adminlog(lang('modify_archive'));
             amessage('arceditfinish', $forward);
         }
     } else {
         include M_ROOT . $u_tplname;
     }
 } else {
     include M_ROOT . $channel['uadetail'];