master
editor 2 weeks ago
commit 9082963a13

@ -0,0 +1,38 @@
ASP.NET简单多用户BLOG程序源码
一、源码描述
环境VS2022 Access
二、功能介绍
一个集随笔、留言板、相册及用户管理功能为一体的博客程序采用VS2022+Access开发
该程序的完整性有些欠缺,不过可以做为多用户博客的参照借鉴。
三、注意事项
1、在项目web.config修改数据库连接字符串写上Access文件的绝对路径。
2、管理员账号与密码51aspx 51aspx 。
3、ctrl+F5运行即可。
作者: Yanchun Yang
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/SimpleBlogs
------------------------------------------------------------------------------------------------
源码服务专家
官网: https://www.51aspx.com
讨论圈: https://club.51aspx.com/
平台声明:
1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用;
2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有;
3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com
4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性;
友情提示:
一般数据库文件默认在 DB_51Aspx 文件夹下
默认账号密码一般均为51Aspx
关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help

@ -0,0 +1,13 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="admin_new_comment.ascx.cs" Inherits="Admincontrol_admin_new_comment" %>
<asp:Repeater ID ="new_comment" runat ="server" DataSourceID ="user_new_comment">
<ItemTemplate >
<li>
<a href ='<%# String.Format("show_article_type.aspx?methord=comment_search&id={0}",Eval("article_id")) %>'>
<asp:Label ID="article_titleLabel" runat="server" Text='<%# String.Format("RE:{0}",Eval("article_title")) %>'>
</asp:Label>
</a>
</li>
</ItemTemplate>
</asp:Repeater>
<asp:AccessDataSource ID="user_new_comment" runat="server" DataFile="~/App_data/blog.mdb" SelectCommand="SELECT top 10 * FROM [new_comment] ORDER BY [date] DESC">
</asp:AccessDataSource>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admincontrol_admin_new_comment : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,14 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="admin_top_search.ascx.cs" Inherits="Admincontrol_admin_top_search" %>
<asp:Repeater ID ="new_article" runat =server DataSourceID ="user_new_article">
<ItemTemplate >
<li>
<a href ='<%# String.Format("show_detail.aspx?article_title={0}&article_id={1}",Eval("article_title"), Eval("id")) %>'>
<asp:Label ID="article_titleLabel" runat="server" Text='<%# Bind("article_title") %>'>
</asp:Label>
</a>
</li>
</ItemTemplate>
</asp:Repeater>
<asp:AccessDataSource ID="user_new_article" runat="server" DataFile="~/App_data/blog.mdb" SelectCommand="SELECT top 10 * FROM [article] ORDER BY [publish_date] DESC">
</asp:AccessDataSource>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admincontrol_admin_top_search : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="change_user_password.ascx.cs" Inherits="mywebcontrol_change_user_password" %>
<br />
<br />
<br />
<br />
<center >
<table width ="300px">
<tr ><td>
<asp:Panel ID ="enter_old_password" runat ="server" Visible =true Width =100%>
<table width=100%>
<tr><td class="table" width= 40% align="center" style ="FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='Silver', endColorStr='#ffffff', gradientType='0')" height =30><b>::请输入您的原密码::</b></td>
</tr>
<tr>
<td align =center ><asp:TextBox ID ="password" runat =server CssClass="control" TextMode =password width=90%></asp:TextBox></td>
</tr>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class mywebcontrol_change_user_password : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="edit_user_information.ascx.cs" Inherits="mywebcontrol_edit_user_information" %>
<div>
<br />
<br />
<br />
<asp:AccessDataSource ID="AccessDataSource1" runat="server" ConflictDetection="CompareAllValues" DataFile="~/App_data/blog.mdb" DeleteCommand="DELETE FROM [userinfo] WHERE [user_name] = ? AND [true_name] = ? AND [address] = ? AND [mail] = ? AND [user_sex] = ?" InsertCommand="INSERT INTO [userinfo] ([user_name], [true_name], [address], [mail], [user_sex]) VALUES (?, ?, ?, ?, ?)" OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT [user_name], [true_name], [address], [mail], [user_sex] FROM [userinfo] WHERE ([user_name] = ?)" UpdateCommand="UPDATE [userinfo] SET [true_name] = ?, [address] = ?, [mail] = ?, [user_sex] = ? WHERE [user_name] = ? AND [true_name] = ? AND [address] = ? AND [mail] = ? AND [user_sex] = ?">
<DeleteParameters>
<asp:Parameter Name="original_user_name" Type="String" />
<asp:Parameter Name="original_true_name" Type="String" />
<asp:Parameter Name="original_address" Type="String" />
<asp:Parameter Name="original_mail" Type="String" />
<asp:Parameter Name="original_user_sex" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="true_name" Type="String" />

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class mywebcontrol_edit_user_information : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="message_show.ascx.cs" Inherits="aaa_message_show" %>
<script language="JavaScript1.2">
var dragswitch=0
var nsx
var nsy
var nstemp
function drag_dropns(name){
temp=eval(name)
temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
temp.onmousedown=gons
temp.onmousemove=dragns
temp.onmouseup=stopns
}
function gons(e){

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class aaa_message_show : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mg_user_info.ascx.cs" Inherits="Admincontrol_mg_user_info" %>
<center >
<table >
<tr><td align =center style="FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#ffffff', endColorStr='Silver', gradientType='0')">
<asp:Button ID = "showlist_view" runat =server Text ="列表视图" OnClick="showlist_view_Click" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<asp:Button ID ="showdetail_view" runat ="server" Text ="详情视图" OnClick="showdetail_view_Click" /></td></tr>
<tr><td valign =top width =100%>
<asp:Panel ID="listview" runat="server" Height="50px" Width="125px" Visible =false >
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" CellPadding="4" DataKeyNames="user_name" DataSourceID="listview_data"
ForeColor="#333333" GridLines="None" Width="583px">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admincontrol_mg_user_info : System.Web.UI.UserControl
{
public void bind()
{

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="mg_user_info.aspx.cs" Inherits="Admincontrol_mg_user_info" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<center >
<table >
<tr><td align =center style="FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#ffffff', endColorStr='Silver', gradientType='0')">
<asp:Button ID = "showlist_view" runat =server Text ="列表视图" OnClick="showlist_view_Click" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admincontrol_mg_user_info : System.Web.UI.Page
{
public void bind()
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="send_message.ascx.cs" Inherits="Admincontrol_send_message" %>
<SCRIPT language=JavaScript src="aaa/openpopups.js"
type=text/javascript></SCRIPT>
<body text=#000000 bgColor=#cccccc leftMargin=0 topMargin=5 onload=hideDiv(2);>
<a href ="#"><INPUT onclick="createWindow('通知', 225, '#D6E1F5', 1, 1, 220, 140);" type=button value="Open Window 1"></a><BR>
<a href ="#"><INPUT onclick="createWindow('公告', 336, '#EEEEEE', 2, 0, 240, 165);" type=button value="Open Window 2"></a><BR>
<DIV id=Div1 visible =false >
<DIV
style="BORDER-RIGHT: #000000 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #000000 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: #000000 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #ffffe1"><B>现征集网管一名.</B><BR>有意者请速联系
</DIV>
<TABLE style="MARGIN-TOP: 4px" cellSpacing=0 cellPadding=0 border=0>
<TBODY>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admincontrol_send_message : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Data .OleDb ;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// Article_search 的摘要说明
/// </summary>
public class Article_search

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Drawing.Imaging;
using System.Drawing;
/// <summary>
/// 验证码模块
/// </summary>
public class CreateImage

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Data.OleDb;
/// <summary>
/// 实现用户注册与登陆
/// </summary>
public class UserInfo
{
public string user_name;
public string password;
public string true_name;
public string address;
public string mail;
public bool getback_password=false ;

@ -0,0 +1,15 @@
using System;
using System.IO;
using System.Text;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.ComponentModel;
/// <summary>
/// User_picture 的摘要说明
/// </summary>
public class User_picture : UserInfo
{

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// dataconn 的摘要说明
/// </summary>
public class dataconn

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// message 的摘要说明
/// </summary>
public class message

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Data.OleDb;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// user_article 的摘要说明
/// </summary>
public class user_article : UserInfo

@ -0,0 +1,15 @@
.buttonStyle
{
border:0px;
width:113px;
height:32px;
text-align:left;
padding-left:15px;
background-image:url(../image/buttonBg.gif);
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#333333;
vertical-align:middle;
}
.textboxStyle
{

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="gb2312"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ie="">
<head>
<title>@@{color}</title>
<style type="text/css">
<!--
body {
border: 0;
margin: 0;
padding-left: 8px;
padding-right: 8px;
background-color: buttonface;
}
body, td {

@ -0,0 +1,15 @@
var defaultMaxWidth = 546;
var defaultMinWidth = 266;
var defaultHeight = 440;
dialogWidth = "272px";
dialogHeight = "465px";
function colorDialog(Arguments) {
var TimeoutID = null;
function palette.onchange() {
colorselector.palette = this.value;
}

@ -0,0 +1,15 @@
lang = new Object();
lang["en"] = new Object();
lang["en"]["@@{color}"] = "Color";
lang["en"]["@@{palette}"] = "Palette";
lang["en"]["@@{16colors}"] = "16 colors(W3C)";
lang["en"]["@@{140colors}"] = "140 named colors";
lang["en"]["@@{216colors}"] = "216 safe colors";
lang["en"]["@@{syscolors}"] = "system colors";
lang["en"]["@@{custompalette}"] = "Custom Palette";
lang["en"]["@@{add}"] = "add";
lang["en"]["@@{remove}"] = "remove";
lang["en"]["@@{sort}"] = "sort";
lang["en"]["@@{reverse}"] = "reverse";
lang["en"]["@@{selectedcolor}"] = "Selected Color";

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Blog welcome</TITLE>
<SCRIPT language=JavaScript>
var url = 'show_article.aspx';
</SCRIPT>
</HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=5
onload="location.href = url">
<center>
<br />
<br />

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Page language="c#"%>
<script language="C#" runat="server">
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
private string NoFileMessage = "<22><>ѡ<EFBFBD><D1A1><EFBFBD>ϴ<EFBFBD><CFB4>ļ<EFBFBD>";
private string UploadSuccessMessage = "<22>ϴ<EFBFBD><CFB4>ɹ<EFBFBD>";
private string NoImagesMessage = "<22><><EFBFBD>ļ<EFBFBD>";
private string NoFolderSpecifiedMessage = "<22>ļ<EFBFBD><C4BC>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD>";
private string NoFileToDeleteMessage = "δɾ<CEB4><C9BE><EFBFBD>ļ<EFBFBD>";
private string InvalidFileTypeMessage = "<22><>Ч<EFBFBD><D0A7><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>ʽ";
private string[] AcceptedFileTypes = new string[] {"jpg","jpeg","jpe","gif","bmp","png"};
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
private bool UploadIsEnabled = true;
private bool DeleteIsEnabled = true;

@ -0,0 +1,15 @@
/***********************************************
*more javascript from http://www.smallrain.net
***********************************************/
//Specify display mode. 3 possible values are:
//1) "always"- This makes the fade-in box load each time the page is displayed
//2) "oncepersession"- This uses cookies to display the fade-in box only once per browser session
//3) integer (ie: 5)- Finally, you can specify an integer to display the box randomly via a frequency of 1/integer...
// For example, 2 would display the box about (1/2) 50% of the time the page loads.
var displaymode="always"
var enablefade="yes" //("yes" to enable fade in effect, "no" to disable)
var autohidebox=["yes", 5] //Automatically hide box after x seconds? [yes/no, if_yes_hide_after_seconds]
var showonscroll="yes" //Should box remain visible even when user scrolls page? ("yes"/"no)

@ -0,0 +1,15 @@
cssDir = "aaa/";
imageDir = "images/";
document.write('<link rel="stylesheet" type="text/css" href="' +cssDir+ 'style.css">\n');
function JSWindow(title, oContent, x, y, id, width, popupColor, minimizeIcon)
{
this.title = title;
this.oContent = oContent;
this.width = width;
this.x = x;
this.y = y;
this.id = id;
this.bgcolor = popupColor;

@ -0,0 +1,11 @@
//EYEspin_dhtml (c) Petre Stefan
//email: eyecon@eyecon.ro
//website: www.eyecon.ro
//Modified by JavaScriptKit.com for relative positioning of menu
//please leave this copyright notice intact
eye={p:0,x:0,y:0,w:0,h:0,r:0,v:0,s:0,isVertical:0,a1:0,a2:0,a3:0,color:'#ffffff',colorover:'#ffffff',backgroundcolor:'#0099ff',backgroundcolorover:'#000000',bordercolor:'#000000',fontsize:12,fontfamily:'Arial',pas:0,spinmenu:function(){this.p=this.r/this.s;this.a1=this.a2=this.isVertical?0:Math.PI/2},spinmenuitem:function(a7,a6,a5){a4=" onclick='window.open(\""+a6+"\""+(a5?(",\""+a5+"\""):",\"_self\"")+")'";document.write("<div id='spinmenu"+this.a3+"' style='cursor:pointer;cursor:expression(\"hand\");position:absolute;width:"+this.w+"px;left:"+this.h+"px;"+"background-color:"+this.backgroundcolor+";color:"+this.color+";border:1px solid "+this.bordercolor+";font:normal "+this.fontsize+"px "+this.fontfamily+";text-align:center;cursor:default;z-Index:1000;' onmouseover='this.style.color=\""+this.colorover+"\";this.style.backgroundColor=\""+this.backgroundcolorover+"\"'"+ "onmouseout='this.style.color=\""+this.color+"\";this.style.backgroundColor=\""+this.backgroundcolor+"\"'"+a4+">"+a7+"</div>");this.a3++},muta:function(){a8=document.getElementById("controale");for(i=0;i<this.a3;i++){a9=document.getElementById("spinmenu"+i+"");a9s=a9.style;if(this.isVertical){xi=parseInt(this.r*Math.cos(this.a1+i*this.pas))/this.s;yi=parseInt(this.r*Math.sin(this.a1+i*this.pas));a10=(this.p+xi)/(2*this.p);a11=this.fontsize*(this.p+xi)/(2*this.p)+2;a12=parseInt(100*(this.p+xi)/(2*this.p))}else{xi=parseInt(this.r*Math.cos(this.a1+i*this.pas));yi=parseInt(this.r*Math.sin(this.a1+i*this.pas))/this.s;a10=(this.p+yi)/(2*this.p);a11=this.fontsize*(this.p+yi)/(2*this.p)+2;a12=parseInt(100*(this.p+yi)/(2*this.p))};a13=(this.w-20)*a10+20;a14=(this.h-20)*a10+10;a9s.top=(yi+this.y-a14/2)+"px";a9s.left=(xi+this.x-a13/2)+"px";a9s.width=a13+"px";a9s.fontSize=a11+"px";a9s.zIndex=a12};a8.style.top=this.y+(this.isVertical?this.r:this.p)+this.h/2+6;a8.style.left=this.x-a8.offsetWidth/2;if(this.a1!=this.a2){this.a1=(this.a1>this.a2)?(this.a1-this.pas/this.v):(this.a1+this.pas/this.v);if(Math.abs(this.a1-this.a2)<this.pas/this.v)
this.a1=this.a2;setTimeout("eye.muta()",10)}},spinmenuclose:function(){this.pas=2*Math.PI/this.a3;document.write('<div id="controale" style="position:absolute"><button type="" onclick="eye.a2+=eye.pas;eye.muta()" onfocus="this.blur()">&lt;&lt;</button> <button type="" onclick="eye.a2-=eye.pas;eye.muta()" onfocus="this.blur()">&gt;&gt;</button></div>');eye.muta()}};
function getposOffset(what, offsettype){var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;var parentEl=what.offsetParent;while (parentEl!=null){totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft :totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}return totaloffset;
}

@ -0,0 +1,15 @@
BODY {
BACKGROUND-POSITION: center 50%; FONT-SIZE: 12px; BACKGROUND-IMAGE: url(images/bj.gif); SCROLLBAR-HIGHLIGHT-COLOR: buttonface; SCROLLBAR-SHADOW-COLOR: buttonface; COLOR: #333333; SCROLLBAR-3DLIGHT-COLOR: buttonhighlight; SCROLLBAR-TRACK-COLOR: #eeeeee; FONT-FAMILY: "song", "MS Shell Dlg"; SCROLLBAR-DARKSHADOW-COLOR: buttonshadow; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center
}
SELECT {
FONT-SIZE: 12px; FILTER: Alpha(Opacity=50); COLOR: #666666; FONT-FAMILY: "song", "MS Shell Dlg", "<22><><EFBFBD><EFBFBD>"; BACKGROUND-COLOR: #f5f5f5
}
INPUT {
FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #111111; FONT-FAMILY: Tahoma, Verdana; BACKGROUND-COLOR: #eeeeee
}
.textarea1 {
FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #111111; FONT-FAMILY: Tahoma, Verdana; BACKGROUND-COLOR: #eeeeee
}
TD {
FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Tahoma, Verdana
}

@ -0,0 +1,15 @@
// more javascript from http://www.smallrain.net
var w3c=(document.getElementById)?true:false;
var ie=(document.all)?true:false;
var N=-1;
var bars=new Array();
function createBar(w,h,bgc,brdW,brdC,blkC,speed,blocks){
if(ie||w3c){
var t='<div style="position:relative; overflow:hidden; width:'+w+'px; height:'+h+'px; background-color:'+bgc+'; border-color:'+brdC+'; border-width:'+brdW+'px; border-style:solid; font-size:1px;">';
t+='<span id="blocks'+(++N)+'" style="left:-'+(h*2+1)+'px; position:absolute; font-size:1px">';
for(i=0;i<blocks;i++){
t+='<span style="background-color:'+blkC+'; left:-'+((h*i)+i)+'px; font-size:1px; position:absolute; width:'+h+'px; height:'+h+'px; '
t+=(ie)?'filter:alpha(opacity='+(100-i*(100/blocks))+')':'-Moz-opacity:'+((100-i*(100/blocks))/100);
t+='"></span>';

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_mg.aspx.cs" Inherits="admin_mg" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="top_search" Src ="~/admincontrol/admin_top_search.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="ChangePassword" Src ="~/admincontrol/change_user_password.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="EditInfo" Src ="~/admincontrol/edit_user_information.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="MgUser_info" Src ="~/admincontrol/mg_user_info.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="NewComment" Src ="~/admincontrol/admin_new_comment.ascx" %>
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title><3E><>վ<EFBFBD><D5BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̨</title>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=blendTrans(Duration=2.0) http-equiv=Page-Enter>
<link href="css/lightgray.css" type=text/css rel=stylesheet>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class admin_mg : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_send_meassage.aspx.cs" Inherits="admin_send_meassage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
<script language="JavaScript1.2">
var dragswitch=0
var nsx
var nsy
var nstemp
function drag_dropns(name){
temp=eval(name)
temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
temp.onmousedown=gons

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class admin_send_meassage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
#lightbox{
position: absolute;
top: 40px;
left: 0;
width: 100%;
z-index: 100;
text-align: center;
line-height: 0;
}
#lightbox a img{ border: none; }
#outerImageContainer{
position: relative;
background-color: #fff;

@ -0,0 +1,15 @@
BODY {
BACKGROUND-POSITION: left top; FONT-SIZE: 12px; BACKGROUND-REPEAT: repeat-x; FONT-FAMILY: Tahoma, Verdana, "<22><><EFBFBD><EFBFBD>";
background-color: FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='Silver', endColorStr='#ffffff', gradientType='0');
}
TABLE {
FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Tahoma, Verdana, "<22><><EFBFBD><EFBFBD>"
}
TD {
FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Tahoma, Verdana, "<22><><EFBFBD><EFBFBD>"
}
A:link {
COLOR: #4073ab; FONT-FAMILY: Tahoma, Verdana, "<22><><EFBFBD><EFBFBD>"; TEXT-DECORATION: none
}
A:visited {

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="show_user_picture.aspx.cs" Inherits="css_show_user_picture" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class css_show_user_picture : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
td {
FONT-SIZE: 13px; COLOR: #476176; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}
th {
FONT-SIZE: 13px; COLOR: #476176; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
}
.t1 {
BORDER-RIGHT: #e0edf2 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #e0edf2 1px solid; PADDING-LEFT: 6px; PADDING-BOTTOM: 5px; BORDER-LEFT: #e0edf2 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #e0edf2 1px solid
}
.m1 {
WIDTH: 571px; TEXT-ALIGN: left;color:White ;
}
.m2 {
PADDING-LEFT: 6px; FONT-WEIGHT: bold; BACKGROUND: url(/v3.1/images/middle_menu1.gif); VERTICAL-ALIGN: middle; LINE-HEIGHT: 25px; PADDING-TOP: 0px; HEIGHT: 25px
}

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="file_text.aspx.cs" Inherits="file_text" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%--<%@ Register TagPrefix="aulf" NameSpace="AdUpLoadFileControl" Assembly="AdUpLoadFileControl"%>--%>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Blog图片显示</title>
</head>
<body>
<form id="form1" runat="server">
<center>
<table border="0" cellspacing="0" cellpadding="0" style="border:#333366 3 double; width: 401px; height: 240px;">
<tr>
<td>
<asp:Panel ID ="show_picture" Width =100px Height =100px runat =server>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
using System.ComponentModel;
public partial class file_text : System.Web.UI.Page
{

@ -0,0 +1,15 @@
<%@ Page language="c#" %>
<html>
<head>
<title>ʰɫ<CAB0><C9AB></title>
<style>
.cc {
width:10;height:8;
}
</style>
<script launguage="JavaScript">
function colorOver(theTD) {
previewColor(theTD.style.backgroundColor);
setTextField(theTD.style.backgroundColor);
}
function colorClick(theTD) {

@ -0,0 +1,15 @@
<%@ Page language="c#" %>
<script language="C#" runat="server">
// Messages
private string NoFileMessage = "No file selected";
private string UploadSuccessMessage = "Uploaded Sucess";
private string NoImagesMessage = "No Images";
private string NoFolderSpecifiedMessage = "No folder";
private string NoFileToDeleteMessage = "No file to delete";
private string InvalidFileTypeMessage = "Invalid file type";
private string[] AcceptedFileTypes = new string[] {"jpg","jpeg","jpe","gif","bmp","png"};
// Configuration
private bool UploadIsEnabled = true;
private bool DeleteIsEnabled = true;

@ -0,0 +1,15 @@
<%@ Page language="c#" %>
<script language="C#" runat="server">
private void Page_Load(object sender, System.EventArgs e) {
}
</script>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<META HTTP-EQUIV="Expires" CONTENT="0">
<title>Insert Table</title>
<style>
body {
margin: 0px 0px 0px 0px;

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="get_pwd.aspx.cs" Inherits="get_pwd" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML><HEAD><TITLE>取回密码</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK href="css/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY onload="document.forms[0]['user_name'].focus()" style ="PADDING-RIGHT: 32px; MARGIN-TOP: auto; PADDING-LEFT: 32px; FONT-SIZE: 13px; BACKGROUND: #eee; PADDING-BOTTOM: 32px; MARGIN-LEFT: auto; WIDTH: 270px; COLOR: #000; MARGIN-RIGHT: auto; PADDING-TOP: 32px; FONT-FAMILY: Tahoma, Verdana">
<FORM id ="get_back_form" runat ="server" >
<DIV>
&nbsp;
</DIV>
<asp:Panel ID ="enter_name" runat ="server" >
<DIV id=Main>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Mail;
using System.Web.Util;
//该源码下载自www.51aspx.com()
public partial class get_pwd : System.Web.UI.Page

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="guestbook.aspx.cs" Inherits="guestbook" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="NewSearch" Src ="~/mywebcontrol/new_search.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="Search" Src ="~/mywebcontrol/search.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="Login" Src ="~/mywebcontrol/login.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head2" runat="server">
<title>Blog首页</title>
<LINK href="css/style.css" type=text/css rel=stylesheet>
<LINK href="images/homeway.css" type=text/css rel=stylesheet>
</head>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
<form id="form1" runat="server">

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Data.OleDb;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class guestbook : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="image.aspx.cs" Inherits="image" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<SCRIPT LANGUAGE="javascript">
<!__
var numkey = Math.random();
numkey = Math.round(numkey*10000);

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class image : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
BODY {
SCROLLBAR-FACE-COLOR: #cccccc; FONT-SIZE: 12px; SCROLLBAR-HIGHLIGHT-COLOR: #dddddd; SCROLLBAR-SHADOW-COLOR: #333333; SCROLLBAR-3DLIGHT-COLOR: #ffffff; LINE-HEIGHT: 15pt; SCROLLBAR-ARROW-COLOR: #333333; SCROLLBAR-TRACK-COLOR: #dfdfdf; FONT-FAMILY: "Tahoma","<22><><EFBFBD><EFBFBD>"; SCROLLBAR-DARKSHADOW-COLOR: #ffffff
}
DIV {
FONT-SIZE: 12px; LINE-HEIGHT: 15pt; FONT-FAMILY: "Tahoma", " <20><><EFBFBD><EFBFBD>"
}
TD {
FONT-SIZE: 12px; LINE-HEIGHT: 12pt; FONT-FAMILY: "Tahoma", "<22><><EFBFBD><EFBFBD>"
}
.blue1 {
FONT-SIZE: 12px; COLOR: #0048aa; LINE-HEIGHT: 12pt; FONT-FAMILY: "Tahoma", "<22><><EFBFBD><EFBFBD>"
}
.blue2 {
FONT-SIZE: 12px; COLOR: #34658c; LINE-HEIGHT: 12pt; FONT-FAMILY: "Tahoma", "<22><><EFBFBD><EFBFBD>"
}

15
js/effects.js vendored

@ -0,0 +1,15 @@
// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// Contributors:
// Justin Palmer (http://encytemedia.com/)
// Mark Pilgrim (http://diveintomark.org/)
// Martin Bialasinki
//
// See scriptaculous.js for full license.
/* ------------- element ext -------------- */
// converts rgb() and #xxx to #xxxxxx format,
// returns self (or first argument) if not convertable
// more javascript from http://www.smallrain.net
String.prototype.parseColor = function() {
var color = '#';

@ -0,0 +1,15 @@
// -----------------------------------------------------------------------------------
//
// Lightbox v2.01
// by Lokesh Dhakar - http://www.huddletogether.com
// 3/31/06
//
// For more information on this script, visit:
// http://huddletogether.com/projects/lightbox2/
//
// Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
//
// Credit also due to those who have helped, inspired, and made their code available to the public.
// Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.org), Thomas Fuchs(mir.aculo.us), and others.
//
//

@ -0,0 +1,15 @@
// more javascript from http://www.smallrain.net
// openPopUps v1.0 Copyright (c) 2006 openWebWare.com
// This copyright notice MUST stay intact for use.
//
// The perfect pop up window replacement for your advertisements and web
// applications. Pop up blockers will fail to prevent an openPopUp window
// from opening.
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY

15
js/prototype.js vendored

@ -0,0 +1,15 @@
/* Prototype JavaScript framework, version 1.4.0
* (c) 2005 Sam Stephenson <sam@conio.net>
*
* THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff
* against the source tree, available from the Prototype darcs repository.
*
* Prototype is freely distributable under the terms of an MIT-style license.
*
* For details, see the Prototype web site: http://prototype.conio.net/
* more javascript from http://www.smallrain.net
/*--------------------------------------------------------------------------*/
var Prototype = {
Version: '1.4.0',
ScriptFragment: '(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)',

@ -0,0 +1,15 @@
// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF

@ -0,0 +1,15 @@
.sdmenu {
FONT-SIZE: 12px; BACKGROUND: url(bottom.gif) #eee no-repeat right bottom; PADDING-BOTTOM: 10px; WIDTH: 150px; COLOR: #fff; FONT-FAMILY: Sans-Serif
}
.sdmenu .title {
PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; FONT-WEIGHT: bold; BACKGROUND: url(title.gif) #fff repeat-x; PADDING-BOTTOM: 5px; COLOR: white; PADDING-TOP: 5px
}
.sdmenu .titlehidden {
PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; FONT-WEIGHT: bold; BACKGROUND: url(title.gif) #fff repeat-x; PADDING-BOTTOM: 5px; COLOR: white; PADDING-TOP: 5px
}
.sdmenu .title {
BORDER-BOTTOM: #ddd 1px solid
}
.sdmenu .arrow {
MARGIN-LEFT: 10px; MARGIN-RIGHT: 7px
}

@ -0,0 +1,15 @@
//more javascript from http://www.smallrain.net
var remember = true; //Remember menu states, and restore them on next visit.
var menu, titles, submenus, arrows, bypixels;
var heights = new Array();
var n = navigator.userAgent;
if(/Opera/.test(n)) bypixels = 2;
else if(/Firefox/.test(n)) bypixels = 3;
else if(/MSIE/.test(n)) bypixels = 2;
function init(){
menu = getElementsByClassName("sdmenu", "div", document)[0];
titles = getElementsByClassName("title", "span", menu);

@ -0,0 +1,15 @@
.sdmenu {
FONT-SIZE: 12px; BACKGROUND: url(bottom.gif) #eee no-repeat right bottom; PADDING-BOTTOM: 10px; WIDTH: 190px; COLOR: #fff; FONT-FAMILY: Sans-Serif;
text-align :left
}
.sdmenu .title {
PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; FONT-WEIGHT: bold; PADDING-BOTTOM: 5px; COLOR: white; PADDING-TOP: 5px;
text-align :left;; background-color :#208bd3
}
.sdmenu .titlehidden {
PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 0px; FONT-WEIGHT: bold; BACKGROUND: url(title.gif) #fff repeat-x; PADDING-BOTTOM: 5px; COLOR: white; PADDING-TOP: 5px;
text-align :left
}
.sdmenu .title {
BORDER-BOTTOM: #ddd 1px solid
}

@ -0,0 +1,15 @@
BODY {
BACKGROUND-POSITION: center 50%; FONT-SIZE: 12px; BACKGROUND-IMAGE: url(images/bj.gif); SCROLLBAR-HIGHLIGHT-COLOR: buttonface; SCROLLBAR-SHADOW-COLOR: buttonface; COLOR: #333333; SCROLLBAR-3DLIGHT-COLOR: buttonhighlight; SCROLLBAR-TRACK-COLOR: #eeeeee; FONT-FAMILY: "song", "MS Shell Dlg"; SCROLLBAR-DARKSHADOW-COLOR: buttonshadow; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center
}
SELECT {
FONT-SIZE: 12px; FILTER: Alpha(Opacity=50); COLOR: #666666; FONT-FAMILY: "song", "MS Shell Dlg", "<22><><EFBFBD><EFBFBD>"; BACKGROUND-COLOR: #f5f5f5
}
INPUT {
FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #111111; FONT-FAMILY: Tahoma, Verdana; BACKGROUND-COLOR: #eeeeee
}
.textarea1 {
FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR: #111111; FONT-FAMILY: Tahoma, Verdana; BACKGROUND-COLOR: #eeeeee
}
TD {
FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Tahoma, Verdana
}

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="list_article.aspx.cs" validateRequest=false Inherits="list_article" %>
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>管理员文章检索</title>
<META content=blendTrans(Duration=2.0) http-equiv=Page-Enter>
<link href="css/lightgray.css" type=text/css rel=stylesheet>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border=0>
<tr><td colspan =4 style="FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#ffffff', endColorStr='Silver', gradientType='0')" height ="40" align =center > <font size="4px"><b>::文章检索::</b></font></td></tr>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class list_article : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML><HEAD><TITLE>博客 -- 登录</TITLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<LINK href="css/style.css" type=text/css rel=stylesheet>
</HEAD>
<BODY onload="document.forms[0]['user_name'].focus()" style ="PADDING-RIGHT: 32px; MARGIN-TOP: auto; PADDING-LEFT: 32px; FONT-SIZE: 13px; BACKGROUND: #eee; PADDING-BOTTOM: 32px; MARGIN-LEFT: auto; WIDTH: 270px; COLOR: #000; MARGIN-RIGHT: auto; PADDING-TOP: 32px; FONT-FAMILY: Tahoma, Verdana">
<FORM id=loginform runat =server >
<DIV id=Main>
<DIV id=Heading>登录</DIV>
<table ><tr><td>
<LABEL style="FONT-SIZE: 16px; font-family: 幼圆 ">用户名:</LABEL></td><td>
<asp:textbox ID="user_name" runat ="server" CssClass ="input1"/>
</td></tr>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="mg_user.aspx.cs" Inherits="Admincontrol_mg_user" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server" Height="55px" Text="Label" Width="313px"></asp:Label></td></tr>
<table ><tr><td colspan =2>
&nbsp;<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" CellPadding="4" DataKeyNames="user_name" DataSourceID="list_view_data"

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Admincontrol_mg_user : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="article.ascx.cs" Inherits="article" %>
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<table width =100%>
<tr><td align =center class =m3><b>发表文章</b></td></tr>
<tr><td style="height: 19px">
*标题(您必须填写此项才能发表)
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate ="article_title" ErrorMessage="请您填写文章标题"></asp:RequiredFieldValidator></td></tr>
<tr><td ><asp:TextBox id ="article_title" CssClass ="link_button" runat ="server" Width=100%></asp:TextBox>
</td></tr>
<tr><td>*文章摘要(请您填写好此项)
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate ="sum_context" ErrorMessage="请您填写文章摘要"></asp:RequiredFieldValidator>
</td></tr>
<tr><td><asp:TextBox ID ="sum_context" TextMode =MultiLine CssClass ="link_button" Width =100% Height =100 runat =server ></asp:TextBox></td></tr>
<tr><td>文章类别:<asp:DropDownList ID ="article_type" Width =90% Height =100 runat =server >
<asp:ListItem Text ="IT" Value ="IT"></asp:ListItem>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class article : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="article_comment.ascx.cs" Inherits="article_comment" %>
<LINK href="css/style.css" type=text/css rel=stylesheet>
<table width =100% border=0 >
<tr style="height: 26px" bgcolor="#f3f3f3">
<td align =left ><b>:re:<asp:Label ID ="article_title" runat="server" CssClass ="link_button"></asp:Label></b></td></tr>
<tr>
<td align =left>:您的大名:</td>
</tr>
<tr >
<td align =left><asp:TextBox ID="article_reply_name" runat =server Width ="100%" CssClass ="link_button"></asp:TextBox></td>
</tr>
<tr >
<td align =left>你的BLOG</td>
</tr>
<tr >

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class article_comment : System.Web.UI.UserControl
{
user_article reply_user = new user_article();
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="change_user_password.ascx.cs" Inherits="mywebcontrol_change_user_password" %>
<br />
<br />
<br />
<br />
<center >
<table width ="300px">
<tr ><td>
<asp:Panel ID ="enter_old_password" runat ="server" Visible =true Width =100%>
<table width=100%>
<tr><td class="table" width= 40% align="center" style ="FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='Silver', endColorStr='#ffffff', gradientType='0')" height =30><b>::请输入您的原密码::</b></td>
</tr>
<tr>
<td align =center ><asp:TextBox ID ="password" runat =server CssClass="control" TextMode =password width=90%></asp:TextBox></td>
</tr>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class mywebcontrol_change_user_password : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="edit_user_information.ascx.cs" Inherits="mywebcontrol_edit_user_information" %>
<div>
<br />
<br />
<br />
<asp:AccessDataSource ID="AccessDataSource1" runat="server" ConflictDetection="CompareAllValues" DataFile="~/App_data/blog.mdb" DeleteCommand="DELETE FROM [userinfo] WHERE [user_name] = ? AND [true_name] = ? AND [address] = ? AND [mail] = ? AND [user_sex] = ?" InsertCommand="INSERT INTO [userinfo] ([user_name], [true_name], [address], [mail], [user_sex]) VALUES (?, ?, ?, ?, ?)" OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT [user_name], [true_name], [address], [mail], [user_sex] FROM [userinfo] WHERE ([user_name] = ?)" UpdateCommand="UPDATE [userinfo] SET [true_name] = ?, [address] = ?, [mail] = ?, [user_sex] = ? WHERE [user_name] = ? AND [true_name] = ? AND [address] = ? AND [mail] = ? AND [user_sex] = ?">
<DeleteParameters>
<asp:Parameter Name="original_user_name" Type="String" />
<asp:Parameter Name="original_true_name" Type="String" />
<asp:Parameter Name="original_address" Type="String" />
<asp:Parameter Name="original_mail" Type="String" />
<asp:Parameter Name="original_user_sex" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="true_name" Type="String" />

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class mywebcontrol_edit_user_information : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="login.ascx.cs" Inherits="login" %>
<LINK href="~/css/style.css" type=text/css rel=stylesheet>
<script language="JavaScript1.2">
var dragswitch=0
var nsx
var nsy
var nstemp
function drag_dropns(name){
temp=eval(name)
temp.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP)
temp.onmousedown=gons
temp.onmousemove=dragns
temp.onmouseup=stopns
}

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class login : System.Web.UI.UserControl
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="message_show.ascx.cs" Inherits="aaa_message_show" %>
<style type="text/css">
<!--
#master1 {position:absolute; width: 200px; top: 10px; left: -200px; z-index:2; visibility:visible;}
#menu1 {position:absolute; width: 18px; top: 0px; left: 200px; z-index:5; visibility:visible;}
#top11 {position:absolute; width: 200px; top: 0px; left: 0px; z-index:5; visibility:visible;}
#screen1 {position:absolute; width: 200px; top: 6px; left: 0px; z-index:5; visibility:visible;}
#screenlinks1 {position:absolute; width: 200px; top: 6px; left: 0px; z-index:5; visibility:visible;}
-->
</style>
<style type="text/css">
<!--
.NavJump {font-family: arial; font-size: 10pt; color: #808080; text-decoration: none;}
a:link.NavJump {color : #808080;}
a:visited.NavJump {color : #808080;}

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class aaa_message_show : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="new_search.ascx.cs" Inherits="mywebcontrol_new_search" %>
<link rel="stylesheet" type="text/css" href="js_top.files/menu2.css" />
<script type="text/javascript" src="js_top.files/menu.js"></script>
<div class="sdmenu">
<span class="title" id="top"><img src="images/expanded.gif" class="arrow" alt="-" />最新文章</span>
<div class="submenu">
<asp:Repeater ID ="new_article" runat =server>
<ItemTemplate >
<li>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class mywebcontrol_new_search : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="search.ascx.cs" Inherits="mywebcontrol_search" %>
<TABLE borderColor=#73b5e3 cellSpacing=0 cellPadding=4 width=190px border=1>
<TBODY><TR><TD style="HEIGHT: 26px" bgColor=#73b5e3>搜索</TD></TR><TR><TD>
<TABLE id="Table1" height=56 cellSpacing=0 cellPadding=8 bgColor=#ffffff>
<TBODY>
<TR><TD>
<asp:DropDownList ID="searchtype" runat="server" OnSelectedIndexChanged="searchtype_SelectedIndexChanged" AutoPostBack="True">
<asp:ListItem Value="title">标题</asp:ListItem>
<asp:ListItem Value="author">作者</asp:ListItem>
<asp:ListItem Value="text">内容</asp:ListItem>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class mywebcontrol_search : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="user_top_article.ascx.cs" Inherits="mywebcontrol_user_top_article" %>
<asp:Repeater ID ="new_article" runat =server DataSourceID ="user_new_article">
<ItemTemplate >
<li>
<a href ='<%# String.Format("~/show_detail.aspx?article_title={0}&article_id={1}",Eval("article_title"), Eval("id")) %>'>
<asp:Label ID="article_titleLabel" runat="server" Text='<%# Bind("article_title") %>'>
</asp:Label>
</a>
</li>
</ItemTemplate>
</asp:Repeater>
<asp:AccessDataSource ID="user_new_article" runat="server" DataFile="~/App_data/blog.mdb" SelectCommand="SELECT top 10 * FROM [article] WHERE ([author_name] = ?) ORDER BY [publish_date] DESC">
<SelectParameters>
<asp:SessionParameter Name="author_name" SessionField="user_name" Type="String" />

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class mywebcontrol_user_top_article : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="user_top_comment.ascx.cs" Inherits="mywebcontrol_user_top_comment" %>
<asp:Repeater ID ="new_comment" runat =server DataSourceID ="user_new_comment">
<ItemTemplate >
<li>
<a href ='<%# String.Format("~/show_article_type.aspx?methord=comment_search&id={0}",Eval("ID")) %>'>
<asp:Label ID="article_titleLabel" runat="server" Text='<%# String.Format("RE:{0}",Eval("article_title")) %>'>
</asp:Label>
</a>
</li>
</ItemTemplate>
</asp:Repeater>
<asp:AccessDataSource ID="user_new_comment" runat="server" DataFile="~/App_data/blog.mdb" SelectCommand="SELECT top 10 * FROM [user_new_comment] WHERE ([author_name] = ?)">
<SelectParameters>
<asp:SessionParameter Name="author_name" SessionField="user_name" Type="String" />
</SelectParameters>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class mywebcontrol_user_top_comment : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="picture.aspx.cs" Inherits="picture" %>
<%@ Register TagPrefix ="Article_comment" TagName ="Comment" Src ="~/mywebcontrol/article_comment.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="NewSearch" Src ="~/mywebcontrol/new_search.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="Search" Src ="~/mywebcontrol/search.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="Login" Src ="~/mywebcontrol/login.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
<title>图片首页</title>
<LINK href="images/homeway.css" type=text/css rel=stylesheet>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
<form id="form2" runat="server">

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class picture : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="_Default" Debug ="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML><HEAD><TITLE>博客 -- 登录</TITLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<LINK href="css/style.css" type=text/css rel=stylesheet>
<link rel='stylesheet' type='text/css' href='css/style.css'>
<style>
.table
{width:30%;
font-family:宋体;
font-size:13px;
text-align:right;
border:0;
}
.checktable

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Data.OleDb;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.Page
{
private UserInfo user_info;
protected void Page_Load(object sender, EventArgs e)

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="search.aspx.cs" Inherits="search" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>search</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:DropDownList ID="searchtype" runat="server" OnSelectedIndexChanged="searchtype_SelectedIndexChanged" AutoPostBack="True">
<asp:ListItem Value="title">标题</asp:ListItem>
<asp:ListItem Value="author">作者</asp:ListItem>
<asp:ListItem Value="text">内容</asp:ListItem>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class search : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

@ -0,0 +1,15 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="search_result.aspx.cs" Inherits="search_result" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="NewSearch" Src ="~/mywebcontrol/new_search.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="Search" Src ="~/mywebcontrol/search.ascx" %>
<%@ Register TagPrefix ="Mycontrol" TagName ="Login" Src ="~/mywebcontrol/login.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Blog首页</title>
<LINK href="css/style.css" type=text/css rel=stylesheet>
<LINK href="images/homeway.css" type=text/css rel=stylesheet>
</head>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>

@ -0,0 +1,15 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class search_result : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save