<%@ page language="C#" autoeventwireup="true" inherits="jf_exchange, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar_time" TagPrefix="UC" Src="~/s/include/tip_bar_time.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title><asp:Literal ID="PageTitle" runat="server"></asp:Literal>_兑换奖品_<%=ZK.config("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
    <script type="text/javascript">
        function check1(){
            <asp:Literal ID="JS1" runat="server"></asp:Literal>
            var whe1="<asp:Literal ID="Literal_Switch" runat="server"></asp:Literal>";
            if(whe1=="1"){
                if(document.getElementById("TextBox1").value==""){alert("联系人不能为空！");return false;}
                if(document.getElementById("TextBox2").value==""){alert("联系电话不能为空！");return false;}
                if(document.getElementById("TextBox3").value==""){alert("收件地址不能为空！");return false;}
            }
        }
    </script>
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head2" runat="server" />
        <form id="form1" runat="server">
        <div class="box">
            <div class="tip_bar mt5">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div class="path"><strong>您当前的位置：</strong><span><a href="/">网站首页</a></span><span><a href="/jf/">积分兑换</a></span>兑换奖品</div>
                        </td>
                        <td align="right"><UC:tip_bar_time ID="tip_bar_time1" runat="server" /></td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="box">
            <div class="mt5">
                <div class="c3">
                    <div class="b">
                        <div class="fl"></div>
                        <div class="con">兑换奖品</div>
                        <div class="fr"></div>
                        <div class="clear"></div>
                    </div>
                    <div class="v">
                        <link rel="Stylesheet" href="/jf/skin/jf.css" />
                        <div style="padding: 30px 100px 35px 100px">
                        <asp:Literal ID="Literal_Tip" runat="server"></asp:Literal>
                            <div class="jfjp_view_note">
                                <table border="0" cellpadding="0" cellspacing="1" width="100%">
                                    <tr>
                                        <td width="70" style="padding-left: 15px; background-color: #f0efef; font-weight: bold">奖品名称：</td>
                                        <td><asp:Literal ID="Literal_Title" runat="server"></asp:Literal></td>
                                    </tr>
                                    <tr>
                                        <td style="padding-left: 15px; background-color: #f0efef; font-weight: bold">所需积分：</td>
                                        <td><asp:Literal ID="Literal5" runat="server"></asp:Literal>兑换此奖品将从您的会员积分中减去<asp:Literal ID="Literal_Cost" runat="server"></asp:Literal>点。</td>
                                    </tr>
                                </table>
                                <asp:Panel ID="Panel1" runat="server" Visible="false">
                                    <div class="str red" style="padding-top: 20px; padding-bottom: 5px">填写您的信息：<span class="nor" style="color: #666">(请正确填写您的信息，以便能正常收到奖品！)</span></div>
                                    <table border="0" cellpadding="0" cellspacing="1" width="100%">
                                        <tr>
                                            <td width="83" style="padding-left: 15px; background-color: #f0efef; font-weight: bold">联系人姓名：</td>
                                            <td><asp:TextBox ID="TextBox1" runat="server" MaxLength="10" Width="200" CssClass="inp4"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td style="padding-left: 15px; background-color: #f0efef; font-weight: bold">联系电话：</td>
                                            <td><asp:TextBox ID="TextBox2" runat="server" MaxLength="30" Width="300" CssClass="inp4"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td style="padding-left: 15px; background-color: #f0efef; font-weight: bold">收件地址：</td>
                                            <td><asp:TextBox ID="TextBox3" runat="server" MaxLength="200" Width="400" CssClass="inp4"></asp:TextBox></td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </div>
                            <div class="exchange">
                                <table border="0" cellpadding="0" cellspacing="0" class="wto">
                                    <tr>
                                        <td><asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" OnClientClick="return check1()">确定兑换</asp:LinkButton></td>
                                        <td width="12"></td>
                                        <td><a href="view.htm?id=<%=WM.RQ("id")%>" class="col1">取消兑换</a></td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
