<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="List_Accessories_Info.aspx.cs" Inherits="MYAPP.Manage.Project.Design.Tour.List_Accessories_Info" %>
<!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></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 type="text/javascript">
</script>
</head>
<body onloadok="parent.document.all('mainACFrame').style.height=document.body.scrollHeight;"  scroll="auto">
<form id="theform" runat="server" enableviewstate="false">
  <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
        class="board_kong">
    <tr>
      <td width="80" class="left_title">附件上传:</td>
      <td align="left"><asp:FileUpload ID="fu_file" runat="server" />
      <asp:Button CssClass="width80px" ID="ButFileUpload" runat="server" Text="上传附件" OnClick="ButFileUpload_Click" /></td>
    </tr>
    <tr>
      <td colspan="2" align="center"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
          <tr class="table_title">
            <td height="20" align="center" bgcolor="#F1F2FE" class="tab_bottom_line"> Name</td>
            <td width="40" align="center" bgcolor="#F1F2FE" class="tab_bottom_line"> Ext</td>
            <td width="60" align="center" bgcolor="#F1F2FE" class="tab_bottom_line"> Size[KB]</td>
            <td width="120" align="center" bgcolor="#F1F2FE" class="tab_bottom_line"> DateTime</td>
            <td width="60" height="20" align="center" bgcolor="#F1F2FE" class="tab_bottom_line"> OP</td>
          </tr>
          <asp:Repeater ID="rp_list" runat="server">
            <ItemTemplate>
              <tr onmouseover="this.style.background='#F3F3E4'" onmouseout="this.style.background='ffffff'">
                <td height="18" align="left" class="tab_bottom_line"><font color="#333333"><%=Request.QueryString["curl"]%>/<%# Eval("File_Path").ToString().Trim()%></font></td>
                <td width="40" nowrap="nowrap" class="tab_bottom_line"><%# Eval("File_Ext").ToString().Trim()%></td>
                <td align="right" nowrap="nowrap" class="tab_bottom_line"><%# Convert.ToDouble(Convert.ToDouble(Eval("File_Size"))).ToString("###,###")%></td>
                <td width="120" align="center" nowrap="nowrap" class="tab_bottom_line"><%# Eval("LastWriteTime").ToString().Trim()%></td>
                <td width="60" align="center" nowrap="nowrap" class="tab_bottom_line"><a href="javascript:copyToClipboard('<%=Request.QueryString["curl"]%>/<%# Eval("File_Path").ToString().Trim()%>');alert('URL地址已经拷贝到剪贴板,请直接使用CTRL+V粘贴到相应位置.')"><img src="/images/operate/Clipboard.gif" alt="copy url" border="0" /></a> <a href="<%# _File_Dir+Eval("File_Path").ToString().Trim()%>" target="_blank"><img src="/images/operate/download.gif" alt="download" border="0" /></a> <a href="?action=del&curl=<%=Request.QueryString["curl"]%>&dir=<%=_Str_Dir%>&Type_ID=<%=Request.QueryString["Type_ID"]%>&Info_ID=<%=Request.QueryString["Info_ID"]%>&file_name=<%#COE.Components.Encrypt.EncryptString(Eval("File_Path").ToString())%>"
                                        onclick="delete_confirm();" style="color: #FF0000"> <img src="/images/operate/del.gif" alt="del file" width="16" height="16" border="0" /></a></td>
              </tr>
              <tr>
                <td height="1" colspan="5" background="/images/-.gif"></td>
              </tr>
            </ItemTemplate>
          </asp:Repeater>
      </table></td>
    </tr>
  </table>
</form>
</body>
</html>
