38aee3b2c4ef2867422ac7f93f67ef66.php 1.49 KB
<?php return function ($in, $debugopt = 1) {
    $cx = array(
        'flags' => array(
            'jstrue' => false,
            'jsobj' => false,
            'spvar' => true,
            'prop' => false,
            'method' => false,
            'mustlok' => true,
            'echo' => false,
            'debug' => $debugopt,
        ),
        'constants' => array(),
        'helpers' => array(),
        'blockhelpers' => array(),
        'hbhelpers' => array(),
        'partials' => array(),
        'scopes' => array(),
        'sp_vars' => array('root' => $in),
        'lcrun' => 'Plugin\LCRun3',

    );
    
    return ''.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('coupons')), $in, false, function($cx, $in) {return '<div class="employ-main">
        <span>'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('money')), ENT_QUOTES, 'UTF-8').'</span>
        <p class="coupon-name">'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('coupon_name')), ENT_QUOTES, 'UTF-8').'</p>
        <p>有效期:'.htmlentities((string)Plugin\LCRun3::v($cx, $in, array('couponValidity')), ENT_QUOTES, 'UTF-8').'</p>
        '.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('used')), $in, false, function($cx, $in) {return '<i></i>';}).'
    </div>
';}).'
'.Plugin\LCRun3::sec($cx, Plugin\LCRun3::v($cx, $in, array('noRecord')), $in, false, function($cx, $in) {return '<div class="null">
	<i></i>
	<p>您还没有优惠券!</p>
	<a href="/product/new">随便逛逛</a>
</div>
';}).'';
}
?>