 返回上一页  首页  {$category['title']}列表{$model['title']}列表

  >{$field[1]} $where=array( 'model_id'=>$model['id'], 'name'=>$v['field'] ); $extra=M('attribute')->where($where)->getField('extra'); $extra=preg_split("/[,\n\r]+/s",$extra ,-1,PREG_SPLIT_NO_EMPTY); foreach($extra as $k1=>$v1){ $re=preg_split("/[:]+/s",$v1 ,-1,PREG_SPLIT_NO_EMPTY); $extra[$re[0]]=$re[1]; } $ids=I($v['field'].'s','0'); $list_reids_mod=M($extra['table'])->order("field(id,".$ids.")")->where(array('id',array('id'=>array('in',$ids))))->select();

| {$v.title} | 操作
--- | --- | ---
foreach($v1['fun_param'] as $k2=>&$v2){ if($v2=='###'){ $v2=$v[$v1['field']]; }else if(preg_match("/[\[]+([^\[\]]+)[\]]+/i", $v2, $matches)){ $v2=I($matches[1]); } } | {:call_user_func_array($v1['fun'],$v1['fun_param'])} | {$v[$v1['field']]} | 详情 删除

{$page|default=''}