commit 9ad3251738bef1fe22d0159321575fcfa12ff31e Author: editor <@51Aspx.com> Date: Thu Oct 17 16:24:53 2024 +0800 初始化 diff --git a/51Aspx源码必读.txt b/51Aspx源码必读.txt new file mode 100644 index 0000000..223cf1c --- /dev/null +++ b/51Aspx源码必读.txt @@ -0,0 +1,44 @@ +FRIENDEV1.0开源社区系统BETA版源码 + +一、源码描述 +环境:VS2022 sql2019 + +二、功能介绍 +FrienDev是一个开源的社交网络,包含个人资料管理、隐私设置、好友、短消息、系统消息、好友动态等核心功能,另外还有俱乐部和活动两个应用程序作为示例。 +同时FrienDev的应用程序开发接口也是开放的,允许第三方遵循接口开发自己的应用程序,享受核心系统提供的功能支持。 + +DB_51Aspx下为Sql数据库文件,附加即可 + +由于FrienDev是和Live ID集成登录的,所以当从Live ID登录成功后,将会自动跳转到http://localhost:10010地址。如果希望使用其他端口号或者使用其他域名、IP地址访问网站,需要使用Microsoft Azure服务。 + +详细配置请参照《FrienDev部署说明.doc》 + +三、注意事项 +1、在项目web.config修改数据库连接字符串,附加数据库。 +2、ctrl+F5运行即可。 + + + + + + +作者: heaven + +如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/FrienDev +------------------------------------------------------------------------------------------------ + + 源码服务专家 + 官网: 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/Api/.vs/Api.csproj.dtbcache.json b/Api/.vs/Api.csproj.dtbcache.json new file mode 100644 index 0000000..6c12802 --- /dev/null +++ b/Api/.vs/Api.csproj.dtbcache.json @@ -0,0 +1 @@ +{"RootPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\Api","ProjectFileName":"Api.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"FrienDevAppPool.cs"},{"SourceFile":"IApiHelper.cs"},{"SourceFile":"FrienDevApplication.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"}],"References":[{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\Api\\bin\\Debug\\FrienDev.Api.dll","OutputItemRelativePath":"FrienDev.Api.dll"},{"OutputItemFullPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\Api\\bin\\Debug\\FrienDev.Api.pdb","OutputItemRelativePath":"FrienDev.Api.pdb"}],"CopyToOutputEntries":[]} diff --git a/Api/Api.csproj b/Api/Api.csproj new file mode 100644 index 0000000..f45bb65 --- /dev/null +++ b/Api/Api.csproj @@ -0,0 +1,15 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {4A1325C1-FBF8-4479-A891-6851D3E6F897} + Library + Properties + FrienDev.Api + FrienDev.Api + v3.5 + 512 + diff --git a/Api/FrienDevAppPool.cs b/Api/FrienDevAppPool.cs new file mode 100644 index 0000000..096dff0 --- /dev/null +++ b/Api/FrienDevAppPool.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Reflection; +using System.Linq; +using System.Text; +using System.Runtime.Remoting; +using FrienDev.Api; +//该源码下载自www.51aspx.com(51aspx.com) + +namespace FrienDev.Api +{ + public class FrienDevAppPool + { + public static FrienDevAppPool Instance = new FrienDevAppPool(); + diff --git a/Api/FrienDevApplication.cs b/Api/FrienDevApplication.cs new file mode 100644 index 0000000..1f7778a --- /dev/null +++ b/Api/FrienDevApplication.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.Api +{ + public abstract class FrienDevApplication + { + public FrienDevApplication() + { + } + + public abstract string GetTrackText(int type, string[] parameters); + } diff --git a/Api/IApiHelper.cs b/Api/IApiHelper.cs new file mode 100644 index 0000000..29ef53f --- /dev/null +++ b/Api/IApiHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.Api +{ + public interface IApiHelper + { + void AddTrack(string userId, Type source, int type, string[] parameters); + void GetOnlineUser(); + void GetUserData(string userId); + string GetUserHomepageLink(string userId); + void SendMail(string to, string subject, string body, bool isBodyHtml); + void SendMessage(); diff --git a/Api/Properties/AssemblyInfo.cs b/Api/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9871b84 --- /dev/null +++ b/Api/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Api")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Api")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/Api/obj/Debug/Api.csproj.FileListAbsolute.txt b/Api/obj/Debug/Api.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..5f1a777 --- /dev/null +++ b/Api/obj/Debug/Api.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +C:\workspace\myMSDN\FrienDev\Api\bin\Debug\FrienDev.Api.dll +C:\workspace\myMSDN\FrienDev\Api\bin\Debug\FrienDev.Api.pdb +C:\workspace\myMSDN\FrienDev\Api\obj\Debug\ResolveAssemblyReference.cache +C:\workspace\myMSDN\FrienDev\Api\obj\Debug\FrienDev.Api.dll +C:\workspace\myMSDN\FrienDev\Api\obj\Debug\FrienDev.Api.pdb +E:\downcode\FrienDev\Api\bin\Debug\FrienDev.Api.dll +E:\downcode\FrienDev\Api\bin\Debug\FrienDev.Api.pdb +E:\downcode\FrienDev\Api\obj\Debug\ResolveAssemblyReference.cache +E:\downcode\FrienDev\Api\obj\Debug\FrienDev.Api.dll +E:\downcode\FrienDev\Api\obj\Debug\FrienDev.Api.pdb +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\Api\bin\Debug\FrienDev.Api.dll +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\Api\bin\Debug\FrienDev.Api.pdb +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\Api\obj\Debug\Api.csproj.AssemblyReference.cache +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\Api\obj\Debug\Api.csproj.CoreCompileInputs.cache +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\Api\obj\Debug\FrienDev.Api.dll diff --git a/Backup/Api/Api.csproj b/Backup/Api/Api.csproj new file mode 100644 index 0000000..a0cc6b6 --- /dev/null +++ b/Backup/Api/Api.csproj @@ -0,0 +1,15 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {4A1325C1-FBF8-4479-A891-6851D3E6F897} + Library + Properties + FrienDev.Api + FrienDev.Api + v3.5 + 512 + diff --git a/Backup/Api/FrienDevAppPool.cs b/Backup/Api/FrienDevAppPool.cs new file mode 100644 index 0000000..096dff0 --- /dev/null +++ b/Backup/Api/FrienDevAppPool.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Reflection; +using System.Linq; +using System.Text; +using System.Runtime.Remoting; +using FrienDev.Api; +//该源码下载自www.51aspx.com(51aspx.com) + +namespace FrienDev.Api +{ + public class FrienDevAppPool + { + public static FrienDevAppPool Instance = new FrienDevAppPool(); + diff --git a/Backup/Api/FrienDevApplication.cs b/Backup/Api/FrienDevApplication.cs new file mode 100644 index 0000000..1f7778a --- /dev/null +++ b/Backup/Api/FrienDevApplication.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.Api +{ + public abstract class FrienDevApplication + { + public FrienDevApplication() + { + } + + public abstract string GetTrackText(int type, string[] parameters); + } diff --git a/Backup/Api/IApiHelper.cs b/Backup/Api/IApiHelper.cs new file mode 100644 index 0000000..29ef53f --- /dev/null +++ b/Backup/Api/IApiHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.Api +{ + public interface IApiHelper + { + void AddTrack(string userId, Type source, int type, string[] parameters); + void GetOnlineUser(); + void GetUserData(string userId); + string GetUserHomepageLink(string userId); + void SendMail(string to, string subject, string body, bool isBodyHtml); + void SendMessage(); diff --git a/Backup/Api/Properties/AssemblyInfo.cs b/Backup/Api/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9871b84 --- /dev/null +++ b/Backup/Api/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Api")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Api")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/Backup/BusinessRules/ActivityRules.cs b/Backup/BusinessRules/ActivityRules.cs new file mode 100644 index 0000000..81630fe --- /dev/null +++ b/Backup/BusinessRules/ActivityRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; +using FrienDev.SystemApps; + +namespace FrienDev.BusinessRules +{ + public class ActivityRules + { + public static ActivityRules Instance + { + get + { diff --git a/Backup/BusinessRules/ApiHelper.cs b/Backup/BusinessRules/ApiHelper.cs new file mode 100644 index 0000000..dc8d7e1 --- /dev/null +++ b/Backup/BusinessRules/ApiHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Api; +using System.Net.Mail; +using FrienDev.Data; +using System.Data.Linq; +using System.Web; +using System.IO; + +namespace FrienDev.BusinessRules +{ + public class ApiHelper : IApiHelper + { diff --git a/Backup/BusinessRules/ApplicationRules.cs b/Backup/BusinessRules/ApplicationRules.cs new file mode 100644 index 0000000..acc2c0f --- /dev/null +++ b/Backup/BusinessRules/ApplicationRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class ApplicationRules + { + public static ApplicationRules Instance = new ApplicationRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + private ApplicationRules() diff --git a/Backup/BusinessRules/ApplicationSettings.cs b/Backup/BusinessRules/ApplicationSettings.cs new file mode 100644 index 0000000..a29a87a --- /dev/null +++ b/Backup/BusinessRules/ApplicationSettings.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using WindowsLive; + +namespace FrienDev.BusinessRules +{ + public class ApplicationSettings + { + public const string SESSIONUSERIDKEY = "UserId"; + + public const string PUBLICFOLDERNAME = "Public"; + public const string PUBLICDEFAULTFILENAME = "/Default.aspx"; + diff --git a/Backup/BusinessRules/AuthenticationModule.cs b/Backup/BusinessRules/AuthenticationModule.cs new file mode 100644 index 0000000..127b7e4 --- /dev/null +++ b/Backup/BusinessRules/AuthenticationModule.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Web.Configuration; +using System.Web; +//该源码下载自www.51aspx.com(51aspx.com) + +namespace FrienDev.BusinessRules +{ + /// + /// 页面访问验证模块 + /// + public class AuthenticationModule : IHttpModule + { diff --git a/Backup/BusinessRules/BusinessRules.csproj b/Backup/BusinessRules/BusinessRules.csproj new file mode 100644 index 0000000..c58a0c7 --- /dev/null +++ b/Backup/BusinessRules/BusinessRules.csproj @@ -0,0 +1,15 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {1213716A-5493-4C31-9518-82D6BA64EEBA} + Library + Properties + FrienDev.BusinessRules + FrienDev.BusinessRules + v3.5 + 512 + diff --git a/Backup/BusinessRules/ClubRules.cs b/Backup/BusinessRules/ClubRules.cs new file mode 100644 index 0000000..232e9ab --- /dev/null +++ b/Backup/BusinessRules/ClubRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; +using FrienDev.SystemApps; +using System.Web.UI.WebControls; +using System.Data; + +namespace FrienDev.BusinessRules +{ + public class ClubRules + { + public const int m_1LevelMemberTypeId = 1;//主席 + public const int m_2LevelMemberTypeId = 2;//官员 diff --git a/Backup/BusinessRules/ConvertHzToPz_Gb2312.cs b/Backup/BusinessRules/ConvertHzToPz_Gb2312.cs new file mode 100644 index 0000000..177deae --- /dev/null +++ b/Backup/BusinessRules/ConvertHzToPz_Gb2312.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.BusinessRules +{ + public class ConvertHzToPz_Gb2312 + { + public ConvertHzToPz_Gb2312() + { + // + // TODO: Add constructor logic here + // + } diff --git a/Backup/BusinessRules/DictionaryRules.cs b/Backup/BusinessRules/DictionaryRules.cs new file mode 100644 index 0000000..8a4a9d2 --- /dev/null +++ b/Backup/BusinessRules/DictionaryRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class DictionaryRules + { + public static DictionaryRules Instance = new DictionaryRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + private DictionaryRules() diff --git a/Backup/BusinessRules/FeedBackRules.cs b/Backup/BusinessRules/FeedBackRules.cs new file mode 100644 index 0000000..d56e8f0 --- /dev/null +++ b/Backup/BusinessRules/FeedBackRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class FeedBackRules + { + private static FeedBackRules _instance; + + public static FeedBackRules Instance + { + get diff --git a/Backup/BusinessRules/FriendRules.cs b/Backup/BusinessRules/FriendRules.cs new file mode 100644 index 0000000..a85c2c8 --- /dev/null +++ b/Backup/BusinessRules/FriendRules.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; +using System.Data.Linq; +using System.Linq; +using FrienDev.Data; +using FrienDev.SystemApps; + +namespace FrienDev.BusinessRules +{ + public class FriendRules + { + public static FriendRules Instance = new FriendRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + private FriendRules() diff --git a/Backup/BusinessRules/HtmlHelper.cs b/Backup/BusinessRules/HtmlHelper.cs new file mode 100644 index 0000000..72f2f41 --- /dev/null +++ b/Backup/BusinessRules/HtmlHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.BusinessRules +{ + public class HtmlHelper + { + #region 截取指定长度的字符串 + public static string InterceptSubString(string StringObject, int MaxLength, bool IsAddMore) + { + if (StringObject == null) + { + StringObject = string.Empty; diff --git a/Backup/BusinessRules/ISystemMessageControl.cs b/Backup/BusinessRules/ISystemMessageControl.cs new file mode 100644 index 0000000..e434123 --- /dev/null +++ b/Backup/BusinessRules/ISystemMessageControl.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.BusinessRules +{ + public interface ISystemMessageControl + { + /// + /// 获取参数的方法 + /// + /// + void Initialize(int messageId,string[] parameters); + diff --git a/Backup/BusinessRules/MessageRules.cs b/Backup/BusinessRules/MessageRules.cs new file mode 100644 index 0000000..f75f221 --- /dev/null +++ b/Backup/BusinessRules/MessageRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Data; +using System.Data.SqlClient; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class MessageRules + { + public static MessageRules Instance = new MessageRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; diff --git a/Backup/BusinessRules/OnlineRules.cs b/Backup/BusinessRules/OnlineRules.cs new file mode 100644 index 0000000..b228d7c --- /dev/null +++ b/Backup/BusinessRules/OnlineRules.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; +using System.Web; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class OnlineRules + { + public static OnlineRules Instance = new OnlineRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + /// + /// 在线用户的UserId集合,使用效率最高的HashSet<> + /// diff --git a/Backup/BusinessRules/PhotoRules.cs b/Backup/BusinessRules/PhotoRules.cs new file mode 100644 index 0000000..41e76f9 --- /dev/null +++ b/Backup/BusinessRules/PhotoRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; +using System.IO; +using System.Data; + +namespace FrienDev.BusinessRules +{ + public class PhotoRules + { + private static PhotoRules _instance; + + public static PhotoRules Instance diff --git a/Backup/BusinessRules/Properties/AssemblyInfo.cs b/Backup/BusinessRules/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..54e71b0 --- /dev/null +++ b/Backup/BusinessRules/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("BusinessRules")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("BusinessRules")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/Backup/BusinessRules/StrToPinyin.cs b/Backup/BusinessRules/StrToPinyin.cs new file mode 100644 index 0000000..e57330c --- /dev/null +++ b/Backup/BusinessRules/StrToPinyin.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.BusinessRules +{ + public class StrToPinyin + { + public StrToPinyin() + { } + private static string[] strChineseCharList = + { +#region + diff --git a/Backup/BusinessRules/SystemHelper.cs b/Backup/BusinessRules/SystemHelper.cs new file mode 100644 index 0000000..5929da8 --- /dev/null +++ b/Backup/BusinessRules/SystemHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Api; +using System.Web; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class SystemHelper + { + public static SystemHelper Instance = new SystemHelper(); + + private SystemHelper() diff --git a/Backup/BusinessRules/ThumbnailHelper/ImageCropHelper.cs b/Backup/BusinessRules/ThumbnailHelper/ImageCropHelper.cs new file mode 100644 index 0000000..7252935 --- /dev/null +++ b/Backup/BusinessRules/ThumbnailHelper/ImageCropHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Drawing; +using System.Drawing.Drawing2D; +using System.Drawing.Imaging; +using System.IO; + +namespace FrienDev.BusinessRules.ThumbnailHelper +{ + + public class ImageCropHelp + { + /**//// 〈summary> diff --git a/Backup/BusinessRules/ThumbnailHelper/ImageDefinition.cs b/Backup/BusinessRules/ThumbnailHelper/ImageDefinition.cs new file mode 100644 index 0000000..5b07274 --- /dev/null +++ b/Backup/BusinessRules/ThumbnailHelper/ImageDefinition.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Collections; +using System.Drawing.Imaging; + +namespace FrienDev.BusinessRules.ThumbnailHelper +{ + internal class ImageDefinition + { + public static string[] SupperFileTypes = { ".jpe", ".jpeg", ".jpg", ".png", ".bmp", ".gif", }; + + public static Hashtable SupperImageFormatHashtable; + + static ImageDefinition() diff --git a/Backup/BusinessRules/ThumbnailHelper/ImageExtensionHelper.cs b/Backup/BusinessRules/ThumbnailHelper/ImageExtensionHelper.cs new file mode 100644 index 0000000..5f88b38 --- /dev/null +++ b/Backup/BusinessRules/ThumbnailHelper/ImageExtensionHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.IO; +using System.Drawing.Imaging; + +namespace FrienDev.BusinessRules.ThumbnailHelper +{ + internal class ImageExtensionHelper + { + #region Public Methods + /// + /// �����ļ����ж��ļ����ͣ������ļ���չ�� + /// + /// �ļ��� diff --git a/Backup/BusinessRules/ThumbnailHelper/ThumbnailGenerater.cs b/Backup/BusinessRules/ThumbnailHelper/ThumbnailGenerater.cs new file mode 100644 index 0000000..745833f --- /dev/null +++ b/Backup/BusinessRules/ThumbnailHelper/ThumbnailGenerater.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Collections; +using System.Drawing; +using System.Drawing.Imaging; +using System.IO; + +namespace FrienDev.BusinessRules.ThumbnailHelper +{ + + public class ThumbnailGenerater + { + #region Public Method + diff --git a/Backup/BusinessRules/TrackRules.cs b/Backup/BusinessRules/TrackRules.cs new file mode 100644 index 0000000..54bdc75 --- /dev/null +++ b/Backup/BusinessRules/TrackRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Runtime.Remoting; +using FrienDev.Api; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class TrackRules + { + public static TrackRules Instance = new TrackRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; diff --git a/Backup/BusinessRules/UserRules.cs b/Backup/BusinessRules/UserRules.cs new file mode 100644 index 0000000..d003c7c --- /dev/null +++ b/Backup/BusinessRules/UserRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Data.Linq; +using System.Linq; +using System.Web; +using FrienDev.Data; +using WindowsLive; +using FrienDev.SystemApps; +//该源码下载自www.51aspx.com(51aspx.com) + +namespace FrienDev.BusinessRules +{ + public class UserRules + { + private static UserRules _instance; diff --git a/Backup/BusinessRules/VisitorRules.cs b/Backup/BusinessRules/VisitorRules.cs new file mode 100644 index 0000000..830994b --- /dev/null +++ b/Backup/BusinessRules/VisitorRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class VisitorRules + { + public static VisitorRules Instance = new VisitorRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + private VisitorRules() diff --git a/Backup/BusinessRules/WindowsLiveLogin.cs b/Backup/BusinessRules/WindowsLiveLogin.cs new file mode 100644 index 0000000..c3ae6de --- /dev/null +++ b/Backup/BusinessRules/WindowsLiveLogin.cs @@ -0,0 +1,15 @@ +/* + * FILE: WindowsLiveLogin.cs + * + * DESCRIPTION: Sample implementation of Web Authentication and Delegated + * Authentication protocol in C#. Also includes trusted + * sign-in and application verification sample + * implementations. + * + * VERSION: 1.1 + * + * Copyright (c) 2008 Microsoft Corporation. All Rights Reserved. + */ + +using System; +using System.Collections.Generic; diff --git a/Backup/Data/Data.csproj b/Backup/Data/Data.csproj new file mode 100644 index 0000000..b1200cf --- /dev/null +++ b/Backup/Data/Data.csproj @@ -0,0 +1,15 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {3FB47393-D50B-40E6-8C39-624EB2D4199E} + Library + Properties + FrienDev.Data + FrienDev.Data + v3.5 + 512 + diff --git a/Backup/Data/Friend.cs b/Backup/Data/Friend.cs new file mode 100644 index 0000000..e13d940 --- /dev/null +++ b/Backup/Data/Friend.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.Data +{ + public partial class Friend + { + public User FriendUser + { + get + { + return User1; + } diff --git a/Backup/Data/MyMsdn.designer.cs b/Backup/Data/MyMsdn.designer.cs new file mode 100644 index 0000000..24670c5 --- /dev/null +++ b/Backup/Data/MyMsdn.designer.cs @@ -0,0 +1,15 @@ +#pragma warning disable 1591 +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.3053 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace FrienDev.Data +{ + using System.Data.Linq; + using System.Data.Linq.Mapping; diff --git a/Backup/Data/MyMsdnDataContext.cs b/Backup/Data/MyMsdnDataContext.cs new file mode 100644 index 0000000..864fff1 --- /dev/null +++ b/Backup/Data/MyMsdnDataContext.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.Data +{ + public partial class FrienDevDataContext + { + public static FrienDevDataContext Instance + { + get + { + if (_instance == null) + { diff --git a/Backup/Data/Properties/AssemblyInfo.cs b/Backup/Data/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..083fb92 --- /dev/null +++ b/Backup/Data/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Data")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Data")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/Backup/Data/Properties/Settings.Designer.cs b/Backup/Data/Properties/Settings.Designer.cs new file mode 100644 index 0000000..80a36f1 --- /dev/null +++ b/Backup/Data/Properties/Settings.Designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:2.0.50727.3053 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace FrienDev.Data.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] diff --git a/Backup/Data/User.cs b/Backup/Data/User.cs new file mode 100644 index 0000000..e50f83c --- /dev/null +++ b/Backup/Data/User.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Data.Linq; + +namespace FrienDev.Data +{ + public partial class User + { + public EntitySet Receivers + { + get + { + return Messages; diff --git a/Backup/Data/app.config b/Backup/Data/app.config new file mode 100644 index 0000000..2d41ba6 --- /dev/null +++ b/Backup/Data/app.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/BusinessRules/.vs/BusinessRules.csproj.dtbcache.json b/BusinessRules/.vs/BusinessRules.csproj.dtbcache.json new file mode 100644 index 0000000..ff22f85 --- /dev/null +++ b/BusinessRules/.vs/BusinessRules.csproj.dtbcache.json @@ -0,0 +1 @@ +{"RootPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\BusinessRules","ProjectFileName":"BusinessRules.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"ActivityRules.cs"},{"SourceFile":"ApiHelper.cs"},{"SourceFile":"ApplicationRules.cs"},{"SourceFile":"ApplicationSettings.cs"},{"SourceFile":"ClubRules.cs"},{"SourceFile":"ConvertHzToPz_Gb2312.cs"},{"SourceFile":"DictionaryRules.cs"},{"SourceFile":"FeedBackRules.cs"},{"SourceFile":"HtmlHelper.cs"},{"SourceFile":"ISystemMessageControl.cs"},{"SourceFile":"AuthenticationModule.cs"},{"SourceFile":"FriendRules.cs"},{"SourceFile":"MessageRules.cs"},{"SourceFile":"OnlineRules.cs"},{"SourceFile":"PhotoRules.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"StrToPinyin.cs"},{"SourceFile":"SystemHelper.cs"},{"SourceFile":"ThumbnailHelper\\ImageCropHelper.cs"},{"SourceFile":"ThumbnailHelper\\ImageDefinition.cs"},{"SourceFile":"ThumbnailHelper\\ImageExtensionHelper.cs"},{"SourceFile":"ThumbnailHelper\\ThumbnailGenerater.cs"},{"SourceFile":"TrackRules.cs"},{"SourceFile":"UserRules.cs"},{"SourceFile":"VisitorRules.cs"},{"SourceFile":"WindowsLiveLogin.cs"}],"References":[{"Reference":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\Api\\bin\\Debug\\FrienDev.Api.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":""},{"Reference":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\Data\\bin\\Debug\\FrienDev.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Data.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\BusinessRules\\bin\\Debug\\FrienDev.BusinessRules.dll","OutputItemRelativePath":"FrienDev.BusinessRules.dll"},{"OutputItemFullPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\BusinessRules\\bin\\Debug\\FrienDev.BusinessRules.pdb","OutputItemRelativePath":"FrienDev.BusinessRules.pdb"}],"CopyToOutputEntries":[]} diff --git a/BusinessRules/ActivityRules.cs b/BusinessRules/ActivityRules.cs new file mode 100644 index 0000000..81630fe --- /dev/null +++ b/BusinessRules/ActivityRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; +using FrienDev.SystemApps; + +namespace FrienDev.BusinessRules +{ + public class ActivityRules + { + public static ActivityRules Instance + { + get + { diff --git a/BusinessRules/ApiHelper.cs b/BusinessRules/ApiHelper.cs new file mode 100644 index 0000000..dc8d7e1 --- /dev/null +++ b/BusinessRules/ApiHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Api; +using System.Net.Mail; +using FrienDev.Data; +using System.Data.Linq; +using System.Web; +using System.IO; + +namespace FrienDev.BusinessRules +{ + public class ApiHelper : IApiHelper + { diff --git a/BusinessRules/ApplicationRules.cs b/BusinessRules/ApplicationRules.cs new file mode 100644 index 0000000..acc2c0f --- /dev/null +++ b/BusinessRules/ApplicationRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class ApplicationRules + { + public static ApplicationRules Instance = new ApplicationRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + private ApplicationRules() diff --git a/BusinessRules/ApplicationSettings.cs b/BusinessRules/ApplicationSettings.cs new file mode 100644 index 0000000..a29a87a --- /dev/null +++ b/BusinessRules/ApplicationSettings.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using WindowsLive; + +namespace FrienDev.BusinessRules +{ + public class ApplicationSettings + { + public const string SESSIONUSERIDKEY = "UserId"; + + public const string PUBLICFOLDERNAME = "Public"; + public const string PUBLICDEFAULTFILENAME = "/Default.aspx"; + diff --git a/BusinessRules/AuthenticationModule.cs b/BusinessRules/AuthenticationModule.cs new file mode 100644 index 0000000..127b7e4 --- /dev/null +++ b/BusinessRules/AuthenticationModule.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Web.Configuration; +using System.Web; +//该源码下载自www.51aspx.com(51aspx.com) + +namespace FrienDev.BusinessRules +{ + /// + /// 页面访问验证模块 + /// + public class AuthenticationModule : IHttpModule + { diff --git a/BusinessRules/BusinessRules.csproj b/BusinessRules/BusinessRules.csproj new file mode 100644 index 0000000..b623448 --- /dev/null +++ b/BusinessRules/BusinessRules.csproj @@ -0,0 +1,15 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {1213716A-5493-4C31-9518-82D6BA64EEBA} + Library + Properties + FrienDev.BusinessRules + FrienDev.BusinessRules + v3.5 + 512 + diff --git a/BusinessRules/ClubRules.cs b/BusinessRules/ClubRules.cs new file mode 100644 index 0000000..232e9ab --- /dev/null +++ b/BusinessRules/ClubRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; +using FrienDev.SystemApps; +using System.Web.UI.WebControls; +using System.Data; + +namespace FrienDev.BusinessRules +{ + public class ClubRules + { + public const int m_1LevelMemberTypeId = 1;//主席 + public const int m_2LevelMemberTypeId = 2;//官员 diff --git a/BusinessRules/ConvertHzToPz_Gb2312.cs b/BusinessRules/ConvertHzToPz_Gb2312.cs new file mode 100644 index 0000000..177deae --- /dev/null +++ b/BusinessRules/ConvertHzToPz_Gb2312.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.BusinessRules +{ + public class ConvertHzToPz_Gb2312 + { + public ConvertHzToPz_Gb2312() + { + // + // TODO: Add constructor logic here + // + } diff --git a/BusinessRules/DictionaryRules.cs b/BusinessRules/DictionaryRules.cs new file mode 100644 index 0000000..8a4a9d2 --- /dev/null +++ b/BusinessRules/DictionaryRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class DictionaryRules + { + public static DictionaryRules Instance = new DictionaryRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + private DictionaryRules() diff --git a/BusinessRules/FeedBackRules.cs b/BusinessRules/FeedBackRules.cs new file mode 100644 index 0000000..d56e8f0 --- /dev/null +++ b/BusinessRules/FeedBackRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class FeedBackRules + { + private static FeedBackRules _instance; + + public static FeedBackRules Instance + { + get diff --git a/BusinessRules/FriendRules.cs b/BusinessRules/FriendRules.cs new file mode 100644 index 0000000..a85c2c8 --- /dev/null +++ b/BusinessRules/FriendRules.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; +using System.Data.Linq; +using System.Linq; +using FrienDev.Data; +using FrienDev.SystemApps; + +namespace FrienDev.BusinessRules +{ + public class FriendRules + { + public static FriendRules Instance = new FriendRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + private FriendRules() diff --git a/BusinessRules/HtmlHelper.cs b/BusinessRules/HtmlHelper.cs new file mode 100644 index 0000000..72f2f41 --- /dev/null +++ b/BusinessRules/HtmlHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.BusinessRules +{ + public class HtmlHelper + { + #region 截取指定长度的字符串 + public static string InterceptSubString(string StringObject, int MaxLength, bool IsAddMore) + { + if (StringObject == null) + { + StringObject = string.Empty; diff --git a/BusinessRules/ISystemMessageControl.cs b/BusinessRules/ISystemMessageControl.cs new file mode 100644 index 0000000..e434123 --- /dev/null +++ b/BusinessRules/ISystemMessageControl.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.BusinessRules +{ + public interface ISystemMessageControl + { + /// + /// 获取参数的方法 + /// + /// + void Initialize(int messageId,string[] parameters); + diff --git a/BusinessRules/MessageRules.cs b/BusinessRules/MessageRules.cs new file mode 100644 index 0000000..f75f221 --- /dev/null +++ b/BusinessRules/MessageRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Data; +using System.Data.SqlClient; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class MessageRules + { + public static MessageRules Instance = new MessageRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; diff --git a/BusinessRules/OnlineRules.cs b/BusinessRules/OnlineRules.cs new file mode 100644 index 0000000..b228d7c --- /dev/null +++ b/BusinessRules/OnlineRules.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; +using System.Web; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class OnlineRules + { + public static OnlineRules Instance = new OnlineRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + /// + /// 在线用户的UserId集合,使用效率最高的HashSet<> + /// diff --git a/BusinessRules/PhotoRules.cs b/BusinessRules/PhotoRules.cs new file mode 100644 index 0000000..41e76f9 --- /dev/null +++ b/BusinessRules/PhotoRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; +using System.IO; +using System.Data; + +namespace FrienDev.BusinessRules +{ + public class PhotoRules + { + private static PhotoRules _instance; + + public static PhotoRules Instance diff --git a/BusinessRules/Properties/AssemblyInfo.cs b/BusinessRules/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..54e71b0 --- /dev/null +++ b/BusinessRules/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("BusinessRules")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("BusinessRules")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/BusinessRules/StrToPinyin.cs b/BusinessRules/StrToPinyin.cs new file mode 100644 index 0000000..e57330c --- /dev/null +++ b/BusinessRules/StrToPinyin.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.BusinessRules +{ + public class StrToPinyin + { + public StrToPinyin() + { } + private static string[] strChineseCharList = + { +#region + diff --git a/BusinessRules/SystemHelper.cs b/BusinessRules/SystemHelper.cs new file mode 100644 index 0000000..5929da8 --- /dev/null +++ b/BusinessRules/SystemHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Api; +using System.Web; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class SystemHelper + { + public static SystemHelper Instance = new SystemHelper(); + + private SystemHelper() diff --git a/BusinessRules/ThumbnailHelper/ImageCropHelper.cs b/BusinessRules/ThumbnailHelper/ImageCropHelper.cs new file mode 100644 index 0000000..7252935 --- /dev/null +++ b/BusinessRules/ThumbnailHelper/ImageCropHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Drawing; +using System.Drawing.Drawing2D; +using System.Drawing.Imaging; +using System.IO; + +namespace FrienDev.BusinessRules.ThumbnailHelper +{ + + public class ImageCropHelp + { + /**//// 〈summary> diff --git a/BusinessRules/ThumbnailHelper/ImageDefinition.cs b/BusinessRules/ThumbnailHelper/ImageDefinition.cs new file mode 100644 index 0000000..5b07274 --- /dev/null +++ b/BusinessRules/ThumbnailHelper/ImageDefinition.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Collections; +using System.Drawing.Imaging; + +namespace FrienDev.BusinessRules.ThumbnailHelper +{ + internal class ImageDefinition + { + public static string[] SupperFileTypes = { ".jpe", ".jpeg", ".jpg", ".png", ".bmp", ".gif", }; + + public static Hashtable SupperImageFormatHashtable; + + static ImageDefinition() diff --git a/BusinessRules/ThumbnailHelper/ImageExtensionHelper.cs b/BusinessRules/ThumbnailHelper/ImageExtensionHelper.cs new file mode 100644 index 0000000..5f88b38 --- /dev/null +++ b/BusinessRules/ThumbnailHelper/ImageExtensionHelper.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.IO; +using System.Drawing.Imaging; + +namespace FrienDev.BusinessRules.ThumbnailHelper +{ + internal class ImageExtensionHelper + { + #region Public Methods + /// + /// �����ļ����ж��ļ����ͣ������ļ���չ�� + /// + /// �ļ��� diff --git a/BusinessRules/ThumbnailHelper/ThumbnailGenerater.cs b/BusinessRules/ThumbnailHelper/ThumbnailGenerater.cs new file mode 100644 index 0000000..745833f --- /dev/null +++ b/BusinessRules/ThumbnailHelper/ThumbnailGenerater.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Collections; +using System.Drawing; +using System.Drawing.Imaging; +using System.IO; + +namespace FrienDev.BusinessRules.ThumbnailHelper +{ + + public class ThumbnailGenerater + { + #region Public Method + diff --git a/BusinessRules/TrackRules.cs b/BusinessRules/TrackRules.cs new file mode 100644 index 0000000..54bdc75 --- /dev/null +++ b/BusinessRules/TrackRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Runtime.Remoting; +using FrienDev.Api; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class TrackRules + { + public static TrackRules Instance = new TrackRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; diff --git a/BusinessRules/UserRules.cs b/BusinessRules/UserRules.cs new file mode 100644 index 0000000..d003c7c --- /dev/null +++ b/BusinessRules/UserRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Data.Linq; +using System.Linq; +using System.Web; +using FrienDev.Data; +using WindowsLive; +using FrienDev.SystemApps; +//该源码下载自www.51aspx.com(51aspx.com) + +namespace FrienDev.BusinessRules +{ + public class UserRules + { + private static UserRules _instance; diff --git a/BusinessRules/VisitorRules.cs b/BusinessRules/VisitorRules.cs new file mode 100644 index 0000000..830994b --- /dev/null +++ b/BusinessRules/VisitorRules.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using FrienDev.Data; + +namespace FrienDev.BusinessRules +{ + public class VisitorRules + { + public static VisitorRules Instance = new VisitorRules(); + + private FrienDevDataContext m_DataContext = FrienDevDataContext.Instance; + + private VisitorRules() diff --git a/BusinessRules/WindowsLiveLogin.cs b/BusinessRules/WindowsLiveLogin.cs new file mode 100644 index 0000000..c3ae6de --- /dev/null +++ b/BusinessRules/WindowsLiveLogin.cs @@ -0,0 +1,15 @@ +/* + * FILE: WindowsLiveLogin.cs + * + * DESCRIPTION: Sample implementation of Web Authentication and Delegated + * Authentication protocol in C#. Also includes trusted + * sign-in and application verification sample + * implementations. + * + * VERSION: 1.1 + * + * Copyright (c) 2008 Microsoft Corporation. All Rights Reserved. + */ + +using System; +using System.Collections.Generic; diff --git a/BusinessRules/bin/Debug/FrienDev.Data.dll.config b/BusinessRules/bin/Debug/FrienDev.Data.dll.config new file mode 100644 index 0000000..2d41ba6 --- /dev/null +++ b/BusinessRules/bin/Debug/FrienDev.Data.dll.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/BusinessRules/obj/Debug/BusinessRules.csproj.FileListAbsolute.txt b/BusinessRules/obj/Debug/BusinessRules.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..c660b3e --- /dev/null +++ b/BusinessRules/obj/Debug/BusinessRules.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +C:\workspace\myMSDN\FrienDev\BusinessRules\bin\Debug\FrienDev.BusinessRules.dll +C:\workspace\myMSDN\FrienDev\BusinessRules\bin\Debug\FrienDev.BusinessRules.pdb +C:\workspace\myMSDN\FrienDev\BusinessRules\bin\Debug\FrienDev.Api.dll +C:\workspace\myMSDN\FrienDev\BusinessRules\bin\Debug\FrienDev.Data.dll +C:\workspace\myMSDN\FrienDev\BusinessRules\bin\Debug\FrienDev.SystemApps.dll +C:\workspace\myMSDN\FrienDev\BusinessRules\bin\Debug\FrienDev.Api.pdb +C:\workspace\myMSDN\FrienDev\BusinessRules\bin\Debug\FrienDev.Data.pdb +C:\workspace\myMSDN\FrienDev\BusinessRules\bin\Debug\FrienDev.SystemApps.pdb +C:\workspace\myMSDN\FrienDev\BusinessRules\obj\Debug\ResolveAssemblyReference.cache +C:\workspace\myMSDN\FrienDev\BusinessRules\obj\Debug\FrienDev.BusinessRules.dll +C:\workspace\myMSDN\FrienDev\BusinessRules\obj\Debug\FrienDev.BusinessRules.pdb +E:\downcode\FrienDev\BusinessRules\obj\Debug\ResolveAssemblyReference.cache +E:\downcode\FrienDev\BusinessRules\obj\Debug\FrienDev.BusinessRules.dll +E:\downcode\FrienDev\BusinessRules\obj\Debug\FrienDev.BusinessRules.pdb +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\BusinessRules\obj\Debug\BusinessRules.csproj.AssemblyReference.cache diff --git a/Data/.vs/Data.csproj.dtbcache.json b/Data/.vs/Data.csproj.dtbcache.json new file mode 100644 index 0000000..08aca10 --- /dev/null +++ b/Data/.vs/Data.csproj.dtbcache.json @@ -0,0 +1 @@ +{"RootPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\Data","ProjectFileName":"Data.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"Friend.cs"},{"SourceFile":"MyMsdn.designer.cs"},{"SourceFile":"MyMsdnDataContext.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"User.cs"}],"References":[{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Data.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Windows\\Microsoft.NET\\Framework64\\v2.0.50727\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files\\Reference Assemblies\\Microsoft\\Framework\\v3.5\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\Data\\bin\\Debug\\FrienDev.Data.dll","OutputItemRelativePath":"FrienDev.Data.dll"},{"OutputItemFullPath":"C:\\Users\\coder\\Desktop\\2024Code\\10\\20241016\\FrienDev\\Data\\bin\\Debug\\FrienDev.Data.pdb","OutputItemRelativePath":"FrienDev.Data.pdb"}],"CopyToOutputEntries":[]} diff --git a/Data/Data.csproj b/Data/Data.csproj new file mode 100644 index 0000000..e50b2af --- /dev/null +++ b/Data/Data.csproj @@ -0,0 +1,15 @@ + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {3FB47393-D50B-40E6-8C39-624EB2D4199E} + Library + Properties + FrienDev.Data + FrienDev.Data + v3.5 + 512 + diff --git a/Data/Friend.cs b/Data/Friend.cs new file mode 100644 index 0000000..e13d940 --- /dev/null +++ b/Data/Friend.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.Data +{ + public partial class Friend + { + public User FriendUser + { + get + { + return User1; + } diff --git a/Data/MyMsdn.designer.cs b/Data/MyMsdn.designer.cs new file mode 100644 index 0000000..6cfb6de --- /dev/null +++ b/Data/MyMsdn.designer.cs @@ -0,0 +1,15 @@ +#pragma warning disable 1591 +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace FrienDev.Data +{ + using System.Data.Linq; + using System.Data.Linq.Mapping; diff --git a/Data/MyMsdnDataContext.cs b/Data/MyMsdnDataContext.cs new file mode 100644 index 0000000..864fff1 --- /dev/null +++ b/Data/MyMsdnDataContext.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace FrienDev.Data +{ + public partial class FrienDevDataContext + { + public static FrienDevDataContext Instance + { + get + { + if (_instance == null) + { diff --git a/Data/Properties/AssemblyInfo.cs b/Data/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..083fb92 --- /dev/null +++ b/Data/Properties/AssemblyInfo.cs @@ -0,0 +1,15 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Data")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Data")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] diff --git a/Data/Properties/Settings.Designer.cs b/Data/Properties/Settings.Designer.cs new file mode 100644 index 0000000..c792d02 --- /dev/null +++ b/Data/Properties/Settings.Designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace FrienDev.Data.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0")] diff --git a/Data/User.cs b/Data/User.cs new file mode 100644 index 0000000..e50f83c --- /dev/null +++ b/Data/User.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Data.Linq; + +namespace FrienDev.Data +{ + public partial class User + { + public EntitySet Receivers + { + get + { + return Messages; diff --git a/Data/app.config b/Data/app.config new file mode 100644 index 0000000..2d41ba6 --- /dev/null +++ b/Data/app.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Data/bin/Debug/FrienDev.Data.dll.config b/Data/bin/Debug/FrienDev.Data.dll.config new file mode 100644 index 0000000..2d41ba6 --- /dev/null +++ b/Data/bin/Debug/FrienDev.Data.dll.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/Data/obj/Debug/Data.csproj.FileListAbsolute.txt b/Data/obj/Debug/Data.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..2f9109b --- /dev/null +++ b/Data/obj/Debug/Data.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +C:\workspace\myMSDN\FrienDev\Data\bin\Debug\FrienDev.Data.dll.config +C:\workspace\myMSDN\FrienDev\Data\bin\Debug\FrienDev.Data.dll +C:\workspace\myMSDN\FrienDev\Data\bin\Debug\FrienDev.Data.pdb +C:\workspace\myMSDN\FrienDev\Data\obj\Debug\ResolveAssemblyReference.cache +C:\workspace\myMSDN\FrienDev\Data\obj\Debug\FrienDev.Data.dll +C:\workspace\myMSDN\FrienDev\Data\obj\Debug\FrienDev.Data.pdb +E:\downcode\FrienDev\Data\bin\Debug\FrienDev.Data.dll.config +E:\downcode\FrienDev\Data\bin\Debug\FrienDev.Data.dll +E:\downcode\FrienDev\Data\bin\Debug\FrienDev.Data.pdb +E:\downcode\FrienDev\Data\obj\Debug\ResolveAssemblyReference.cache +E:\downcode\FrienDev\Data\obj\Debug\FrienDev.Data.dll +E:\downcode\FrienDev\Data\obj\Debug\FrienDev.Data.pdb +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\Data\bin\Debug\FrienDev.Data.dll.config +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\Data\bin\Debug\FrienDev.Data.dll +C:\Users\coder\Desktop\2024Code\10\20241016\FrienDev\Data\bin\Debug\FrienDev.Data.pdb diff --git a/FrienDevWeb/Activity/ActivityEdit.aspx b/FrienDevWeb/Activity/ActivityEdit.aspx new file mode 100644 index 0000000..a7e88ae --- /dev/null +++ b/FrienDevWeb/Activity/ActivityEdit.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" MasterPageFile="~/Templates/Application.master" AutoEventWireup="true" + CodeFile="ActivityEdit.aspx.cs" Inherits="Activity_InfoEdit" Title="编辑活动 - clubof.net" %> + +<%@ Register TagPrefix="FrienDev" TagName="ActivityEdit" Src="../Controls/Activity/ActivityEdit.ascx" %> +<%@ Register TagPrefix="FrienDev" TagName="FeedbackTableEdit" Src="~/Controls/Activity/FeedBackTableEdit.ascx" %> +<%@ Register TagPrefix="FrienDev" TagName="ActivityNavigatorBar" Src="~/Controls/Activity/ActivityNavigatorBar.ascx" %> + + + + + + + +
+
diff --git a/FrienDevWeb/Activity/ActivityEdit.aspx.cs b/FrienDevWeb/Activity/ActivityEdit.aspx.cs new file mode 100644 index 0000000..9972500 --- /dev/null +++ b/FrienDevWeb/Activity/ActivityEdit.aspx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; +using FrienDev.BusinessRules; +using FrienDev.Data; + diff --git a/FrienDevWeb/Activity/ActivityFeedBack.aspx b/FrienDevWeb/Activity/ActivityFeedBack.aspx new file mode 100644 index 0000000..1a5ae83 --- /dev/null +++ b/FrienDevWeb/Activity/ActivityFeedBack.aspx @@ -0,0 +1,15 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ActivityFeedBack.aspx.cs" + Inherits="Activity_ActivityFeedBack" MasterPageFile="~/Templates/Application.master" + Title="活动反馈 - clubof.net" %> + +<%@ Register TagPrefix="FrienDev" TagName="FeedBackReport" Src="../Controls/Activity/FeedBackReport.ascx" %> +<%@ Register TagPrefix="FrienDev" TagName="ActivityNavigatorBar" Src="~/Controls/Activity/ActivityNavigatorBar.ascx" %> +<%@ Register TagPrefix="FrienDev" TagName="FeedBackEdit" Src="~/Controls/Activity/FeedBackTableEdit.ascx" %> +<%@ Register TagPrefix="FrienDev" TagName="FeedBackSummary" Src="~/Controls/Activity/FeedBackSummary.ascx" %> + + + + + + + + + +
+
diff --git a/FrienDevWeb/Controls/Activity/ImageDetail.ascx.cs b/FrienDevWeb/Controls/Activity/ImageDetail.ascx.cs new file mode 100644 index 0000000..29baebe --- /dev/null +++ b/FrienDevWeb/Controls/Activity/ImageDetail.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; +using FrienDev.BusinessRules; +using FrienDev.Data; +using System.IO; diff --git a/FrienDevWeb/Controls/Activity/ImageEdit.ascx b/FrienDevWeb/Controls/Activity/ImageEdit.ascx new file mode 100644 index 0000000..daec6d2 --- /dev/null +++ b/FrienDevWeb/Controls/Activity/ImageEdit.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ImageEdit.ascx.cs" Inherits="Controls_Activity_ImageEdit" %> + + + + diff --git a/FrienDevWeb/Controls/Activity/ImageEdit.ascx.cs b/FrienDevWeb/Controls/Activity/ImageEdit.ascx.cs new file mode 100644 index 0000000..d5de7ad --- /dev/null +++ b/FrienDevWeb/Controls/Activity/ImageEdit.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using FrienDev.BusinessRules; +using FrienDev.Data; + +public partial class Controls_Activity_ImageEdit : System.Web.UI.UserControl +{ + private int m_activityId,m_imageId; + protected void Page_Load(object sender, EventArgs e) + { + if (!string.IsNullOrEmpty(Request.QueryString["activityid"]) && !string.IsNullOrEmpty(Request.QueryString["imageid"])) diff --git a/FrienDevWeb/Controls/Activity/ImageList.ascx b/FrienDevWeb/Controls/Activity/ImageList.ascx new file mode 100644 index 0000000..0512c51 --- /dev/null +++ b/FrienDevWeb/Controls/Activity/ImageList.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ImageList.ascx.cs" Inherits="Controls_Activity_ImageList" %> +
+ +
+
+ 全部照片 +
+
+
+
+ 修改照片 +
+ + + + + +
+ 活动照片 + + 活动照片 + + +
diff --git a/FrienDevWeb/Controls/Activity/ImageList.ascx.cs b/FrienDevWeb/Controls/Activity/ImageList.ascx.cs new file mode 100644 index 0000000..1c9683c --- /dev/null +++ b/FrienDevWeb/Controls/Activity/ImageList.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; +using FrienDev.BusinessRules; +using FrienDev.Data; +using System.Collections.Generic; diff --git a/FrienDevWeb/Controls/Activity/ImageListDetail.ascx b/FrienDevWeb/Controls/Activity/ImageListDetail.ascx new file mode 100644 index 0000000..e5bd0a5 --- /dev/null +++ b/FrienDevWeb/Controls/Activity/ImageListDetail.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ImageListDetail.ascx.cs" + Inherits="Controls_Activity_ImageListDetail" %> +<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="FrienDev" %> + + + + + + + + +
  
diff --git a/FrienDevWeb/Controls/Club/FriendsClubList.ascx.cs b/FrienDevWeb/Controls/Club/FriendsClubList.ascx.cs new file mode 100644 index 0000000..5734ea3 --- /dev/null +++ b/FrienDevWeb/Controls/Club/FriendsClubList.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; +using FrienDev.BusinessRules; +using FrienDev.Data; + +public partial class Controls_Club_FriendsClubList : System.Web.UI.UserControl +{ + protected void Page_Load(object sender, EventArgs e) + { + BindPager(); + } diff --git a/FrienDevWeb/Controls/Club/InfoDetail.ascx b/FrienDevWeb/Controls/Club/InfoDetail.ascx new file mode 100644 index 0000000..80c61af --- /dev/null +++ b/FrienDevWeb/Controls/Club/InfoDetail.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="InfoDetail.ascx.cs" Inherits="Controls_Club_InfoDetail" %> + + + +
+ + diff --git a/FrienDevWeb/Controls/Club/InfoDetail.ascx.cs b/FrienDevWeb/Controls/Club/InfoDetail.ascx.cs new file mode 100644 index 0000000..1c9683c --- /dev/null +++ b/FrienDevWeb/Controls/Club/InfoDetail.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; +using FrienDev.BusinessRules; +using FrienDev.Data; +using System.Collections.Generic; diff --git a/FrienDevWeb/Controls/Club/InfoEdit.ascx b/FrienDevWeb/Controls/Club/InfoEdit.ascx new file mode 100644 index 0000000..bc69f9a --- /dev/null +++ b/FrienDevWeb/Controls/Club/InfoEdit.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="InfoEdit.ascx.cs" Inherits="Controls_Club_InfoEdit" %> + + + + + +
  
diff --git a/FrienDevWeb/Controls/Club/List.ascx.cs b/FrienDevWeb/Controls/Club/List.ascx.cs new file mode 100644 index 0000000..1c9683c --- /dev/null +++ b/FrienDevWeb/Controls/Club/List.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; +using FrienDev.BusinessRules; +using FrienDev.Data; +using System.Collections.Generic; diff --git a/FrienDevWeb/Controls/Club/ListDetail.ascx b/FrienDevWeb/Controls/Club/ListDetail.ascx new file mode 100644 index 0000000..03d7bae --- /dev/null +++ b/FrienDevWeb/Controls/Club/ListDetail.ascx @@ -0,0 +1,2 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListDetail.ascx.cs" Inherits="Controls_Club_ListDetail" %> +Club列表-更多  Club1 diff --git a/FrienDevWeb/Controls/Club/ListDetail.ascx.cs b/FrienDevWeb/Controls/Club/ListDetail.ascx.cs new file mode 100644 index 0000000..494d33d --- /dev/null +++ b/FrienDevWeb/Controls/Club/ListDetail.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; + +public partial class Controls_Club_ListDetail : System.Web.UI.UserControl +{ diff --git a/FrienDevWeb/Controls/Club/MemberList.ascx b/FrienDevWeb/Controls/Club/MemberList.ascx new file mode 100644 index 0000000..c57b2d0 --- /dev/null +++ b/FrienDevWeb/Controls/Club/MemberList.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MemberList.ascx.cs" Inherits="Controls_Club_MemberList" %> + +
+ + +
+ + + + + + +
+ 活动简介 + 最新成员 
diff --git a/FrienDevWeb/Controls/Club/MemberList.ascx.cs b/FrienDevWeb/Controls/Club/MemberList.ascx.cs new file mode 100644 index 0000000..b2d5662 --- /dev/null +++ b/FrienDevWeb/Controls/Club/MemberList.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; +using FrienDev.BusinessRules; + +public partial class Controls_Club_MemberList : System.Web.UI.UserControl diff --git a/FrienDevWeb/Controls/Club/MemberListDetail.ascx b/FrienDevWeb/Controls/Club/MemberListDetail.ascx new file mode 100644 index 0000000..c802734 --- /dev/null +++ b/FrienDevWeb/Controls/Club/MemberListDetail.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MemberListDetail.ascx.cs" Inherits="Controls_Club_MemberListDetail" %> + + + + + +
+ + + diff --git a/FrienDevWeb/Controls/Users/Profile.ascx.cs b/FrienDevWeb/Controls/Users/Profile.ascx.cs new file mode 100644 index 0000000..c7065a5 --- /dev/null +++ b/FrienDevWeb/Controls/Users/Profile.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; +using FrienDev.Data; +using FrienDev.BusinessRules; + diff --git a/FrienDevWeb/Controls/Users/ProfileAdd.ascx b/FrienDevWeb/Controls/Users/ProfileAdd.ascx new file mode 100644 index 0000000..447c930 --- /dev/null +++ b/FrienDevWeb/Controls/Users/ProfileAdd.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProfileAdd.ascx.cs" Inherits="Controls_Users_ProfileAdd" %> +<%@ Register Assembly="DatePicker" Namespace="iX.Controls" TagPrefix="FrienDev" %> + +
+ +
+
+
+
+ + + + + + + diff --git a/FrienDevWeb/Controls/Users/ProfileAdd.ascx.cs b/FrienDevWeb/Controls/Users/ProfileAdd.ascx.cs new file mode 100644 index 0000000..d4d2d82 --- /dev/null +++ b/FrienDevWeb/Controls/Users/ProfileAdd.ascx.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.UI; +using System.Web.UI.HtmlControls; +using System.Web.UI.WebControls; +using System.Web.UI.WebControls.WebParts; +using System.Xml.Linq; + +public partial class Controls_Users_ProfileAdd : System.Web.UI.UserControl +{ diff --git a/FrienDevWeb/Controls/Users/ProfileBasicInformationEdit.ascx b/FrienDevWeb/Controls/Users/ProfileBasicInformationEdit.ascx new file mode 100644 index 0000000..bfda8c2 --- /dev/null +++ b/FrienDevWeb/Controls/Users/ProfileBasicInformationEdit.ascx @@ -0,0 +1,15 @@ +<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProfileBasicInformationEdit.ascx.cs" + Inherits="Controls_Users_ProfileBasicInformationEdit" %> + + + +
+ 补全个人信息 +
+ FrienDev是为技术人员所开发的一套 +