<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="List_Map_Scene.aspx.cs" Inherits="MYAPP.Manage.Project.Design.Tour.Map.List_Map_Scene" %>
<!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" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<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">
    function OpenPopup(turl) {
        top.openWindow(turl, '600', '224', 'scene point', 'yes');
    }
    function SetXY(x, y) {
        top.mainMIFrame.SetXY(x, y);
    }
</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">&nbsp;</td>
                  <td width="100" align="center"><input type="button" class="width80px" style="cursor: pointer" onclick="OpenPopup('AD_Map_Scene.aspx?action=add&Tour_ID=<%=_Tour_ID%>&MapIndex_ID=<%=_MapIndex_ID%>&Index_ID=0&x='+parent.mainMIFrame.GetX()+'&y='+parent.mainMIFrame.GetY());"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" nowrap="nowrap" bgcolor="#D7F2FF" class="tab_bottom_line">position</td>
                        <td height="20" align="center" nowrap="nowrap" bgcolor="#D7F2FF" class="tab_bottom_line"> name</td>
                        <td width="30" 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">
                        <ItemTemplate>
                          <tr onMouseOver="this.className='tr_onmouseover'" onMouseOut="this.className='tr_onmouseout'" onclick="SetXY(<%# Convert.ToInt32(XPath("@x"))-10%>,<%# Convert.ToInt32(XPath("@y"))-10%>);">
                            <td height="18" align="center" nowrap="nowrap" class="tab_bottom_line  cursor_pointer"><%=++ROW%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line  cursor_pointer"><%# XPath("@x")%>,<%# XPath("@y")%></td>
                            <td class="tab_bottom_line cursor_pointer" ><font color="#FF0000"><%# XPath("@Scene_ID")%></font>:<%# XPath("@hint")%><%#GetElemValueByPath(XPath("@Scene_ID"),"Name")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><a href="/project/<%=_Tour_ID%>/view_tour_<%# XPath("@Scene_ID")%>.aspx" target="_blank">查看</a></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><a href="javascript:{OpenPopup('AD_Map_Scene.aspx?action=edit&Tour_ID=<%=_Tour_ID%>&MapIndex_ID=<%=_MapIndex_ID%>&Index_ID=<%=ROW%>');}" style="color: #0000FF"><img src="/images/operate/edit.gif" width="16" height="16" border="0" /></a> <a href="AD_Map_Scene.aspx?action=del&Tour_ID=<%=_Tour_ID%>&MapIndex_ID=<%#_MapIndex_ID%>&Index_ID=<%=ROW%>" 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>
              </table></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
</body>
</html>
