Default.aspx.cs
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:3k
源码类别:

OA系统

开发平台:

C#

  1. using System;
  2. using System.Data;
  3. using System.Configuration;
  4. using System.Collections;
  5. using System.Web;
  6. using System.Web.Security;
  7. using System.Web.UI;
  8. using System.Web.UI.WebControls;
  9. using System.Web.UI.WebControls.WebParts;
  10. using System.Web.UI.HtmlControls;
  11. using COM.OA.Entity;
  12. public partial class linminchao_Default : System.Web.UI.Page
  13. {
  14.     protected void Page_Load(object sender, EventArgs e)
  15.     {
  16.         users loginuser = Session["loginuser"] as users;
  17.         if (loginuser == null)
  18.         {
  19.             this.Response.Write(string.Format(GetRedirect.ALLREDIRECT, "../../login.aspx"));
  20.         }
  21.         else
  22.         {
  23.             this.Response.Write("<body><table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td><form name='form1' method='post' action=''><table width='96%' border='0' cellspacing='0' cellpadding='0'><tr><td width='32%' valign='middle'>&nbsp;</td><td width='47%' valign='middle'><div align='right'><input name='q' type='text' id='q'><span class='bg'><span class='bg style2'><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><strong><font color=#ffffff><input name='submit' type=submit id='submit' style='FONT-SIZE: 12px; HEIGHT: 24px' value=' 查 询 '></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></font></strong></span></span> </div></td><td width='4%'><div align='right'><span class='style4'><img src='../img/txl/16.gif' width='16' height='16'></span></div></td><td width='7%'><a href='xw_addNews.aspx'>发布新闻</a></td><td width='2%'><img src='../img/txl/12.gif' width='16' height='16'/></td><td width='8%'><div align='center' ><a href='xw_glNews.aspx'>新闻管理</a></div></td></tr></table></form></td></tr></table>");
  24.             this.Response.Write("<div align='center'><table width='98%' border='0' cellpadding='0' cellspacing='0'><tr><td><div class='RoundedCorner'><div align='center'><b class='rtop'><b class='r1'></b><b class='r2'></b><b class='r3'></b><b class='r4'></b></b> <span class='style1'>新 闻 管 理</span></div></div></td></tr></table><table width='98%' border='0' cellpadding='3' cellspacing='1' bgcolor='#5AAE18'><tr bgcolor='#FFFFFF'><td width='57%'><div align='center'><h2 class='style10'>操 作 新 闻 失 败</h2></div></td></tr></table>");
  25.         }
  26.     }
  27. }