<%@ page title="" language="VB" masterpagefile="MasterPage.master" autoeventwireup="false" inherits="user_user_images, App_Web_user_images.aspx.6cc23264" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script src="../web_js/web_imgwh.js" type="text/javascript"></script>
<script language="javascript" 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 != "image_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("复制成功！");
    } 
    </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>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="744" border="0" cellpadding="0" cellspacing="0">
<tr>
                <td width="100%" height="60"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td bgcolor="#CCCCCC"><table width="100%" border="0" cellpadding="0" cellspacing="1">
                          <tr>
                            <td height="27" bgcolor="#F5F5F5" class="wuse12"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="7%" align="center"><img src="user_image/use_shu2.JPG" width="21" height="25" /></td>
                                  <td width="93%" >
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td width="24%" class="string_12">文件管理</td>
                                        <td align="right" class="string_12">请选择文件夹路径：</td>
                                        <td width="10%" align="right"><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=image">image</option>
                                   <%end if %>
                                   <option value="?file=image">image</option>
                                  <option value="?file=flash">flash</option>
                                  <option value="?file=media">media</option>
                                  <option value="?file=file">file</option>
                                                </select></td>
                                      </tr>
                                  </table></td>
                              </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td height="30" bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="1">
                              <tr>
                                <td height="19" bgcolor="#F3F3F3"><table width="100%" border="0" cellspacing="2" cellpadding="0">
                                <tr>
                                      <td class="wuse12"><table border="0" cellpadding="0" cellspacing="3" class="string_12">
                                        <tr>
                                            <td class="hongse12">文件路径：</td>
                                            <td class="hongse12"><asp:FileUpload ID="add_page_page" runat="server" 
                                          CssClass="text_autox22_cccccc" Width="350px" /></td>
                                            <td class="hongse12"><asp:Button ID="add_page_ok" runat="server" CssClass="btn_2k3" Text="上  传" 
                                                    Height="22px" /></td>
                                            <td><span class="string_12_FF0000">
                                        <asp:Label CssClass="string_12" ID="add_page_ts" runat="server">请选择文件路径，文件必须小于1MB</asp:Label>
                                                </span></td>
                                          </tr>
                                      </table></td>
                                    </tr>
                                    <tr>
                                      <td bgcolor="#FFFFFF" class="wuse12"><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" class="string_12_999999">
                                        <tr>
                                          <td width="21" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><img src="user_image/gli.gif" width="22" height="6" /></td>
                                            <td width="90" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">浏览</td>
                                            <td height="22" align="center" background="user_image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><span class="huise12">文件路径</span></td>
                                        </tr>
                                        </table>
                          <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="user_image/img_i1.gif" width="8" height="8"></td>
                                                <td background="user_image/img_i2.gif"><img src="user_image/img_i2.gif" width="8" height="8"></td>
                                                <td width="8"><img src="user_image/img_i3.gif" width="8" height="8"></td>
                                              </tr>
                                              <tr>
                                                <td background="user_image/img_i8.gif"><img src="user_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">
                                <%If false_sing <> "image" Then%>
                                <img src="..\kindeditor\plugins\filemanager\images\file-64.gif"border="0" onload="javascript:resizeimgwh(this,167,130)">
                                <%Else%>
                                <img src="<%#Eval("imagename")%>"border="0" onload="javascript:resizeimgwh(this,167,130)">
                                <%End If%>
                                </td>
                              </tr>
                            </table>
                          </div></td>
                                  </tr>
                                <tr>
                                  <td height="19" colspan="3" valign="bottom">
                                  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="huise12">
                                      <tr>
                                     
                                        <td width="12%"><input name="image_int_id" type="checkbox" value="<%#Eval("imagename")%>" /></td> 
                                        <td align="center"><a href="javascript:copyToClipBoard('<%#Eval("imagename")%>');" ><img src="user_image/img-22.gif" alt="点击复制本地路径" border="0"/></a></td>
                                        <td align="center"><a href="javascript:copyToClipBoard('<%="http://" & Request.Url.Authority &""%><%#Eval("imagename")%>');" ><img src="user_image/img-23.gif" alt="点击复制绝对路径" border="0"/></a></td>
                                      </tr>
                                    </table></td>
                                  </tr>
                                </table></td>
                            </tr>
                            </table></td>
                        <td background="user_image/img_i4.gif"><img src="user_image/img_i4.gif" width="8" height="0"></td>
                                              </tr>
                                              <tr>
                                                <td><img src="user_image/img_i7.gif" width="8" height="8"></td>
                                                <td background="user_image/img_i6.gif"><img src="user_image/img_i6.gif" width="8" height="8"></td>
                                                <td><img src="user_image/img_i5.gif" width="8" height="8"></td>
                                              </tr>
                                      </table>
                                    </div>
					 
                       </ItemTemplate>
                                          </asp:Repeater>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td height="30" bgcolor="#FFFFFF" class="string_12"><input name="chkAll" type="checkbox" id="chkAll" onclick="CheckAll(this.form)" value="checkbox" style="border:0" />
                        全选/反选
                        <asp:Button CssClass="btn1_mouseout" ID="image_quantity_delete" runat="server" 
                                      Text="批量删除"/></td>
                                  </tr>
                                    </table></td>
                              </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
            </table>
            <asp:Label CssClass="string_12" ID="web_page" runat="server"></asp:Label>
</asp:Content>

