{dede:field name='id' runphp='yes'}
global $dsql;
require_once ZB_THEME_LIB.'/zb_url.php';
$D=$GLOBALS['h_teams'];$kw=addslashes($D['title']);
$dsql->SetQuery("SELECT id,title FROM `#@__archives` WHERE channel=10 AND arcrank>=0 AND title LIKE '%$kw%' ORDER BY id DESC LIMIT 6");
$dsql->Execute('nw');$h='
';$nn=0;
while($n=$dsql->GetArray('nw')){
$nn++;$h.='
';
}
$h.='
';
if(!$nn)$h='
暂无相关资讯
';
$DedeMeValue=$h;
{/dede:field}