亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? user.cs

?? 微軟的.NET論壇的源代碼(COOL!!!)
?? CS
字號:
using System;
using System.Web;

namespace AspNetForums.Components {

    // *********************************************************************
    //  User
    //
    /// <summary>
    /// This class contains the properties for a User.
    /// </summary>
    /// 
    // ********************************************************************/
    public class User {
        String username = "";				// the user's Username (unique identifier)
        String password = "";				// the user's password
        String email = "";					// the user's real email address (used to send info)
        String fakeEmail = "";				// the user's fake email address (shown in postings)
        String url = "";					// the user's homepage (appears on posts)
        String signature = "";				// the user's signature (appears on posts)
        String location = "";               // the user's location
        String occupation = "";             // the user's occupation
        String interests = "";              // the user's interests
        String msn = "";                    // MSN Instant messenger
        String yahoo = "";                  // Yahoo IM
        String aim = "";                    // AOL IM
        String icq = "";                    // ICQ IM
        String siteStyle = "";              // Default style used in the site
        String iconExtension = "";          // Such as gif, jpg, etc.
        string dateFormat = "";             // Format for how the user views the date
        int totalPosts;                     // Total posts by this user

        ViewOptions _forumView;		        // how the user wishes to view the forums (flat/mixed/threaded)

        bool hasIcon;                       // if the user has an icon
        bool showIcon;                      // control whether or not a user's icon is shown
        bool trusted;						// if the user is a trusted user or not
        bool approved;						// if the user is an approved user or not
        bool isModerator;                   // if the user is a moderator
        bool isProfileApproved;             // if the user's profile is approved
        bool trackPosts;					// if the user wants to automatically sign up for email tracking for his/her own posts
        bool showUnreadThreadsOnly;          // If true only shows unread threads in forum view
        bool sortPostsAscending;            // Order that posts are displayed
        bool flatView;                      // Controls how views are seen in Post View

        DateTime dateCreated;				// the date the user account was created
        DateTime lastLogin;				    // the date the user last logged in
        DateTime lastActive;              // Last time the user was active

        int timezone;						// the user's specified timezone


        /// <summary>
        /// Returns the user's Username.
        /// </summary>
        /// <remarks>The Username is what uniquely identifies each user.</remarks>
        public String Username {
            get { return username; }
            set { username = value; }			
        }

        public bool ViewPostsInFlatView {
            get { return flatView; }
            set { flatView = value; }
        }

        /// <summary>
        /// Returns the user's password.
        /// </summary>
        public String Password {
            get { return password; }
            set { password = value; }
        }

        /// <summary>
        /// Controls views in forums
        /// </summary>
        public bool HideReadThreads {
            get { return showUnreadThreadsOnly; }
            set { showUnreadThreadsOnly = value; }
        }

        /// <summary>
        /// Controls views in posts
        /// </summary>
        public bool ShowPostsAscending {
            get { return sortPostsAscending; }
            set { sortPostsAscending = value; }
        }
        
        /// <summary>
        /// Extension of the user's icon
        /// </summary>
        public string IconExtension {
            get { return iconExtension; }
            set { iconExtension = value; }
        }

        /// <summary>
        /// Controls whether or not a user's icon is shown
        /// </summary>
        public bool ShowIcon {
            get { return showIcon; }
            set { showIcon = value; }
        }

        /// <summary>
        /// Controls the style the user views the site in
        /// </summary>
        public string SiteStyle {
            get { return siteStyle; }
            set { siteStyle = value; }
        }

        /// <summary>
        /// Path to the user's image url
        /// </summary>
        public String ImageUrl {
            get {
                string fileName = Username.Replace(" ", "_");
                if (HasIcon)
                    return Globals.ApplicationVRoot + "/UserIcons/" + fileName + "." + this.IconExtension;

                return null;
            }
        }

        /// <summary>
        /// Format for how the user wishes to view date values
        /// </summary>
        public String DateFormat {
            get {
                return dateFormat;
            }
            set {
                dateFormat = value;
            }
        }

        /// <summary>
        /// Returns the user's real email address.  It is this email address that the user is sent
        /// email notifications.
        /// </summary>
        public String Email {
            get { return email; }
            set { email = value; }
        }

        /// <summary>
        /// Specifies the user's fake email address.  This email address, if supplied, is the one
        /// that is displayed when showing a post posted by the user.
        /// </summary>
        public String PublicEmail {
            get { return fakeEmail; }
            set { fakeEmail = value; }
        }

        /// <summary>
        /// The user's homepage or favorite Url.  This Url is shown at the end of each of the user's posts.
        /// </summary>
        public String Url {
            get { return url; }
            set { url = value; }
        }

        /// <summary>
        /// The user's signature.  If specified, this signature is shown at the end of each of the user's posts.
        /// </summary>
        public String Signature {
            get { return signature; }
            set { signature = value; }
        }

        /// <summary>
        /// Icon for the user
        /// </summary>
        public bool HasIcon {
            get { return hasIcon; }
            set { hasIcon = value; }
        }

        /// <summary>
        /// The user's location
        /// </summary>
        public String Location {
            get { return location; }
            set { location = value; }
        }

        /// <summary>
        /// The user's occupation
        /// </summary>
        public String Occupation {
            get { return occupation; }
            set { occupation = value; }
        }

        /// <summary>
        /// The user's interests
        /// </summary>
        public String Interests {
            get { return interests; }
            set { interests = value; }
        }
        
        /// <summary>
        /// MSN IM address
        /// </summary>
        public String MsnIM {
            get { return msn; }
            set { msn = value; }
        }

        /// <summary>
        /// Yahoo IM address
        /// </summary>
        public String YahooIM {
            get { return yahoo; }
            set { yahoo = value; }
        }

        /// <summary>
        /// AOL IM Address
        /// </summary>
        public String AolIM {
            get { return aim; }
            set { aim = value; }
        }

        /// <summary>
        /// ICQ address
        /// </summary>
        public String IcqIM {
            get { return icq; }
            set { icq = value; }
        }

        /// <summary>
        /// Total posts by this user
        /// </summary>
        public int TotalPosts {
            get { return totalPosts; }
            set { totalPosts = value; }
        }
        
        /// <summary>
        /// The date/time the user's account was created.
        /// </summary>
        public DateTime DateCreated {
            get { return dateCreated; }
            set { dateCreated = value; }
        }

        /// <summary>
        /// The date/time the user last logged in.
        /// </summary>
        public DateTime LastLogin {
            get { return lastLogin; }
            set { lastLogin = value; }
        }

        /// <summary>
        /// The date/time the user last logged in.
        /// </summary>
        public DateTime LastActivity {
            get { return lastActive; }
            set { lastActive = value; }
        }

        /// <summary>
        /// Specifies whether a user is Approved or not.  Non-approved users cannot log into the system
        /// and, therefore, cannot post messages.
        /// </summary>
        public bool IsApproved {
            get { return approved; }
            set { approved = value; }
        }

        /// <summary>
        /// Specifies whether a user's profiles is Approved or not.
        /// </summary>
        public bool IsProfileApproved {
            get { return isProfileApproved; }
            set { isProfileApproved = value; }
        }
        
        /// <summary>
        /// Returns if a user is trusted or not.  A trusted user is one whose messages do not require
        /// any sort of moderation approval.
        /// </summary>
        public bool IsTrusted {
            get { return trusted; }
            set { trusted = value; }
        }

        /// <summary>
        /// Specifies if a user in an administrator or not.
        /// </summary>
        public bool IsAdministrator {
            get { 
                return IsInRole("Forum-Administrators");
            }                    
        }

        /// <summary>
        /// Specifies if a user in an administrator or not.
        /// </summary>
        public bool IsModerator {
            get { 
                return isModerator;
            }                    
            set {
                isModerator = value;
            }
        }

        public static bool IsInRole(string rolename) {
            return HttpContext.Current.User.IsInRole(rolename);
        }

        /// <summary>
        /// Specifies if the user wants to automatically turn on email tracking for threads that 
        /// he/she posts to.
        /// </summary>
        public bool TrackPosts {
            get { return trackPosts; }
            set { trackPosts = value; }
        }

        /// <summary>
        /// Specifies the user's timezone offset.
        /// </summary>
        public int Timezone {
            get { return timezone; }
            set {
                if (value < -12 || value > 12)
                    timezone = 0;
                else
                    timezone = value;
            }
        }

        /// <summary>
        /// Indicates the user's ViewOptions setting.  This can be set to Flat, Mixed, or Threaded.
        /// </summary>
        public ViewOptions ForumView {
            get { return this._forumView; }
            set { _forumView = value;  }
        }

    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91久久线看在观草草青青| 久久se精品一区精品二区| 国产精品美女视频| 国产综合久久久久久久久久久久| 婷婷综合另类小说色区| 免费欧美高清视频| caoporen国产精品视频| 欧美在线你懂的| 久久久噜噜噜久久人人看| 亚洲欧美日韩在线| 久久国产剧场电影| 久久久国产一区二区三区四区小说 | 欧美日韩精品综合在线| 国产日韩精品一区| 日精品一区二区| av毛片久久久久**hd| 国产精品每日更新| av动漫一区二区| 亚洲二区在线视频| 97久久久精品综合88久久| aaa欧美日韩| 亚洲午夜在线观看视频在线| 欧美一二区视频| 悠悠色在线精品| 成人看片黄a免费看在线| 欧美一区二区大片| 亚洲一区影音先锋| 色综合色综合色综合色综合色综合 | 波多野结衣视频一区| 一区二区欧美国产| 成人av午夜影院| 亚洲国产成人私人影院tom | 国产精品传媒入口麻豆| 国产一区二区在线观看视频| 欧美性生活大片视频| 亚洲乱码国产乱码精品精的特点| 欧美日韩成人综合天天影院| 懂色av中文字幕一区二区三区| 久久免费午夜影院| 欧美在线一区二区三区| 国产精品综合久久| 亚洲欧洲日本在线| 一本高清dvd不卡在线观看| 日本vs亚洲vs韩国一区三区 | 成人欧美一区二区三区在线播放| 欧美另类一区二区三区| 亚洲成人av福利| 欧美性猛片xxxx免费看久爱| 激情国产一区二区| 亚洲午夜av在线| 国产精品久久99| 欧美大片一区二区三区| 视频在线观看一区| 亚洲情趣在线观看| 国产日产欧美一区二区三区| 欧美精品在线视频| 色综合天天综合网国产成人综合天| 一区二区三区四区精品在线视频 | 丁香六月综合激情| 激情都市一区二区| 日本一道高清亚洲日美韩| 日韩美女一区二区三区四区| 欧美在线不卡一区| 91在线无精精品入口| 国产成人免费视频网站| 一区二区三区波多野结衣在线观看| 国产成人h网站| 国产丝袜欧美中文另类| 日韩不卡手机在线v区| 中文字幕视频一区| 26uuu色噜噜精品一区二区| 国产精品中文字幕日韩精品| 日韩av午夜在线观看| 性久久久久久久久| 亚洲午夜电影在线观看| 亚洲一二三四区不卡| 亚洲综合小说图片| 亚洲午夜激情网页| 图片区小说区国产精品视频| 亚洲国产日日夜夜| 午夜视频一区二区三区| 婷婷久久综合九色综合绿巨人 | 日韩国产成人精品| 日韩精品久久理论片| 日产国产欧美视频一区精品| 丝袜脚交一区二区| 日韩成人免费电影| 精品一区二区三区欧美| 亚洲欧美在线观看| 亚洲欧洲成人精品av97| 亚洲天堂成人在线观看| 欧美精品一区二区精品网| 在线中文字幕不卡| 欧美午夜电影一区| 欧美精品第一页| 日韩一区和二区| 欧美精品一区二区三区蜜臀| 久久精品欧美一区二区三区麻豆 | 欧美一区二区久久久| 91精品国产综合久久福利| 亚洲精品一区二区三区四区高清| 国产亚洲精品福利| 亚洲图片欧美激情| 亚洲午夜免费福利视频| 美女一区二区三区| 亚洲国产精品一区二区www在线| 亚洲成人综合网站| 久99久精品视频免费观看| 国产成人在线网站| 色噜噜夜夜夜综合网| 在线不卡中文字幕播放| 久久这里都是精品| 日韩伦理av电影| 美女视频黄a大片欧美| 国内成+人亚洲+欧美+综合在线| 成人性视频免费网站| 欧美性大战久久久久久久| 日韩欧美另类在线| 亚洲男女毛片无遮挡| 欧美96一区二区免费视频| 丁香五精品蜜臀久久久久99网站| 欧美视频在线观看一区二区| 精品福利一区二区三区| 亚洲精品国久久99热| 老司机精品视频在线| 91首页免费视频| 国产盗摄一区二区| 欧美三级视频在线观看| 欧美日韩精品专区| 国产精品区一区二区三| 日韩高清电影一区| 97国产一区二区| 2020日本不卡一区二区视频| 夜夜精品视频一区二区| 成人蜜臀av电影| 日韩欧美123| 亚洲一区二区三区视频在线| 国产一区二区三区视频在线播放| 91成人在线免费观看| 欧美国产日韩一二三区| 日本一不卡视频| 在线观看一区二区视频| 国产欧美精品日韩区二区麻豆天美| 日韩精品每日更新| 欧美视频中文字幕| 成人欧美一区二区三区黑人麻豆| 韩国精品免费视频| 91精品国产手机| 亚洲午夜影视影院在线观看| 91在线免费播放| 国产性色一区二区| 麻豆精品视频在线观看视频| 在线精品视频免费播放| 亚洲三级在线观看| 99久久综合狠狠综合久久| 久久久蜜桃精品| 麻豆国产欧美一区二区三区| 在线不卡一区二区| 亚洲成a人v欧美综合天堂| 99久久国产免费看| 国产精品久久久久久妇女6080| 国内精品写真在线观看| 欧美大胆一级视频| 人人精品人人爱| 欧美一区二区三区的| 日韩电影在线一区二区| 欧美电影一区二区| 视频一区在线播放| 欧美一区二区二区| 久久99精品国产麻豆婷婷洗澡| 91精品国产综合久久香蕉麻豆 | 99久久精品情趣| 亚洲天堂中文字幕| 91网站在线播放| 亚洲人成人一区二区在线观看| 91美女视频网站| 亚洲最大成人综合| 欧美高清视频一二三区| 日日摸夜夜添夜夜添亚洲女人| 精品视频999| 日本少妇一区二区| 精品久久久久久久久久久久久久久| 亚洲免费大片在线观看| 欧美在线短视频| 青青草精品视频| 精品国产精品网麻豆系列| 国产一区二区三区免费在线观看| 国产午夜亚洲精品不卡| 成人ar影院免费观看视频| 亚洲免费观看高清完整版在线| 欧美亚洲自拍偷拍| 青草国产精品久久久久久| 精品国产乱码久久久久久久久| 国产精品中文字幕欧美| 亚洲女同ⅹxx女同tv| 欧美群妇大交群中文字幕| 精品一区二区在线观看| 亚洲国产精品v| 欧美亚男人的天堂| 国内精品久久久久影院色|