Exemple #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 'price':
     $tag = convert(trim($tag), 'UTF-8', DT_CHARSET);
     $tag or exit;
     $P = $db->get_one("SELECT * FROM {$table}_product WHERE title LIKE '%{$tag}%'");
     $P or exit;
     $pid = $P['itemid'];
     $condition = "pid={$pid} AND status=3";
     if ($day && is_date($day)) {