yuesu/aspxadmin/Newsadd.aspx
(开头部分) 14KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Newsadd.aspx.cs" Inherits="Mvcb2b.aspxadmin.Newsadd" Title="新闻添加" ValidateRequest="false" %>
<%@ Import Namespace="Mvcb2b.aspxadmin"%>
<%@ MasterType VirtualPath="Admin.Master" %>
<%@ Register src="controls/Upcon.ascx" tagname="Up" tagprefix="uc2" %>
<%@ Register src="controls/Upcondown.ascx" tagname="Updown" tagprefix="ucdown" %>
<%@ Register src="controls/Upsmall.ascx" tagname="Upsmall" tagprefix="uc3" %>
<%@ Register src="controls/Class.ascx" tagname="Class" tagprefix="uc4" %>
<%@ Register src="controls/ZtClass.ascx" tagname="Class" tagprefix="uc6" %>
<%@ Register src="controls/UpallfilesTv.ascx" tagname="UpallfilesTv" tagprefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<%string webd = Fun.Webdirectory; %>
<script type="text/javascript" src="calendar/calendar.js"></script>
<script type="text/javascript">
var webd="<%=webd%>";
function setCheckInedittime(d) {
var myDate = new Date();
var mytime=myDate.toLocaleTimeString();
document.getElementById("<%=edittime_txt.ClientID%>").value = d+" "+mytime;
}
function checkform()
{
if (typeof (Page_ClientValidate) == 'function') {
if (Page_ClientValidate('Haosubmit')) //(Page_ClientValidate())
{
<%if (Classid==0){ %>
if (document.getElementById("sel0").value == "" || document.getElementById("sel0").value == null) {
alert("-分类不能为空!");
return false;
}
<%} %>
if ($("#<%=isrefer_txt.ClientID%>").attr("checked") != "checked") {// if (document.Form1.linkmanadd.checked == true) {
<%
string haoid="";
if (Mvcbll.Mvc_settingbll.Sitesetting.Editor == "tinymce")
{
tinyMCE content1= (tinyMCE)editor_div.FindControl("content_txt");
haoid=content1.Haoid;
%>
var contentvalue = GetTinyMceContent("<%=haoid%>");
if (contentvalue == "" || contentvalue == null) {
alert("-内容不能为空!");
return false;
}
<%
}
else if (Mvcbll.Mvc_settingbll.Sitesetting.Editor == "ueditor")
{
%>
var contentvalue = getUeContent();
if (contentvalue == "" || contentvalue == null) {
alert("-内容不能为空!");
return false;
}
<% }%>
}
后面还有 207 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
