array ( 0 => 'IN', 1 => array ( 0 => '11', 1 => '13', 2 => '14', 3 => '23', ), ), 'checked' => '1', );$result=M("cms_news")->where($mwhere)->limit(20)->order("newstime desc")->select(); $no=1; foreach($result as $key=>$v){ if($v[id]&&$v[catid]){ $v[titleurl]=titleurl($v); } if($v[catid]){ $cat=M("cat")->find($v[catid]); $v[caturl]=caturl($cat[catid]); } ?>