http://www.ectouch.cn/topics/94.htmlphp
效果html
操做:緩存
1.app
if($value['media_type'] == 0){ if (strpos($value['ad_code'], 'http://') === false && strpos($value['ad_code'], 'https://') === false) { $ad_list[$key]['ad_code'] = __URL__.'/'. $value['ad_code']; }else{ $ad_list[$key]['ad_code'] = $value['ad_code']; } }
<th class="text-center">{$lang['ad_code_img']}</th>
位置:<td class="text-center">{$vo['media_type']}</td> 後面添加一行函數
<td class="text-center"><img src="{$vo['ad_code']}" width='100' height='50'></td>
$_LANG['ad_code_img'] = '廣告圖片';
修改完成,清除下緩存。this