<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List_MPorject.aspx.cs" Inherits="MYAPP.Manage.Project.Design.MProject.List_MPorject" %>
<%@ Register Src="~/Inc/XMLWUC_Load_DataTable.ascx" TagName="XMLWUC_Load_DataTable" TagPrefix="uc1" %>
<%@ Import Namespace="System.Xml" %>
<asp:XmlDataSource ID="xds" runat="server"  XPath="/Project/MProject/Floor/Item" 
    EnableCaching="False" EnableViewState="False"></asp:XmlDataSource>
<uc1:XMLWUC_Load_DataTable ID="listinfo" runat="server"  mt="0" xmlurl="<%#xml_url %>"
    lwhere="<%#lwhere%>" xpath="<%#xpath%>" />

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title><%=_LocalName%></title>
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/coe.js"></script>
<Script Language="JavaScript" type="text/JavaScript" src="/js/showo_page.js"></Script>
</head>
<body onLoad="top.selectbyvalue('Data');">
<form id="theform" runat="server" enableviewstate="false">
  <table width="100%" cellspacing="2" border="1" align="center" cellpadding="0" bordercolor="#CCCCCC"
            class="board_kong">
    <tr>
      <td><table cellspacing="1" cellpadding="0" width="100%" border="0">
          <tr>
            <td style="border-bottom: #CCCCCC 1px solid; height: 24px"><table class="title_table">
                <tr>
                  <td class="l_title">[<span class="TabbedPanelsTab"><%=_LocalName%>]</span></td>
                  <td width="100" align="center"><input type="button" class="width80px" onClick="window.location='AD_MProject.aspx?action=add&amp;Tour_ID=<%=_Tour_ID%>&amp;ROW=0&LocalName=<%=_LocalName%>&XPath=<%=_XPath%>&Key=<%=key%>'" value="添加"/></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td>  <table width="100%" border="1"  align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB" class="board_kong">
              
              <tr>
                  <td height="22"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
                      <tr class="table_title">
                        <td width="30" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">ROW</td>
                        <td height="20" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">Name</td>
                        <td width="40" height="20" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">操作</td>
                      </tr>
                      <asp:Repeater ID="rp_list" runat="server" OnItemDataBound="rp_list_ItemDataBound" DataSource="<%#listinfo.dt%>" >
                        <ItemTemplate>
                          <tr onMouseOver="this.className='tr_onmouseover'" onMouseOut="this.className='tr_onmouseout'" row="<%=++_ROW%>">
                            <td width="30" align="center" nowrap="nowrap" class="tab_bottom_line"><%=_ROW%></td>
                            <td height="18" nowrap="nowrap" class="tab_bottom_line"><%# Eval("Name")%></td>
                            <td width="40" align="center" nowrap="nowrap" class="tab_bottom_line"><a href="AD_MProject.aspx?action=edit&Tour_ID=<%=_Tour_ID%>&LocalName=<%=_LocalName%>&ROW=<%=_ROW%>&XPath=<%=Request.QueryString["XPath"]%>&Page=<%=Request.QueryString["Page"]%>" style="color: #0000FF"><img src="/images/operate/edit.gif" width="16" height="16" border="0" title="Edit" /></a> <a href="AD_MProject.aspx?action=del&Tour_ID=<%=_Tour_ID%>&ROW=<%=_ROW%>&LocalName=<%=_LocalName%>&XPath=<%=Request.QueryString["XPath"]%>&Page=<%=Request.QueryString["Page"]%>" style="color:#FF0000" onClick="delete_confirm()"><img src="/images/operate/del.gif" width="16" height="16" border="0" title="删除" /></a></td>
                          </tr>
                        </ItemTemplate>
                      </asp:Repeater>
                  </table></td>
                </tr>
                
            </table></td>
          </tr>
        </table>
                          <table border="0" cellpadding="0" cellspacing="0" width="80%" align="center" style="display:<%=_display%>">
                      <tr>
                        <td>
                                                     <script Language=JavaScript>
ShowoPage("<table style='BORDER-COLLAPSE: collapse' borderColor='#111111' height='10' cellSpacing='0' cellPadding='0' width='100%' border='0'><tr><td vAlign='bottom' width='40%' style='font-family: Arial, Helvetica, sans-serif; font-size: 11.5px; line-height: 15px'>","</td></tr></table>","页数:<font color='#006666'>","</font>/","<font color='#FF00FF'>","</font>","<font color='#000080'>","</font> 每页","<font color='orange'>记录</font><font color='green'>","</font></td><td vAlign='bottom' align='right' style='font-family: Arial, Helvetica, sans-serif; font-size: 11.5px; line-height: 15px'>","首页","前页","后页","末页","","<font color='red'>","</font>","","","<font color='red'>","</font>","[","]",<%#listinfo.RecordCount%>,<%#listinfo.PageRecord%>,<%#listinfo.hRecordCount%>)
</script>
</td>
                      </tr>
                    </table>
        </td>
    </tr>
  </table>
</form>
</body>
</html>
