<%@ page language="C#" autoeventwireup="true" inherits="UserResult, LebiMall" %>

<!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">
     <title><%=model.Title %>-会员充值</title>
    <meta name="description" content=<%=model.Description %> />
    <meta name="keywords" content=<%=model.Keywords %> />
    <meta name="generator" content="LBMall 3.0.0" />
    <link href="images/css/css3.css" rel="stylesheet" type="text/css" />
    <link href="images/css/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="images/js/shopjs.js"></script>
    <link href="images/css/shopcss.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(images/css/ie6.css); /* ]]> */</style><![endif]-->
    <!--[if gte IE 7]><STYLE type=text/css media=screen>@import url(images/css/ie7.css);</STYLE><![endif]-->
    <script type="text/javascript">
        function onshow(){
            document.getElementById("div_u").style.display="block";
        }
        function noshow(){
            document.getElementById("div_u").style.display="none";
        }
        function search2(){
            var texts2=document.getElementById("ser2").value;
            var select_v2=document.getElementById("Select3").value;
            window.location="list.aspx?tid="+select_v2+"&titlec="+escape(texts2);
        }
    </script>
</head>
<body>

   <div id="top-menu02">
        <div id="top-menu">
            <div class="right">
                <script type="text/javascript">indexhead();</script>
            </div>
        </div>
    </div>
    <div id="top">
        <div id="logo">
            <a href="http://<%=Request.Url.Host %><%=model.WebPath %>/">
                <img src="Upload/WebAdminImages/<%=model.Logoimg %>" border="0" /></a></div>
    </div>
    <div id="sp-menu">
       <ul>
            <li><a href="http://<%=Request.Url.Host %><%=model.WebPath %>/">首页</a></li>
            <%for (int i = 0; i < ds_tab.Tables[0].Rows.Count; i++){ %>
            <li><%if (model.Tab == "1"){ %>
                <a href="<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>/" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%}else{%>
                <a href="TopTab.aspx?type=<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%} %></li>
            <%} %>
            <li><a href="http://<%=Request.Url.Host %><%=model.WebPath %>/News/" target="_blank">资讯</a></li>
        </ul>
        <p>
            <span><a href="ShopCoupon.aspx">优惠券</a></span></p>
    </div>

    <div id="contenter2">
        <div id="contenter">
            <script type="text/javascript">
                    shopLeft();
            </script>
            <form id="form1" runat="server">
                <div style="padding-left:50px; width:600px;">
                    <h4>
                        会员充值</h4>
                    <br />
                    <table>
                        <tr>
                            <td>
                                <input id="Radio1" type="radio" runat=server name="ra" checked onclick="noshow()" />自己
                                <input id="Radio2" type="radio" runat=server name="ra" onclick="onshow()" />别人
                            </td>
                        </tr>
                        <tr id="div_u" style="display:none;" runat=server>
                            <td>
                                用户名：
                            </td>
                            <td>
                                <input id="txt_name" type="text" class="rstext" runat="server" /> 
                                
                            </td>
                        </tr>
                        <tr>
                            <td>
                                充值金额：
                            </td>
                            <td>
                                <input id="Text2" type="text" class="rstext" runat="server" />
                            </td>
                        </tr>
                        <tr><td colspan=2><input id="Button1" type="button" style="height:22px;" value="确定" runat="server" onserverclick="Button1_ServerClick" /></td></tr>
                    </table>
                    <div style="color: Red; margin-top:5px;" id="msg_" runat="server"></div>
                    <script type="text/javascript">
                        var rc="<%=returnValue %>";
                        if(rc=="u"){
                            document.getElementById("msg_").innerHTML="<span style='color:red'>用户不存在！</span>"
                        }
                        if(rc=="f"){
                            document.getElementById("msg_").innerHTML="<span style='color:red'>用户名不能为空！</span>"
                        }
                        if(rc=="f2"){
                            document.getElementById("msg_").innerHTML="<span style='color:red'>金额不能为空！</span>"
                        }
                    </script>
                </div>
            </form>

            <div id="footer">
                <div id="copyright">
                    <div class="search">
                        <div class="search-left">
                            <div class="search-left-title">
                                搜索：</div>
                            <div class="search-left-form">
                                <input type="text" runat="server" id="ser2" size="30" /></div>
                            <div class="search-left-list">
                                <select id="Select3" runat="server">
                                </select>
                            </div>
                            <div class="search-left-button">
                                <img src="images/search-buttom.gif" width="60" height="20" onclick="search2()" /></div>
                        </div>
                        <div class="search-right">
                            <div runat=server id="div_s2"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="copyright" runat="server" id="copr"></div>
        </div>
    </div>
</body>
</html>
