{php} $__buy_mid = intval($maccms['mid'] ?? 0); $__buy_id = 0; $__buy_sid = 0; $__buy_nid = 0; $__buy_type = 1; if($__buy_mid === 1){ $__buy_id = intval($obj['vod_id'] ?? 0); $__buy_sid = intval($param['sid'] ?? 1); $__buy_nid = intval($param['nid'] ?? 1); $__buy_type = (($obj['player_info']['flag'] ?? 'play') === 'play') ? 4 : 5; } elseif($__buy_mid === 2){ $__buy_id = intval($obj['art_id'] ?? 0); $__buy_sid = intval($param['page'] ?? 1); $__buy_nid = 0; $__buy_type = 1; } elseif($__buy_mid === 12){ $__buy_id = intval($obj['manga_id'] ?? 0); $__buy_sid = intval($param['sid'] ?? 1); $__buy_nid = intval($param['nid'] ?? 1); $__buy_type = 1; } $__buy_enabled = $__buy_id > 0 ? 1 : 0; $__need_points = intval($popedom['points'] ?? 0); $__show_confirm_buy = ($__buy_enabled === 1 && $__need_points > 0) ? 1 : 0; {/php}

这部分内容需要会员才能观看哦～

开通会员即可畅享全部精彩内容，感谢您的支持

{if condition="$__show_confirm_buy eq 1"}

可选选择金币单次购买（{$__need_points}金币）

或升级会员畅看全站内容

{else/}

本内容需会员观看，请升级会员后即可观看

{/if}
{if condition="$__show_confirm_buy eq 1"} 确认购买 {/if} 升级会员