<%@ page language="C#" autoeventwireup="true" inherits="Document_docpage2, App_Web_rddppaaw" %>

<!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 runat="server">
    <title>文件属性页面</title>
     <link href="../CssHtml.css" rel="stylesheet" type="text/css" />
      <script src="../scripts/docpage.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    <div>
    <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" Width="179px" OnMenuItemClick="Menu1_MenuItemClick"  Font-Bold="True" Font-Size ="9pt" ForeColor="White" StaticTopSeparatorImageUrl="../images/dp_bg2.JPG" MaximumDynamicDisplayLevels="7" Height="30px" >
            <Items>
                <asp:MenuItem ImageUrl="../images/tb1-selected.gif"  Value="0"  Text =""></asp:MenuItem>
                <asp:MenuItem ImageUrl="../images/tb2.gif"  Value="1"  Text =""></asp:MenuItem>
                 <asp:MenuItem ImageUrl="../images/tb3.gif"  Value="2"  Text =""></asp:MenuItem>
                 <asp:MenuItem ImageUrl="../images/tb4.gif"  Value="3"  Text =""></asp:MenuItem>
                 <asp:MenuItem ImageUrl="../images/tb5.gif"  Value="4"  Text =""></asp:MenuItem>
                 <asp:MenuItem ImageUrl="../images/tb6.gif"  Value="5"  Text =""></asp:MenuItem>
              
               
            </Items>
        <StaticSelectedStyle Font-Bold="True" ForeColor="Red" Height="30px" HorizontalPadding="0px" ItemSpacing="0px" Width="60px" />
     
        <DynamicSelectedStyle Font-Bold="True" ForeColor="Red" />
        </asp:Menu>
          <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
            <asp:View ID="View1"  runat="server">
             <div style="border-right: #0033ff 1px solid; border-left: #0033ff 1px solid; width: 800px;height:450px;
                position:absolute; top: 30px; border-bottom: #0033ff 1px solid; border-top: #0033ff 1px solid; overflow :auto ;">  
                  <table width="100%" style="
                           
                            background-color: white;" cellpadding="0" cellspacing="1">
                            <tr>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    文件编号</td>
                                <td style="width: 35%; height: 24px;">
                                    <asp:Label ID="lblfileno" runat="server" Text="Label"></asp:Label></td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                    文件名称</td>
                                <td style="width: 35%; height: 26px">
                                    <asp:Label ID="lblfname" runat="server" Text="Label"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    编制部门</td>
                                <td style="width: 35%; height: 24px;">
                                 <asp:Label ID="lbl_dpdsector" runat="server" Text=""></asp:Label>
                                   </td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                    编制人</td>
                                <td style="height: 26px; width: 35%;">
                                <asp:Label ID="lbl_dpdpeople" runat="server" Text=""></asp:Label>
                                   </td>
                            </tr>
                            <tr>
                            <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    创建审核人</td>
                                <td style="width: 35%; height: 24px;">
                                 <asp:Label ID="lbl_dpdchecker" runat="server" Text=""></asp:Label>
                                   </td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                    创建批准人</td>
                                <td style="width: 35%; height: 26px;">
                                 <asp:Label ID="lbl_dpdapprover" runat="server" Text=""></asp:Label>
                                  </td>
                               
                            </tr>
                            <tr>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    修改批准人</td>
                                <td style="width: 35%; height: 24px;">
                                 <asp:Label ID="lbl_dpdupdate" runat="server" Text=""></asp:Label>
                                   </td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                    借阅批准人</td>
                                <td style="height: 26px; width: 35%;">
                                 <asp:Label ID="lbl_dpdlend" runat="server" Text=""></asp:Label>
                                   
                                </td>
                            </tr>
                            <tr>
                                 <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    文件发送人</td>
                                <td style="height: 24px; width: 35%;">
                                 <asp:Label ID="lbl_dpdsend" runat="server" Text=""></asp:Label>
                                   </td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                   销毁批准人</td>
                                <td style="height: 26px; width: 35%;">
                                 <asp:Label ID="lbl_dpdDel" runat="server" Text=""></asp:Label>
                                   </td>
                            </tr>
                          
                            <tr>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    版本号</td>
                                <td style="width: 35%; height: 24px;">
                                    <asp:Label ID="lblversion" runat="server" Text=""></asp:Label>
                                  
                                    </td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                    创建日期</td>
                                <td style="width: 35%; height: 26px">
                                    <asp:Label ID="lblcdate" runat="server" Text=""></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    文件状态</td>
                                <td style="height: 24px; width: 35%;">
                                 <asp:Label ID="lbl_dpdstate" runat="server" Text=""></asp:Label>
                                   </td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                    所属类别</td>
                                <td style="height: 26px; width: 35%;">
                                    <asp:Label ID="lblTreeName" runat="server" Text=""></asp:Label></td>
                            </tr>
                             <tr>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    文件类型</td>
                                <td style="width: 35%; height: 24px;">
                                    <asp:Label ID="lblFtype" runat="server" Text="" Width="50px"></asp:Label></td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                    文件大小</td>
                                <td style="height: 26px; width: 35%;">
                                    <asp:Label ID="lblFbytes" runat="server" Text=""></asp:Label>(Bytes)</td>
                            </tr>
                             <tr>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    保存方式</td>
                                <td style="width: 35%; height: 24px;">
                                    <asp:Label ID="lbl_saveway" runat="server" Width="112px"></asp:Label></td>
                                <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center">
                                创建人</td>
                                <td style="height: 26px; width: 35%;">
                                   <asp:Label ID="lbl_loginid" runat="server" Width="112px"></asp:Label> </td>
                            </tr>
                          
                <tr>
                    <td  style="background-image: url(../Images/bg04.gif); width: 15%;"  align="center">
                      <div id ="nvarchar_1" runat ="server"> <%= nvarchar1  %></div>
                       </td>
                    <td style=" height: 24px; width: 35%;" >
                      <div id ="nvarchar_11" runat ="server">
                         <asp:Label ID="lbl11" runat="server" Text=""  ></asp:Label> </div>
                         </td>
                    <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center" >
                        <div id ="nvarchar_2" runat ="server"> <%= nvarchar2  %></div></td>
                    <td style="height: 26px; width: 35%;" align="left" >
                       <div id ="nvarchar_22" runat ="server"> <asp:Label ID="lbl22" runat="server" Text=""  ></asp:Label>
                          </div></td>
                </tr>
                <tr>
                    <td style="background-image: url(../Images/bg04.gif); width: 15%;"  align="center">
                        <div id ="nvarchar_3" runat ="server"> <%= nvarchar3  %></div></td>
                    <td style=" height: 24px; width: 35%;" >
                       <div id ="nvarchar_33" runat ="server">  <asp:Label ID="lbl33" runat="server" Text=""  ></asp:Label>
                          </div></td>
                    <td style="height: 22px; background-image: url(../Images/bg04.gif); width: 15%;" align="center" >
                        <div id ="nvarchar_4" runat ="server"> <%= nvarchar4  %></div></td>
                    <td style=" height: 26px; width: 35%;" align="left" >
                        <div id ="nvarchar_44" runat ="server">
                            <asp:Label ID="lbl44" runat="server" Text=""  ></asp:Label>
                           </div></td>
                </tr>
                 <tr>
                    <td  style="background-image: url(../Images/bg04.gif); width: 15%;"  align="center">
                      <div id ="nvarchar_5" runat ="server"> <%= nvarchar5  %></div></td>
                    <td style=" height: 24px; width: 35%;" >
                      <div id ="nvarchar_55" runat ="server"> 
                          <asp:Label ID="lbl55" runat="server" Text=""  ></asp:Label></div></td>
                    <td style="background-image: url(../Images/bg04.gif); width: 15%; height: 22px;" align="center" >
                        <div id ="nvarchar_6" runat ="server"> <%= nvarchar6  %></div></td>
                    <td style=" height: 26px; width: 35%;" align="left" >
                       <div id ="nvarchar_66" runat ="server"> 
                           <asp:Label ID="lbl66" runat="server" Text=""  ></asp:Label></div></td>
                </tr>
                <tr>
                    <td style="background-image: url(../Images/bg04.gif); width: 15%;"  align="center">
                        <div id ="nvarchar_7" runat ="server"> <%= nvarchar7  %></div></td>
                    <td style=" height: 24px; width: 35%;" >
                       <div id ="nvarchar_77" runat ="server">  
                           <asp:Label ID="lbl77" runat="server" Text=""  ></asp:Label></div></td>
                    <td style=" height: 22px; background-image: url(../Images/bg04.gif); width: 15%;" align="center" >
                        <div id ="nvarchar_8" runat ="server"> <%= nvarchar8  %></div></td>
                    <td style=" height: 26px; width: 35%;" align="left" >
                        <div id ="nvarchar_88" runat ="server">
                            <asp:Label ID="lbl88" runat="server" Text=""  ></asp:Label></div></td>
                </tr>
                 <tr>
                    <td style="background-image: url(../Images/bg04.gif); width: 15%;"  align="center">
                        <div id ="date_1" runat ="server"> <%= date1   %></div></td>
                    <td style=" height: 24px; width: 35%;" >
                       <div id ="date_11" runat ="server"> 
                           <asp:Label ID="lbl_date1" runat="server" Text="" ></asp:Label></div></td>
                    <td style=" height: 22px; background-image: url(../Images/bg04.gif); width: 15%;" align="center" >
                    <div id ="date_2" runat ="server"> <%= date2   %></div>
                       </td>
                    <td style=" height: 26px; width: 35%;" align="left" >
                        <div id ="date_22" runat ="server"> 
                            <asp:Label ID="lbl_date2" runat="server" Text=""></asp:Label></div></td>
                </tr>
  
                             
                            <tr>
                                <td colspan="1" style="background-image: url(../Images/bg04.gif); width: 15%;" align="center">
                                    关键词</td>
                                        <td colspan="3" >
                                        
                                   
                                        <asp:TextBox ID="txbkeyword" runat="server" 
                                        Height="23px" Width="98%" Enabled="False"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td colspan="4" align="right" height="30px">
                                    <asp:UpdatePanel ID="UpdatePanel5" runat="server">
                                    <ContentTemplate >
                                 
                                        <asp:ImageButton ID="linkb_changeDp" runat="server" Enabled ="false" ToolTip ="您没有修改权限" ImageUrl="../images/dp11.png"
                                             />
                                 <asp:LinkButton ID="linkb_fileRight" runat="server" 
                                        BorderStyle="None" Visible="false" ForeColor="Blue">查看文件授权</asp:LinkButton>
                                  
                                   </ContentTemplate>
                                    </asp:UpdatePanel>
                                   
                                      
                                </td>
                            </tr> 
                            
                </table>
            </div>
            </asp:View>
            <asp:View ID="View2"  runat="server">
             <div style="border-right: #0033ff 1px solid; border-left: #0033ff 1px solid; width: 800px;height:450px;
                position:absolute; top: 30px; border-bottom: #0033ff 1px solid; border-top: #0033ff 1px solid; overflow :auto ;">  
              <table width="100%" >
                                         <tr>
                                            <td colspan="3" align="left" style="font-weight: bold; font-size: 9pt;width:100%;  height: 12px;background-image: url(../Images/fbg.PNG);">
                                             <img src="../images/EA_head.gif" />&nbsp;文件审核信息</td>
                                        </tr>
                                         <% = getCheckTable() %>
                                        </table>
                                    
                                    <table width="100%">
                                        <tr>
                                            <td colspan="3" align="left" style="font-weight: bold;   font-size: 9pt;width:100%; background-image: url(../Images/fbg.PNG);">
                                            <img src="../images/EA_head.gif" />&nbsp;文件批准信息</td>
                                        </tr>
                                       <% = getApproveTable() %>
                                    </table>
                                    </div>
            </asp:View>
            <asp:View ID="View3"  runat="server">
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
             <div style="border-right: #0033ff 1px solid; border-left: #0033ff 1px solid; width: 800px;height:450px;
                position:absolute; top: 30px; border-bottom: #0033ff 1px solid; border-top: #0033ff 1px solid; overflow :auto ;">  
            <table width =100% style="border-right: #7a96dd 1px solid; border-top: #7a96dd 1px solid; border-left: #7a96dd 1px solid; border-bottom: #7a96dd 1px solid; overflow :auto" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="height: 20px; width: 100%; position :relative ; right :100px;" align="right" valign="bottom">
                     
                         <asp:ImageButton ID="ImgBtn_addRelated" runat="server" OnClientClick ='#'  ImageUrl ="../Images/19.gif" Enabled="false" ToolTip="您没有添加权限" />
                        <asp:ImageButton ID="ImageButton1" OnClick="ImgbRelated_Click" runat="server" ImageUrl="~/Images/18.gif" />
                        <a href="../OnlineHelp/OnlineHelp.aspx" target="_blank">
                                        <img src="../Images/8.gif" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none;" /></a>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100%;" valign="top">
                       
                  <asp:DataList ID="DataList2" runat="server" DataKeyField="id" Width="900px" OnDeleteCommand="DataList2_DeleteCommand" OnItemDataBound="DataList2_ItemDataBound"  >
                         <HeaderTemplate>
                                <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr style="height: 20px; background-color: #83BBD9">
                                       <td style="width: 18%; font-weight: bold; font-size: 9pt; color: window; height: 20px;" align="center">
                                           文件编号
                                        </td>
                                        <td style="width: 22%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                           文件名称
                                        </td>
                                       
                                        <td style="width: 14%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            相关文件编号
                                        </td>
                                         <td style="width: 22%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                             相关文件名称
                                        </td>
                                        
                                        <td style="width: 8%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            创建人
                                        </td>
                                        <td style="width: 10%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            创建日期
                                        </td>
                                        <td style="width:6%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            操作
                                        </td>
                                        
                                    </tr>
                                </table>
                            </HeaderTemplate>
                             <ItemTemplate>
                                <table id="mylist" style="width: 100%; border-bottom: #9b9c9c 1px solid; font-size: 9pt; "
                                    class="body">
                                    <tr>
                                        <td style="width: 18%">
                                            
                                      <a href ='docpage2.aspx?id=<%# getFileid(Eval("文件编号"))%>' target ="_blank" style="color: Blue;">       <%#DataBinder.Eval(Container.DataItem,"文件编号")%></a>
                                          
                                            <asp:Label ID="Label1" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"id")%>'
                                                Visible="false"></asp:Label>
                                            
                                        </td>
                                         <td style="width: 22%; border-left: white 1px solid;">
                                          <a href='openDoc.aspx?from=vtfile&id=<%# getFileid(Eval("文件编号"))%>&map=related' style="color: Blue;"
                                                target="_blank">   
                                                <%#DataBinder.Eval(Container.DataItem,"文件名称")%></a>
                                          
                                            
                                        </td>
                                        <td style="width: 14%; border-left: white 1px solid;" >
                                          <a href ='docpage2.aspx?id=<%# getFileid(Eval("相关文件编号"))%>' target ="_blank" style="color: Blue;">       <%#DataBinder.Eval(Container.DataItem,"相关文件编号")%></a>
                                        </td>
                                        <td style="width: 22%; border-left: white 1px solid;">
                                           <a href='openDoc.aspx?from=vtfile&id=<%# getFileid(Eval("相关文件编号"))%>&map=related' style="color: Blue;"
                                                target="_blank">         <%#DataBinder.Eval(Container.DataItem,"相关文件名称")%>  </a>
                                        </td>
                                        
                                       
                                        
                                        <td style="width: 8%; border-left: white 1px solid;">
                                            <%# getUname(DataBinder.Eval(Container.DataItem,"创建人"))%>
                                        </td>
                                        <td style="width: 10%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"创建日期","{0:yyyy-MM-dd}")%>
                                        </td>
                                       
                                    
                                       
                                        <td style="width: 6%; border-left: white 1px solid;">
                                            <asp:ImageButton ID="img_relatedDelete" CommandName="delete" runat="server" ImageUrl="../Images/del2.gif"
                                                 />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:DataList>
                       
                    </td>
                </tr>
       </table>
       </div> 
       </ContentTemplate>
                </asp:UpdatePanel>
            </asp:View>
              <asp:View ID="View4"  runat="server">
               <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
               <div style="border-right: #0033ff 1px solid; border-left: #0033ff 1px solid; width: 800px;height:450px;
                position:absolute; top: 30px; border-bottom: #0033ff 1px solid; border-top: #0033ff 1px solid;overflow :auto ;">  
               <table width =100% style="font-size: 9pt; border-right: inactivecaption 1px solid; border-top: inactivecaption 1px solid; border-left: inactivecaption 1px solid; border-bottom: inactivecaption 1px solid;" cellpadding="0" cellspacing="0">
              
                <tr>
                    <td style="height: 20px; width: 100%;position :relative ;right:100px;" align="right" valign="bottom" colspan =3>
             
                         <asp:ImageButton ID="img_addFileAtt" runat="server"   ImageUrl ="../Images/19.gif" Enabled="false" ToolTip="您没有添加权限" />
                        <asp:ImageButton ID="img_fresh_addFileAtt" OnClick="img_fresh_addFileAtt_Click" runat="server" ImageUrl="~/Images/18.gif" />
                        <a href="../OnlineHelp/OnlineHelp.aspx" target="_blank">
                                        <img src="../Images/8.gif" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none;" /></a>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                      
                <div  style ="width :100% ; overflow :auto ;">
                        <asp:DataList ID="DataList1" runat="server" DataKeyField="id" Width="900px" OnDeleteCommand="DataList1_DeleteCommand" OnItemDataBound="DataList1_ItemDataBound">
                         <HeaderTemplate>
                                <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr style="height: 20px; background-color: #83BBD9" cellspacing="0">
                                       
                                        <td style="width: 15%; font-weight: bold; font-size: 9pt; color: window; height: 20px;" align="center">
                                             附件名称
                                        </td>
                                        
                                        <td style="width: 20%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                           所属文件
                                        </td>
                                         <td style="width: 10%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                             文件类型
                                        </td>
                                        <td style="width: 10%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                             附件类型
                                        </td>
                                          <td style="width: 10%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                             附件大小(Byte)
                                        </td>
                                        <td style="width: 10%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            创建人
                                        </td>
                                        <td style="width: 10%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            创建日期
                                        </td>
                                         <td style="width: 10%; font-weight: bold; font-size: 9pt; color: window; height: 20px; border-left: white 1px solid;" align="center">
                                            操作
                                        </td>
                                        
                                    </tr>
                                </table>
                            </HeaderTemplate>
                             <ItemTemplate>
                                <table id="mylist" style="width: 100%; border-bottom: #9b9c9c 1px solid; font-size: 9pt;"
                                    class="body">
                                    <tr>
                                       
                                        <td style="width: 15%">
                                        <asp:LinkButton ID="HplinkAttOpen" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "附件名称")%>' OnClientClick ="#"   Enabled="false"     ToolTip ="您没有打开权限"></asp:LinkButton>    
                                
                                        </td>
                                        <td style="width: 20%; border-left: white 1px solid;">
                                            
                                                <%#DataBinder.Eval(Container.DataItem,"文件名称")%>
                                          
                                            <asp:Label ID="Label1" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"id")%>'
                                                Visible="false"></asp:Label>
                                            
                                        </td>
                                        <td style="width: 10%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"文件类型")%>
                                        </td>
                                         <td style="width: 10%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"附件类型")%>
                                        </td>
                                        <td style="width: 10%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"文件大小")%>
                                        </td>
                                        <td style="width: 10%; border-left: white 1px solid;">
                                                <%# getUname(Eval("创建人"))%>
                                        </td>
                                        <td style="width: 10%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"创建日期","{0:yyyy-MM-dd}")%>
                                        </td>
                                       
                                    
                                       
                                        <td style="width: 10%; border-left: white 1px solid; text-align :center ;">
                                       
                                         <asp:ImageButton ID="img_attDownload"  runat="server"  OnClientClick ='df(<%# Eval("fid") %>)'  ImageUrl="../Images/download.gif"  Visible =false  Width="16" Height="16" ToolTip ="Download" />
                                           &nbsp;&nbsp; <asp:ImageButton ID="img_attDelete" CommandName="delete" runat="server" ImageUrl="../Images/del2.gif"
                                                 />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:DataList>
                        </div>
                        </td>
                </tr>
            </table> 
            </div> 
            </ContentTemplate>
            </asp:UpdatePanel>
            </asp:View>
            <asp:View ID="View5"  runat="server">
             <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                <ContentTemplate>
             <div style="border-right: #0033ff 1px solid; border-left: #0033ff 1px solid; width: 800px;height:450px;
                position:absolute; top: 30px; border-bottom: #0033ff 1px solid; border-top: #0033ff 1px solid;overflow :auto ;">  
             <table width =100% style="border-right: inactivecaption 1px solid; border-top: inactivecaption 1px solid; border-left: inactivecaption 1px solid; border-bottom: inactivecaption 1px solid;" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="height: 20px; width: 100%; position :relative ;right:100px;" align="right" valign="bottom">
                       
                        <asp:ImageButton ID="ImgAddToTree" runat="server"   ImageUrl ="../Images/19.gif" Enabled =false   ToolTip="您没有添加权限" />
                        
                         <asp:ImageButton ID="ImgBtnAddToTree" OnClick="ImgBtnAddToTree_Click" runat="server" ImageUrl="~/Images/18.gif" />
                         <a href="../OnlineHelp/OnlineHelp.aspx" target="_blank">
                                        <img src="../Images/8.gif" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none;" /></a>
                    </td>
                </tr>
                <tr>
                    <td valign="top" style="width: 100%">
                        
                      <div  style ="width :100% ; overflow :auto ;">
                         <asp:DataList ID="DataList3" runat="server" DataKeyField="id" Width="900px" OnDeleteCommand="DataList3_DeleteCommand" OnItemDataBound="DataList3_ItemDataBound">
                         <HeaderTemplate>
                                <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr style="height: 20px; background-color: #83BBD9">
                                    <td style=" font-weight: bold; font-size: 9pt; color: window; height: 20px; width :15%;" align="center">
                                           文件编号
                                        </td>
                                       <td style="font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;width:25%;" align="center">
                                           文件名称
                                        </td>
                                       <td style="font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid; width :15%" align="center">
                                             类别名称
                                        </td>
                                        <td style=" font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;width:15%" align="center">
                                             映射类别名称
                                        </td>
                                      
                                        
                                        
                                        <td style=" font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;width:10%" align="center">
                                            创建人
                                        </td>
                                        <td style=" font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;width:10%" align="center">
                                            创建日期
                                        </td>
                                        <td style=" font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;width:10%" align="center">
                                            操作
                                        </td>
                                        
                                    </tr>
                                </table>
                            </HeaderTemplate>
                             <ItemTemplate>
                                <table id="mylist" style="width: 100%; border-bottom: #9b9c9c 1px solid; font-size: 9pt;"
                                    class="body">
                                    <tr>
                                    <td style=" width :15%;">
                                            
                                      <a href ='docpage2.aspx?id=<%# getFileid(Eval("文件编号"))%>' target ="_blank" style="color: Blue;">              <%#DataBinder.Eval(Container.DataItem, "文件编号")%></a>
                                          
                                            
                                        </td>
                                        <td style=" border-left: white 1px solid; width :25%">
                                            
                                       <a href='openDoc.aspx?from=vtfile&id=<%# getFileid(Eval("文件编号"))%>&map=totree' style="color: Blue;"
                                                target="_blank">            <%#DataBinder.Eval(Container.DataItem,"文件名称")%></a>
                                          
                                            <asp:Label ID="Label1" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"id")%>'
                                                Visible="false"></asp:Label>
                                            
                                        </td>
                                         <td style=" border-left: white 1px solid;width:15%">
                                                     <%# getCat(Eval("文件编号"))%>  
                                        </td>
                                        <td style=" border-left: white 1px solid;width:15%">
                                                     <%#DataBinder.Eval(Container.DataItem, "映射分类名称")%>  
                                        </td>
                                       
                                        <td style=" border-left: white 1px solid;width:10%">
                                            <%#DataBinder.Eval(Container.DataItem,"创建人")%>
                                        </td>
                                        <td style="border-left: white 1px solid;width:10%">
                                            <%#DataBinder.Eval(Container.DataItem, "创建日期", "{0:yyyy-MM-dd}")%>
                                        </td>
                                       
                                    
                                       
                                        <td style=" border-left: white 1px solid;width:10%">
                                            <asp:ImageButton ID="img_mapdelete" CommandName="delete" runat="server" ImageUrl="../Images/del2.gif"
                                                 />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:DataList>
                       </div> 
                    </td>
                </tr>
            </table> 
            </div>
            </ContentTemplate></asp:UpdatePanel>
            </asp:View>
            <asp:View ID="View6"  runat="server">
             <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                <ContentTemplate>
             <div style="border-right: #0033ff 1px solid; border-left: #0033ff 1px solid; width: 800px;height:450px;
                position:absolute; top: 30px; border-bottom: #0033ff 1px solid; border-top: #0033ff 1px solid;overflow :auto ;">  
            <table width="100%" style="border-right: inactivecaption 1px solid; border-top: inactivecaption 1px solid; border-left: inactivecaption 1px solid; border-bottom: inactivecaption 1px solid;" border="0" cellpadding="0" cellspacing="0">
            <td style="height: 20px; width: 100%;position :relative ;right:100px;" align="right" valign="bottom">
                      
                        <asp:ImageButton ID="addOldVersion" runat="server" OnClientClick ='#'  ImageUrl ="../Images/19.gif"   Enabled =false    ToolTip="您没有添加权限"/>
                      
                        <asp:ImageButton ID="ImgAddOldVersion" OnClick="ImgAddOldVersion_Click" runat="server" ImageUrl="~/Images/18.gif" />
                        <a href="../OnlineHelp/OnlineHelp.aspx" target="_blank">
                                        <img src="../Images/8.gif" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none;" /></a>
                         
                    </td>
            <tr width="100%">
                <td colspan="2" valign="top">
                    <div  style ="width :100% ; overflow :auto ;">
                    <asp:DataList ID="DataList4" runat="server" Width ="900px"   OnDeleteCommand="DataList4_DeleteCommand" OnItemDataBound="DataList4_ItemDataBound">
                    <HeaderTemplate >
                    <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr style="font-weight: bold; font-size: 9pt; color: #ffffff; background-color: #83BBD9;
                                        border-right: #6699cc 1px solid; border-top: #6699cc 1px solid; border-left: #6699cc 1px solid;
                                        border-bottom: #6699cc 1px solid;">
                                        <td style="width: 15%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            文件编号
                                        </td>
                                        
                                        <td style="width: 20%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            文件名称
                                        </td>
                                         <td style="width: 10%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            文件类型
                                        </td>
                                        <td style="width: 10%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            版本号
                                        </td>
                                        <td style="width: 10%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            版本类型
                                        </td>
                                      <td style="width: 9%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            修改备忘
                                        </td> 
                                        <td style="width: 10%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            修改人
                                        </td>
                                        <td style="width: 10%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            修改日期
                                        </td>
                                        
                                        <td style="width: 6%; font-weight: bold; color: white;; border-left: white 1px solid;" align="center">
                                            操作
                                        </td>
                                    </tr>
                                   
                                </table>
                    
                    
                    
                    </HeaderTemplate>
                    <ItemTemplate>
                                <table id="mylist" style="width: 100%; border-bottom: #9b9c9c 1px solid; font-size: 9pt;"
                                    class="body">
                                    <tr>
                                        <td style="width: 15%">
                                            
                                                <%#DataBinder.Eval(Container.DataItem,"文件编号")%>
                                          
                                            <asp:Label ID="Label1" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"id")%>'
                                                Visible="false"></asp:Label>
                                            
                                        </td>
                                         <td style="width: 20%; border-left: white 1px solid;">
                                            
                                            <asp:HyperLink ID="HplinkOldver" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "文件名称")%>'  Target =_blank></asp:HyperLink>    
                                          
                                            
                                        </td>
                                         <td style="width: 10%; border-left: white 1px solid;" >
                                            <asp:Label ID="lbl_type"  runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "文件类型")%>'  ></asp:Label>     
            
                                        </td>
                                        <td style="width: 10%; border-left: white 1px solid;" >
                                            <asp:Label ID="Label2"  runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "版本号")%>'  ></asp:Label>     
            
                                        </td>
                                         <td style="width: 10%; border-left: white 1px solid;" >
                                            <asp:Label ID="lbl_ftype"  runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "版本类型")%>'  ></asp:Label>     
            
                                        </td>
                                       
                                        <td style="width: 9%;; border-left: white 1px solid; ">
                                      
                                            <asp:LinkButton ID="btn_checkMemo" runat="server"  ValidationGroup  ='<%# Eval("id") %>' ForeColor ="Blue"    >查看备忘</asp:LinkButton>
                                        </td>
                                        
                                       
                                       <td style="width: 10%; border-left: white 1px solid;">
                                            <%# getUname(Eval("修改人"))%>
                                        </td>
                                     <td style="width: 10%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"修改日期" , "{0:yyyy-MM-dd}")%>
                                        </td>
                                       
                                        <td style="width: 6%; border-left: white 1px solid;">
                                       
                                          &nbsp;<asp:ImageButton ID="img_verDownload" runat="server"  OnClientClick ="#"  ImageUrl="../Images/download.gif"  Visible =false  Width="16" Height="16" ToolTip ="Download" />
                                             &nbsp;&nbsp;  <asp:ImageButton ID="img_verdelete" CommandName="delete" runat="server" ImageUrl="../Images/del2.gif"
                                                 />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                    
                    
                    
                    </asp:DataList>
                    </div>
                </td>
            </tr>
           
        </table>
        </div>
        </ContentTemplate></asp:UpdatePanel>
            </asp:View>
             <%--<asp:View ID="View7"  runat="server">
              <asp:UpdatePanel ID="UpdatePanel6" runat="server">
                <ContentTemplate>
              <div style="border-right: #0033ff 1px solid; border-left: #0033ff 1px solid; width: 800px;height:450px;
                position:absolute; top: 30px; border-bottom: #0033ff 1px solid; border-top: #0033ff 1px solid;overflow :auto ;">  
              <table width =100% style="font-size: 9pt; border-right: inactivecaption 1px solid; border-top: inactivecaption 1px solid; border-left: inactivecaption 1px solid; border-bottom: inactivecaption 1px solid;" cellpadding="0" cellspacing="0">
              
                <tr>
                    <td style="height: 20px; width: 100%;" align="right" valign="bottom" colspan =3>
             
                         <asp:ImageButton ID="img_addBom" runat="server"   ImageUrl ="../Images/19.gif" Enabled="false" ToolTip="您没有添加权限" />
                        <asp:ImageButton ID="img_freshBom" OnClick="img_freshBom_Click" runat="server" ImageUrl="~/Images/18.gif" />
                        <a href="../OnlineHelp/OnlineHelp.aspx" target="_blank">
                                        <img src="../Images/8.gif" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none;" /></a>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                      
              
                        <%--<asp:DataList ID="DataList5" runat="server" DataKeyField="id" Width="100%" OnDeleteCommand="DataList5_DeleteCommand" OnItemDataBound="DataList5_ItemDataBound">
                         <HeaderTemplate>
                                <table width="100%">
                                    <tr style="height: 20px; background-color: #83BBD9">
                                       
                                        <td style="width: 20%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                             BOM文件名称
                                        </td>
                                        
                                        <td style="width: 25%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                           所属文件
                                        </td>
                                        <td style="width: 14%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                             BOM文件类型
                                        </td>
                                          <td style="width: 13%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                             BOM文件大小
                                        </td>
                                        <td style="width: 10%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            创建人
                                        </td>
                                        <td style="width: 12%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            创建日期
                                        </td>
                                         <td style="width: 6%; font-weight: bold; font-size: 9pt; color: window; height: 20px;; border-left: white 1px solid;" align="center">
                                            操作
                                        </td>
                                        
                                    </tr>
                                </table>
                            </HeaderTemplate>
                             <ItemTemplate>
                                <table id="mylist" style="width: 100%; border-bottom: #9b9c9c 1px solid; font-size: 9pt;"
                                    class="body">
                                    <tr>
                                       
                                        <td style="width: 20%">
                                        <asp:LinkButton ID="HplinkBomOpen" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "bname")%>' OnClientClick ="#"      ToolTip ="打开阅读"></asp:LinkButton>    
                                
                                        </td>
                                        <td style="width: 25%; border-left: white 1px solid;">
                                            
                                                <%#DataBinder.Eval(Container.DataItem,"fname")%>
                                          
                                            <asp:Label ID="lbl_Bomid" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"id")%>'
                                                Visible="false"></asp:Label>
                                            
                                        </td>
                                        <td style="width: 14%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"ftype")%>
                                        </td>
                                        <td style="width: 13%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"bytes")%>
                                        </td>
                                        <td style="width: 10%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"adder")%>
                                        </td>
                                        <td style="width: 12%; border-left: white 1px solid;">
                                            <%#DataBinder.Eval(Container.DataItem,"cdate","{0:yyyy-MM-dd}")%>
                                        </td>
                                       
                                    
                                       
                                        <td style="width: 6%; border-left: white 1px solid;">
                                        
                                            <asp:ImageButton ID="img_BomDelete" CommandName="delete" runat="server" ImageUrl="../Images/del2.gif"
                                                 />
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:DataList>--%>
                      <%--  </td>
                </tr>
            </table> 
            </div>
            </ContentTemplate></asp:UpdatePanel> 
            </asp:View>--%>
            
            </asp:MultiView>
    </div>
    
   
    </form>
</body>
</html>
