<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List_HouseType.aspx.cs" Inherits="MYAPP.Manage.CustomMAP.Project.Marker.house.List_HouseType" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<asp:XmlDataSource ID="xds" runat="server"  XPath=""
    EnableCaching="False" EnableViewState="False"></asp:XmlDataSource>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/coe.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script language="JavaScript" type="text/javascript">
</script>
</head>
<body>
<form id="theform" runat="server">
  <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 align="left" class="l_title">户型管理 =&gt; [<%=MyApp.Components.CustomMap.Project.GetValue(_Project_ID,"/Project", "Name")%>]</td>
                  <td width="100" align="center">&nbsp;</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="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                    <tr>
                      <td align="center" nowrap="nowrap" class="left_title cursor_pointer" >项目期数:</td>
                      <td align="left" nowrap="nowrap"><asp:DropDownList CssClass="width100" ID="term" runat="server"></asp:DropDownList></td>
                    </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="22"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
                      <tr class="table_title">
                        <td width="40" align="center" bgcolor="#D7F2FF" class="tab_bottom_line"> 排序</td>
                        <td width="120" align="center" nowrap="nowrap" bgcolor="#D7F2FF" class="tab_bottom_line">户型类型</td>
                        <td height="20" align="center" nowrap="nowrap" bgcolor="#D7F2FF" class="tab_bottom_line">户型名称</td>
                        <td width="60" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">建筑面积</td>
                        <td width="60" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">使用面积</td>
                        <td width="80" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">房源数量</td>
                        <td width="40" height="20" colspan="2" 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'">
                            <td height="18" align="center" nowrap="nowrap" class="tab_bottom_line"><%=++_ROW%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@type")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@name")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@size")%>㎡</td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@usersize")%>㎡</td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@count")%></td>
                            <td width="20" align="center" nowrap="nowrap" class="tab_bottom_line"><a href="AD_HouseType.aspx?action=edit&Class_ID=<%=_Class_ID%>&Project_ID=<%#_Project_ID%>&term=<%=_term%>&ROW=<%=_ROW%>&ID=<%# XPath("@id")%>" style="color: #0000FF"> <img src="/images/operate/edit.gif" width="16" height="16" border="0" /></a></td>
                            <td width="20" align="center" nowrap="nowrap" class="tab_bottom_line"><a href="AD_HouseType.aspx?action=del&Class_ID=<%=_Class_ID%>&Project_ID=<%#_Project_ID%>&term=<%=_term%>&ROW=<%=_ROW%>&ID=<%# XPath("@id")%>" style="color: #FF0000" onClick="delete_confirm()"> <img src="/images/operate/del.gif" width="16" height="16" border="0" /></a></td>
                          </tr>
                        </ItemTemplate>
                      </asp:Repeater>
                  </table></td>
                </tr>
                <%if (_term>0){%>
                <tr>
                  <td align="center"><input type="button" class="width80px" style="cursor: pointer" onClick="window.location='AD_HouseType.aspx?action=add&Project_ID=<%=_Project_ID%>&term=<%=_term%>&ROW=0&id=0'"value=" 添加户型 " />
                    <input name="ButRefash" type="button" class="width80px" id="ButRefash" style="cursor: pointer"
                                onclick="window.location=window.location;" value=" 刷　　新 " /></td>
                </tr><%}%>
            </table></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
</body>
</html>
