<%@ page language="C#" autoeventwireup="true" inherits="card_index, 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" TagPrefix="UC" Src="~/s/include/tip_bar.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 runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>在线申领打折卡_<%=ZK.config("sitetitle") %></title><meta name="keywords" content="<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=ZK.config("sitedescription") %>" />
    <UC:meta ID="meta1" runat="server" />
</head>
<body>
    <div class="wrap"><a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <div class="box">
            <div class="pt5"><img alt="" src="p1.jpg" /></div>
        </div>
        <div class="box pt5">
            <div class="c1">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con">在线申领折扣一卡通</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="v">
                    <div class="NOCSS" style="padding-left: 20px; padding-top: 15px; padding-bottom: 15px; background: url(p2.jpg) no-repeat 720px -5px;">
                        <div class="do1">

                            <script type="text/javascript">
                                function SelfSubmit()
                                {
                                    document.getElementById("self_submit1").className="none";document.getElementById("self_submit2").className="but4";
                                
                                    function reset(){document.getElementById("self_submit1").className="but4";document.getElementById("self_submit2").className="none";}
                                
                                    <%=WMcompare.IsEqual(WMreplace.ConvertBit(IsLogined),"1","//","")%>if(document.getElementById("Card_username").value==""){alert("请填写您在本站的用户名！");reset();return false;}
                                    <%=WMcompare.IsEqual(WMreplace.ConvertBit(IsLogined),"1","//","")%>if(document.getElementById("Card_password").value==""){alert("密码不能为空！");reset();return false;}
                                    if(document.getElementById("Card_name").value==""){alert("联系人姓名必须填写！");reset();return false;}
                                    if(document.getElementById("Card_tel").value==""){alert("联系电话必须填写！");reset();return false;}
                                    if(document.getElementById("Card_address").value==""){alert("邮寄地址必须填写！");reset();return false;}
                                    
                                    function SubFun(result)
                                    {
                                        if(result=="0"){alert("恭喜您，提交申请成功！");window.location=location.href;}
                                        else if(result=="1")alert("填写的信息不符合规范！");
                                        else if(result=="2")alert("不存在此用户！");
                                        else if(result=="3")alert("密码不正确，请重新输入正确的密码！");
                                        else if(result=="4")alert("提交申请失败！");
                                        else alert(result);
                                        reset();
                                    }
                                    var pars="Card_username="+base64en(document.getElementById("Card_username").value);
                                    pars+="&Card_password="+base64en(document.getElementById("Card_password").value);
                                    pars+="&Card_name="+base64en(document.getElementById("Card_name").value);
                                    pars+="&Card_tel="+base64en(document.getElementById("Card_tel").value);
                                    pars+="&Card_address="+base64en(document.getElementById("Card_address").value);
                                    pars+="&Card_postcode="+base64en(document.getElementById("Card_postcode").value);
                                    ajax("post","index.aspx?act=ajax",pars,function OnHandler(){if(xmlHttp.readyState == 4){SubFun(xmlHttp.responseText);}});
                                }
                            </script>

                            <div class="clear"></div>
                            <table border="0" cellpadding="0" cellspacing="0" class="table1">
                                <tr<%=WMcompare.IsEqual(WMreplace.ConvertBit(IsLogined),"1"," class=\"none\"","")%>>
                                    <td class="tt">
                                        <b>用户名：</b>
                                    </td>
                                    <td>
                                        <input type="text" id="Card_username" maxlength="20" class="inp4" style="width: 150px" autocomplete="off" />
                                        <span class="msgon" style="color: #999;">填写您在本站的用户名，如果没有帐号请先<a href="/user/reg.htm" target="_blank" style="color: #06c; padding-left: 4px; padding-right: 3px;" class="str">快速注册</a>一个</span><div class="clear"></div>
                                    </td>
                                </tr>
                                <tr<%=WMcompare.IsEqual(WMreplace.ConvertBit(IsLogined),"1"," class=\"none\"","")%>>
                                    <td class="tt">
                                        <b>密码：</b>
                                    </td>
                                    <td>
                                        <input type="password" id="Card_password" maxlength="20" class="inp4" style="width: 150px" autocomplete="off" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        <b>真实姓名：</b>
                                    </td>
                                    <td>
                                        <input type="text" id="Card_name" maxlength="20" class="inp4" style="width: 150px" autocomplete="off" />
                                        <span class="msgon" style="color: #999;">填写联系人的真实姓名</span><div class="clear"></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        <b>联系电话：</b>
                                    </td>
                                    <td>
                                        <input type="text" id="Card_tel" maxlength="40" class="inp4" style="width: 200px" autocomplete="off" />
                                        <span class="msgon" style="color: #999;">建议填写手机</span><div class="clear"></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        <b>邮寄地址：</b>
                                    </td>
                                    <td>
                                        <input type="text" id="Card_address" maxlength="200" class="inp4" style="width: 300px" autocomplete="off" />
                                        <span class="msgon" style="color: #999;">请认真填写，以便准确邮送</span><div class="clear"></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        <span>邮政编码：</span>
                                    </td>
                                    <td>
                                        <input type="text" id="Card_postcode" maxlength="10" class="inp4" autocomplete="off" />
                                        <span class="msgon" style="color: #999;">不记得可不填</span><div class="clear"></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                    </td>
                                    <td>
                                        <div style="color: #f90;">成功申领后本卡号将与您该用户名绑定，请注意及时更新并确保您的会员资料正确性</div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tt">
                                        &nbsp;
                                    </td>
                                    <td>
                                        <input type="button" id="self_submit1" value="提交申请" class="but4" onclick="return SelfSubmit();" /><input type="button" id="self_submit2" value="提交中.." class="none" />
                                    </td>
                                </tr>
                            </table>
                            <div class="clear"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="box pt5">
            <div class="c1">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con">折扣一卡通介绍</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="v" style="padding-bottom: 6px;">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr valign="top">
                            <td width="42%">
                                <div style="padding: 8px 5px 1px 15px; line-height: 2; color: #333;">
                                    <div class="s14 str" style="color: #06c; border-bottom: solid 1px #b6d3eb;">什么是折扣一卡通？</div>
                                    <div class="s14" style="padding-top: 4px; line-height: 27px; color: #444;padding-right:7px;">　　打折卡是同城消费的会员卡，集餐饮、娱乐、购物、美容、旅行、家居等等于一体的消费优惠卡，持有打折卡即可享受特约商户在同城消费上提供的超低折扣优惠，并可以参加同城消费举办的各种活动，有免费获取同城消费纪念品的机会，请在下面填写领卡信息吧。</div>
                                </div>
                                <div style="padding: 4px 5px 0 15px; line-height: 2; color: #333;">
                                    <div class="s14 str" style="color: #06c; border-bottom: solid 1px #b6d3eb;">折扣一卡通的用处！</div>
                                    <div class="s14" style="padding-top: 4px; line-height: 34px; color: #069;">◆使用此卡可享受本站合作商家提供的折扣优惠；<br />
                                        ◆使用此卡可享受本站为您提供的打折服务；<br />
                                        ◆使用此卡可免费参与本站组织的团购会；<br />
                                        ◆商家提供的折扣信息请浏览本站的“打折优惠”栏目。</div>
                                </div>
                            </td>
                            <td width="58%">
                                <div style="padding: 8px 15px 0 15px; line-height: 2; color: #444;">
                                    <div class="s14 str" style="color: #06c; border-bottom: solid 1px #b6d3eb;">注意事项</div>
                                    <div style="padding-top: 4px; line-height: 22px;">1、 一次申请后可终身拥有，无需续费，无限次使用；<br />
                                        2、商家的折扣信息以本站“打折优惠”栏目公布的为准；<br />
                                        3、此卡如有遗失，须重新申领，不受理挂失；<br />
                                        4、持卡在商家消费时若遇到商家折扣问题产生异议，可及时按照卡上联系方式联系本站,由我们市场专员与商家进行沟通解决；<br />
                                        5、本卡实行实名制，仅限本人使用。</div>
                                </div>
                                <div style="padding: 8px 5px 0 15px; line-height: 2; color: #444;">
                                    <div class="s14 str" style="color: #06c; border-bottom: solid 1px #b6d3eb;">申领说明</div>
                                    <div style="padding-top: 4px; line-height: 22px;"><strong style="color: #f60;">一、关于费用</strong><br />
                                        1、在线申请使用金币兑换,所需金币为20个，免邮费；<br />
                                        2、线下直接办理，一次性收取制卡工本费20元；<br />
                                        3、对于本站的积极会员可免费申领，以做奖励。<br />
                                        <strong style="color: #f60;">二、领取办法</strong><br />
                                        填写下面表格在线申请，使用金币支付，免费邮寄给您；或者在本站的特约销售网点直接购买。</div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>        
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
