dedecms 获得某分类连接的URL与某个类目的超链接信息
<?php
//获得某分类连接的URL
function GetOneTypeUrl($typeinfos) {
return GetTypeUrl();
}
//获得某个类目的超链接信息
function GetOneTypeLink($typeinfos) {
$typepage = $this->GetOneTypeUrl($typeinfos);
$typelink = "<a href='" . $typepage . "'>" . $typeinfos['typename'] . "</a>";
return $typelink;
}
function GetChannelList($typeid = 0, $reid = 0, $row = 8, $typetype = 'sun', $innertext = '', $col = 1, $tablewidth = 100, $myinnertext = '') {
}上面些函数在TypeLink.class.php文件
文章网址:http://www.phprm.com/code/9faa6dbd171ccb773126d166fc398bc9.html
随意转载^^但请附上教程地址。