<% 
Function htmlspecialchars(str) 
str = Replace(str, "&", "&") 
str = Replace(str, "<", "<") 
str = Replace(str, ">", ">") 
str = Replace(str, """", """") 
htmlspecialchars = str 
End Function 
%> 
<meta charset="gb2312" /> 
<link rel="stylesheet" href="../../kindeditor/themes/default/default.css" /> 
<link rel="stylesheet" href="../../kindeditor/plugins/code/prettify.css" /> 
<script charset="gb2312" src="../../kindeditor/kindeditor.js"></script> 
<script charset="gb2312" src="../../kindeditor/lang/zh_CN.js"></script> 
<script charset="gb2312" src="../../kindeditor/plugins/code/prettify.js"></script> 
<script> 
KindEditor.ready(function(K) { 
var editor1 = K.create('textarea[name="content"]', { 
cssPath : '../../kindeditor/plugins/code/prettify.css', 
uploadJson : '../../kindeditor/asp/upload_json.asp', 
fileManagerJson : '../../kindeditor/asp/file_manager_json.asp', 
allowFileManager : true, 
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(); 
}); 
</script>