-
不秀钢材质钢管类网站织...
-
投资理财金融公司类网站...
-
餐饮加盟培训管理类网站...
-
建筑职业学校类网站织梦...
-
建筑规划施工类网站织梦...
-
行业资讯网类网站织梦模...
-
管理咨询培训机构类网站...
-
民宿景区旅游类网站织梦...
-
渔具批发牧渔类网站织梦...
-
手机APP游戏下载类网站织...
-
五金制品厨房用品类网站...
-
有机生物产品类网站织梦...
-
天然绿色食品类网站织梦...
-
特色火锅餐饮加盟店网站...
-
装修设计类网站织梦模板...
-
语言翻译机构类网站织梦...
-
中英双语装修建材类网站...
-
节能环保锅炉设备类网站...
-
金融理财投资类网站织梦...
-
花店鲜花配送类网站织梦...
- 调用代码
{dede:tag row='30' sort='new' getall='0'}<div class="hot mt1"><dl class="tbox light"><dt class='light'><strong>[field:tag /]</strong></dt><dd class='light'><ul class="c1 ico2">[field:tag runphp=yes]global $dsql,$aid;$i = 1;$taga = @me;$arow = $dsql->GetOne("Select * From `dede_tagindex` where tag like '$taga'");$tid = $arow['id'];if($tid!=''){$tagsql = "Select aid From `dede_taglist` where tid = $tid And arcrank > -1 group by aid order by aid desc";$dsql->SetQuery($tagsql);$dsql->Execute('t');$result = '';while($arow = $dsql->GetArray('t')){$ids[] = $arow['aid'];}}if(count($ids) > 0){$idsStr = join(',', $ids);$query = "Select arc.*,tp.typedir,tp.typename,tp.corank,tp.isdefault,tp.defaultname,tp.namerule,tp.namerule2,tp.ispart,tp.moresite,tp.siteurl,tp.sitepathfrom `dede_archives` arc left join `dede_arctype` tp on arc.typeid=tp.idwhere arc.arcrank>-1 and arc.id in($idsStr) And arc.id<>$aid order by arc.id desc";}$dsql->SetQuery($query);$dsql->Execute('t');$result = '';$totalRow = $dsql->GetTotalRow();while($row = $dsql->GetArray('t')){$arcurl = GetOneArchive($row['id']);$result .= "<li><a href=\"{$arcurl['arcurl']}\">{$row['title']}</a></li>";}if($result=='') $result = "<p style='color:#f00;'> 该TAG标签没有相关文章</p>";@me = $result;[/field:tag]</ul></dd></dl></div>{/dede:tag}