{template "header.html"}

<form class="form-horizontal" method="post" role="form" id="myform">
    {dr_form_hidden()}
    <div class="form-body">
        <div class="form-group">
            <label class="col-xs-3 control-label ajax_name">{dr_lang('购买账号')}</label>
            <div class="col-xs-8">
                <p class="form-control-static"> {Function_list::author($order.username)} </p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label ajax_name">{dr_lang('订单编号')}</label>
            <div class="col-xs-8">
                <p class="form-control-static"> {$order.sn} </p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label ajax_name">{dr_lang('订单金额')}</label>
            <div class="col-xs-8">
                <p class="form-control-static"> ￥{number_format($order.money, 2)} </p>
            </div>
        </div>
        {if $order.pay_status == 1}
        <div class="form-group">
            <label class="col-xs-3 control-label ajax_name">{dr_lang('付款时间')}</label>
            <div class="col-xs-8">
                <p class="form-control-static"> {dr_date($order.pay_time)} </p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label ajax_name">{dr_lang('付款流水')}</label>
            <div class="col-xs-8">
                <p class="form-control-static"> <a href="{dr_url('member/paylog/edit', ['id'=>$order.pay_id])}">#{$order.pay_id}</a> </p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-xs-3 control-label ajax_name">{dr_lang('付款方式')}</label>
            <div class="col-xs-8">
                <p class="form-control-static"> {dr_pay_type_html($order.pay_type)} </p>
            </div>
        </div>
        {elseif $order.pay_status == 2}
        {else}
        <div class="form-group" id="dr_row_note">
            <label class="col-xs-3 control-label ajax_name">{dr_lang('付款备注')}</label>
            <div class="col-xs-8">
                <textarea class="form-control" id="dr_note" name="note" rows="5">系统代付款</textarea>
            </div>
        </div>
        {/if}
    </div>
</form>


{template "footer.html"}