<%@ page language="VB" autoeventwireup="false" inherits="qiye_admin_admin_page, App_Web_admin_page.aspx.25f04327" %>
<!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>
<title>文件列表</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/text.css" rel="stylesheet" type="text/css" />
<link href="css/button.css" rel="stylesheet" type="text/css" />
<script src="js/web_img.js" type="text/javascript"></script>
<script type="text/javascript">

    function page_img_file_jumpMenu(targ, selObj, restore) { //v3.0
        eval(targ + ".location='" + selObj.options[selObj.selectedIndex].value + "'");
        if (restore) selObj.selectedIndex = 0;
    }

function CheckAll(form) //传一个表单作参数
{ 
for (var i=0;i<form.elements.length;i++) //对这个表单里的元素进行循环
{ 
var e = form.elements[i]; //一个一个元素判断
if (e.Name != "pagespl_int_id"&&e.disabled!=true) //如果该元素的name属性为chkAll并且disabled!=true.即:该控件可用时.
e.checked = form.chkAll.checked; //控元素的checked与当前选中的控件checked保持一致.即:全选/全不选.
} 
} 

 function copyToClipBoard(a){ 
    window.clipboardData.setData("Text",a); 
    alert("复制成功！"); 
} 
document.oncontextmenu=new Function('event.returnValue=false;'); 

    </script>

    <style type="text/css">
        .page_img
        {
            width: 167px;
            height: 130px;
            overflow: hidden;
        }

.mygoods_img_div {
	height: auto;
	width: autopx;
	float: left;
	margin-left: 1px;
}
        </style>
</head>
<body>

<form id="form1" runat="server">

<table width="100%" border="0" cellspacing="3" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
            <tr>
              <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
                  <tr>
                    <td height="19" bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                        <tr>
                          <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                              <tr>
                                <td width="15%" height="25" align="center" class="wuse16"><strong class="16huise">管理中心</strong></td>
                                <td valign="bottom" class="huise12">文件列表</td>
                                <td width="15%" align="right" class="huise12">文件储存路径：</td>
                                <td width="9%" class="huise12"><select name="page_img_file" id="page_img_file" onchange="page_img_file_jumpMenu('self',this,0)">
                                <%if ubb.query_string("file")<>"" then%>
                                   <option value="?file=<%=ubb.query_string("file")%>" selected="selected"><%=ubb.query_string("file")%></option>
                                   <%else%>
                                   <option value="?file=file_document" selected="selected">file_document</option>
                                   <%end if %>
                                  <option value="?file=file_document">file_document</option>
                                  <option value="?file=file_userimages">file_userimages</option>
                                </select></td>
                              </tr>
                          </table></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
            
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>上传图片</strong></legend>

<table border="0" cellspacing="3" cellpadding="0">
  <tr>
    <td class="wuse12">文件路径：</td>
    <td><table width="0" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><asp:FileUpload ID="add_page_page" runat="server" Width="250px" 
                        CssClass="text_autox22_cccccc" /></td>
        <td><asp:RadioButtonList ID="page_name" runat="server" CssClass="wuse12" 
                                RepeatDirection="Horizontal">
          <asp:ListItem Selected="True" Value="True">新建命名</asp:ListItem>
          <asp:ListItem Value="False">覆盖重名</asp:ListItem>
        </asp:RadioButtonList></td>
        <td><asp:Button ID="add_page_ok" runat="server" Text="上  传" 
                        Height="22px" /></td>
        <td>　<span class="hongse12">
          <asp:Label ID="add_page_ts" runat="server" Text='文件&lt;1Mb'></asp:Label>
        </span></td>
      </tr>
    </table></td>
  </tr>
</table>
</fieldset>
<fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>已上传的文件项</strong></legend>
  
					 
                       <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;">
                         <tr>
                           <td> <asp:Repeater ID="data_page" runat="server">
     <ItemTemplate>
                      
                      <div class="mygoods_img_div">
                                            <table border="0" cellpadding="0" cellspacing="0">
                                              <tr>
                                                <td width="8"><img src="image/img_i1.gif" width="8" height="8"></td>
                                                <td background="image/img_i2.gif"><img src="image/img_i2.gif" width="8" height="8"></td>
                                                <td width="8"><img src="image/img_i3.gif" width="8" height="8"></td>
                                              </tr>
                                              <tr>
                                                <td background="image/img_i8.gif"><img src="image/img_i8.gif" width="8" height="8"></td>
                        <td><a href="../file_document/jifen.JPG" target="_blank">
                        </a>
                          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="huise12">
                                
                                <tr>
                                  <td width="100%" colspan="3"> 
                                  <div class="page_img">
                            <table width="167" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="130" align="center" valign="middle"><img src="../<%=false_sing%>/<%#Eval("imagename")%>"border="0" onload="javascript:resizeimg(this,167,130,'<%#Eval("imagename")%>')"></td>
                              </tr>
                            </table>
                          </div></td>
                                </tr>
                                <tr>
                                  <td height="19" colspan="3" valign="bottom">
                                  <table width="100%" border="0" cellpadding="0" cellspacing="2" class="huise12">
                                      <tr>
                                     
                                        <td width="12%"><input name="pagespl_int_id" type="checkbox" value="<%#Eval("imagename")%>" /></td> 
                                        <td align="center"><a href="javascript:copyToClipBoard('<%=ubb.url & false_sing%>/<%#Eval("imagename")%>');" ><img src="image/img-22.gif" alt="<%#Eval("imagename")%>" border="0"/></a></td>
                                        <td><a href="javascript:copyToClipBoard('<%="http://" & Request.Url.Authority & ubb.url & false_sing & "/"%><%#Eval("imagename")%>');" ><img src="image/img-23.gif" alt="<%#Eval("imagename")%>" border="0"/></a></td>
                                      </tr>
                                    </table></td>
                                </tr>
                                </table></td>
                            </tr>
                          </table></td>
                        <td background="image/img_i4.gif"><img src="image/img_i4.gif" width="8" height="0"></td>
                                              </tr>
                                              <tr>
                                                <td><img src="image/img_i7.gif" width="8" height="8"></td>
                                                <td background="image/img_i6.gif"><img src="image/img_i6.gif" width="8" height="8"></td>
                                                <td><img src="image/img_i5.gif" width="8" height="8"></td>
                                              </tr>
                                      </table>
       </div>                      
       </ItemTemplate>
        </asp:Repeater> </td>
                         </tr>
                         <tr>
                           <td height="30" class="wuse12">
                             <input name="chkAll" type="checkbox" id="chkAll" onclick="CheckAll(this.form)" value="checkbox" style="border:0" />
全选/反选
&nbsp;&nbsp;<asp:Button ID="Button1" runat="server" CssClass="btn" Text="刷新列表" />
&nbsp;&nbsp;<asp:Button CssClass="btn1_mouseout" ID="page_quantity_delete" runat="server" Text="批量删除"/></td>
                         </tr>
                       </table>
  
</fieldset>
<asp:Label CssClass="wuse12" ID="web_page" runat="server"></asp:Label>
</form>
</body>
</html>