其实,在footer.php中添加以下代码即可调用显示友链模块:
view source print?
1 <a>友情链接:</a>
2 <?php {global $CACHE$link_cache = $CACHE->readCache('link')?>
3
4 <?php foreach($link_cache as $value): ?>
5 <a href="<?php echo $value['url']?>" title="<?php echo $value['des']?>" target="_blank"><?php echo $value['link']?></a>
6 <?php endforeach?>
7
8 <?php }?>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)