Admin/system/!/uap/coder/Bin.aspx

(开头部分) 6KB

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

<%@ Page Title="" Language="C#" MasterPageFile="~/!/MasterPage.master" AutoEventWireup="false" CodeFile="Bin.aspx.cs" Inherits="__uap_coder_Bin" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">
        var coders = {};

        function onTabsActiveChanged(e) {
            $('.uap-code').each(function () {
                if (this.code) {
                    (e = coders[this.id]) && e.setValue(this.code);
                }
            });
        }

        function runCode(s, body) {
            if (body) {
                var x = '';
                x += '<!DOCTYPE>';
                x += '<html>';
                x += '<head>';
                x += '\t<meta charset="UTF-8" />';
                x += '\t<meta http-equiv="X-UA-Compatible" content="chrome=1,webkit=1,IE=edge" />';
                x += '\t<meta name="copyright" content="Copyright (c) 2012 UAP All Rights Reserved" />';
                x += '\t<meta name="author" content="dOnG" />';
                x += '\t<title>TheUAP - Running</title>';
                x += '\t<link href="/!/style.css" rel="stylesheet" type="text/css" />';
                x += '\t<script src="http://cn.theuap.com/!/uap.js" type="text/javascript"><' + '/script>';
                x += '\t<script type="text/javascript">uap("uap-miniui-kill")<' + '/script>';
                x += '</head>';
                x += '<body>';
                x += s;
                x += '</body>';
                x += '</html>';
                s = x;
            }
            uap.htmlWindow(s, 0, 0);
        }

        uap('CodeMirror', function () {
            $('.uap-code').each(function () {
                this.code = this.value;
                this.value = '';
                var x = coders[this.id] = CodeMirror.fromTextArea(this, {
                    lineNumbers: true
                    , matchBrackets: true
                    , mode: "text/html"
                });
                x.run = function () {
                    runCode(this.getValue(), true);
                };
                $(".uap-code-" + this.id).click(function () {
                    x.run();
                });
            });
        });

        function bin(x, e) {
            var a = 'diy_' + x, b = uap.form('#' + a), c = b.getData();
            if (c) {
                c.id = uap.request('id');
后面还有 101 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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