- A+
内容摘要
<b>morepic参数:</b><br />
<?php
$arr = array();
$arr = $navinfor['morepic'];
$newarr = explode(egetzy('rn'),$arr);
$count = count(explode(egetzy(
文章正文
<b>morepic参数:</b><br /><?php$arr = array();$arr = $navinfor['morepic'];$newarr = explode(egetzy('rn'),$arr);$count = count(explode(egetzy('rn'),$navinfor[morepic]));//图集的图片数量for($i=0;$i<$count;$i++){$s_arr = array();$s_arr[] = $newarr[$i];$str = $s_arr[0];
$bot_arr = explode("::::::", $str);
$spic = $bot_arr[0];//小图$bpic = $bot_arr[1];//大图$picinfo = $bot_arr[2];//图片说明
echo '<img src="'.$spic.'" data-large="'.$bpic.'" alt="'.$picinfo.'" width="65" height="65" />';}?>
代码注释
- 我的微信
- 这是我的微信扫一扫
- 我的微信公众号
- 我的微信公众号扫一扫