WELOA.Web/admin/login_notice.aspx.cs
(开头部分) 26KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LSBLL;
using System.Data;
using WELOA.Model;
using System.IO;
namespace Web.admin
{
public partial class login_notice : System.Web.UI.Page
{
private LS_Departmentandpost DepartmentandPostBLL = new LS_Departmentandpost();
private DataSet ds = null;
private DateSetInformation dsinfo = new DateSetInformation();
private LS_Manager managerBLL = new LS_Manager();
private LS_Login_Notice NoticeBLL = new LS_Login_Notice();
private int nPage;
private int Record_Per_Page;
private string strDepartment = "";
private string[] strManagerArr;
private string strManagersloginname = "";
private string strNoticecontent = "";
private string strNoticetitle = "";
private Polytechnic trinfo = new Polytechnic();
protected void btAddNotice_Click(object sender, EventArgs e)
{
this.strNoticetitle = this.tbNoticetitle.Text.Trim();
this.strNoticecontent = this.tbNoticecontent.Text.Trim();
this.strDepartment = this.ddlAddDepartment.Text.Trim();
string str = "";
string str2 = base.Server.MapPath(@"\") + @"upload\notice";
if (this.cblFileList.Items.Count > 0)
{
for (int i = 0; i < this.cblFileList.Items.Count; i++)
{
if (this.cblFileList.Items[i].Selected)
{
str = str + this.cblFileList.Items[i].Text + " ";
}
else
{
File.Delete(str2 + @"\" + this.cblFileList.Items[i].Text);
}
}
}
this.strManagersloginname = this.managersloginname();
this.strManagerArr = this.ManagerArr(this.strManagersloginname);
if (((this.strNoticetitle != "") && (this.strNoticecontent != "")) && (this.strDepartment != ""))
后面还有 517 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
