<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ServerList.aspx.vb" Inherits="Dingtai.Website.ServerList" %>

<!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>鼎太播客 &gt; 后台管理 &gt; 服务器列表</title>
</head>
<body id="tag2_right">
    <form id="form1" runat="server">
    <div id="body">
       <div id="title">                 
          <h5>您现在的位置：<a href="#">后台管理</a> &gt; 服务器列表</h5>
       </div>
       <div class="body_box" id="body_box">
            <asp:Repeater ID="Repeater1" runat="server">
               <HeaderTemplate >
                    <table id="t"  class="table_bg">
                        <tr class="table_border">                        
                        <th>类型</th>
                        <th>域名</th>
                        <th>FMS路径</th>
                        <th>物理路径</th>
                        <th>操作</th>
                        </tr>
               </HeaderTemplate>
               <ItemTemplate >                                  
                        <tr  class="table_border2">
                        <td align ="center">
                            <asp:DropDownList ID="chkType" runat="server" style="border:solid 1px #589210;"></asp:DropDownList>
                        </td>
                        <td align ="center"><asp:TextBox ID="txtDomain" CssClass ="wbk" runat="server" Text='<%# Eval("Domain")%>'></asp:TextBox></td>        
                        <td align ="center"><asp:TextBox ID="txtFMS" CssClass ="wbk"  runat="server" Text='<%# Eval("FMSPath")%>'></asp:TextBox></td>        
                        <td align ="center"><asp:TextBox ID="txtPath" CssClass ="wbk" runat="server" Text='<%# Eval("Path")%>'></asp:TextBox></td>
                        <td align ="center">  
                            <asp:ImageButton ID="imgEdit" runat="server" ImageUrl="/Skins/default/images/box_an9.gif" AlternateText="保存" CommandName="Edit" CommandArgument='<%# Eval("ID")%>'   OnClientClick="return confirm('确认修改?');"/>       
                            <asp:ImageButton ID="imgDel" runat="server" ImageUrl="/Skins/default/images/box_an6.gif" AlternateText="删除"  CommandName="Del" CommandArgument='<%# Eval("ID")%>'   OnClientClick="return confirm('确认删除?');"/>
                             <asp:HyperLink ID="running" NavigateUrl="#" runat="server">的是</asp:HyperLink>

                        </td>
                        </tr>
               </ItemTemplate>
               <FooterTemplate>
                   </table>
               </FooterTemplate>
           </asp:Repeater>
       </div>    
    </div>
    </form>
</body>

<script type = "text/javascript" language = "javascript">

function  updateRunning(id,running)
{
         if (id == "") {
            M1("无参数传递!");
            return;
        }
        var ret = ServerList.updateRunning(id,running).value;
        if (ret == true)
        {
            M1("Success!");
            refreshPage(0);  
        }

}
</script>

</html>
