<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List_Area.aspx.cs" Inherits="MYAPP.Manage.Project.Area.List_Area" %>
<asp:XmlDataSource ID="xds" runat="server"  XPath="/config/area/node" EnableCaching="False" EnableViewState="False"></asp:XmlDataSource>
<!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">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<head id="Head1" runat="server">
<title></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="parent.selectbyvalue('area_<%=_Area_ID%>');">
<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">[<%=MyApp.Components.Area.GetElemValueByPath(_Area_ID,"name")%>]</td>
                  <td width="100" align="center" ><%if(_Area_ID!="-1"){%><input type="button" class="width80px" onClick="window.location='AD_Area.aspx?action=add&ROW=0&id=0&upid=<%=_Area_ID%>'" 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 width="60" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">上层ID</td>
                        <td width="60" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">区域ID</td>
                        <td height="20" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">区域名称</td>
                        <td width="40" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">排序</td>
                        <td width="60" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">外景项目</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">备注信息</td>
                        <td width="40" height="20" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">操作</td>
                      </tr>
                      <asp:Repeater ID="rp_list" runat="server" DataSourceID="xds">
                        <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 width="60" align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@upid")%></td>
                            <td width="60" align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@id")%></td>
                            <td height="18" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@name")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@order")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@Tour_ID")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@memo")%></td>
                            <td width="40" align="center" nowrap="nowrap" class="tab_bottom_line"><a href="AD_Area.aspx?action=edit&ROW=<%=_ROW%>&id=<%# XPath("@id")%>" style="color: #0000FF"><img src="/images/operate/edit.gif" width="16" height="16" border="0" title="Edit" /></a> <a href="AD_Area.aspx?action=del&ROW=<%=_ROW%>&id=<%# XPath("@id")%>" 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></td>
    </tr>
  </table>
  
</form>
</body>
</html>
