VideoHome.Web/admin/Course/ChaptersAddOrUpdate.aspx

(开头部分) 25KB

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

<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true"
    CodeBehind="ChaptersAddOrUpdate.aspx.cs" Inherits="myfilm.Web.admin.Course.ChaptersAddOrUpdate" %>

<%@ Register TagPrefix="cc1" Namespace="myfilm.Control" Assembly="myfilm.Control" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/admin/js/jquery.js" type="text/javascript"></script>
    <link href="/admin/styles/upcss.css" rel="stylesheet" type="text/css" />
    <script>
        function upFileVail() {
            var videoUrl = $("#videoUrl").val(); var parentid = $("#ctl00_Content_drpParent").val();
            var videotype = $("input[@name='cb_videotype'][checked]").val();
            if (videoUrl == "" && parentid != "0" && videotype == "1") {
                if ($("#hidUploadStatus_SlFileVideo").val() == '-1') {
                    alert('你还没有选择上传文件,请确认!');
                    return false;
                }
                if ($("#hidUploadStatus_SlFileVideo").val() != "1") {
                    alert("文件正在上传,请稍后再保存"); return false;
                }
            }
            else {
                if (videoUrl != "" && $("#hidUploadStatus_SlFileVideo").val() != '-1' && $("#hidUploadStatus_SlFileVideo").val() != "1") {
                    alert("文件正在上传,请稍后再保存"); return false;
                }
            }
//            if (WebForm_OnSubmit() == true) {
//                $("#aspnetForm").submit(); 
//            }
            return true;
        }
        function closefile() {//hiddenelement
            $("#ShowFiles").html("");
            $("#ShowFiles").addClass("hiddenelement").removeClass("showelement");
            $("#swfu_container").removeClass("hiddenelement");
        }
        $(function () {
//            $("#cb_videotype").change(function () {
//                var videotype = $("#cb_videotype").val();
//                if (videotype == "1") {
//                    $("#tr_video").show(); $("#tr_videourl").hide();
//                }
//                else {
//                    $("#tr_video").hide(); $("#tr_videourl").show();
//                }
//            });
            $("#ctl00_Content_drpParent").change(function () {
                var parentid = $("#ctl00_Content_drpParent").val();
                if (parentid == "0") {
                    $("#tr_longtime").hide(); $("#tr_video").hide();
                    $("#tr_DownGold").hide(); $("#tr_SeeGold").hide();
                    $("#tr_AllowDown").hide(); 
//                    $("#tr_videoType").hide();
                    $("#tr_videourl").hide();
                }
                else {
                    $("#tr_longtime").show(); $("#tr_video").show();
                    $("#tr_DownGold").show(); $("#tr_SeeGold").show();
                    $("#tr_AllowDown").show();
//                     $("#tr_videoType").show();
                    $("#tr_videourl").show(); 
后面还有 343 行代码,购买后查看完整代码

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

AI 解读 AI

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

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