JumboTCMS_src/JumboTCMS.WebFile/admin/channel_edit.aspx
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="channel_edit.aspx.cs" Inherits="JumboTCMS.WebFile.Admin._channel_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(){
$('.tip-r').jtip({gravity: 'r',fade: false});
$.formValidator.initConfig({onError:function(msg){alert(msg);}});
$("#txtTitle").formValidator({tipid:"tipTitle",onshow:"请输入频道名称",onfocus:"建议输入4个汉字"}).InputValidator({min:4,max:10,onerror:"请输入4-10个字符或2-5个汉字,请确认"});
$("#txtDir").formValidator({tipid:"tipDir",onshow:"添加之后不能修改",onfocus:"包含字母、数字、短线(-)和下划线"}).RegexValidator({regexp:"^[_\-a-zA-Z0-9\.]+(/{1}[_\-a-zA-Z0-9\.]+)?$",onerror:"输入有误"});
$("#txtSubDomain").formValidator({empty:true,tipid:"tipSubDomain",onshow:"一旦添加请勿随意修改,如果不用二级域名请留空!",onfocus:"以http://开头,结尾不要加/。如:http://video.x.com",onempty:"如果不用二级域名请留空!"}).RegexValidator({regexp:"domain",datatype:"enum",onerror:"以http://开头,结尾不要加/"});
$("#txtItemName").formValidator({tipid:"tipItemName",onshow:"2个汉字",onfocus:"2个汉字"}).RegexValidator({regexp:"^[\u4E00-\u9FA5]{2}$",onerror:"请输入2个汉字"});
$("#txtItemUnit").formValidator({tipid:"tipItemUnit",onshow:"1个汉字",onfocus:"1个汉字"}).RegexValidator({regexp:"^[\u4E00-\u9FA5]{1}$",onerror:"请输入1个汉字"});
$("#ddlLanguageCode").formValidator({empty:true,tipid:"tipLanguageCode",onshow:"选择之后不能修改",onfocus:"选择之后不能修改"}).InputValidator({min:1,onerror:"请选择语言包"});
$("#txtPageSize").formValidator({tipid:"tipPageSize",onshow:"请填写5-50的数字,推荐20",onfocus:"请填写5-100的数字,推荐20"}).RegexValidator({regexp:"^\([5-9]{1}|[1-9]{1}[0-9]{1}|100)$",onerror:"请填写5-100的数字"});
});
/*最后的表单验证*/
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>
<span id="tipTitle" style="width:200px;"> </span></td>
</tr>
<tr>
<th> 频道简介<span class="tip-r" tip="使用一句话概括,主要便于搜索引擎优化(SEO)" /></th>
<td><asp:TextBox ID="txtInfo" runat="server" Width="97%" CssClass="ipt"></asp:TextBox>
</td>
</tr>
<tr>
<th> 频道实际目录 </th>
<td><asp:TextBox ID="txtDir" runat="server" MaxLength="30" Width="120px" CssClass="ipt"></asp:TextBox>
<span id="tipDir" style="width:200px;"> </span></td>
</tr>
<tr>
<th> 频道子域名 </th>
<td><asp:TextBox ID="txtSubDomain" runat="server" MaxLength="100" Width="300px" CssClass="ipt"></asp:TextBox>
<br /><span id="tipSubDomain" style="width:400px;"> </span></td>
后面还有 146 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。