首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

输出当前fid上的所有文章列表

2012-11-25 
输出当前fid下的所有文章列表!--EOT$fidDB[listorder]2//排序方式(参见artic_function.php之 ListThis

输出当前fid下的所有文章列表

<!--EOT;$fidDB[listorder]=2;//排序方式(参见artic_function.php  之 ListThisSort()$listdb=ListThisSort(5,25);//参数一是最大数量,参数二是标题长度。foreach($listdb AS $key=>$rs){$target=$rs[target]?'_blank':'_self';$rs[title]=get_word($rs[full_title],20,0);$rs[fontweight] =($rs[fonttype]==1)?'font-weight:bold;':'';$rs[fontcolor]  =$rs[titlecolor]?"color:$rs[titlecolor];":'';print <<<EOT--><LI><A href="fineview.php?fid=$rs[fid]&id=$rs[aid]" title='$rs[full_title]' style="{$rs[fontweight]}{$rs[fontcolor]}">$rs[title]</A></LI><!--EOT;}print <<<EOT-->

?

热点排行