<!-- ############ PAGE START-->
<div class="padding">
    <div class="box">
        <div class="box-header">
            <span class="pull-right">
                查询: <input id="filter" type="text" class="form-control input-sm w-auto inline m-r" placeholder="请输入内容..."/>
            </span>
            <h2>新用户抽奖奖品配置</h2>
            <small>在这里，你可以配置奖品数量和中奖概率(点击参数可进行修改)。</small>
        </div>
        <div>
            <table class="table m-b-none" data-ui-jp="footable" data-filter="#filter" data-page-size="10">
                <thead>
                    <tr>
                        <th>#</th>
                        <th>奖品名称</th>
                        <th>奖品数量</th>
                        <th>中间概率</th>
                    </tr>
                </thead>
                <tbody class="luck_table">
                <?php if(!empty($GLOBALS['list'])){ foreach ($GLOBALS['list'] as $item){ $index++; ?>
                    <tr>
                        <td><?=$index?></td>
                        <td><?=$item->name?></td>
                        <td class="luck_num luck_num_<?=$item->id?>" id="<?=$item->id?>"><a><?=$item->num?></a></td>
                        <td class="luck_edit luck_edit_<?=$item->id?>" luck_id="<?=$item->id?>"><a><?=$item->luck?>%</a></td>
                    </tr>
                <?php } }?>
                </tbody>
                <tfoot class="hide-if-no-paging">
                    <tr>
                        <td colspan="5" class="text-center">
                            <ul class="pagination"></ul>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </div>
    </div>
</div>
<!-- ############ PAGE END-->