管理员

- 积分
- 1
- 登陆
Warning: Illegal string offset 'loginnum' in /www/wwwroot/kyuanma.com/e/data/tmp/dt_temptext13.php on line 257
次
- 私信
- 注册时间
Warning: Illegal string offset 'registertime' in /www/wwwroot/kyuanma.com/e/data/tmp/dt_temptext13.php on line 261
Warning: date() expects parameter 2 to be long, string given in /www/wwwroot/kyuanma.com/e/data/tmp/dt_temptext13.php on line 261
- 最后登陆时间
Warning: Illegal string offset 'lasttime' in /www/wwwroot/kyuanma.com/e/data/tmp/dt_temptext13.php on line 263
Warning: date() expects parameter 2 to be long, string given in /www/wwwroot/kyuanma.com/e/data/tmp/dt_temptext13.php on line 263
|
织梦dedecms5.7的软件星级默认的是文字“★”,肯定没有图片“”好看,下面就是把文字星星替换成图片星星的方法:
打开:
include\helpers\channelunit.helper.php
找到这段:
01 |
if ( ! function_exists( 'GetRankStar' )) |
03 |
function GetRankStar( $rank ) |
06 |
for ( $i =1; $i <= $rank ; $i ++) |
|
找到:
$nstar .= "★";
替换成:
$nstar .= "<img src=/images/star2.gif>";
找到:
$nstar .= "☆";
替换成:
$nstar .= "<img src=/images/star1.gif>";
送上两个星级图标:
按照以上方法,也可以替换成自己的图片,或者其他路径。
|
|