Exemple #1
0
     break;
 case 'tohtml':
     is_array($itemid) or msg('请选择' . $MOD['name']);
     foreach ($itemid as $itemid) {
         tohtml('show', $module);
     }
     dmsg('生成成功', $forward);
     break;
 case 'delete':
     $itemid or msg('请选择' . $MOD['name']);
     isset($recycle) ? $do->recycle($itemid) : $do->delete($itemid);
     dmsg('删除成功', $forward);
     break;
 case 'restore':
     $itemid or msg('请选择' . $MOD['name']);
     $do->restore($itemid);
     dmsg('还原成功', $forward);
     break;
 case 'refresh':
     $itemid or msg('请选择' . $MOD['name']);
     $do->refresh($itemid);
     dmsg('刷新成功', $forward);
     break;
 case 'clear':
     $do->clear();
     dmsg('清空成功', $forward);
     break;
 case 'level':
     $itemid or msg('请选择' . $MOD['name']);
     $level = intval($level);
     $do->level($itemid, $level);