WELOA.Web/gz/admin/login_wageprint.aspx.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WELOA.Model;
using GZBLL;

namespace Web.gz.admin
{
    public partial class login_wageprint : System.Web.UI.Page
    {
        
        private DateSetInformation dsinfo = new DateSetInformation();
       

        
        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.Session["rank"] == null)
            {
                this.Session.Clear();
                base.Response.Write("<script language=javascript >window.parent.location.href='../../admin/default.aspx'</script>");
            }
            else if (this.Session["rank"].ToString() == "")
            {
                this.Session.Clear();
                base.Response.Write("<script language=javascript >window.parent.location.href='../../admin/default.aspx'</script>");
            }
            else if ((this.Session["rank"].ToString() != "超级管理员") && (this.Session["rank"].ToString() != "工资管理员"))
            {
                base.Response.Write("<script language=javascript >alert('您没有管理权限。');window.parent.location.href='../../navigation/admin/main.aspx'</script>");
            }
            string strProjectA = "";
            string strStaff = "";
            string strDepartment = "";
            if (base.Request.QueryString["ProjectA"] != null)
            {
                strProjectA = base.Request.QueryString["ProjectA"].Replace("^", "");
            }
            if (base.Request.QueryString["Staff"] != null)
            {
                strStaff = base.Request.QueryString["Staff"].Replace("^", "");
            }
            if (base.Request.QueryString["Department"] != null)
            {
                strDepartment = base.Request.QueryString["Department"].Replace("^", "");
            }
            string strDateStar = base.Request.QueryString["DateStar"];
            string strDateEnd = base.Request.QueryString["DateEnd"];
            string str6 = base.Request.QueryString["PageType"];
            GZ_Wage wage = new GZ_Wage();
            string str7 = str6;
            if (str7 != null)
            {
                if (!(str7 == "sum"))
                {
                    if (str7 == "ave")
                    {
后面还有 27 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。