{include file="public/seller_top" /}
<div class="seller_main w1200">
    {include file="public/seller_left" /}
    <div class="seller_right">
        <div class="seller_items">
            {include file="public/seller_items" /}
        </div>

        <div class="dssc-form-default">
            <dl>
                <dt><em class="pngFix"></em>{$Think.lang.voucher_template_title}{$Think.lang.ds_colon}</dt>
                <dd>{$t_info.voucher_t_title}</dd>
            </dl>
            <dl>
                <dt><em class="pngFix"></em>{$Think.lang.voucher_template_enddate}{$Think.lang.ds_colon}</dt>
                <dd>{if $t_info.voucher_t_end_date}{:date('Y-m-d',$t_info.voucher_t_end_date)}{/if}</dd>
            </dl>
            <dl>
                <dt>{$Think.lang.voucher_template_price}{$Think.lang.ds_colon}</dt>
                <dd>{$t_info.voucher_t_price}&nbsp;{$Think.lang.currency_zh}</dd>
            </dl>
            <dl>
                <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_total}{$Think.lang.ds_colon}</dt>
                <dd>{$t_info.voucher_t_total}&nbsp;{$Think.lang.voucher_template_eachlimit_unit}</dd>
            </dl>
            <dl>
                <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_eachlimit}{$Think.lang.ds_colon}</dt>
                <dd>{$t_info.voucher_t_eachlimit}&nbsp;{$Think.lang.voucher_template_eachlimit_unit}</dd>
            </dl>
            <dl>
                <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_orderpricelimit}{$Think.lang.ds_colon}</dt>
                <dd>{$t_info.voucher_t_limit}&nbsp;{$Think.lang.currency_zh}</dd>
            </dl>
            <dl>
                <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_describe}{$Think.lang.ds_colon}</dt>
                <dd>
                    <textarea  name="txt_template_describe" rows="3" class="w300" readonly>{$t_info.voucher_t_desc}</textarea>
                </dd>
            </dl>
            <dl>
                <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_image}{$Think.lang.ds_colon}</dt>
                <dd>
                    <div style="clear:both; padding-top:10px;">
                        {if $t_info.voucher_t_customimg}
                        <img onload="javascript:DrawImage(this,220,95);" src="<?php echo UPLOAD_SITE_URL.DS.ATTACH_VOUCHER.DS.session('store_id').DS.$t_info['voucher_t_customimg'];?>"/>
                       {/if}
                    </div>
                </dd>
            </dl>
            <dl>
                <dt><em class="pngFix"></em>{$Think.lang.ds_status}{$Think.lang.ds_colon}</dt>
                <dd>
                    {volist name="templatestate_arr" id="v"}
                    {if $v.0 == $t_info.voucher_t_state}
                    {$v.1}
                    {/if}
                    {/volist}
                </dd>
            </dl>
            <dl>
                <dt><em class="pngFix"></em>{$Think.lang.voucher_template_giveoutnum}{$Think.lang.ds_colon}</dt>
                <dd>{$t_info.voucher_t_giveout}&nbsp;{$Think.lang.voucher_template_eachlimit_unit}</dd>
            </dl>
            <dl>
                <dt><em class="pngFix"></em>{$Think.lang.voucher_template_usednum}{$Think.lang.ds_colon}</dt>
                <dd>{$t_info.voucher_t_used}&nbsp;{$Think.lang.voucher_template_eachlimit_unit}</dd>
            </dl>
            <div class="bottom"> <a href="javascript:void(0);" class="submit" onclick="window.location='{:url('Sellervoucher/templatelist')}'" > {$Think.lang.voucher_template_backlist}</a> </div>
    </div>
</div>