{include file="public/mall_top" /} 
{include file="public/mall_header" /}

<link rel="stylesheet" href="{$Think.config.url_domain_root}static/home/css/member.css">
<div class="dsm-container">
    {include file="public/member_left" /}
    <div class="right-layout">
        <div class="tabmenu">
            {include file="public/member_items" /}
        </div>
                <form method="post" target="_self">
            <table class="ncm-search-table">
                <tr>
                    <th>订单号</th>
                    <td class="w160"><input type="text" class="text w150" name="orderinviter_order_sn" value="{$Think.post.orderinviter_order_sn}"></td>
                    <td class="w70 tc">
                        <label class="submit-border">
                            <input type="submit" class="submit" value="{$Think.lang.ds_search}"/>
                        </label>
                    </td>
                </tr>
            </table>
        </form>
        
        <table class="dsm-default-table">
            <thead>
                <tr>
                    <th class="w40">佣金</th>
                    <th class="w80 tl">订单号</th>
                    <th class="w150 tl">备注</th>
                    <th class="w40">是否有效</th>
                </tr>
            </thead>
            <tbody>
                <?php  if (count($list)>0) { ?>
                <?php foreach($list as $v) { ?>
                <tr class="bd-line">
                    <td class="tl">￥<?php echo $v['orderinviter_money']; ?></td>
                    <td class="tl"><?php echo $v['orderinviter_order_sn']; ?></td>
                    <td class="tl"><?php echo $v['orderinviter_remark']; ?></td>
                    <td class="tl"><?php if($v['orderinviter_valid']){ echo '是'; }else{ echo '否';} ?></td>
                </tr>
                <?php } ?>
                <?php } else {?>
                <tr>
                    <td colspan="20" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
                </tr>
                <?php } ?>
            </tbody>
            <tfoot>
                <?php  if (count($list)>0) { ?>
                <tr>
                    <td colspan="20"><div class="pagination">{$page}</div></td>
                </tr>
                <?php } ?>
            </tfoot>
        </table>
        
        
        
    </div>
</div>

<script type="text/javascript">
$(function(){
    $('#query_start_date').datepicker({dateFormat: 'yy-mm-dd'});
    $('#query_end_date').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>
{include file="public/mall_server" /}
{include file="public/mall_footer" /}