dedecms教程:DedeCMS关键词替换问题较完美解决方案

  • A+
所属分类:仿站

/include/common.func.php
/tag随机颜色
//function getTagStyle() {
//$sizearray = array('10','12'); //自定义字体大小,可根据需要自行修改
//$sizearray2 = array('FE9901','68B338'); //自定义背景颜色
//return 'font-size:'.$sizearray[rand(0,count($sizearray))].'pt;color:#'.dechex(rand(0,255)).dechex(rand(0,196)).dechex(rand(0,255)).';background:#'.$sizearray2[rand(0,count($sizearray2))];
/

avatar

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: