[e:loop={"select fvalue,f from {$dbtbpre}enewsf where f='type' and tbname='news'",0,24}] <? $dzh=explode('|',$bqr['fvalue']); foreach($dzh as $v){ $vr=explode('==',$v); $dzhr[$vr[0]]=$vr[1]; } $jgf=','; $nowr=explode('|',trim($navinfor[$bqr['f']],'|')); foreach($nowr as $index){ $jgfs.= $dzhr[$index].$jgf; } echo trim($jgfs,$jgf); ?> [/e:loop]
|