VideoHome.Web/admin/Zhuanti/ZhuanTiEdit.aspx

(开头部分) 5KB

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

<%@ Page Title="" Language="C#" MasterPageFile="../admin.Master" AutoEventWireup="true" Inherits="myfilm.Web.Admin.ZhuanTiEdit"  ValidateRequest="false" EnableEventValidation="false" Codebehind="ZhuanTiEdit.aspx.cs" %>

<%@ Register Src="ZhuanTiPic.ascx" TagName="ucZhuanTiPic" TagPrefix="uc1" %>
<%@ Register TagPrefix="cc1" Namespace="myfilm.Control" Assembly="myfilm.Control" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript">
        function buildSearchUrl() {
            if ($("svalue").value == "") return;
            getServerID("txtSearchUrl").value = "<%=myfilm.Config.BaseConfigs.GetVodPath %>Search.aspx?stype=" + $("stype").value + "&svalue=" + $("svalue").value;
        }

        function beforeSave() {
            if (getServerID("txtName").value == "") {
                alert("职位名称不能为空!");
                getServerID("txtName").focus();
                return false;
            }            
            return true;
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />
    <asp:UpdatePanel runat="server" ID="upAll" UpdateMode="Conditional">
        <ContentTemplate>
            <fieldset>
                <legend style="background: url(../images/icons/legendimg.jpg) no-repeat 6px 50%;">修改职位</legend>
                <table cellspacing="0" cellpadding="4" width="100%" align="center">
                    <tr>
                        <td class="panelbox" width="80%" align="left">
                            <table width="100%">
                                <tr>
                                    <td style="width: 80px" align="right">
                                        职位名称:
                                    </td>
                                    <td>
                                        <cc1:TextBox ID="txtName" runat="server"  Width="250px"
                                            HintTitle="提示">
                                        </cc1:TextBox>
                                    </td>
                                </tr>
                                <tr  style="display:none">
                                    <td style="width: 80px" align="right">
                                        转到搜索:
                                    </td>
                                    <td>
                                        <select name="stype" id="stype">
                                            <option selected="selected" value="name">片名</option>
                                            <option value="director">导演</option>
                                            <option value="player">主演</option>
                                            <option value="keyword">关键字</option>
                                        </select>
                                        <input size="30" type="text" name="svalue" id="svalue" />
                                        <input size="30" type="button" value="生成" onclick="buildSearchUrl()" />
                                        <br />
                                        <cc1:TextBox runat="server" ID="txtSearchUrl" Width="350px"></cc1:TextBox>
                                    </td>
                                </tr>                                
后面还有 41 行代码,购买后查看完整代码

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

AI 解读 AI

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

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