<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="List_Plugin.aspx.cs" Inherits="MYAPP.Manage.Project.Design.Scene.List_Plugin" %>
<asp:XmlDataSource ID="xds" runat="server"  XPath="/krpano/plugin" 
    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">
<head id="Head1" runat="server">
<title>Tour Scene</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('sceneplugin_'+<%=_Scene_ID%>);top.sceneid(<%=_Scene_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.KRPano.Scene.GetElemValueByPath(_Tour_ID,_Scene_ID,"Name")%> =&gt;[插件管理]</td>
                  <td width="80" align="center"><input type="button" class="width80px" value="预览查看" onClick="window.open('/project/<%=_Tour_ID%>/view_scene_<%=_Scene_ID%>_base.aspx', 'base', 'toolbar=no');" /></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 align="center" bgcolor="#D7F2FF" class="tab_bottom_line">url</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">align</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">edge</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">xy</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">width,height</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">preload</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">scale</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">visible</td>
                        <td align="center" bgcolor="#D7F2FF" class="tab_bottom_line">enabled</td>
                        <td width="40" align="center" bgcolor="#D7F2FF" class="tab_bottom_line">zorder</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 height="18" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@name")%></td>
                            <td nowrap="nowrap" class="tab_bottom_line"><%# XPath("@url")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@align")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@edge")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line">(<%# XPath("@x")%>,<%# XPath("@y")%>)</td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line">(<%# XPath("@width")%>,<%# XPath("@height")%>)</td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@preload")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@scale")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@visible")%></td>
                            <td align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@enabled")%></td>
                            <td width="40" align="center" nowrap="nowrap" class="tab_bottom_line"><%# XPath("@zorder")%></td>
                            <td width="40" align="center" nowrap="nowrap" class="tab_bottom_line"><a href="AD_Plugin.aspx?action=edit&Tour_ID=<%=_Tour_ID%>&Scene_ID=<%=_Scene_ID%>&ROW=<%=_ROW%>" style="color: #0000FF"><img src="/images/operate/edit.gif" width="16" height="16" border="0" title="Edit" /></a> <a href="AD_Plugin.aspx?action=del&Tour_ID=<%=_Tour_ID%>&Scene_ID=<%=_Scene_ID%>&ROW=<%=_ROW%>" 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>
                
                <tr>
                  <td height="24" align="center"><input type="button" class="width80px" onClick="window.location='AD_Plugin.aspx?action=add&Tour_ID=<%=_Tour_ID%>&Scene_ID=<%=_Scene_ID%>&ROW=0'" value="添加"/>
                  <input name="ButReturn" type="button" class="width80px" id="ButReturn" onClick="window.location='<%=MyApp.Components.NavUrl.GetUrl(2)%>'" value="返回" /></td>
                </tr>
            </table></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
</body>
</html>

