<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="toadmin.aspx.cs" Inherits="JuSNS.Web.system.app.toadmin" %>

<!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>
    <title id="ptitle" runat="server">提交你的应用程序</title>

    <script language="javascript" type="text/javascript" src="../js/ajax.js"></script>

    <script language="javascript" type="text/javascript" src="../js/public.js"></script>

    <link href="../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css"
        id="skinpath" type="text/css" rel="stylesheet" />
</head>
<body>
    <!--头部-->
    <%=this.GetHtmlShort()%>
    <div id="divhead">
        <%=this.GetHtmlHead()%>
    </div>
    <div id="divbody">
        <div id="body_first">
            <div class="body_menu">
                <%=this.GetHtmlLeft()%>
            </div>
        </div>
        <div id="body_sec">
            <div id="body_mid">
                <div class="body_frame">
                    <div class="body_frame_otherinfo">
                        <div class="title">
                            <div class="l">
                                <img src="../../template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/acc.gif"
                                    align="absmiddle" />
                                <span class="shenlan bold font14 ocolor">提交应用程序</span></div>
                            <div class="r">
                                <a href="javascript:window.history.back();" title="返回上一页">返回上一页</a></div>
                            <div class="c">
                            </div>
                        </div>
                        <div class="nav-menu">
                            <ul>
                                <li class="current"><a href="index.aspx">我的程序</a></li>
                                <li><a href="appnew.aspx">添加程序</a></li>
                                <li><a href="../help?r=developer" target="_blank">帮助文档</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="body_sec_all">
                            <form id="form1" runat="Server">
                            <div class="content">
                                以下将作为客户服务联系方式。
                                </div>                            
                            <div class="content">
                                <label class="f-label">
                                    应用名称：</label><asp:TextBox ID="TXTName" MaxLength="100" CssClass="f-text s60" runat="server"></asp:TextBox></div>
                            <div class="content">
                                <label class="f-label">
                                   您的电话：</label><asp:TextBox ID="TXTTel" MaxLength="20" CssClass="f-text s60" runat="server"></asp:TextBox></div>
                            <div class="content">
                                <label class="f-label">
                                    移动电话：</label>
                                <asp:TextBox ID="TXTMobile" CssClass="f-text s60" MaxLength="30" runat="server"></asp:TextBox>
                            </div>
                            
                            <div class="content">
                                <label class="f-label">
                                    Emal：</label>
                                <asp:TextBox ID="TXTEmal" CssClass="f-text s60" Text="@" MaxLength="50" runat="server"></asp:TextBox>
                            </div>
                            
                            <div class="content">
                                <label class="f-label">
                                </label>
                                <asp:HiddenField ID="appID" value="0" runat="server" />
                                <asp:Button ID="submit" runat="server" Text="提交此应用程序" CssClass="f-button" OnClientClick="return chkform();" OnClick="submit_click" />
                            </div>
                            <div class="content">
                            <label class="f-label"></label>如果您遇到审核问题需要帮助，请联系我们
                            </div>
                            <div class="content">
                            <label class="f-label"></label><%=JuSNS.Common.Public.GetXMLValue("links")%></div>
                            <div class="content">
                            <label class="f-label"></label><a href="../home/gbook?r=-1" target="_blank">给我们留言</a>
                            </div>
                        </form>
                        </div>
                    </div>
                </div>
            <div class="divbottom">
                <%=this.GetHtmlFoot()%>
            </div>
            </div>
            <!--底部-->
        </div>
    </div>

</body>
</html>
<script type="text/javascript">
function chkform()
{
    
    if(document.getElementById("TXTName").value=="")
    {
        alert("请填写应用程序名称。");return false;
    }
    if(document.getElementById("TXTMobile").value==""&&document.getElementById("TXTTel").value=="")
    {
        alert("电话和移动电话必须填写一项。");return false;
    }
    if(document.getElementById("TXTEmal").value==""||document.getElementById("TXTEmal").value=="@")
    {
        alert("填写电子邮件。");return false;
    }
}

</script>
