commit 917a215f9656933f2a24cdc29045e85273d538d5 Author: editor <@51Aspx.com> Date: Tue Aug 1 00:57:37 2023 +0800 初始化 diff --git a/51aspx源码必读.txt b/51aspx源码必读.txt new file mode 100644 index 0000000..1797bf1 --- /dev/null +++ b/51aspx源码必读.txt @@ -0,0 +1,34 @@ +柠檬居IT技术网多用户Blog源码 + +柠檬居IT技术网Blog源码 +柠檬居IT技术网,前ASP.NET版BLOG程序,按照PJBLOG2结构模仿,通俗点说就是PJBLOG2的.NET翻版,完全兼容PJBLOG的皮肤功能 +这个程序是三层架构理念开发,结构清晰、明了,方便修改和整理。 +先说一下根目录的几个文件夹COMP 里面的主要是几个比较实用方法类,可以调用。缩短开发周期。希望大家能多看看这里面的方法。DB   这个是对数据访问语句的集合类。对每个表对一个的CS文件进行操作。FCKeditor.Net_2.2   这个不用我说了吧HTML编辑器,完全开源。GuestBook 这个要注意了,是写插件用的。Web 主网站程序了。 +用户名密码 admin    后台密码 admin +请注意后台管理全部都写在ConContent.aspx里了,很多人问我,这样是不是不好呀,我也想过,其实,只是为了减少DLL的生成数。代码还是比较规范,长是长了点,看上去不会累的。第二点注意的就是服务器的问题了,很多朋友用的是NTFS的,可能会不好使,是因为没有给写入权限,解决方法登陆nmju.net,上面有图片的讲解,就是添加一个ASPNET权限就好了。 +上传文件使用的NET自己的上传组件,要FSO,没的朋友就开开吧。不开也行,用FTP,我建议使用FTP,安全很多。 +先写到这里吧。少是少了点,以后在慢慢给大家讲。 +下一个版本的开发目标是真正使用AJAX,减少数据访问次数和不必要的数据往返。这样网站浏览速度会很快的。还有什么好提议请发邮件给我,luckcf@gmail.com +  + + +作者: 数字水瓶 + +如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/NingMengJu +------------------------------------------------------------------------------------------------ + + 源码服务专家 + 官网: 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 diff --git a/COMP/COMP.csproj b/COMP/COMP.csproj new file mode 100644 index 0000000..4a89369 --- /dev/null +++ b/COMP/COMP.csproj @@ -0,0 +1,15 @@ + + + Debug + AnyCPU + 8.0.50727 + 2.0 + {1CEA5581-6A16-4256-890A-24366482D87F} + Library + Properties + NMJU_NET.COMP + NMJU_NET.COMP + + + true + full diff --git a/COMP/FTP.cs b/COMP/FTP.cs new file mode 100644 index 0000000..e8481db --- /dev/null +++ b/COMP/FTP.cs @@ -0,0 +1,15 @@ +using System; +using System.IO; +using System.Configuration; + +namespace NMJU_NET.COMP +{ + /// + /// 部分FTP类代码来自网络.版式权归原作者所有 + /// + /// Download from www.nmju.net(nmju.net) + + public class FTP + { + public FTP() + { diff --git a/COMP/FilesIO.cs b/COMP/FilesIO.cs new file mode 100644 index 0000000..23b28ab --- /dev/null +++ b/COMP/FilesIO.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.IO; + +namespace NMJU_NET.COMP +{ + public class FilesIO + { + //复制文件夹 + public static void CopyFiles(string varFromDirectory, string varToDirectory) + { + Directory.CreateDirectory(varToDirectory); + + if (!Directory.Exists(varFromDirectory)) return; diff --git a/COMP/ImageCode.cs b/COMP/ImageCode.cs new file mode 100644 index 0000000..accb22c --- /dev/null +++ b/COMP/ImageCode.cs @@ -0,0 +1,15 @@ +using System; +using System.Drawing; +using System.Drawing.Imaging; +using System.IO; +using System.Drawing.Drawing2D; +using System.Web; +using System.Web.UI; + +namespace NMJU_NET.COMP +{ + /// + /// ImageLogin 的摘要说明。 + /// + public class ImageLogincs + { diff --git a/COMP/Jscript.cs b/COMP/Jscript.cs new file mode 100644 index 0000000..4f73042 --- /dev/null +++ b/COMP/Jscript.cs @@ -0,0 +1,15 @@ +using System; +using System.Web; +using System.Web.UI; + +namespace NMJU_NET.COMP +{ + /// + /// 一些常用的Js调用 + /// 创建时间:2006-8-3 + /// 创建者:马先光 + /// + /// Download from www.nmju.net(nmju.net) + + public class Jscript + { diff --git a/COMP/MyControl.cs b/COMP/MyControl.cs new file mode 100644 index 0000000..1c2f45b --- /dev/null +++ b/COMP/MyControl.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NMJU_NET.COMP +{ + /// + /// 对控件的处理类 + /// 创建时间:2006-8-3 + /// 创建者:马先光 + /// + public class MyControl diff --git a/COMP/Properties/AssemblyInfo.cs b/COMP/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d3b1177 --- /dev/null +++ b/COMP/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过下列属性集 +// 控制。更改这些属性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("COMP")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("NMJU_NET")] +[assembly: AssemblyProduct("COMP")] +[assembly: AssemblyCopyright("版权所有 (C) NMJU_NET 2006")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/COMP/QueryString.cs b/COMP/QueryString.cs new file mode 100644 index 0000000..58cb60c --- /dev/null +++ b/COMP/QueryString.cs @@ -0,0 +1,15 @@ +using System; +using System.Web; + +namespace NMJU_NET.COMP +{ + /// + /// ˵������ȡ��ѯ�ַ������� + /// ��д�ߣ����ȹ� + /// Date��2006-4 + /// + public class QueryString + { + public QueryString() + { + // diff --git a/COMP/StringUtil.cs b/COMP/StringUtil.cs new file mode 100644 index 0000000..9f01321 --- /dev/null +++ b/COMP/StringUtil.cs @@ -0,0 +1,15 @@ +using System; +using System.Drawing; +using System.Data; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using System.Text.RegularExpressions; +using System.IO; +using System.Drawing.Imaging; +using System.Text; +using System.Web.Security; + +namespace NMJU_NET.COMP +{ + /// diff --git a/COMP/UsersInfo.cs b/COMP/UsersInfo.cs new file mode 100644 index 0000000..4248060 --- /dev/null +++ b/COMP/UsersInfo.cs @@ -0,0 +1,15 @@ +using System; +using System.Web; + +namespace NMJU_NET.COMP +{ + public class UsersInfo + { + /// + /// 返回用户ID + /// + static public string GetUserId + { + #region + get + { diff --git a/COMP/XmlControl.cs b/COMP/XmlControl.cs new file mode 100644 index 0000000..9d7e260 --- /dev/null +++ b/COMP/XmlControl.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Collections.Generic; +using System.Text; +using System.Xml; +using System.IO; + +namespace NMJU_NET.COMP +{ + public class XmlControl + { + protected string strXmlFile; + protected XmlDocument objXmlDoc = new XmlDocument(); + + public XmlControl(string XmlFile) diff --git a/COMP/obj/COMP.csproj.FileList.txt b/COMP/obj/COMP.csproj.FileList.txt new file mode 100644 index 0000000..1bc6e95 --- /dev/null +++ b/COMP/obj/COMP.csproj.FileList.txt @@ -0,0 +1,5 @@ +bin\Debug\NMJU_NET.COMP.dll +bin\Debug\NMJU_NET.COMP.pdb +obj\Debug\ResolveAssemblyReference.cache +obj\Debug\NMJU_NET.COMP.dll +obj\Debug\NMJU_NET.COMP.pdb diff --git a/COMP/obj/COMP.csproj.FileListAbsolute.txt b/COMP/obj/COMP.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..85af692 --- /dev/null +++ b/COMP/obj/COMP.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +E:\downCode\NMJU_NET\COMP\bin\Debug\NMJU_NET.COMP.dll +E:\downCode\NMJU_NET\COMP\bin\Debug\NMJU_NET.COMP.pdb +E:\downCode\NMJU_NET\COMP\obj\Debug\ResolveAssemblyReference.cache +E:\downCode\NMJU_NET\COMP\obj\Debug\NMJU_NET.COMP.dll +E:\downCode\NMJU_NET\COMP\obj\Debug\NMJU_NET.COMP.pdb diff --git a/DB/DB.csproj b/DB/DB.csproj new file mode 100644 index 0000000..80c29f0 --- /dev/null +++ b/DB/DB.csproj @@ -0,0 +1,15 @@ + + + Debug + AnyCPU + 8.0.50727 + 2.0 + {88550AA5-4D06-4205-93DC-A8DCC0822EE0} + Library + Properties + NMJU_NET.DB + NMJU_NET.DB + + + true + full diff --git a/DB/Properties/AssemblyInfo.cs b/DB/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..363b4c9 --- /dev/null +++ b/DB/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过下列属性集 +// 控制。更改这些属性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("DB")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("NMJU_NET")] +[assembly: AssemblyProduct("DB")] +[assembly: AssemblyCopyright("版权所有 (C) NMJU_NET 2006")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/DB/SQL_DB.cs b/DB/SQL_DB.cs new file mode 100644 index 0000000..8d05dc9 --- /dev/null +++ b/DB/SQL_DB.cs @@ -0,0 +1,15 @@ +/*��.NET����ACCESS���ݿ�(����,ѹ��,����,�ָ����) +дһ��С�ͳ���,��ͷû��Microsoft Access,��ν������ݿ�,һ����Ȼ��. +��������C:\Program Files\Common Files\System\ado\msadox.dll,��DLL����ADOX�����ռ�; +��������C:\Program Files\Common Files\System\ado\msjro.dll,��DLL����JRO�����ռ� +ע��:�磬����dll���ɹ����ֶ���com��� ����Ϊ .net���������vs.net���ߵ��� + */ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; +using System.IO; +using System.Configuration; +using System.Web; +using ADOX; //�������ռ��������ACCESS����(����)--������� ==> ���� ==> �������� ==> �����ҵ�.dll diff --git a/DB/SqlDataBase.cs b/DB/SqlDataBase.cs new file mode 100644 index 0000000..251182c --- /dev/null +++ b/DB/SqlDataBase.cs @@ -0,0 +1,15 @@ +using System; +using System.Web; +using System.Data; +using System.Data.OleDb; +using System.Configuration; + +namespace NMJU_NET.DB +{ + + /// + /// 数据库操作基类 + /// 实现对Sql数据库的各种操作 + /// 创建时间:2006-8-3 + /// + public class SqlDataBase diff --git a/DB/Users.cs b/DB/Users.cs new file mode 100644 index 0000000..6cfcd23 --- /dev/null +++ b/DB/Users.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Web; +using System.Web.UI.WebControls; +using System.Web.UI; +using NMJU_NET.COMP; + +namespace NMJU_NET.DB +{ + public class Users :SqlDataBase + { + string strSql = null; + /// diff --git a/DB/blog_Category.cs b/DB/blog_Category.cs new file mode 100644 index 0000000..34d2542 --- /dev/null +++ b/DB/blog_Category.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; + +namespace NMJU_NET.DB +{ + public class blog_Category : SqlDataBase + { + /// + /// ��ȡ�����б� + /// /// Download from www.nmju.net(������������) + /// + public DataView Category_List() diff --git a/DB/blog_Comment.cs b/DB/blog_Comment.cs new file mode 100644 index 0000000..86a9286 --- /dev/null +++ b/DB/blog_Comment.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Web; +using System.Collections.Generic; +using System.Text; +using NMJU_NET.COMP; + +namespace NMJU_NET.DB +{ + public class blog_Comment : SqlDataBase + { + + /// + /// ����ȫ��������Ϣ diff --git a/DB/blog_Content.cs b/DB/blog_Content.cs new file mode 100644 index 0000000..a47a985 --- /dev/null +++ b/DB/blog_Content.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; +using System.Web; + + + +namespace NMJU_NET.DB +{ + public class blog_Content :SqlDataBase + { + blog_tag Blog_tag = new blog_tag(); + blog_Smilies Blog_Smilies = new blog_Smilies(); diff --git a/DB/blog_Keywords.cs b/DB/blog_Keywords.cs new file mode 100644 index 0000000..a1a8f07 --- /dev/null +++ b/DB/blog_Keywords.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; + +namespace NMJU_NET.DB +{ + public class blog_Keywords : SqlDataBase + { + /// + /// ��ȡȫ������ + /// + /// + /// diff --git a/DB/blog_Links.cs b/DB/blog_Links.cs new file mode 100644 index 0000000..30887a4 --- /dev/null +++ b/DB/blog_Links.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; + +namespace NMJU_NET.DB +{ + public class blog_Links : SqlDataBase + { + /// + /// ��ȡLinks�б� + /// + public DataView Links_List() + { diff --git a/DB/blog_Smilies.cs b/DB/blog_Smilies.cs new file mode 100644 index 0000000..2307db2 --- /dev/null +++ b/DB/blog_Smilies.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; + +namespace NMJU_NET.DB +{ + public class blog_Smilies : SqlDataBase + { + /// + /// ��ȡȫ������ + /// + /// + /// diff --git a/DB/blog_Trackback.cs b/DB/blog_Trackback.cs new file mode 100644 index 0000000..3233c24 --- /dev/null +++ b/DB/blog_Trackback.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; + +namespace NMJU_NET.DB +{ + public class blog_Trackback : SqlDataBase + { + /// + /// ��ȡTrackback�б� + /// + public DataView Trackback_List() + { diff --git a/DB/blog_module.cs b/DB/blog_module.cs new file mode 100644 index 0000000..9b344d7 --- /dev/null +++ b/DB/blog_module.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; +using System.Web; +using NMJU_NET.COMP; +namespace NMJU_NET.DB +{ + public class blog_module : SqlDataBase + { + /// + /// ģ����� + /// + /// diff --git a/DB/blog_spam.cs b/DB/blog_spam.cs new file mode 100644 index 0000000..e7ac11e --- /dev/null +++ b/DB/blog_spam.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; +namespace NMJU_NET.DB +{ + public class blog_spam : SqlDataBase + { + /// + /// ��ȡspam�б� + /// + public DataView Spam_List() + { + return GetDv("SELECT * FROM blog_spam order by spam_id desc"); diff --git a/DB/blog_status.cs b/DB/blog_status.cs new file mode 100644 index 0000000..4ab3d4a --- /dev/null +++ b/DB/blog_status.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; + +namespace NMJU_NET.DB +{ + public class blog_status : SqlDataBase + { + /// + /// ��ȡstatus�б� + /// + public DataView Status_List() + { diff --git a/DB/blog_tag.cs b/DB/blog_tag.cs new file mode 100644 index 0000000..5fd1a33 --- /dev/null +++ b/DB/blog_tag.cs @@ -0,0 +1,15 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections.Generic; +using System.Text; +namespace NMJU_NET.DB +{ + public class blog_tag : SqlDataBase + { + /// + /// ��ȡtag�б� + /// + public DataView Tag_List() + { + return GetDv("SELECT * FROM blog_tag order by tag_id desc"); diff --git a/DB/library.cs b/DB/library.cs new file mode 100644 index 0000000..76b3f79 --- /dev/null +++ b/DB/library.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Data; +using System.Web; +using System.Web.SessionState; +using NMJU_NET.COMP; + + + +namespace NMJU_NET.DB +{ + public class library + { + blog_module Blog_module = new blog_module(); diff --git a/DB/obj/DB.csproj.FileList.txt b/DB/obj/DB.csproj.FileList.txt new file mode 100644 index 0000000..006fc3c --- /dev/null +++ b/DB/obj/DB.csproj.FileList.txt @@ -0,0 +1,14 @@ +bin\Debug\NMJU_NET.DB.dll +bin\Debug\NMJU_NET.DB.pdb +bin\Debug\NMJU_NET.COMP.dll +bin\Debug\NMJU_NET.COMP.pdb +bin\Debug\Interop.ADODB.dll +bin\Debug\Interop.ADOX.dll +bin\Debug\Interop.JRO.dll +obj\Debug\ResolveAssemblyReference.cache +obj\Debug\Interop.ADODB.dll +obj\Debug\Interop.ADOX.dll +obj\Debug\Interop.JRO.dll +obj\Debug\DB.csproj.ResolveComReference.cache +obj\Debug\NMJU_NET.DB.dll +obj\Debug\NMJU_NET.DB.pdb diff --git a/DB/obj/DB.csproj.FileListAbsolute.txt b/DB/obj/DB.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..cc33115 --- /dev/null +++ b/DB/obj/DB.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +E:\downCode\NMJU_NET\DB\bin\Debug\NMJU_NET.DB.dll +E:\downCode\NMJU_NET\DB\bin\Debug\NMJU_NET.DB.pdb +E:\downCode\NMJU_NET\DB\bin\Debug\NMJU_NET.COMP.dll +E:\downCode\NMJU_NET\DB\bin\Debug\NMJU_NET.COMP.pdb +E:\downCode\NMJU_NET\DB\bin\Debug\Interop.ADODB.dll +E:\downCode\NMJU_NET\DB\bin\Debug\Interop.ADOX.dll +E:\downCode\NMJU_NET\DB\bin\Debug\Interop.JRO.dll +E:\downCode\NMJU_NET\DB\obj\Debug\ResolveAssemblyReference.cache +E:\downCode\NMJU_NET\DB\obj\Debug\Interop.ADODB.dll +E:\downCode\NMJU_NET\DB\obj\Debug\Interop.ADOX.dll +E:\downCode\NMJU_NET\DB\obj\Debug\Interop.JRO.dll +E:\downCode\NMJU_NET\DB\obj\Debug\DB.csproj.ResolveComReference.cache +E:\downCode\NMJU_NET\DB\obj\Debug\NMJU_NET.DB.dll +E:\downCode\NMJU_NET\DB\obj\Debug\NMJU_NET.DB.pdb diff --git a/FCKeditor.Net_2.2/AssemblyInfo.cs b/FCKeditor.Net_2.2/AssemblyInfo.cs new file mode 100644 index 0000000..67dab84 --- /dev/null +++ b/FCKeditor.Net_2.2/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Security.Permissions ; +using System.Web.UI ; + +[assembly:TagPrefix("FredCK.FCKeditorV2", "FCKeditorV2")] + +[assembly:System.CLSCompliant(true)] +[assembly:System.Runtime.InteropServices.ComVisible(false)] + +// +// 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. +// diff --git a/FCKeditor.Net_2.2/FCKeditor.cs b/FCKeditor.Net_2.2/FCKeditor.cs new file mode 100644 index 0000000..eb5a87c --- /dev/null +++ b/FCKeditor.Net_2.2/FCKeditor.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FCKeditor.cs + * This is the FCKeditor Asp.Net control. + * diff --git a/FCKeditor.Net_2.2/FCKeditorConfigurations.cs b/FCKeditor.Net_2.2/FCKeditorConfigurations.cs new file mode 100644 index 0000000..74df7d8 --- /dev/null +++ b/FCKeditor.Net_2.2/FCKeditorConfigurations.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FCKeditorConfigurations.cs + * Class that holds all editor configurations. + * diff --git a/FCKeditor.Net_2.2/FCKeditorDesigner.cs b/FCKeditor.Net_2.2/FCKeditorDesigner.cs new file mode 100644 index 0000000..8a80849 --- /dev/null +++ b/FCKeditor.Net_2.2/FCKeditorDesigner.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FCKeditorDesigner.cs + * The EditorDesigner class defines the editor visualization at design + * time. diff --git a/FCKeditor.Net_2.2/FCKeditorV2.csproj b/FCKeditor.Net_2.2/FCKeditorV2.csproj new file mode 100644 index 0000000..5ed6029 --- /dev/null +++ b/FCKeditor.Net_2.2/FCKeditorV2.csproj @@ -0,0 +1,15 @@ + + + Local + 8.0.50727 + 2.0 + {F6F32704-97E0-4006-A474-5A9729C6B1B4} + Debug + AnyCPU + + + + + COCOWO.FCKeditorV2 + + diff --git a/FCKeditor.Net_2.2/FileBrowserConnector.cs b/FCKeditor.Net_2.2/FileBrowserConnector.cs new file mode 100644 index 0000000..46ca041 --- /dev/null +++ b/FCKeditor.Net_2.2/FileBrowserConnector.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FileBrowserConnector.cs + * This is the code behind of the connector.aspx page used by the + * File Browser. diff --git a/FCKeditor.Net_2.2/FileWorkerBase.cs b/FCKeditor.Net_2.2/FileWorkerBase.cs new file mode 100644 index 0000000..8c390cf --- /dev/null +++ b/FCKeditor.Net_2.2/FileWorkerBase.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FileWorkerBase.cs + * Base class used by the FileBrowserConnector and Uploader. + * diff --git a/FCKeditor.Net_2.2/Uploader.cs b/FCKeditor.Net_2.2/Uploader.cs new file mode 100644 index 0000000..3fe720e --- /dev/null +++ b/FCKeditor.Net_2.2/Uploader.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: Uploader.cs + * This is the code behind of the uploader.aspx page used for Quick Uploads. + * diff --git a/FCKeditor.Net_2.2/Util.cs b/FCKeditor.Net_2.2/Util.cs new file mode 100644 index 0000000..892a3e5 --- /dev/null +++ b/FCKeditor.Net_2.2/Util.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: Util.cs + * Useful tools. + * diff --git a/FCKeditor.Net_2.2/XmlUtil.cs b/FCKeditor.Net_2.2/XmlUtil.cs new file mode 100644 index 0000000..6404193 --- /dev/null +++ b/FCKeditor.Net_2.2/XmlUtil.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: XmlUtil.cs + * Useful tools for XML. + * diff --git a/FCKeditor.Net_2.2/_documentation.html b/FCKeditor.Net_2.2/_documentation.html new file mode 100644 index 0000000..2d96b60 --- /dev/null +++ b/FCKeditor.Net_2.2/_documentation.html @@ -0,0 +1,15 @@ + + + + diff --git a/FCKeditor.Net_2.2/_license.txt b/FCKeditor.Net_2.2/_license.txt new file mode 100644 index 0000000..8b6a216 --- /dev/null +++ b/FCKeditor.Net_2.2/_license.txt @@ -0,0 +1,15 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your diff --git a/FCKeditor.Net_2.2/_whatsnew.html b/FCKeditor.Net_2.2/_whatsnew.html new file mode 100644 index 0000000..2d96b60 --- /dev/null +++ b/FCKeditor.Net_2.2/_whatsnew.html @@ -0,0 +1,15 @@ + + + + diff --git a/FCKeditor.Net_2.2/obj/FCKeditorV2.csproj.FileList.txt b/FCKeditor.Net_2.2/obj/FCKeditorV2.csproj.FileList.txt new file mode 100644 index 0000000..50fc13d --- /dev/null +++ b/FCKeditor.Net_2.2/obj/FCKeditorV2.csproj.FileList.txt @@ -0,0 +1,5 @@ +bin\Debug\NMJU_NET.FCKeditorV2.dll +bin\Debug\NMJU_NET.FCKeditorV2.pdb +obj\Debug\ResolveAssemblyReference.cache +obj\Debug\NMJU_NET.FCKeditorV2.dll +obj\Debug\NMJU_NET.FCKeditorV2.pdb diff --git a/GuestBook/Admin_Music.aspx b/GuestBook/Admin_Music.aspx new file mode 100644 index 0000000..8cf3b63 --- /dev/null +++ b/GuestBook/Admin_Music.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_Music.aspx.cs" Inherits="Admin_Music" %> + + + + + + 无标题页 + + + + +
+
+ +
diff --git a/GuestBook/Admin_Music.aspx.cs b/GuestBook/Admin_Music.aspx.cs new file mode 100644 index 0000000..bf47af0 --- /dev/null +++ b/GuestBook/Admin_Music.aspx.cs @@ -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; + +public partial class Admin_Music : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) diff --git a/GuestBook/Admin_guestbook.aspx b/GuestBook/Admin_guestbook.aspx new file mode 100644 index 0000000..d2ecc09 --- /dev/null +++ b/GuestBook/Admin_guestbook.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_guestbook.aspx.cs" Inherits="Admin_guestbook" %> +<%@ Register Src="common/MultiPage.ascx" TagName="MultiPage" TagPrefix="uc1" %> + + + + + 无标题页 + + + + + +
+ +
diff --git a/GuestBook/Admin_guestbook.aspx.cs b/GuestBook/Admin_guestbook.aspx.cs new file mode 100644 index 0000000..3e2f439 --- /dev/null +++ b/GuestBook/Admin_guestbook.aspx.cs @@ -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 NMJU_NET.COMP; +using NMJU_NET.DB; +//该源码下载自www.51aspx.com(51aspx.com) + +public partial class Admin_guestbook : System.Web.UI.Page diff --git a/GuestBook/Global.asax b/GuestBook/Global.asax new file mode 100644 index 0000000..f66da7b --- /dev/null +++ b/GuestBook/Global.asax @@ -0,0 +1,15 @@ +<%@ Application Language="C#" %> +<%@ Import Namespace="NMJU_NET.DB" %> +<%@ Import Namespace="NMJU_NET.COMP" %> +<%@ Import Namespace="System.Data" %> + diff --git a/GuestBook/MasterPage.master.cs b/GuestBook/MasterPage.master.cs new file mode 100644 index 0000000..249e263 --- /dev/null +++ b/GuestBook/MasterPage.master.cs @@ -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 NMJU_NET.DB; +using NMJU_NET.COMP; + +public partial class MasterPage : System.Web.UI.MasterPage +{ diff --git a/GuestBook/MusicPlay/exobudpl.htm b/GuestBook/MusicPlay/exobudpl.htm new file mode 100644 index 0000000..4356281 --- /dev/null +++ b/GuestBook/MusicPlay/exobudpl.htm @@ -0,0 +1,15 @@ +mkList("i think i.mp3","i think i","��","T"); + +mkList("waiting for you.mp3","waiting for you","��","T"); + +mkList("����.mp3","����","��","T"); + +mkList("���ݸ�Ŀ.mp3","���ݸ�Ŀ","��","T"); + +mkList("���ܲ�����.mp3","���ܲ�����","��","T"); + +mkList("���ܲ�����.mp3","���ܲ�����","��","T"); + + + + diff --git a/GuestBook/common/CheckCode.aspx b/GuestBook/common/CheckCode.aspx new file mode 100644 index 0000000..84b4206 --- /dev/null +++ b/GuestBook/common/CheckCode.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckCode.aspx.cs" Inherits="common_CheckCode" %> + + + + + + 无标题页 + + + +
+ +
+ + diff --git a/GuestBook/common/CheckCode.aspx.cs b/GuestBook/common/CheckCode.aspx.cs new file mode 100644 index 0000000..2246058 --- /dev/null +++ b/GuestBook/common/CheckCode.aspx.cs @@ -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.Drawing; + +public partial class common_CheckCode : System.Web.UI.Page +{ + private void Page_Load(object sender, System.EventArgs e) diff --git a/GuestBook/common/Code/AS.css b/GuestBook/common/Code/AS.css new file mode 100644 index 0000000..09cd229 --- /dev/null +++ b/GuestBook/common/Code/AS.css @@ -0,0 +1,15 @@ +.AS_Default { + color: #000000; + font-family: Courier New; + font-size: 12px; +} +.AS_Comments { + color: #008080; + font-family: Courier New; + font-size: 12px; +} +.AS_String { + color: #ff00ff; + font-family: Courier New; + font-size: 12px; +} diff --git a/GuestBook/common/Code/ActionScript.js b/GuestBook/common/Code/ActionScript.js new file mode 100644 index 0000000..1239024 --- /dev/null +++ b/GuestBook/common/Code/ActionScript.js @@ -0,0 +1,15 @@ +/*********************************************** +* Flash ActionScript Syntax Definition +***********************************************/ +FCSyntaxDef ["AS"] = { + name : "ActionScript", + delimiters : "~!%^&*()-+=|\\/{}[]:;\"'<>,.?", + comments : "//", + cmtcolor : "#008080", + blocks : { + String : { + name : "�ַ���", + color : "#ff00ff", + begin : "\"", + end : "\"", + escape : "\\" diff --git a/GuestBook/common/Code/C_CPP.css b/GuestBook/common/Code/C_CPP.css new file mode 100644 index 0000000..e29a25e --- /dev/null +++ b/GuestBook/common/Code/C_CPP.css @@ -0,0 +1,15 @@ +.CPP_Default { + color: #000000; + font-family: Courier New; + font-size: 12px; +} +.CPP_Comments { + color: #008080; + font-family: Courier New; + font-size: 12px; +} +.CPP_String { + color: #ff00ff; + font-family: Courier New; + font-size: 12px; +} diff --git a/GuestBook/common/Code/C_Cpp.js b/GuestBook/common/Code/C_Cpp.js new file mode 100644 index 0000000..d0d19c2 --- /dev/null +++ b/GuestBook/common/Code/C_Cpp.js @@ -0,0 +1,15 @@ +/************************************* +* C/C++ Syntax Definition +*************************************/ +FCSyntaxDef ["CPP"] = { + name : "C/C++", + delimiters : "~!%^&*()-+=|\\/{}[]:;\"'<>,.?", + comments : "//", + cmtcolor : "#008080", + blocks : { + String : { + name : "�ַ���", + color : "#ff00ff", + begin : "\"", + end : "\"", + escape : "\\" diff --git a/GuestBook/common/Code/ColdFusion.js b/GuestBook/common/Code/ColdFusion.js new file mode 100644 index 0000000..80f32ae --- /dev/null +++ b/GuestBook/common/Code/ColdFusion.js @@ -0,0 +1,15 @@ +/*********************************************** +* ColdFustion Syntax Definition +***********************************************/ +FCSyntaxDef ["CFM"] = { + name : "UBB ActionScript", + nocase : false, + delimiters : "~!@%^&*()-+=|\\/{}[]:;\"'<>,.?", + comments : "//", + cmtcolor : "#008080", + cmtstyle : "i", + blocks : { + String : { + name : "�ַ���", + color : "#ff00ff", + begin : "\"", diff --git a/GuestBook/common/Code/Doc.js b/GuestBook/common/Code/Doc.js new file mode 100644 index 0000000..e37afd3 --- /dev/null +++ b/GuestBook/common/Code/Doc.js @@ -0,0 +1,15 @@ +/************************************* +* Document Syntax Definition +*************************************/ +FCSyntaxDef ["DOC"] = { + name : "Document", + delimiters : "~!%^&*()-+=|\\/{}[]:;\"'<>,.?�򣭡�������", + comments : "----- *****", + cmtcolor : "#008080", + blocks : { + Title : { + name : "����", + color : "#A80000", + style : "bu", + begin : "��", + end : "��" diff --git a/GuestBook/common/Code/FancyCoder.js b/GuestBook/common/Code/FancyCoder.js new file mode 100644 index 0000000..88d2d2a --- /dev/null +++ b/GuestBook/common/Code/FancyCoder.js @@ -0,0 +1,15 @@ +/*********************************************** +* ����JS�� - FancyCoder for JavaScript +* version 1.0 beta +***********************************************/ + +//����﷨���������壬������Ӧ���� +//lang: ��Ϊ0����������ID���ֱ��ʾ������Ҫ�������ԣ������д���ʾ������� +function FCCheckSyntaxDef(/*lang, ...*/) { + //�趨�����б� + if (arguments.length > 0) { + var langList = {}; + for (var i = arguments.length - 1; i >= 0; i--) { + if (FCSyntaxDef[arguments[i]] != null) langList[arguments[i]] = true; + } + } else { diff --git a/GuestBook/common/Code/XML.css b/GuestBook/common/Code/XML.css new file mode 100644 index 0000000..aa63d3c --- /dev/null +++ b/GuestBook/common/Code/XML.css @@ -0,0 +1,15 @@ +.XML_Default { + color: #000000; + font-family: Courier New; + font-size: 12px; +} +.XML_BlockComment { + color: #008080; + font-family: Courier New; + font-size: 12px; +} +.XML_BlockText { + color: #808080; + font-family: Courier New; + font-size: 12px; +} diff --git a/GuestBook/common/Code/XML.js b/GuestBook/common/Code/XML.js new file mode 100644 index 0000000..df0c8fb --- /dev/null +++ b/GuestBook/common/Code/XML.js @@ -0,0 +1,15 @@ +/************************************* +* XML Syntax Definition +*************************************/ +FCSyntaxDef ["XML"] = { + name : "XML", + delimiters : "!=\"", + blocks : { + BlockComment : { + name : "��ע��", + color : "#008080", + begin : "", + lines : true + }, + BlockText : { diff --git a/GuestBook/common/Code/code.htm b/GuestBook/common/Code/code.htm new file mode 100644 index 0000000..4831e2f --- /dev/null +++ b/GuestBook/common/Code/code.htm @@ -0,0 +1,15 @@ + + + +����JS�� + + + + + + + + + + +
+


+

+ + diff --git a/GuestBook/common/UPFiles.ascx.cs b/GuestBook/common/UPFiles.ascx.cs new file mode 100644 index 0000000..dd9a09d --- /dev/null +++ b/GuestBook/common/UPFiles.ascx.cs @@ -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 common_UPFiles : System.Web.UI.UserControl +{ + ///

+ /// UpLoad 的摘要说明。 diff --git a/GuestBook/common/common.js b/GuestBook/common/common.js new file mode 100644 index 0000000..425886f --- /dev/null +++ b/GuestBook/common/common.js @@ -0,0 +1,15 @@ +//PBlog2 公用JS代码 +//Author:PuterJam + +//查找网页内宽度太大的图片进行缩放以及PNG纠正 + function ReImgSize(){ + for (i=0;i500) + { + document.images[i].width="500" + document.images[i].outerHTML=''+document.images[i].outerHTML+'' + } + } + else{ diff --git a/GuestBook/common/control.css b/GuestBook/common/control.css new file mode 100644 index 0000000..7bbd3f7 --- /dev/null +++ b/GuestBook/common/control.css @@ -0,0 +1,15 @@ +body{ + margin:0px; +} +a:link,a:visited{ + text-decoration:none; + color:#006 +} +a:hover{ + text-decoration:underline; + color:#0033CC +} +.headbody{ + background:url('../images/Control/HeadBack.jpg') +} +.headmain{ diff --git a/GuestBook/common/control.js b/GuestBook/common/control.js new file mode 100644 index 0000000..93513ac --- /dev/null +++ b/GuestBook/common/control.js @@ -0,0 +1,15 @@ +//========================================== +// JS For PJBlog2 Background Control +// By PuterJam 2006-6-10 +//========================================== + + function CheckMove(){ + if (document.forms[0].source.value=="null") { + alert("请选择日志分类源") + document.forms[0].source.focus() + return false + } + if (document.forms[0].target.value=="null") { + alert("请选择需要移动到的目标日志分类") + document.forms[0].target.focus() + return false diff --git a/GuestBook/common/nicetitle.js b/GuestBook/common/nicetitle.js new file mode 100644 index 0000000..7dffa8b --- /dev/null +++ b/GuestBook/common/nicetitle.js @@ -0,0 +1,15 @@ +addEvent(window, "load", makeNiceTitles); + +var XHTMLNS = "http://www.w3.org/1999/xhtml"; +var CURRENT_NICE_TITLE; +var browser = new Browser(); + +function makeNiceTitles() { + if (!document.createElement || !document.getElementsByTagName) return; + // add namespace methods to HTML DOM; this makes the script work in both + // HTML and XML contexts. + if(!document.createElementNS) + { + document.createElementNS = function(ns,elt) { + return document.createElement(elt); + } diff --git a/GuestBook/guestbook.aspx b/GuestBook/guestbook.aspx new file mode 100644 index 0000000..1ac206b --- /dev/null +++ b/GuestBook/guestbook.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" EnableEventValidation="false" CodeFile="guestbook.aspx.cs" Inherits="guestbook" Title="Untitled Page" %> +<%@ Register Src="common/MultiPage.ascx" TagName="MultiPage" TagPrefix="uc2" %> +<%@ Register Src="common/UBBconfigl.ascx" TagName="UBBconfigl" TagPrefix="uc1" %> + + +
+ +
+
+
    diff --git a/GuestBook/guestbook.aspx.cs b/GuestBook/guestbook.aspx.cs new file mode 100644 index 0000000..de9b81b --- /dev/null +++ b/GuestBook/guestbook.aspx.cs @@ -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 NMJU_NET.COMP; +using NMJU_NET.DB; + +public partial class guestbook : System.Web.UI.Page +{ diff --git a/GuestBook/skins/default/UBB/editor.css b/GuestBook/skins/default/UBB/editor.css new file mode 100644 index 0000000..c1a24f6 --- /dev/null +++ b/GuestBook/skins/default/UBB/editor.css @@ -0,0 +1,15 @@ +#editorbody{ + background-color: #EFEFDE; + border-width:1px; + border-style:solid; + border-color:#ffffff #9B8424 #9B8424 #ffffff; +} +#editorHead{ + padding:2px 6px 6px 6px; +} +.editorTools{ + +} + +.Toolsbar{ + background: url(bar.gif) no-repeat 2px 5px; diff --git a/GuestBook/skins/default/global.css b/GuestBook/skins/default/global.css new file mode 100644 index 0000000..cce5068 --- /dev/null +++ b/GuestBook/skins/default/global.css @@ -0,0 +1,13 @@ + body{ + font-size:12px; + margin:0px; + padding:0px; + text-align:center; + background:#785C36; + color:#574D31; + font-family: Verdana, Arial, Helvetica, sans-serif; +} + p{margin:3px;} + img {max-width: 100%;height: auto;} + select{font-family: Verdana, Arial} + th{background:#D5CBBE;border-bottom:1px solid #795B50} diff --git a/GuestBook/skins/default/layout.css b/GuestBook/skins/default/layout.css new file mode 100644 index 0000000..b9b0c74 --- /dev/null +++ b/GuestBook/skins/default/layout.css @@ -0,0 +1,15 @@ +/*---主体样式---*/ + #container{width:760px;margin:0 auto;padding:0;text-align:center;background:#F8F6E9 url('main.jpg');} + + /*---顶部样式---*/ + #container #header{height:109px;width:748px;margin:0 auto;background:#F8F6E9 url('topbar.png');} + #container #header #blogname{margin:0 auto;padding:10px 0px 15px 10px;font-size:20px;color:#FFFFFF;text-align:left;font-weight:bold;} + #container #header #blogname #blogTitle{font-size:13px;margin:3px 3px 3px 8px;height:16px} + #container #header #menu{height:28px;text-align:right;/*visibility:hidden;*/} + #container #header #menu #Left{width:0px;float:left;} + #container #header #menu #Right{width:0px;float:right;} + #container #header #menu ul{list-style:none;margin:0px 6px 0px 0px!important;margin:0px 3px 0px 0px;padding:0px;height:28px;float:right;} + #container #header #menu ul li{float:left;height:28px;} + .menuL{width:5px;background:#E3CE96 url(menu_left.png) no-repeat;padding:0px;} + .menuR{width:8px;background:#E3CE96 url(menu_right.png) no-repeat;padding:0px;} + .menuDiv{width:4px;background:#E3CE96 url(menu_div.png) no-repeat;padding:0px;}/*---菜单分割线---*/ diff --git a/GuestBook/skins/default/link.css b/GuestBook/skins/default/link.css new file mode 100644 index 0000000..55bfd23 --- /dev/null +++ b/GuestBook/skins/default/link.css @@ -0,0 +1,15 @@ +/*-----------超链接样式--------------- + 说明: 伪类:link :visited :hover分别代表超链接的通常、被访问后、和鼠标接触链接是的样式 + a标签代表通用超链接样式 + .menuA代表Blog导航条菜单的样式 + .titleA代表日志标题的样式 + .sideA代表侧栏的超链接样式 + .CategoryA代表树形分类的链接样式 + .more代表更多链接的样式 +------------------------------------*/ + a:link,a:visited{text-decoration:underline;color:#574D31;} + a:hover{color:#996600;} + .menuA:link,.menuA:visited{float:left;height:28px;text-align:center;padding:0px 4px 0px 4px;background:#E3CE96 url(menu_main.jpg) 0px 0px;text-decoration:none;color:#493107;line-height:210%;} + .menuA:hover{background:#E3CE96 url(menu_main.jpg) 0px -28px;color:#493107} + .titleA:link,.titleA:visited{text-decoration:none;font-weight:bold;font-family:verdana,宋体;text-align:left;color:#FFFFFF;} + .titleA:hover{color:#FFFFCC;text-decoration:underline;} diff --git a/GuestBook/skins/default/skin.xml b/GuestBook/skins/default/skin.xml new file mode 100644 index 0000000..965d44f --- /dev/null +++ b/GuestBook/skins/default/skin.xml @@ -0,0 +1,8 @@ + + + 默认皮肤 - 短导航条风格 + PuterJam + 2004-11-6 + http://puterjam.vipx.net + puterjam@etang.com + diff --git a/GuestBook/skins/default/typography.css b/GuestBook/skins/default/typography.css new file mode 100644 index 0000000..edc2038 --- /dev/null +++ b/GuestBook/skins/default/typography.css @@ -0,0 +1,15 @@ + /*---其他样式---*/ + .userpass{border:1px solid;border-color:#9E9234 #fff #fff #9E9234;font-size:12px;font-family: Verdana, Arial, Helvetica, sans-serif;} + .userpass:hover,.userpass:focus{border-color:#9E9234;background:#FFFFEE} + .inputBox{border:1px solid;border-color:#9E9234 #fff #fff #9E9234;font-size:12px;font-family: Verdana, Arial, Helvetica, sans-serif;} + .inputBox:hover,.inputBox:focus{border-color:#9E9234;background:#FFFFEE} + .userbutton{border:1px solid;border-color:#fff #9E9234 #9E9234 #fff;height:22px;padding:0px 5px 2px 5px !important;padding:3px 2px 0px 2px;background:#E3CE96 url(menu_main.jpg) 0px -30px;} + .LinkTable{margin:5px 10px 5px 0px;} + .commentTable{} + .high1{font-weight:bold;color:#f00;background:#ff0} + + /*日历样式*/ + #Calendar_Body{margin:5px 10px 5px 5px;font-family:arial;line-height:120%} + /*日历样式-顶部*/ + #Calendar_Body #Calendar_Top{padding:0px 2px 0px 2px;height:18px;text-align:center;font-weight:bold;} + /*日历样式-顶部按钮-左*/ diff --git a/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditor.cs b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditor.cs new file mode 100644 index 0000000..eb5a87c --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditor.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FCKeditor.cs + * This is the FCKeditor Asp.Net control. + * diff --git a/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditorConfigurations.cs b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditorConfigurations.cs new file mode 100644 index 0000000..74df7d8 --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditorConfigurations.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FCKeditorConfigurations.cs + * Class that holds all editor configurations. + * diff --git a/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditorDesigner.cs b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditorDesigner.cs new file mode 100644 index 0000000..8a80849 --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FCKeditorDesigner.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FCKeditorDesigner.cs + * The EditorDesigner class defines the editor visualization at design + * time. diff --git a/NMJU.UIControl/NMJU.UIControl/FCKEditor/FileBrowserConnector.cs b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FileBrowserConnector.cs new file mode 100644 index 0000000..46ca041 --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FileBrowserConnector.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FileBrowserConnector.cs + * This is the code behind of the connector.aspx page used by the + * File Browser. diff --git a/NMJU.UIControl/NMJU.UIControl/FCKEditor/FileWorkerBase.cs b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FileWorkerBase.cs new file mode 100644 index 0000000..8c390cf --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/FCKEditor/FileWorkerBase.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: FileWorkerBase.cs + * Base class used by the FileBrowserConnector and Uploader. + * diff --git a/NMJU.UIControl/NMJU.UIControl/FCKEditor/Uploader.cs b/NMJU.UIControl/NMJU.UIControl/FCKEditor/Uploader.cs new file mode 100644 index 0000000..3fe720e --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/FCKEditor/Uploader.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: Uploader.cs + * This is the code behind of the uploader.aspx page used for Quick Uploads. + * diff --git a/NMJU.UIControl/NMJU.UIControl/FCKEditor/Util.cs b/NMJU.UIControl/NMJU.UIControl/FCKEditor/Util.cs new file mode 100644 index 0000000..892a3e5 --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/FCKEditor/Util.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: Util.cs + * Useful tools. + * diff --git a/NMJU.UIControl/NMJU.UIControl/FCKEditor/XmlUtil.cs b/NMJU.UIControl/NMJU.UIControl/FCKEditor/XmlUtil.cs new file mode 100644 index 0000000..6404193 --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/FCKEditor/XmlUtil.cs @@ -0,0 +1,15 @@ +/* + * FCKeditor - The text editor for internet + * Copyright (C) 2003-2005 Frederico Caldeira Knabben + * + * Licensed under the terms of the GNU Lesser General Public License: + * http://www.opensource.org/licenses/lgpl-license.php + * + * For further information visit: + * http://www.fckeditor.net/ + * + * "Support Open Source software. What about a donation today?" + * + * File Name: XmlUtil.cs + * Useful tools for XML. + * diff --git a/NMJU.UIControl/NMJU.UIControl/NMJU.UIControl.csproj b/NMJU.UIControl/NMJU.UIControl/NMJU.UIControl.csproj new file mode 100644 index 0000000..1fdea2a --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/NMJU.UIControl.csproj @@ -0,0 +1,15 @@ + + + Debug + AnyCPU + 8.0.50727 + 2.0 + {676D9F2E-2947-4002-AE12-3F111AD5EA9C} + Library + Properties + NMJU.UIControl + NMJU.UIControl + + + true + full diff --git a/NMJU.UIControl/NMJU.UIControl/Properties/AssemblyInfo.cs b/NMJU.UIControl/NMJU.UIControl/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d11b08e --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的常规信息通过下列属性集 +// 控制。更改这些属性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("NMJU.UIControl")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("柠檬居技术网 http://www.nmju.org http://www.nmju.cn")] +[assembly: AssemblyProduct("NMJU.UIControl")] +[assembly: AssemblyCopyright("版权所有 (C) 柠檬居技术网 2007")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/NMJU.UIControl/NMJU.UIControl/SmartGridView/SmartGridView.cs b/NMJU.UIControl/NMJU.UIControl/SmartGridView/SmartGridView.cs new file mode 100644 index 0000000..6ba3a52 --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/SmartGridView/SmartGridView.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Text; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace NMJU.UIControl.SmartGridView +{ + [ToolboxData("<{0}:SmartGridView runat=server>"), + ParseChildren(true), + PersistChildren(false)] + public class SmartGridView : GridView + { diff --git a/NMJU.UIControl/NMJU.UIControl/obj/NMJU.UIControl.csproj.FileList.txt b/NMJU.UIControl/NMJU.UIControl/obj/NMJU.UIControl.csproj.FileList.txt new file mode 100644 index 0000000..39603b7 --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/obj/NMJU.UIControl.csproj.FileList.txt @@ -0,0 +1,5 @@ +bin\Debug\NMJU.UIControl.dll +bin\Debug\NMJU.UIControl.pdb +obj\Debug\ResolveAssemblyReference.cache +obj\Debug\NMJU.UIControl.dll +obj\Debug\NMJU.UIControl.pdb diff --git a/NMJU.UIControl/NMJU.UIControl/obj/NMJU.UIControl.csproj.FileListAbsolute.txt b/NMJU.UIControl/NMJU.UIControl/obj/NMJU.UIControl.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..583b5c6 --- /dev/null +++ b/NMJU.UIControl/NMJU.UIControl/obj/NMJU.UIControl.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +E:\downCode\NMJU_NET\NMJU.UIControl\NMJU.UIControl\bin\Debug\NMJU.UIControl.dll +E:\downCode\NMJU_NET\NMJU.UIControl\NMJU.UIControl\bin\Debug\NMJU.UIControl.pdb +E:\downCode\NMJU_NET\NMJU.UIControl\NMJU.UIControl\obj\Debug\ResolveAssemblyReference.cache +E:\downCode\NMJU_NET\NMJU.UIControl\NMJU.UIControl\obj\Debug\NMJU.UIControl.dll +E:\downCode\NMJU_NET\NMJU.UIControl\NMJU.UIControl\obj\Debug\NMJU.UIControl.pdb diff --git a/NMJU.UIControl/需要用到的Js/WebTools.js b/NMJU.UIControl/需要用到的Js/WebTools.js new file mode 100644 index 0000000..46ec56f --- /dev/null +++ b/NMJU.UIControl/需要用到的Js/WebTools.js @@ -0,0 +1,15 @@ +// JScript 文件 + + // 全选 +function selCheck() +{ + for (var i=0;i + +<%@ Register Assembly="NMJU.UIControl" Namespace="NMJU.UIControl.FCKeditorV2" TagPrefix="FCKeditorV2" %> +<%@ Register Src="common/MultiPage.ascx" TagName="MultiPage" TagPrefix="uc1" %> + + + + + + + + + +后台管理-内容 + diff --git a/Web/ConContent.aspx.cs b/Web/ConContent.aspx.cs new file mode 100644 index 0000000..f5eedfd --- /dev/null +++ b/Web/ConContent.aspx.cs @@ -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.Data.SqlClient; +using System.IO; +using NMJU_NET.COMP; +using NMJU_NET.DB; + diff --git a/Web/ConHead.aspx b/Web/ConHead.aspx new file mode 100644 index 0000000..07155bd --- /dev/null +++ b/Web/ConHead.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConHead.aspx.cs" Inherits="ConHead" %> + + + + + + + + + + + + +后台管理-顶部 + diff --git a/Web/ConHead.aspx.cs b/Web/ConHead.aspx.cs new file mode 100644 index 0000000..d27b915 --- /dev/null +++ b/Web/ConHead.aspx.cs @@ -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 ConHead : System.Web.UI.Page +{ + protected void Page_Load(object sender, EventArgs e) + { diff --git a/Web/ConMenu.aspx b/Web/ConMenu.aspx new file mode 100644 index 0000000..43f0013 --- /dev/null +++ b/Web/ConMenu.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConMenu.aspx.cs" Inherits="ConMenu" %> + + + + + + + + + + + + +后台管理-菜单 + + + + + + + + + + + +
    +


    +

    + + diff --git a/Web/common/UPFiles.ascx.cs b/Web/common/UPFiles.ascx.cs new file mode 100644 index 0000000..dd9a09d --- /dev/null +++ b/Web/common/UPFiles.ascx.cs @@ -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 common_UPFiles : System.Web.UI.UserControl +{ + ///

    + /// UpLoad 的摘要说明。 diff --git a/Web/common/common.js b/Web/common/common.js new file mode 100644 index 0000000..425886f --- /dev/null +++ b/Web/common/common.js @@ -0,0 +1,15 @@ +//PBlog2 公用JS代码 +//Author:PuterJam + +//查找网页内宽度太大的图片进行缩放以及PNG纠正 + function ReImgSize(){ + for (i=0;i500) + { + document.images[i].width="500" + document.images[i].outerHTML=''+document.images[i].outerHTML+'' + } + } + else{ diff --git a/Web/common/control.css b/Web/common/control.css new file mode 100644 index 0000000..7bbd3f7 --- /dev/null +++ b/Web/common/control.css @@ -0,0 +1,15 @@ +body{ + margin:0px; +} +a:link,a:visited{ + text-decoration:none; + color:#006 +} +a:hover{ + text-decoration:underline; + color:#0033CC +} +.headbody{ + background:url('../images/Control/HeadBack.jpg') +} +.headmain{ diff --git a/Web/common/control.js b/Web/common/control.js new file mode 100644 index 0000000..93513ac --- /dev/null +++ b/Web/common/control.js @@ -0,0 +1,15 @@ +//========================================== +// JS For PJBlog2 Background Control +// By PuterJam 2006-6-10 +//========================================== + + function CheckMove(){ + if (document.forms[0].source.value=="null") { + alert("请选择日志分类源") + document.forms[0].source.focus() + return false + } + if (document.forms[0].target.value=="null") { + alert("请选择需要移动到的目标日志分类") + document.forms[0].target.focus() + return false diff --git a/Web/common/nicetitle.js b/Web/common/nicetitle.js new file mode 100644 index 0000000..7dffa8b --- /dev/null +++ b/Web/common/nicetitle.js @@ -0,0 +1,15 @@ +addEvent(window, "load", makeNiceTitles); + +var XHTMLNS = "http://www.w3.org/1999/xhtml"; +var CURRENT_NICE_TITLE; +var browser = new Browser(); + +function makeNiceTitles() { + if (!document.createElement || !document.getElementsByTagName) return; + // add namespace methods to HTML DOM; this makes the script work in both + // HTML and XML contexts. + if(!document.createElementNS) + { + document.createElementNS = function(ns,elt) { + return document.createElement(elt); + } diff --git a/Web/control.aspx b/Web/control.aspx new file mode 100644 index 0000000..b40f9ee --- /dev/null +++ b/Web/control.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="control.aspx.cs" Inherits="control" %> + + + + + + 柠檬居IT技术网 -=- 后台管理 +