<%@ page language="C#" autoeventwireup="true" inherits="install_setup2, App_Web_setup2.aspx.c29b009d" smartnavigation="true" %>

<!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">
        <title>安装思乐CMS 第二步</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function feiye_leixin()
{

    var boxes = document.getElementsByName("RadioButtonList1");

       if(boxes[1].checked)
       {
			 document.getElementById("p2").style.display = "none";
			document.getElementById("p3").style.display = "none";
			document.getElementById("p4").style.display = "none";
			document.getElementById("p5").style.display = "none";
			document.getElementById("p1").style.display = "";
       }
       else
       {
           document.getElementById("p2").style.display = "";
           document.getElementById("p3").style.display = "";
           document.getElementById("p4").style.display = "";
           document.getElementById("p5").style.display = "";
           document.getElementById("p1").style.display = "none";
       }

}
    </script>
</head>
<body>
    <form id="form1" runat="server">
<div class="dk">
  <div class="top2"></div>
  <div class="dh2"></div>
  <div class="bt">参数设置</div>
  <div class="nr">
    <div class="nr_box">
	<table width="70%" border="0" align="center" cellpadding="5" cellspacing="0">
	  <tr>
		<td width="33%" align="right">网站名：</td>
		<td width="67%"> <asp:TextBox ID="TextBox1" runat="server" Width="180px">思乐科技</asp:TextBox></td>
	  </tr>
	  <tr>
		<td align="right">域　名：</td>
		<td><asp:TextBox ID="TextBox2" runat="server" Width="180px">www.cdsile.com</asp:TextBox></td>
	  </tr>
	  <tr>
		<td align="right">数据库：</td>
		<td> <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" onclick="feiye_leixin()">
                        <asp:ListItem>SQL 2000</asp:ListItem>
                        <asp:ListItem Selected="True">Access</asp:ListItem>
                    </asp:RadioButtonList></td>
	  </tr>
	  <tr  id="p1">
		<td align="right">Access文件地址：</td>
		<td><asp:TextBox ID="TextBox3" runat="server" Width="180px">App_data\slcms.mdb</asp:TextBox></td>
	  </tr>
	  <tr id="p2" style=" display:none">
		<td align="right">服务器地址：</td>
		<td><asp:TextBox ID="TextBox4" runat="server" Width="180px">192.168.0.126</asp:TextBox></td>
	  </tr>
	  <tr id="p3" style=" display:none">
		<td align="right">数据库名称：</td>
		<td><asp:TextBox ID="TextBox5" runat="server" Width="180px">slcms</asp:TextBox></td>
	  </tr>
	  <tr id="p4" style=" display:none">
		<td align="right">数据库帐号：</td>
		<td><asp:TextBox ID="TextBox6" runat="server" Width="180px">sa</asp:TextBox></td>
	  </tr>
	  <tr id="p5" style=" display:none">
		<td align="right">数据库密码：
          </td>
		<td><asp:TextBox ID="TextBox7" runat="server" Width="180px">sa</asp:TextBox></td>
	  </tr>
       <tr>
		<td align="right">表名前缀：</td>
		<td><asp:TextBox ID="TextBox8" runat="server" Width="180px">sl_</asp:TextBox> </td>
	  </tr>
	  <tr>
		<td align="right">自定义Sql文件：</td>
		<td><asp:FileUpload ID="FileUpload1" runat="server" /></td>
	  </tr>
	</table>	
	</div>
  </div>
  <div class="db">
	<div class="db_tp"><asp:ImageButton ID="ImageButton1" runat="server" 
            ImageUrl="images/an.gif" onclick="ImageButton1_Click1"/></div>
  </div>
</div>
    </form>
</body>
</html>
