ce7186a1d8695798342d9d57572f4162.php 4.51 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::debug('[messages]', 'sec', $cx, Plugin\LCRun3::debug('[messages]', 'v', $cx, $in, array('messages')), $in, false, function($cx, $in) {return ''.'    <div class="message-list">
'.((Plugin\LCRun3::debug('[messages].[empty]', 'ifvar', $cx, Plugin\LCRun3::debug('[messages].[empty]', 'v', $cx, $in, array('messages','empty')))) ? ''.Plugin\LCRun3::debug('with [messages]', 'wi', $cx, Plugin\LCRun3::debug('[messages]', 'v', $cx, $in, array('messages')), $in, function($cx, $in) {return ''.'                <p class="empty-tip">'.Plugin\LCRun3::debug('[empty]', 'encq', $cx, Plugin\LCRun3::debug('[empty]', 'v', $cx, $in, array('empty'))).'!</p>'.'';}).'' : '            <table>
'.Plugin\LCRun3::debug('[messages]', 'sec', $cx, Plugin\LCRun3::debug('[messages]', 'v', $cx, $in, array('messages')), $in, false, function($cx, $in) {return '                    <tr'.((Plugin\LCRun3::debug('[isNew]', 'ifvar', $cx, Plugin\LCRun3::debug('[isNew]', 'v', $cx, $in, array('isNew')))) ? ' class="new-msg"' : '').'>
                        <td width="37">
                            <input type="checkbox" class="msg-check" value="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'">
                        </td>
                        <td class="td-sender"><a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[sender]', 'encq', $cx, Plugin\LCRun3::debug('[sender]', 'v', $cx, $in, array('sender'))).'</a></td>
                        <td class="td-title"><a href="'.Plugin\LCRun3::debug('[href]', 'encq', $cx, Plugin\LCRun3::debug('[href]', 'v', $cx, $in, array('href'))).'">'.Plugin\LCRun3::debug('[title]', 'encq', $cx, Plugin\LCRun3::debug('[title]', 'v', $cx, $in, array('title'))).'</a></td>
                        <td width="130">'.Plugin\LCRun3::debug('[time]', 'encq', $cx, Plugin\LCRun3::debug('[time]', 'v', $cx, $in, array('time'))).'</td>
                        <td>
                            <a class="del-btn" data-id="'.Plugin\LCRun3::debug('[id]', 'encq', $cx, Plugin\LCRun3::debug('[id]', 'v', $cx, $in, array('id'))).'">删除</a>
                        </td>
                    </tr>
';}).'                <tr class="list-foot">
                    <td>
                        <input type="checkbox" class="choose-all">
                    </td>
                    <td colspan="4">
                        <button class="del-choose-btn">删除选中的消息</button>
                        <button class="read-choose-btn">标记为已读</button>
                    </td>
                </tr>
            </table>
').'    </div>'.''.''.Plugin\LCRun3::debug('[pager]', 'sec', $cx, Plugin\LCRun3::debug('[pager]', 'v', $cx, $in, array('pager')), $in, false, function($cx, $in) {return '        <div class="me-pager clearfix">
'.((Plugin\LCRun3::debug('[hasCheckAll]', 'ifvar', $cx, Plugin\LCRun3::debug('[hasCheckAll]', 'v', $cx, $in, array('hasCheckAll')))) ? '                <input id="me-checkall" class="check-all" type="checkbox">
                全选
                <span id="me-del-checked" class="del-checked">删除</span>
' : '').'            <div class="pull-right">
                <span>共'.Plugin\LCRun3::debug('[count]', 'encq', $cx, Plugin\LCRun3::debug('[count]', 'v', $cx, $in, array('count'))).'条结果,'.Plugin\LCRun3::debug('[curPage]', 'encq', $cx, Plugin\LCRun3::debug('[curPage]', 'v', $cx, $in, array('curPage'))).'/'.Plugin\LCRun3::debug('[totalPages]', 'encq', $cx, Plugin\LCRun3::debug('[totalPages]', 'v', $cx, $in, array('totalPages'))).'页</span>
    
                <div class="pager-html pager">
                    '.Plugin\LCRun3::debug('[pagerHtml]', 'raw', $cx, Plugin\LCRun3::debug('[pagerHtml]', 'v', $cx, $in, array('pagerHtml'))).'
                </div>
            </div>
        </div>
    ';}).''.'';}).'';
}
?>