Web/Admin/resource/upAnnex.aspx

(开头部分) 3KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="upAnnex.aspx.cs" Inherits="Maticsoft.Web.Admin.resource.upAnnex" %>

<!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="../../js/jquery.uploadify-v2.1.0/example/css/default.css" rel="stylesheet" type="text/css" />
<link href="../../js/jquery.uploadify-v2.1.0/uploadify.css" rel="stylesheet" type="text/css" />
<style>
.admin_cx{ background:url(../images/zscyy_admin_bj.png) repeat-x; margin:5px; line-height:20px; height:20px; border:1px solid #91c7df; padding:0px 10px; float:left; color:#069; display:inline; font-size:12px; cursor:pointer; text-decoration:none}
.admin_cx:hover{ background:#fff}
tr{ border:0px;}
td{ border-bottom:0px;}
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="fileQueue" style="height:80px;"  ></div>
    <input id="upfile" name="upfile"  type="file"  />
    <br />
    <div><a href="javascript:$('#upfile').uploadifyUpload();" class="admin_cx" >确认上传</a></div>
    <div><a href="javascript:parent.Dialog.close();" class="admin_cx">取消上传</a></div>
    <input id="hd_annex" runat="server" type="hidden" />
    <script type="text/javascript" src="../../js/jquery.uploadify-v2.1.0/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../js/jquery.uploadify-v2.1.0/swfobject.js"></script>
    <script type="text/javascript" src="../../js/jquery.uploadify-v2.1.0/jquery.uploadify.v2.1.0.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#upfile").uploadify({
                'uploader': '../../js/jquery.uploadify-v2.1.0/uploadify.swf',
                'script': '../../ajax/up_annex.ashx',
                'cancelImg': '../../js/jquery.uploadify-v2.1.0/cancel.png',
                'folder': '../../UploadFile',
                'queueID': 'fileQueue',
                'auto': false,
                'multi': false,
                'buttonImg': '../../images/btnup.gif',
                'width': '57',
                'height': '23',
                'fileExt': '*.jpg;*.png;*.gif;*.jpeg;*.doc;*.docx;*.xls;*.rar;*.flv;*.swf;*.mp4',
                'fileDesc': "请选择图片或word,excel,rar,flv,mp4文件",
                onComplete: function (evt, queueID, fileObj, response, data) {

                    if (response == "") {
                        parent.Dialog.alert("附件上传失败!");
                        return;
                    }
                    document.getElementById("hd_annex").value += response + ","; //调用传递回来的响应信息
                    returnAnnex(response);
                }
            });
        });
        function returnAnnex(annex) {
            var op = "<%=OP %>";
            var fram = parent.document.getElementById("sysMain").contentWindow;
            fram.getannex(annex, op);
        }
    </script>
    </form>
后面还有 2 行代码,购买后查看完整代码

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

AI 解读

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

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