<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="step1.aspx.cs" Inherits="DTInstall.Install.step1" %>

<!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>安装鼎太播客</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rev="stylesheet" media="all" href="css/styles.css" type="text/css" rel="stylesheet"/>
</head>
<body >
<form name="Form1" id="Form1" runat="server">
  <table cellspacing="1" cellpadding="0" width="700" align="center" bgcolor="#666666"
            border="0">
    <tr>
      <td bgcolor="#ffffff"><table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
          <tr>
            <td bgcolor="#333" colspan="2"><table cellspacing="0" cellpadding="8" width="100%" border="0">
                <tr>
                  <td><font color="#ffffff">安装鼎太播客</font></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td valign="top" width="180"><img src="images/logo.jpg" width="180" height="300"> </td>
            <td valign="top" width="520"><br>
              <table cellspacing="0" cellpadding="8" width="100%" border="0">
                <tr>
                  <td><p> 
                      <asp:Label ID="labState" runat="server" Text="主站点和数据库的配置" Font-Size="Medium"></asp:Label>
                      </p>
                    <table cellspacing="0" cellpadding="8" width="100%" border="0">
                      <tr>
                        <td width="30%" style="background-color: #f5f5f5">网站的名称:</td>
                        <td style="background-color: #f5f5f5;width: 352px"><asp:TextBox ID="txtSiteName" runat="server"></asp:TextBox>
                             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                                runat="server" ControlToValidate="txtSiteName" ErrorMessage="请填写网站名称"></asp:RequiredFieldValidator>
                                                  </td>
                      </tr>
                      <tr>
                        <td colspan="2" style="background-color: #f5f5f5">系统管理员帐号和密码(第一次登陆时创建分别为：admin,admin888)</td>
                      </tr>
                      <tr>
                        <td style="background-color: #f5f5f5">服务器IP:</td>
                        <td style="background-color: #f5f5f5;width: 352px"><asp:TextBox ID="txtServerIP" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                             runat="server" ControlToValidate="txtServerIP" ErrorMessage="请确认服务器IP" 
                                Display="Dynamic"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="regIpaddress" runat="server" 
                                ControlToValidate="txtServerIP" Display="Dynamic" ErrorMessage="IP不合法" 
                                ValidationExpression="((?:(?:25[0-5]|2[0-4]\d|((1\d{2})|([1-9]?\d)))\.){3}(?:25[0-5]|2[0-4]\d|((1\d{2})|([1-9]?\d))))"></asp:RegularExpressionValidator>
                          </td>
                      </tr>  <tr>
                        <td style="background-color: #f5f5f5">网站的域名:</td>
                        <td style="background-color: #f5f5f5;width: 352px"><asp:TextBox ID="txtSiteUrl" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" 
                             runat="server" ControlToValidate="txtSiteUrl" ErrorMessage="请填写网站域名" 
                                Display="Dynamic"></asp:RequiredFieldValidator>
                          </td>
                      </tr>
                       <tr id="tr5">
                        <td style="background-color: #f5f5f5"><span> 端口号:</span></td>
                        <td style="background-color: #f5f5f5; width: 352px;"><asp:TextBox ID="txtSitePort" runat="server" Text="80"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" 
                             runat="server" ControlToValidate="txtSitePort" ErrorMessage="请填写端口号"></asp:RequiredFieldValidator>
                            </td></tr>
                      <tr id="tr1">
                        <td style="background-color: #f5f5f5"><span id="trspan1"> 服务器名:</span></td>
                        <td style="background-color: #f5f5f5; width: 352px;"><asp:TextBox ID="txtServerName" runat="server" Text="(local)"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                ControlToValidate="txtServerName" ErrorMessage="请填写服务器名"></asp:RequiredFieldValidator>
                        <span id="msg1"></span></td></tr>

                      <tr id="tr2">
                        <td style="background-color: #f5f5f5"> 数据库名称:</td>
                        <td style="background-color: #f5f5f5; width: 352px;"><asp:TextBox ID="txtDbName"  runat="server" Text="vpod51" ></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                ControlToValidate="txtDbName" ErrorMessage="请填写数据库名称"></asp:RequiredFieldValidator>
                        <span id="msg2"></span></td></tr>
                      
                      <tr id="tr3">
                        <td style="background-color: #f5f5f5"> 数据库用户名称:</td>
                        <td style="background-color: #f5f5f5; width: 352px;"><asp:TextBox ID="txtDbUserName" runat="server">sa</asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                             runat="server" ControlToValidate="txtDbUserName" ErrorMessage="请填写数据库用户名称"></asp:RequiredFieldValidator>
                            </td></tr>
                     <tr id="tr4">
                        <td style="background-color: #f5f5f5"> 数据库用户密码:</td>
                        <td style="background-color: #f5f5f5; width: 352px;">
                            <asp:TextBox ID="txtDbUserPass" runat="server" ></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" 
                             runat="server" ControlToValidate="txtDbUserPass" ErrorMessage="请填写数据库用户密码"></asp:RequiredFieldValidator>
                             </td>
                      </tr>
                        <tr>
                        <td colspan="2" style="color:#ff0000; font-size:14px; font-weight:bold;">&nbsp;<asp:Label ID="litMsg" runat="server"></asp:Label></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td style="width: 352px">
                            <asp:Button ID="Button1" runat="server"  Text="下一步" Height="30px" Width="88px" 
                                onclick="Button1_Click" />
                        </td>
                      </tr>
                    </table>
                    </td>
                </tr>
              </table>
              </td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
          </tr>
        </table></td>
    </tr>
  </table>
<!--#include file="copyright.htm"  -->
</form>
</body>
</html>


