Web/ht/publish/Add.aspx
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Add.aspx.cs" Inherits="template_nongye_ht_publish_Add" ValidateRequest="false"%>
<!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 runat="server">
<title></title>
<link href="../images/skin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../Editor/themes/default/default.css" />
<link rel="stylesheet" href="../Editor/plugins/code/prettify.css" />
<script charset="utf-8" src="../Editor/kindeditor.js"></script>
<script charset="utf-8" src="../Editor/lang/zh_CN.js"></script>
<script charset="utf-8" src="../Editor/plugins/code/prettify.js"></script>
<script>
KindEditor.ready(function (K) {
var editor1 = K.create('#content1', {
cssPath: '../Editor/plugins/code/prettify.css',
uploadJson: '../Editor/upload_json.ashx',
allowFileManager: false,
items: [
'source', '|', 'undo', 'redo', '|', 'preview',
'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image',
'flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak',
'anchor', 'link', 'unlink',
],
afterCreate: function () {
var self = this;
K.ctrl(document, 13, function () {
self.sync();
K('form[name=example]')[0].submit();
});
K.ctrl(self.edit.doc, 13, function () {
self.sync();
K('form[name=example]')[0].submit();
});
}
});
prettyPrint();
});
KindEditor.ready(function (K) {
var editor2 = K.editor({
cssPath: '../editor/plugins/code/prettify.css',
uploadJson: '../editor/upload_json.ashx',
fileManagerJson: '../editor/file_manager_json.ashx',
allowFileManager: false
});
K('#J_selectZCZ').click(function () {
editor2.loadPlugin('image', function () {
editor2.plugin.imageDialog({
// showRemote: false,
fileUrl: K('#zcz').val(),
后面还有 73 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
