dede首页调用tag方法
$tsql = new DedeSql(false);
$tags = '';
$tsql->SetQuery("Select i.tag From cmsxx_taglist t left join cmsxx_tagindex i on i.id=t.tid where t.aid='@me'");
$tsql->Execute('t');
while($row = $tsql->GetArray('t',MYSQL_ASSOC)){
$tag .= "<a href='/tags.php?/".urlencode($row['tag'])."'>".$row['tag']."</a> ";
}
@me=$tag;
页:
[1]