打开 /include/common.func.PHP 文件
getone( "Select imgurls From `dede_addonimages` where aid='$aid' "); $imgurls= $row['imgurls']; preg_match_all("/{dede:img (.*){\/dede:img/isU",$imgurls,$wordcount); $count=count($wordcount[1]); return $count; }
PHP">{dede:list pagesize='10'} 共[field:id function="Getimgnum(@me)"/]张 {/dede:list}