JumboTCMS_src/JumboTCMS.WebFile/admin/special_edit.aspx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="special_edit.aspx.cs" Inherits="JumboTCMS.WebFile.Admin._special_edit" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>编辑专题</title>
<script type="text/javascript" src="../_libs/jquery.tools.pack.js"></script>
<script type="text/javascript" src="../_data/global.js"></script>
<link type="text/css" rel="stylesheet" href="../_data/global.css" />
<link type="text/css" rel="stylesheet" href="../statics/admin/css/common.css" />
<script type="text/javascript" src="../statics/admin/js/common.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$.formValidator.initConfig({onError:function(msg){alert(msg);}});
$("#txtTitle").formValidator({tipid:"tipTitle",onshow:"请输入专题名",onfocus:"请输入4-50个字符(2-25个汉字)"}).InputValidator({min:4,max:50,onerror:"请输入4-50个字符(2-25个汉字)"})
.AjaxValidator({
type : "get",
data: "id=<%=id%>",
url: "special_ajax.aspx?oper=checkname&clienttime="+Math.random(),
datatype : "json",
success : function(d){
if(d.result == "1")
return true;
else
return false;
},
buttons: $("#btnSave"),
error: function(){alert("服务器繁忙,请稍后再试");},
onerror : "该专题名已经存在",
onwait : "正在校验专题名的合法性,请稍候..."
})<%if (id!="0") {%>.DefaultPassed()<%} %>;
$("#txtSource").formValidator({tipid:"tipSource",onshow:"包含字母、数字和下划线",onfocus:"后缀为.htm|html|shtml"}).RegexValidator({regexp:"^[_a-zA-Z0-9]+.(htm|html|shtml)$",onerror:"输入有误"});
$("#txtOrderNum").formValidator({tipid:"tipOrderNum",onshow:"请填写数字,值越大越靠前",onfocus:"请填写数字,值越大越靠前"}).RegexValidator({regexp:"^\([0-9]+)$",onerror:"请填写数字,值越大越靠前"});
});
/*最后的表单验证*/
function CheckFormSubmit(){
if($.formValidator.PageIsValid('1'))
{
JumboTCMS.Loading.show("正在处理,请等待...");
return true;
}else{
return false;
}
}
</script>
</head>
<body>
<form id="form1" runat="server" onsubmit="return CheckFormSubmit()">
<table class="formtable mrg10T">
<tr>
<th> 专题名称 </th>
<td><asp:TextBox ID="txtTitle" runat="server" MaxLength="20" Width="225px" CssClass="ipt"></asp:TextBox>
<br /><span id="tipTitle" style="width:200px;"> </span></td>
</tr>
<tr>
<th> 权重 </th>
<td>
<asp:TextBox ID="txtOrderNum" runat="server" MaxLength="6" Width="40px" CssClass="ipt">0</asp:TextBox>
后面还有 22 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。