Website/Admin/Picture/Picture_Manage_Dialog.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Picture_Manage_Dialog.aspx.cs"
    Inherits="YKT_EShop.Admin.Picture.Picture_Manage_Dialog" %>

<!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>
    <style type="text/css">
        body { font-size: 12px; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0">
        <tr>
            <td colspan="2">
                <asp:Label ID="lbl" runat="server" Text="图片管理"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;图片目录
            </td>
            <td>
                &nbsp;<asp:DropDownList ID="ddlSelectPicPath" runat="server" AutoPostBack="True"
                    OnSelectedIndexChanged="ddlSelectPicPath_SelectedIndexChanged">
                </asp:DropDownList>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2">
                上传文件:<input id="FileUploadGo" type="file" runat="server" />&nbsp;<asp:Button ID="btnUpload"
                    runat="server" Text="上传文件" OnClick="btnUpload_Click" />
            </td>
        </tr>
    </table>
    <asp:DataList ID="dlPicList" runat="server" RepeatColumns="6" HorizontalAlign="Center">
        <ItemTemplate>
            <table>
                <tr>
                    <td>
                        <center>
                            <div style="width: 92px; height: 92px;">
                                <div style="width: 90px; height: 90px; margin: 1px; background: #ffffff">
                                    <img alt="" id='img_<%# Bind_Pic(DataBinder.Eval(Container.DataItem,"Name"))%>' style="padding: 1px 0 0 1px;
                                        cursor: pointer;" title='双击选择该图片,该图片地址为:UploadFiles/<%# Bind_PicPath(DataBinder.Eval(Container.DataItem,"Name")) %>'
                                        border="0" src='/UploadFiles/<%# Bind_PicPath(DataBinder.Eval(Container.DataItem,"Name")) %>' ondblclick="parent.InitPicture(this)" onmousemove="this.parentNode.parentNode.style.backgroundColor='#006699'"
                                        onmouseout="this.parentNode.parentNode.style.backgroundColor='white';" height="80px" width="80px" />
                                </div>
                            </div>
                        </center>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" CustomInfoHTML="共%PageCount%页,当前为第%CurrentPageIndex%页,每页%PageSize%条"
        FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页"
        OnPageChanged="Pager_PageChanged" PageIndexBoxType="DropDownList" PageSize="18"
后面还有 6 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。