<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Web.install._default" %>

<!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>无标题页</title>
    <link href="../css/css.css" rel="stylesheet" type="text/css" />
    </head>
<body  style ="margin :0px">
    <form id="form1" runat="server">
    <div id="main-c">

<div id="main-c-01" >           雷速网络办公软件安装向导
</div>


<div id="main-c-02">
<div id="main-c-02-01">
<table width="800" border="0" align="right" cellpadding="0" cellspacing="0">
  <tr>
    <td width="785" height="40" align="right">    &nbsp;</td>
    <td width="15" align="right">&nbsp;</td>
  </tr>
</table>
</div></div>
</div>

<table style =" width :960px ; height :100% ; margin-left :auto ; margin-right :auto "><tr>
<td style ="width :210px ; height :100%; vertical-align :top " >
<table width="198" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td style ="vertical-align :top ;">

    <div>
    <table >
    <tr>
    <td id="Td1"  runat ="server" style ="padding-left :5px">
    
    </td>
    </tr>
<tr><td style ="padding-left :5px">

 </td></tr>
    </table>
    
    <div id="main-c-03-left" >
<ul class="ul01">
<li class="li01" ><a href="#">安装步骤</a></li>
<li class="li02" style ="width :156px; height :30px; padding-top :10px ">
    <asp:LinkButton ID="lbt_Setup0" runat="server" onclick="lbt_Setup0_Click" 
        Enabled ="false"  ForeColor="#000099"  >开始</asp:LinkButton></li>
<li class="li02" style ="width :156px; height :30px; padding-top :10px ">
    <asp:LinkButton ID="lbt_Setup1" runat="server" onclick="lbt_Setup1_Click" 
        Enabled ="false" Font-Bold="False" ForeColor="#000099">步骤1：数据库连接设置</asp:LinkButton></li>
<li class="li02" style ="width :156px; height :30px; padding-top :10px ">
    <asp:LinkButton ID="lbt_Setup2" runat="server" onclick="lbt_Setup2_Click" 
        Enabled ="false" ForeColor="#000099">步骤2：安装数据库模块</asp:LinkButton></li>
<li class="li02" style ="width :156px; height :30px; padding-top :10px ">
    <asp:LinkButton ID="lbt_Setup3" runat="server" onclick="lbt_Setup3_Click" 
        Enabled ="false" ForeColor="#000099">步骤3：删除安装文件</asp:LinkButton></li>
<li class="li02" style ="width :156px; height :30px; padding-top :10px ">
    <asp:LinkButton ID="lbt_Setup4" runat="server" Enabled ="false" 
        ForeColor="#000099">完成</asp:LinkButton></li>
</ul>





</div>   
</div> 
  </td>
  </tr>
</table>
</td>
<td style ="width :750px ; height :100%; vertical-align :top ;">
<div style ="width :100%; margin-left :auto ; margin-right :auto ; margin-top :5px ">

<div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
                    <td style ="width :720px; height :34px;  background-image: url('../css/images/atghtj.png');	background-repeat: no-repeat;
                	background-position: left top;"><div id="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	安装向导
                      	
                	</div></td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
            
<!--栏目开始 -->
<div  id ="div_setup0" runat ="server" >    
        <table style ="width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../css/images/asdfrsg.png'); height :33px; padding-left :20px">
                    <!--这里添加栏目标题 -->
                    开始安装
                    
                     &gt;&gt;</td>
                    <td style ="background-image: url('../css/images/asdfrsg.png'); width :103px"></td>
                    <td style ="background-image: url('../css/images/asdfrsg.png'); width :64px"></td>
                    <td  style ="background-image: url('../css/images/asdfrsg.png'); width :76px" ></td>
                </tr>
                <tr>
                    <td height="10" colspan="4" style="font-weight:bolder;"></td>
                </tr>
            </table>
            <!--这里添加内容 -->
          <table cellpadding ="1" cellspacing ="1" style ="width :98%; height :350px; margin-left :auto ; margin-right :auto "><tr><td style ="vertical-align:top " id = "xieyi" runat ="server" >
               



</td></tr></table>
                                   <div style ="text-align :right ; width :98% ; margin-left :auto ; margin-right :auto "> 
                                       <input id="Button2" type="button" value="我不同意" onclick= "window.opener=null;window.close(); "/>&nbsp;
<asp:Button ID="btStarSetSQL" runat="server" Text="我同意" 
        onclick="btStarSetSQL_Click" />     </div> 
       
</div> 
<!--栏目结束 -->
               
<!--栏目开始 -->
<div  id ="div_setup1" runat ="server"  visible ="false" > 
                <table style =" width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
                     <tr>
                         <td style ="font-weight:bolder;background-image: url('../css/images/asdfrsg.png'); width :497px; height :33px; padding-left :20px">
                             <!--这里添加栏目标题 -->
                             步骤1：数据库连接设置 
                             &gt;&gt;</td>
                         <td style ="background-image: url('../css/images/asdfrsg.png'); width :103px"></td>
                         <td style ="background-image: url('../css/images/asdfrsg.png'); width :64px"></td>
                         <td  style ="background-image: url('../css/images/asdfrsg.png'); width :76px" ></td>
                    </tr>
                    <tr>
                         <td height="10" colspan="4" style="font-weight:bolder;"></td>
                    </tr>
                </table>
                        <!--这里添加内容 -->
                          
<div style ="width :98%; margin-left :auto ; margin-right :auto "><asp:Label ID="lb_SetSQL" runat="server" ForeColor="Red"></asp:Label> 
<table  cellpadding="0" cellspacing="0"  style ="width :100%; " id= "tb_setSQL" runat ="server" visible ="false" >
                    <tr>
                        <td style ="height :36px;" colspan="2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style ="height :36px; text-align :right; width:50%;">
                            SQL Server 服务器地址：</td>
                        <td>
                            <asp:TextBox ID="tbdizhi" runat="server" Width="230px">(local)</asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td  style ="text-align :right; height :36px; ">
                            SQL Server 数据库名称：</td>
                        <td >
                            <asp:TextBox ID="tbshujuming" runat="server" Width ="230px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style ="text-align :right; height :36px ">
                            SQL Server 数据库用户名：</td>
                        <td >
                            <asp:TextBox ID="tbuserid" runat="server" Width ="230px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style ="text-align :right; height :36px ">
                            SQLServer 数据库密码：</td>
                        <td >
                            <asp:TextBox ID="tbpd" runat="server" Width ="230px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td style ="text-align :right; height :36px ">
                            &nbsp;</td>
                        <td >
                            &nbsp;</td>
                    </tr>
                    <tr><td colspan="2" style =" text-align :right ">
     
                    
                        </td>
                            </tr>
                </table>
  <div style ="text-align :right "><asp:Button ID="btSetconfig" runat="server" onclick="btSetconfig_Click"  Visible ="false" 
         Text="写入配置文件" />
     <asp:Button ID="btconnSQL" runat="server" Text="连接数据库" Width="90px" 
                      onclick="btconnSQL_Click" Visible="False" /> </div>                
                
 <div style ="text-align :right ">
     <asp:Button ID="btNext1" runat="server" Text="下一步"  Visible ="false" 
         onclick="lbt_Setup2_Click" /></div>
 </div>
                </div> 
<!--栏目结束 -->

<!--栏目开始 -->
<div  id ="div_setup2" runat ="server" visible ="false" > 
                <table style =" width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
                     <tr>
                         <td style ="font-weight:bolder;background-image: url('../css/images/asdfrsg.png'); width :497px; height :33px; padding-left :20px">
                             <!--这里添加栏目标题 -->
                             步骤2：安装数据库模块 
                             &gt;&gt;</td>
                         <td style ="background-image: url('../css/images/asdfrsg.png'); width :103px"></td>
                         <td style ="background-image: url('../css/images/asdfrsg.png'); width :64px"></td>
                         <td  style ="background-image: url('../css/images/asdfrsg.png'); width :76px" ></td>
                    </tr>
                    <tr>
                         <td height="10" colspan="4" style="font-weight:bolder;"></td>
                    </tr>
                </table>
                        <!--这里添加内容 -->
                        <div style ="width :98% ; margin-left :auto ; margin-right :auto ">
                        <div id = "anzhuang" runat ="server" >
                            <asp:Label ID="lbProject" runat="server"></asp:Label>
                            <br />
                            <asp:CheckBoxList ID="cbProject" runat="server">
                            </asp:CheckBoxList>
                            <br />
                        <asp:Button ID="btSetproject" runat="server" Text="开始安装数据库模块" 
        onclick="btStar_Click" />
        <div style ="margin-top :10px"></div> 

          </div> 
        <table  cellpadding="0" cellspacing="0" style ="width :100%; line-height:200%; margin-top :10px">
                    <tr>
                        <td id = "tbcreattable" runat ="server"  >
   </td>

                    </tr>
                   
                </table>  

  
             <div style ="text-align :right ">
     <asp:Button ID="btNext2" runat="server" Text="下一步"  Visible ="false" 
         onclick="lbt_Setup3_Click" /></div>
             
             </div> 
                </div> 
<!--栏目结束 -->


<!--栏目开始 -->
<div   id ="div_setup3" runat ="server" visible ="false" > 
                <table style =" width :100%" border="0" align="center" cellpadding="0" cellspacing="0" class="ziti04">
                     <tr>
                         <td style ="font-weight:bolder;background-image: url('../css/images/asdfrsg.png'); width :497px; height :33px; padding-left :20px">
                             <!--这里添加栏目标题 -->
                             步骤3：删除安装文件 
                             &gt;&gt;</td>
                         <td style ="background-image: url('../css/images/asdfrsg.png'); width :103px"></td>
                         <td style ="background-image: url('../css/images/asdfrsg.png'); width :64px"></td>
                         <td  style ="background-image: url('../css/images/asdfrsg.png'); width :76px" ></td>
                    </tr>
                    <tr>
                         <td height="10" colspan="4" style="font-weight:bolder;"></td>
                    </tr>
                </table>
                        <!--这里添加内容 -->

<div style ="width :98%; margin-left :auto ; margin-right :auto ; line-height :200%"><span style ="font-size :larger ; font-weight :bold ; color :Red ">特别提醒：</span> <br />
                            系统安装完成，下面将删除本安装文件并跳转到管理后台。由于权限不足等原因，安装文件删除可能会失败。为了系统安全，请打开系统根目录下的install文件夹，检查里面是否有文件，如有一定要删除它。
                            <div style ="text-align :right "><asp:Button ID="btDel" runat="server" Text="删除安装文件，并跳转到管理后台" 
        onclick="btDel_Click" /></div> 

        </div>
                </div> 
<!--栏目结束 -->


                </div>
            </div>



    
             
        
        
        
 
               




        
        
        

</div>

</td>
</tr></table>


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

