<%@ page language="C#" autoeventwireup="true" inherits="install_default, shazhiqiu_taoke_free" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>程序安装<%=website %></title>
    <style>
        BODY
{
    margin: 0;
    padding: 0;
   font-family: Microsoft YaHei, Verdana, Helvetica;
    background:#3AB1F5;
     color: #666;
    line-height: 135%;
    font-size:13px;
}
IMG {BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px}
UL,li{	LIST-STYLE-TYPE: none; LIST-STYLE-IMAGE: none;margin:0px;padding:0px;}
A:hover {COLOR:  #3AB1F5; text-decoration:none;}
A {	COLOR: #3AB1F5;text-decoration:none;}
h1,h2{display : inline;font-size:13px;font-weight: bold;color:#3AB1F5;}
#big{margin:0px auto;padding:0px;width:530px;background: #fff;clear:both;}
#top{margin:0px auto;padding:0px;width:500px;clear:both;background: #fff;}
#middle{margin:0px auto;padding:0px;width:500px;clear:both;background: #fff;margin-top:80px;}
#bottom{margin:0px auto;padding:0px;width:500px;clear:both;background: #fff;margin-top:20px; }
.tablexian{float:left;margin:0px auto;border-collapse:collapse;width:100%;background-color: #FFF;margin-top:10px;margin-bottom:10px;}
.tablexian td{border : 1px solid #E6E6E6;height:30px;line-height:30px;padding:3px;}
.tablebg{
	background: #fefefe;
}
.input {border : 1px solid #E6E6E6; }
        .auto-style1 {
            color: #FF0000;
        }
    </style>
         <script language="javascript" type="text/javascript">
             function addsql() {
                 var f = document.forms[0];
                 if (f.sqlip.value == "") {
                     alert("请输入数据库服务器ip!");
                     f.sqlip.focus();
                     return false;
                 }
                 else if (f.sqldata.value == "") {
                     alert("请输入数据库名!");
                     f.sqldata.focus();
                     return false;
                 }
                 else if (f.sqlsa.value == "") {
                     alert("请输入数据库账号!");
                     f.sqlsa.focus();
                     return false;
                 }
                 else if (f.sqlpass.value == "") {
                     alert("请输入数据库密码!");
                     f.sqlpass.focus();
                     return false;
                 }
                else if (f.adminuser.value == "") {
                     alert("请输入管理员名!");
                     f.adminuser.focus();
                     return false;
                 }

                 else if (f.adminpass.value == "") {
                     alert("请输入你的管理员密码！");
                     f.adminpass.focus();
                     return false;
                 }
                 
                 else {
                     return true;
                 }
             }
           

</script>
</head>
<body>
    <form id="form1" runat="server">
<div id="big">
<div id="top"></div>
<div id="middle">
         <table cellpadding="0" cellspacing="0" class="tablexian">
       
                <tr>
                    <td class="tablebg">
                        <span style="color:red"> <%=Powered.powered %></span> <span style="color:green"><b><%=Powered.banben %></b></span> 安装程序
                    </td>
                    </tr>
       
                <tr>
                    <td>
                        PS：具体问题 <a href="http://www.shazhiqiu.cn" target="_blank">http://www.shazhiqiu.cn</a> 官网论坛发或者加QQ群：10020113</td>
                    </tr>
       
                <tr>
                    <td>
                        默认后台登录：<a href="http://<%=Request.Url.Host %>/admin/login.aspx" target="_blank">http://<%=Request.Url.Host %>/admin/login.aspx</a> </td>
                    </tr>
       
                <tr>
                    <td>
                        重要：<strong><span class="auto-style1"> * </span></strong>安装完毕后请删除程序目录install ，同时修改默认admin后台管理目录名<strong><span class="auto-style1"> * </span></strong></td>
                    </tr>
             </table>
     <table cellpadding="0" cellspacing="0" class="tablexian">
       
                <tr>
            <td style="width: 120px" align="right" class="tablebg">
                服务器IP：</td>
            <td align="left">
                <asp:TextBox ID="sqlip" runat="server" CssClass="input"></asp:TextBox>
                    </td>
            <td align="left">
                数据库服务器IP</td>
        </tr>

                <tr>
            <td style="width: 120px" align="right" class="tablebg">
                数据库名：</td>
            <td align="left">
                <asp:TextBox ID="sqldata" runat="server" CssClass="input"></asp:TextBox>
                    </td>
            <td align="left">
                </td>
        </tr>
        <tr>
            <td align="right" style="width: 120px" class="tablebg">
                数据库账号：</td>
            <td align="left"><asp:TextBox ID="sqlsa" runat="server" CssClass="input"></asp:TextBox>
                </td>
            <td align="left">
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 120px" class="tablebg">
                数据库密码：</td>
            <td align="left"><asp:TextBox ID="sqlpass" runat="server" CssClass="input"></asp:TextBox>
                </td>
            <td align="left">
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 120px" class="tablebg">
                管理员：</td>
            <td align="left">
                <asp:TextBox ID="adminuser" runat="server" CssClass="input"></asp:TextBox>
            </td>
            <td align="left">
                后台管理登录</td>
        </tr>

        <tr>
            <td style="width: 120px" align="right" class="tablebg">
                管理员密码：</td>
            <td align="left">
                <asp:TextBox ID="adminpass" runat="server" CssClass="input"></asp:TextBox>
            </td>
            <td align="left">
            </td>
        </tr>
        <tr>
            <td style="width: 120px" align="right" class="tablebg">
            </td>
            <td align="left">
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" OnClientClick="return addsql()" Text="安装程序" />

            </td>
            <td>
            </td>
        </tr>
        </table>
    </div>
<div id="bottom"></div>    
</div>   

    </form>
</body>
</html>
