dedecms织梦文章点击数过千、万、亿的简写法代码
在 includeextend.func.php 最下面加个函数 function click_round_number( $number, $min_value = 1000, $decimal = 1 ) { if( $number $min_value ) { return $number; } $alphabets = array( 100000000 = 亿, 10000 = 万, 1000 = 千 ); foreach( $alphabet...