예제 #1
0
파일: Sites.cs 프로젝트: object8421/ichari
        public Sites(long siteid)
        {
            _connStr = System.Configuration.ConfigurationManager.AppSettings["ConnectionString"];
            if (string.IsNullOrEmpty(_connStr))
            {
                _connStr = PF.ConnectString;
            }
            SiteNotificationTemplates = new SiteNotificationTemplates(this);
            SiteOptions = new SiteOptions(this);

            ID = siteid;

            ParentID    = -1;
            OwnerUserID = -1;

            Name              = "";
            LogoUrl           = "";
            Company           = "";
            Address           = "";
            PostCode          = "";
            ResponsiblePerson = "";
            ContactPerson     = "";
            Telephone         = "";
            Fax                        = "";
            Mobile                     = "";
            Email                      = "";
            QQ                         = "";
            ServiceTelephone           = "";
            ICPCert                    = "";
            Level                      = -1;
            ON                         = false;
            BonusScale                 = 0;
            MaxSubSites                = 0;
            UseLotteryListRestrictions = "";
            UseLotteryList             = "";
            UseLotteryListQuickBuy     = "";

            AdministratorID = -1;

            _urls = "";
            Url   = "";

            PageTitle    = "";
            PageKeywords = "";
        }
예제 #2
0
파일: Sites.cs 프로젝트: ichari/ichari
        public Sites(long siteid)
        {
            _connStr = System.Configuration.ConfigurationManager.AppSettings["ConnectionString"];
            if (string.IsNullOrEmpty(_connStr))
                _connStr = PF.ConnectString;
            SiteNotificationTemplates = new SiteNotificationTemplates(this);
            SiteOptions = new SiteOptions(this);

            ID = siteid;

            ParentID = -1;
            OwnerUserID = -1;

            Name = "";
            LogoUrl = "";
            Company = "";
            Address = "";
            PostCode = "";
            ResponsiblePerson = "";
            ContactPerson = "";
            Telephone = "";
            Fax = "";
            Mobile = "";
            Email = "";
            QQ = "";
            ServiceTelephone = "";
            ICPCert = "";
            Level = -1;
            ON = false;
            BonusScale = 0;
            MaxSubSites = 0;
            UseLotteryListRestrictions = "";
            UseLotteryList = "";
            UseLotteryListQuickBuy = "";

            AdministratorID = -1;

            _urls = "";
            Url = "";

            PageTitle = "";
            PageKeywords = "";
        }