Ejemplo n.º 1
0
     $menuid = 4;
     include tpl('index', $module);
     break;
 case 'reject':
     if ($itemid && !$psize) {
         $do->reject($itemid);
         dmsg('拒绝成功', $forward);
     } else {
         $lists = $do->get_list('status=1' . $condition, $dorder[$order]);
         $menuid = 3;
         include tpl('index', $module);
     }
     break;
 case 'check':
     if ($itemid && !$psize) {
         $do->check($itemid);
         dmsg('审核成功', $forward);
     } else {
         $lists = $do->get_list('status=2' . $condition, $dorder[$order]);
         $menuid = 2;
         include tpl('index', $module);
     }
     break;
 case 'item':
     $itemid or msg();
     $do->itemid = $itemid;
     if (isset($update)) {
         $thumb = '';
         if ($swf_upload) {
             foreach (explode('|', $swf_upload) as $v) {
                 if ($v) {