$_where = array(); if(I('category_id')){ $_where['category_id'] = array('eq',I('category_id',0,'intval')); } if(I('pid')){ $_where['pid'] = array('eq',I('pid',0,'intval')); } if(I('ids')){ $_where['id'] = array('in',I('ids')); } $_where['status'] = array('eq',1); $_where['system'] = array('in','0,1,2'); $configs = M('Config') -> where($_where) -> order('sort desc') -> select();

{$vo.text}: | {$vo.value} checked/>是 checked/>否
| 上传
| {$vo.instruction}

提交 关闭