{include file="public/include"}
{include file="public/th" /} {php} $curSid = intval($param['sid'])>0 ? intval($param['sid']) : 1; $curNid = intval($param['nid'])>0 ? intval($param['nid']) : 1; $mangaFrom = isset($obj['manga_page_list'][$curSid]) ? $obj['manga_page_list'][$curSid] : []; $mangaEp = isset($mangaFrom['urls'][$curNid]) ? $mangaFrom['urls'][$curNid] : []; $manga_img_list = []; if(!empty($mangaEp['url'])){ $manga_img_list = explode(',', $mangaEp['url']); } $epTotal = isset($mangaFrom['url_count']) ? intval($mangaFrom['url_count']) : 0; if($epTotal<1 && !empty($mangaFrom['urls']) && is_array($mangaFrom['urls'])){ $epTotal = count($mangaFrom['urls']); } $prevNid = $curNid>1 ? $curNid-1 : 1; $nextNid = ($epTotal>0 && $curNid<$epTotal) ? $curNid+1 : $curNid; $hasPrev = $curNid > 1; $hasNext = $epTotal > 0 && $curNid < $epTotal; {/php}
{include file="widget/share"} {include file="ads/ads_banner1"} {include file="ads/ads_icon1" ads_icon1_marquee="0"} {if condition="!empty($mangaFrom['urls'])"}
目录
{$obj.manga_name} · 共{$epTotal|default='0'}话
{volist name="mangaFrom.urls" id="ep2"} {$ep2.nid} {$ep2.name|default='第'.$ep2.nid.'话'} {if condition="$ep2.nid eq $curNid"}当前{/if} {/volist}
{/if}
{if condition="$popedom.code eq 1"} {if condition="!empty($manga_img_list)"} {volist name="manga_img_list" id="img"}
{/volist} {else /}
本话暂无图片
{/if} {else /}
{include file="widget/popedom_upgrade_gate"}
{/if}
{if condition="$GLOBALS['config']['comment']['status'] eq 1 && $popedom.code eq 1"}

### 评论 共 0 条

{/if}
{include file="widget/recharge_modal" /} {include file="public/foot"}