commit
bc7584cc5d
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.AddTopic" Src="src/AddTopic.aspx.cs" Debug="true" validateRequest=false%>
|
||||
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender,EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "est_user" && Session["login"] != "manager")
|
||||
{
|
||||
Response.Redirect("Login.aspx");
|
||||
}
|
||||
|
||||
lbUsername.Text = Session["EstUsr"].ToString();
|
||||
//tbContent.AutoConfigure = AutoConfigure.EnableAll;
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.DisUserDetailed" src="src/DisUserDetailed.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "est_user" && Session["login"] != "manager")
|
||||
{
|
||||
Response.Redirect("Login.aspx");
|
||||
}
|
||||
else
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
{
|
||||
string sName = Session["EstUsr"].ToString();
|
||||
LoadAllUserInfo(sName);
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
|
||||
<link href="css/baseStyle.css" type="text/css" rel="stylesheet" />
|
||||
<SCRIPT language=javascript1.2 src="js/leftside.js"></SCRIPT>
|
||||
|
||||
<title></title>
|
||||
|
||||
</head>
|
||||
|
||||
<body topmargin="0" leftmargin="0" style="background-color: #EEEEEE">
|
||||
|
||||
<table border="0" width="100%" style="border-collapse: collapse" id="table1" height="273">
|
||||
<tr>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.Login" src="src/Login.aspx.cs" Debug="true" %>
|
||||
|
||||
<script runat="server">
|
||||
|
||||
string WebTitle = null;
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Session["login"] = null;
|
||||
WebTitle = GetWebTitle();
|
||||
}
|
||||
|
||||
void Reset_Click(object sender, EventArgs e)
|
||||
{
|
||||
auid.Text = null;
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.News" Src="src/News.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
GetNews("安全资讯",dgNews);
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
||||
</head>
|
||||
<body style="MARGIN: 1px 3px 3px">
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.Reg" src="src/Reg.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void register_Click(object sender, EventArgs e)
|
||||
{
|
||||
Label1.Visible = false;
|
||||
Label2.Visible = false;
|
||||
Label3.Visible = false;
|
||||
Label4.Visible = false;
|
||||
Label5.Visible = false;
|
||||
|
||||
lbInfo.Visible = false;
|
||||
|
||||
if("" == btnName.Text.Trim())
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.Service" Src="src/Service.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender,EventArgs e)
|
||||
{
|
||||
LoadAllTopic();
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
||||
<style type="text/css">
|
||||
BODY{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.ShowTopic" Src="src/ShowTopic.aspx.cs" Debug="true" %>
|
||||
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
|
||||
<script runat="server">
|
||||
void Page_Load(object sender,EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "est_user" && Session["login"] != "manager")
|
||||
{
|
||||
Response.Redirect("Login.aspx");
|
||||
}
|
||||
|
||||
LoadTopicInfo();
|
||||
|
||||
lbTopic.Text = Request.QueryString["id"];
|
||||
lbUsername.Text = Session["EstUsr"].ToString();
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.News" Src="src/News.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
GetNews("毒眼安全学院",dgNews);
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
||||
</head>
|
||||
<body style="MARGIN: 1px 3px 3px">
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.News" Src="src/News.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
GetNews("代理商专区",dgNews);
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
||||
</head>
|
||||
<body style="MARGIN: 1px 3px 3px">
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.News" Src="src/News.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
GetNews("毒眼动态",dgNews);
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
||||
</head>
|
||||
<body style="MARGIN: 1px 3px 3px">
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.AddNews" Src="src/AddNews.aspx.cs" Debug="true" validateRequest=false %>
|
||||
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
|
||||
<script runat="server">
|
||||
|
||||
void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
hlNewsInfo.Visible = false;
|
||||
|
||||
if("" == tbTitle.Text.Trim())
|
||||
{
|
||||
lbInfo.Text = "Please Fill News Title Complete !";
|
||||
lbInfo.Visible = true;
|
||||
lbTitle.Visible = true;
|
||||
return;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.admin_login" Src="src/admin_login.aspx.cs" %>
|
||||
<script runat="server">
|
||||
|
||||
string WebTitle = null;
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Session["login"] = null;
|
||||
WebTitle = GetWebTitle();
|
||||
}
|
||||
|
||||
void alogin_Click(object sender, EventArgs e)
|
||||
{
|
||||
if("" == auid.Text.Trim() || "" == apwd.Text.Trim())
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.Administrator" src="src/Administrator.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void tbReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
tbAdminName.Text = null;
|
||||
tbAdminPwd.Text = null;
|
||||
|
||||
lbInfo.Visible = false;
|
||||
}
|
||||
|
||||
void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if("" == tbAdminName.Text.Trim() || "" == tbAdminPwd.Text.Trim())
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.ClassAdmin" Src="src/ClassAdmin.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
|
||||
if(!IsPostBack)
|
||||
LoadClassInfo();
|
||||
}
|
||||
|
||||
void btnResetType_Click(object sender, EventArgs e)
|
||||
{
|
||||
tbTypeName.Text = null;
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.DeleteNews" Src="src/DeleteNews.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
|
||||
DeleteNewsInfo();
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.EditNews" Src="src/EditNews.aspx.cs" Debug="true" validateRequest=false%>
|
||||
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
|
||||
<script runat="server">
|
||||
|
||||
void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if("" == tbTitle.Text.Trim())
|
||||
{
|
||||
lbInfo.Text = "Please Fill News Title Complete !";
|
||||
lbInfo.Visible = true;
|
||||
lbTitle.Visible = true;
|
||||
return;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.EditTemplate" Src="src/EditTemplate.aspx.cs" Debug="true" validateRequest=false %>
|
||||
<script runat="server">
|
||||
|
||||
void btnClear_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnStencilAliasName.Text = null;
|
||||
btnStencilCode.Text = null;
|
||||
lbInfo.Visible = false;
|
||||
}
|
||||
|
||||
void btnListTemplates_Click(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("TemplateAdmin.aspx");
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.FriendLink" src="src/FriendLink.aspx.cs" Debug="true" validateRequest=false %>
|
||||
|
||||
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
void btnAdd_Click(object sender, EventArgs e)
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.info" Src="src/info.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
void btnClearAll_Click(object sender, EventArgs e)
|
||||
{
|
||||
tbWebsiteName.Text = null;
|
||||
tbWebUrl.Text = null;
|
||||
tbEMail.Text = null;
|
||||
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.ListNews" Src="src/ListNews.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
|
||||
if(!IsPostBack)
|
||||
LoadAllNews(null);
|
||||
}
|
||||
|
||||
void dlType_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if("全部新闻" == dlType.SelectedItem.Text.ToString())
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.ListUser" Src="src/ListUser.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
|
||||
btnDelete.Attributes.Add("OnClick","return confirm('您是否要删除所有的项?')");
|
||||
if(!IsPostBack)
|
||||
LoadUserInfo();
|
||||
}
|
||||
|
||||
void dg_DeleteCommand(object sender, DataGridCommandEventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" validaterequest="false" Inherits="LevinFox.TemplateAdmin" Src="src/TemplateAdmin.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
|
||||
if(!IsPostBack)
|
||||
LoadNewsStencilInfo();
|
||||
}
|
||||
|
||||
void DataGrid1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.ValidateCode" src="src/ValidateCode.aspx.cs" %>
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
DrawImage();
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
|
||||
<title>ValidateCode</title>
|
@ -0,0 +1,15 @@
|
||||
.box1, .box2 { width:144px; _width /* */:150px; height:22px; line-height:22px; border:1px solid #A9BAC9;background:#fff url('styImgs/bg_box1.gif') no-repeat; font-size:12px; _background-attachment:fixed; font-size:13px; padding-left:3px; padding-right:3px; padding-top:0; padding-bottom:0}
|
||||
.box2 { border:1px solid #9ECC00;}
|
||||
.pass { margin-left:2px;}
|
||||
.ind1 { margin-left:58px;}
|
||||
.ind2 { margin-left:62px; margin-top:1em;}
|
||||
.btn1 { background:#fff url('styImgs/bg_btn1.gif') repeat-x; width:70px; height:24px; line-height:24px; border:1px solid #476C9E; font-size:12px; color:#5678A6; cursor:pointer; _cursor /* */:hand}
|
||||
.btn2 { background:#fff url('styImgs/bg_btn2.gif') repeat-x; width:135px; height:30px; line-height:30px; border:1px solid #476C9E; font-size:12px; color:#41679B; cursor:pointer; _cursor /* */:hand; font-weight:bold}
|
||||
.lb1 { width:70px; height:24px; border:1px solid #B3D5E6; float:left;}
|
||||
.lb2 { width:70px; height:24px; border:1px solid #B3D5E6; float:left; margin-left:8px;}
|
||||
.lb3 { width:70px; height:24px; border:1px solid #CCFF00; float:left; }
|
||||
.lb4 { width:70px; height:24px; border:1px solid #CCFF00; float:left; margin-left:8px;}
|
||||
.lb5 { width:135px; height:30px; border:1px solid #B3D5E6; margin:auto; margin-top:2em; _margin-top:1.5em;}
|
||||
.lb6 { width:135px; height:30px; border:1px solid #CCFF00; margin:auto; margin-top:2em; _margin-top:1.5em;}.qlink { clear:both; margin:2em 0 2em 0; _margin:3em 0 2em 0;}
|
||||
.split { height:2px; background:url('styImgs/bg_split.gif') repeat-x; width:95%; margin:auto}
|
||||
.reg { padding-top:2em; _padding-top:1em;}
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.ListService" Src="src/ListService.aspx.cs" Debug="true" %>
|
||||
|
||||
<script runat="server">
|
||||
|
||||
// Insert page code here
|
||||
//
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (Session["login"] != "manager")
|
||||
Response.Redirect("admin_login.aspx");
|
||||
LoadTopicInfo();
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
@ -0,0 +1,15 @@
|
||||
// AddNews.aspx.cs
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using FreeTextBoxControls;
|
||||
using FreeTextBoxControls.Design;
|
@ -0,0 +1,15 @@
|
||||
// admin.aspx.cs by jarjin lee 2005.2.1
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
|
||||
public class admin:Page
|
||||
{
|
||||
|
||||
public admin()
|
@ -0,0 +1,15 @@
|
||||
// admin_login.aspx.cs by jarjin lee 2006.2.1
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
|
||||
public class admin_login:Page
|
@ -0,0 +1,15 @@
|
||||
// Administrator.aspx.cs by Jarjin Lee 2006.2.2
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
// bougie.aspx.cs by Jarjin Lee 2006.2.3
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
|
||||
public class bougie:Page
|
||||
{
|
||||
public Label l1000;
|
@ -0,0 +1,15 @@
|
||||
// ClassAdmin.aspx.cs by Jarjin Lee 2006.2.6
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
@ -0,0 +1,15 @@
|
||||
// DeleteNews.aspx.cs
|
||||
//
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using System.Runtime.InteropServices;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
@ -0,0 +1,15 @@
|
||||
// EditNews.aspx.cs
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using System.Runtime.InteropServices;
|
||||
using FreeTextBoxControls;
|
@ -0,0 +1,15 @@
|
||||
// EditTemplate.aspx.cs by Jarjin Lee
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using System.Runtime.InteropServices;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
@ -0,0 +1,15 @@
|
||||
// C# Document
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using System.Runtime.InteropServices;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
@ -0,0 +1,15 @@
|
||||
// info.aspx.cs by Jarjin Lee
|
||||
//
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using System.Collections.Specialized;
|
||||
using System.Xml;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
public class info:Page
|
@ -0,0 +1,15 @@
|
||||
// ListNews.aspx.cs by Jarjin lee 2006.2.3
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
// ListUser.aspx.cs by Jarjin Lee 2006.2.2
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
// NewsTemplate.aspx.cs by Jarjin Lee
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using System.Runtime.InteropServices;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
@ -0,0 +1,15 @@
|
||||
// C# Document
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
|
@ -0,0 +1,2 @@
|
||||
<html>
|
||||
</html>
|
@ -0,0 +1,15 @@
|
||||
var snSrc;
|
||||
if (window.__smartNav == null)
|
||||
{
|
||||
window.__smartNav = new Object();
|
||||
window.__smartNav.update = function()
|
||||
{
|
||||
var sn = window.__smartNav;
|
||||
var fd;
|
||||
document.detachEvent("onstop", sn.stopHif);
|
||||
sn.inPost = false;
|
||||
try { fd = frames["__hifSmartNav"].document; } catch (e) {return;}
|
||||
var fdr = fd.getElementsByTagName("asp_smartnav_rdir");
|
||||
if (fdr.length > 0)
|
||||
{
|
||||
if (sn.sHif == null)
|
@ -0,0 +1,15 @@
|
||||
<!------------------------------------------------------------------------
|
||||
//
|
||||
// Copyright 2000 Microsoft Corporation. All Rights Reserved.
|
||||
//
|
||||
// File: SmartNavie5.js
|
||||
//
|
||||
// Description: this file implements a smart navigation mecanism for IE5.0
|
||||
//
|
||||
//----------------------------------------------------------------------->
|
||||
|
||||
if (window.__smartNav == null && (window.parent.__smartNav == null
|
||||
|| window.parent.frames["__hifSmartNav"] != window))
|
||||
{
|
||||
var sn = new Object();
|
||||
window.__smartNav = sn;
|
@ -0,0 +1,15 @@
|
||||
var Page_ValidationVer = "125";
|
||||
var Page_IsValid = true;
|
||||
var Page_BlockSubmit = false;
|
||||
function ValidatorUpdateDisplay(val) {
|
||||
if (typeof(val.display) == "string") {
|
||||
if (val.display == "None") {
|
||||
return;
|
||||
}
|
||||
if (val.display == "Dynamic") {
|
||||
val.style.display = val.isvalid ? "none" : "inline";
|
||||
return;
|
||||
}
|
||||
}
|
||||
val.style.visibility = val.isvalid ? "hidden" : "visible";
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
BODY {
|
||||
FONT-SIZE: 12px; COLOR: #000000; LINE-HEIGHT: 18px
|
||||
}
|
||||
TH {
|
||||
FONT-SIZE: 12px; COLOR: #000000; LINE-HEIGHT: 18px
|
||||
}
|
||||
TD {
|
||||
FONT-SIZE: 12px; COLOR: #000000; LINE-HEIGHT: 18px
|
||||
}
|
||||
P {
|
||||
FONT-SIZE: 12px; COLOR: #000000; LINE-HEIGHT: 18px
|
||||
}
|
||||
LI {
|
||||
FONT-SIZE: 12px; COLOR: #000000; LINE-HEIGHT: 18px
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.News" Src="src/News.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
GetNews("下载中心",dgNews);
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
||||
</head>
|
||||
<body style="MARGIN: 1px 3px 3px">
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.forget" src="src/forget.aspx.cs" Debug="true" %>
|
||||
|
||||
<script runat="server">
|
||||
void btnGetPwd_Click(object sender,EventArgs e)
|
||||
{
|
||||
string request_info = getPassword();
|
||||
if("ERROR_INFO_STR" != request_info)
|
||||
send_email(request_info);
|
||||
}
|
||||
</script>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
|
||||
<link rel="stylesheet" type="text/css" href="css/base.css">
|
@ -0,0 +1,12 @@
|
||||
function showsubmenu(sid)
|
||||
{
|
||||
whichEl = eval("submenu" + sid);
|
||||
if (whichEl.style.display == "none")
|
||||
{
|
||||
eval("submenu" + sid + ".style.display=\"\";");
|
||||
}
|
||||
else
|
||||
{
|
||||
eval("submenu" + sid + ".style.display=\"none\";");
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
//
|
||||
[assembly: AssemblyTitle("")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Xml;
|
||||
using System.Web;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Configuration;
|
||||
using System.Collections.Specialized;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace Levinfox.Web.Development
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
// C# Document
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
|
@ -0,0 +1,15 @@
|
||||
// DisUserDetailed.aspx.cs by Jarjin Lee 2006.2.2
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
public class Login:Page
|
||||
{
|
||||
public Login()
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
// default.aspx.cs by Jarjin Lee
|
||||
//
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Configuration;
|
||||
using System.Xml;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
public class Reg:Page
|
||||
{
|
||||
public Reg()
|
@ -0,0 +1,15 @@
|
||||
// C# Document
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Configuration;
|
||||
using System.Xml;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
@ -0,0 +1,15 @@
|
||||
// C# Document
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
@ -0,0 +1,15 @@
|
||||
// default.aspx.cs by Jarjin Lee
|
||||
//
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Data.OleDb;
|
||||
using System.Configuration;
|
||||
using GotDotNet.ApplicationBlocks.Data;
|
||||
using Levinfox.Web.Development;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using Levinfox.Web.Development;
|
||||
using System.Web.Util;
|
||||
using System.Web.Mail;
|
||||
|
||||
namespace LevinFox
|
||||
{
|
||||
public class forget:Page
|
||||
{
|
||||
public forget()
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.Top" src="src/Top.aspx.cs" Debug="true" %>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
||||
<title></title>
|
||||
|
||||
<script runat="server">
|
||||
void reset_Click(object sender, EventArgs e)
|
||||
{
|
||||
auid.Text = null;
|
||||
apwd.Text = null;
|
||||
Session["login"] = null;
|
||||
Session["EstUsr"] = null;
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="gb2312" %>
|
||||
<script runat="server">
|
||||
void Page_Load(object sender,EventArgs e)
|
||||
{
|
||||
if(Session["login"] != "est_user" && Session["login"] != "manager")
|
||||
{
|
||||
Response.Redirect("Login.aspx");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" Inherits="LevinFox.News" Src="src/News.aspx.cs" Debug="true" %>
|
||||
<script runat="server">
|
||||
|
||||
void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
GetNews("病毒资料库",dgNews);
|
||||
}
|
||||
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link href="css/base.css" type="text/css" rel="stylesheet" />
|
||||
</head>
|
||||
<body style="MARGIN: 1px 3px 3px">
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<!--
|
||||
|
||||
The <appSettings> section is used to configure application-specific configuration
|
||||
settings. These can be fetched from within apps by calling the
|
||||
"ConfigurationSettings.AppSettings(key)" method:
|
||||
-->
|
||||
<appSettings>
|
||||
<add key="ConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\database\levinfox.mdb"/>
|
||||
</appSettings>
|
||||
<!--
|
||||
|
||||
-->
|
||||
<!--
|
Loading…
Reference in new issue