Пример #1
0
        public string Render()
        {
            var no      = String.Empty;
            var drafted = "";

            if (_mName.Length > 0)
            {
                _mBgColour = _mPlayer.SetColour("RED");
                no         = _mPlayer.JerseyNo;
                if (_mPlayer.IsNewbie())
                {
                    _mName = _mPlayer.Url(HtmlLib.Italics(HtmlLib.Bold(_mName)));
                }
//            drafted = string.Format( " {0} {1}", mPlayer.Drafted, (int) mPlayer.ExperiencePoints );
                drafted = string.Format(" {0} {1}", _mPlayer.Drafted, "");
            }

            var t = PlayerTable(drafted, no);

            var strRet = HtmlLib.TableData((Offset ? "<br>" : "") + t.Render());

            return(strRet);
        }