JumboTCMS_src/JumboTCMS.WebFile/user/module_article_edit.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
* 程序名称: JumboTCMS(将博内容管理系统通用版)
*
* 程序版本: 7.x
*
* 程序作者: 子木将博 (QQ:791104444@qq.com,仅限商业合作)
*
* 版权申明: http://www.jumbotcms.net/about/copyright.html
*
* 技术答疑: http://forum.jumbotcms.net/
*
*/
using System;
using System.Data;
using System.IO;
using System.Web;
using System.Web.UI.WebControls;
using JumboTCMS.Common;
namespace JumboTCMS.WebFile.User
{
public partial class _module_article_edit : JumboTCMS.UI.UserCenter
{
protected void Page_Load(object sender, EventArgs e)
{
ChannelId = Str2Str(q("ccid"));
id = Str2Str(q("id"));
User_Load("", "html", true);
checkEdit(id, ChannelType);
this.txtEditor.Text = UserName;
this.txtUserId.Text = UserId;
getEditDropDownList(ref ddlClassId, 0);
doh.Reset();
JumboTCMS.DBUtility.WebFormHandler wh = new JumboTCMS.DBUtility.WebFormHandler(doh, "jcms_module_article", btnSave);
wh.AddBind(txtTitle, "Title", true);
wh.AddBind(ddlClassId, "ClassId", false);
wh.AddBind(txtSourceFrom, "SourceFrom", true);
wh.AddBind(txtAuthor, "Author", true);
wh.AddBind(txtEditor, "Editor", true);
wh.AddBind(txtUserId, "UserId", false);
wh.AddBind(txtTags, "Tags", true);
wh.AddBind(txtImg, "Img", true);
wh.AddBind(rblIsTop, "SelectedValue", "IsTop", false);
wh.AddBind(txtContent, "Value", "Content", true);
wh.AddBind(txtSummary, "Summary", true);
wh.AddBind(ref ChannelId, "ChannelId", false);
wh.AddBind(chkIsEdit, "1", "IsPass", false);
wh.AddBind(txtAddDate, "AddDate", true);
if (id == "0")
{
wh.Mode = JumboTCMS.DBUtility.OperationType.Add;
this.txtAddDate.Text = DateTime.Now.ToString();
}
else
{
wh.ConditionExpress = "UserId=" + UserId + " and [IsPass]=0 and id=" + id;
wh.Mode = JumboTCMS.DBUtility.OperationType.Modify;
}
wh.BindBeforeModifyOk += new EventHandler(bind_ok);
wh.AddOk += new EventHandler(save_ok);
后面还有 59 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。