bhq@iemsoft.cn
2018-11-27 e2b48dac099e43f4b3243cdf19a7522e4b5eccbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!-- $Id: auction_info.htm 16992 2010-01-19 08:45:49Z  $ -->
{include file="pageheader.htm"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
 
<div class="main-div">
 
<form method="post" action="virtual_goods_card.php?act=verification_info" name="theForm"  enctype="multipart/form-data" onsubmit="return validate()">
 
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
  <td align="right">{$lang.input_virtual_verification}</td><td><input type="text" id='verification' name="verification" value="{$result.card_sn}"><input type="submit"  value="提交" class="button"></td>
  </tr>
</table>
</div>
</form>
{if $result.card_id}
<form method="post" action="virtual_goods_card.php?act=verification" name="theForm"  enctype="multipart/form-data">
<div class="main-div">
<input type="hidden" name="verification" value="{$result.card_sn}">
<table cellspacing='1' cellpadding='3'>
    <tbody>
    <tr>
        <td>订单号</td>
        <td>缩略图</td>
        <td>商品名称</td>
        <td>商品价格</td>
        <td>过期时间</td>
        <td>使用时间</td>
        <td>验证码</td>
        <td>验证状态</td>
        <td>操作</td>
    </tr>
        <tr>
        <td>{$result.order_sn}</td>
        <td><a href="../goods.php?id={$result.goods_id}" target="_blank"><img src="../{$result.goods_thumb}" width="50px"></a></td>
        <td><a href="../goods.php?id={$result.goods_id}" target="_blank">{$result.goods_name}</a></td>
        <td>¥{$result.shop_price}</td>
        <td>{$result.end_date}</td>
        <td>{$result.buy_date}</td>
        <td>{$result.card_sn}</td>
        <td>{$result.is_verification}</td>
        <td><input type="submit"  value="验证" class="button"></td>
    </tr>
</tbody>
</table>
    </form>
</div>
{/if}
 
{if $result.msg eq '0'}<script type="Text/Javascript" language="JavaScript">alert("{$lang.message.not_found_verification}");</script>{/if}
{if $result.msg eq '1'}<script type="Text/Javascript" language="JavaScript">alert("{$lang.message.verification_success}");</script>{/if}
{if $result.msg eq '2'}<script type="Text/Javascript" language="JavaScript">alert("{$lang.message.verification_used}");</script>{/if}
{if $result.msg eq '3'}<script type="Text/Javascript" language="JavaScript">alert("{$lang.message.verification_overdue}");</script>{/if}
<script type="Text/Javascript" language="JavaScript">
    function validate(){
        var verification = document.getElementById('verification').value;
        if(verification.length == 0){
            alert("请输入验证码!");
             document.forms['theForm'].elements['verification'].focus();
             return false;
        }
    }
</script>
{include file="pagefooter.htm"}