Ejemplo n.º 1
0
    private void BackSavePage(string act)
    {
        DateTime sTime  = Utils.ParseTime(Utils.GetRequest("sTime", "post", 2, DT.RegexTime, "开始时间填写无效"));
        DateTime oTime  = Utils.ParseTime(Utils.GetRequest("oTime", "post", 2, DT.RegexTime, "结束时间填写无效"));
        int      iTar   = Utils.ParseInt(Utils.GetRequest("iTar", "post", 2, @"^[0-9]\d*$", "千分比填写错误"));
        int      iPrice = Utils.ParseInt(Utils.GetRequest("iPrice", "post", 2, @"^[0-9]\d*$", "至少多少币才返填写错误"));

        if (act == "backsave")
        {
            DataSet ds = new BCW.BLL.Game.Dicepay().GetList("UsID,sum(WinCent-BuyCent) as WinCents", "AddTime>='" + sTime + "'and AddTime<'" + oTime + "' and bzType=0 and State>0 and IsSpier=0 group by UsID");
            for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
            {
                long Cents = Convert.ToInt64(ds.Tables[0].Rows[i]["WinCents"]);
                if (Cents > 0 && Cents >= iPrice)
                {
                    int  usid = Convert.ToInt32(ds.Tables[0].Rows[i]["UsID"]);
                    long cent = Convert.ToInt64(Cents * (iTar * 0.001));
                    new BCW.BLL.User().UpdateiGold(usid, cent, "挖宝返赢");
                    //发内线
                    string strLog = "根据你上期挖宝排行榜上的赢利情况,系统自动返还了" + cent + "" + ub.Get("SiteBz") + "[url=/bbs/game/dice.aspx]进入挖宝[/url]";

                    new BCW.BLL.Guest().Add(0, usid, new BCW.BLL.User().GetUsName(usid), strLog);
                }
            }

            Utils.Success("返赢操作", "返赢操作成功", Utils.getUrl("dice.aspx"), "1");
        }
        else
        {
            DataSet ds = new BCW.BLL.Game.Dicepay().GetList("UsID,sum(WinCent-BuyCent) as WinCents", "AddTime>='" + sTime + "'and AddTime<'" + oTime + "' and bzType=0 and State>0 and IsSpier=0 group by UsID");
            for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
            {
                long Cents = Convert.ToInt64(ds.Tables[0].Rows[i]["WinCents"]);
                if (Cents < 0 && Cents < (-iPrice))
                {
                    int  usid = Convert.ToInt32(ds.Tables[0].Rows[i]["UsID"]);
                    long cent = Convert.ToInt64((-Cents) * (iTar * 0.001));
                    new BCW.BLL.User().UpdateiGold(usid, cent, "挖宝返负");
                    //发内线
                    string strLog = "根据你上期挖宝排行榜上的亏损情况,系统自动返还了" + cent + "" + ub.Get("SiteBz") + "[url=/bbs/game/dice.aspx]进入挖宝[/url]";
                    new BCW.BLL.Guest().Add(0, usid, new BCW.BLL.User().GetUsName(usid), strLog);
                }
            }

            Utils.Success("返负操作", "返负操作成功", Utils.getUrl("dice.aspx"), "1");
        }
    }
Ejemplo n.º 2
0
    /// <summary>
    /// 挖宝自动游戏程序
    /// </summary>
    /// <param name="DiceId">局数ID</param>
    /// <param name="dt">截止时间</param>
    private void ChangePalyDice()
    {
        BCW.Model.Game.Dicelist dice = null;
        new BCW.User.Game.Dice().DicePage();
        dice = new BCW.BLL.Game.Dicelist().GetDicelist();
        int  DiceId = dice.ID;
        long Sec    = DT.DateDiff(dice.EndTime, DateTime.Now, 4);

        if (DiceId > 0)
        {
            int UsIDNum = new BCW.BLL.Game.Dicepay().GetCount(DiceId);//当期下注ID数

            //如果小于15个则自在不同秒数中自动出动1个ID来下注
            if (UsIDNum < 5)
            {
                bool IsPlay = false;
                Sec = 360 - Sec;

                int ZD = 0;
                if (Sec > 5 && Sec <= 30 && ub.GetSub("DiceZD1", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 1;
                }
                if (Sec > 30 && Sec <= 60 && ub.GetSub("DiceZD2", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 2;
                }
                else if (Sec > 60 && Sec <= 90 && ub.GetSub("DiceZD3", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 3;
                }
                else if (Sec > 90 && Sec <= 120 && ub.GetSub("DiceZD4", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 4;
                }
                else if (Sec > 120 && Sec <= 150 && ub.GetSub("DiceZD5", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 5;
                }
                else if (Sec > 150 && Sec <= 180 && ub.GetSub("DiceZD6", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 6;
                }
                else if (Sec > 180 && Sec <= 210 && ub.GetSub("DiceZD7", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 7;
                }
                else if (Sec > 210 && Sec <= 240 && ub.GetSub("DiceZD8", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 8;
                }
                else if (Sec > 240 && Sec <= 270 && ub.GetSub("DiceZD9", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 9;
                }
                else if (Sec > 270 && Sec <= 300 && ub.GetSub("DiceZD10", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 10;
                }
                else if (Sec > 300 && Sec <= 330 && ub.GetSub("DiceZD11", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 11;
                }
                else if (Sec > 330 && Sec <= 355 && ub.GetSub("DiceZD12", xmlPath) == "0")
                {
                    IsPlay = true;
                    ZD     = 12;
                }
                if (IsPlay)
                {
                    //更新某分钟已出动过
                    ub xml = new ub();
                    xml.ReloadSub(xmlPath); //加载配置
                    xml.dss["DiceZD" + ZD + ""] = 1;

                    System.IO.File.WriteAllText(HttpContext.Current.Server.MapPath(xmlPath), xml.Post(xml.dss), System.Text.Encoding.UTF8);
                    //进行自动下注
                    PlayDice(DiceId);
                }
            }
        }
    }
Ejemplo n.º 3
0
    //下注操作
    private void PlayDice(int DiceId)
    {
        int meid = GetUsID();

        ChanageOnline(meid);
        int  ptype   = GetPtype();
        int  bzType  = new Random().Next(0, 2);
        long paycent = GetPayCent(ptype);
        //if (bzType == 1)
        //paycent = paycent * 10;

        string mename = new BCW.BLL.User().GetUsName(meid);
        long   gold   = 0;
        string bzText = string.Empty;

        if (bzType == 0)
        {
            gold   = new BCW.BLL.User().GetGold(meid);
            bzText = ub.Get("SiteBz");
        }
        else
        {
            gold   = new BCW.BLL.User().GetMoney(meid);
            bzText = ub.Get("SiteBz2");
        }
        if (paycent > gold)
        {
            //更新消费记录
            BCW.Model.Goldlog modelx = new BCW.Model.Goldlog();
            modelx.BbTag  = 3;
            modelx.Types  = bzType;
            modelx.PUrl   = Utils.getPageUrl();//操作的文件名
            modelx.UsId   = meid;
            modelx.UsName = mename;
            if (bzType == 0)
            {
                modelx.AcGold    = 500000;
                modelx.AfterGold = gold + 500000;//更新后的币数
            }
            else
            {
                modelx.AcGold    = 5000000;
                modelx.AfterGold = gold + 5000000;//更新后的币数
            }
            modelx.AcText  = "系统机器人自动操作";
            modelx.AddTime = DateTime.Now;
            new BCW.BLL.Goldlog().Add(modelx);
            if (bzType == 0)
            {
                BCW.Data.SqlHelper.ExecuteSql("Update tb_User set iGold=iGold+500000 where id=" + meid + "");
            }
            else
            {
                BCW.Data.SqlHelper.ExecuteSql("Update tb_User set iMoney=iMoney+5000000 where id=" + meid + "");
            }
        }


        int BuyNum = GetBuyNum(ptype);

        //加总押注额
        if (bzType == 0)
        {
            new BCW.BLL.Game.Dicelist().UpdatePool(DiceId, paycent);
            new BCW.BLL.User().UpdateiGold(meid, mename, -paycent, "挖宝押注");
        }
        else
        {
            new BCW.BLL.Game.Dicelist().UpdateWinPool(DiceId, paycent);
            new BCW.BLL.User().UpdateiMoney(meid, mename, -paycent, "挖宝押注");
        }

        BCW.Model.Game.Dicepay model = new BCW.Model.Game.Dicepay();
        model.DiceId   = DiceId;
        model.UsID     = meid;
        model.UsName   = mename;
        model.Types    = ptype;
        model.BuyNum   = BuyNum;
        model.BuyCent  = paycent;
        model.BuyCount = 1;
        model.WinCent  = 0;
        model.AddTime  = DateTime.Now;
        model.State    = 0;
        model.bzType   = bzType;
        if (!new BCW.BLL.Game.Dicepay().Exists(DiceId, meid, bzType, ptype, BuyNum))
        {
            int pid = new BCW.BLL.Game.Dicepay().Add(model);
            BCW.Data.SqlHelper.ExecuteSql("Update tb_Dicepay set IsSpier=1 where id=" + pid + "");//机器人标识
        }
        else
        {
            new BCW.BLL.Game.Dicepay().Update(model);
        }

        string wText = "[url=/bbs/uinfo.aspx?uid=" + meid + "]" + mename + "[/url]在[url=/bbs/game/dice.aspx]挖宝第" + DiceId + "局[/url]押注" + paycent + "" + bzText + "";

        new BCW.BLL.Action().Add(9, 0, 0, "", wText);
    }
Ejemplo n.º 4
0
    private void StatPage()
    {
        Master.Title = "赢利分析";
        builder.Append(Out.Tab("<div class=\"title\">", ""));
        builder.Append("赢利分析(不计机器人)");
        builder.Append(Out.Tab("</div>", "<br />"));

        //今天本金与赢利
        long TodayBuyCent = new BCW.BLL.Game.Dicepay().GetSumBuyCent("BzType=0 and State>0 and IsSpier=0 and Year(AddTime) = " + DateTime.Now.Year + " AND Month(AddTime) = " + DateTime.Now.Month + " and Day(AddTime) = " + DateTime.Now.Day + "");
        long TodayWinCent = new BCW.BLL.Game.Dicepay().GetSumWinCent("BzType=0 and State>0 and IsSpier=0 and Year(AddTime) = " + DateTime.Now.Year + " AND Month(AddTime) = " + DateTime.Now.Month + " and Day(AddTime) = " + DateTime.Now.Day + "");

        //昨天本金与赢利
        long YesBuyCent = new BCW.BLL.Game.Dicepay().GetSumBuyCent("BzType=0 and State>0 and IsSpier=0 and Year(AddTime) = " + DateTime.Now.AddDays(-1).Year + " AND Month(AddTime) = " + DateTime.Now.AddDays(-1).Month + " and Day(AddTime) = " + DateTime.Now.AddDays(-1).Day + " ");
        long YesWinCent = new BCW.BLL.Game.Dicepay().GetSumWinCent("BzType=0 and State>0 and IsSpier=0 and Year(AddTime) = " + DateTime.Now.AddDays(-1).Year + " AND Month(AddTime) = " + DateTime.Now.AddDays(-1).Month + " and Day(AddTime) = " + DateTime.Now.AddDays(-1).Day + " ");

        //本月本金与赢利
        long MonthBuyCent = new BCW.BLL.Game.Dicepay().GetSumBuyCent("BzType=0 and State>0 and IsSpier=0 and Year(AddTime) = " + (DateTime.Now.Year) + " AND Month(AddTime) = " + (DateTime.Now.Month) + " ");
        long MonthWinCent = new BCW.BLL.Game.Dicepay().GetSumWinCent("BzType=0 and State>0 and IsSpier=0 and Year(AddTime) = " + (DateTime.Now.Year) + " AND Month(AddTime) = " + (DateTime.Now.Month) + " ");

        //上月本金与赢利
        long Month2BuyCent = new BCW.BLL.Game.Dicepay().GetSumBuyCent("BzType=0 and State>0 and IsSpier=0 and Year(AddTime) = " + (DateTime.Now.Year - DateTime.Now.Day) + " AND Month(AddTime) = " + (DateTime.Now.Month - DateTime.Now.Day) + " ");
        long Month2WinCent = new BCW.BLL.Game.Dicepay().GetSumWinCent("BzType=0 and State>0 and IsSpier=0 and Year(AddTime) = " + (DateTime.Now.Year - DateTime.Now.Day) + " AND Month(AddTime) = " + (DateTime.Now.Month - DateTime.Now.Day) + " ");

        //总本金与赢利
        long BuyCent = new BCW.BLL.Game.Dicepay().GetSumBuyCent("BzType=0 and State>0 and IsSpier=0");
        long WinCent = new BCW.BLL.Game.Dicepay().GetSumWinCent("BzType=0 and State>0 and IsSpier=0");


        builder.Append(Out.Tab("<div>", ""));
        builder.Append("今天下注:" + TodayBuyCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("今天返彩:" + TodayWinCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("今天净赢:" + (TodayBuyCent - TodayWinCent) + "" + ub.Get("SiteBz") + "");
        builder.Append(Out.Tab("</div>", Out.Hr()));

        builder.Append(Out.Tab("<div>", ""));
        builder.Append("昨天下注:" + YesBuyCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("昨天返彩:" + YesWinCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("昨天净赢:" + (YesBuyCent - YesWinCent) + "" + ub.Get("SiteBz") + "");
        builder.Append(Out.Tab("</div>", Out.Hr()));

        builder.Append(Out.Tab("<div>", ""));
        builder.Append("本月下注:" + MonthBuyCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("本月返彩:" + MonthWinCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("本月净赢:" + (MonthBuyCent - MonthWinCent) + "" + ub.Get("SiteBz") + "");
        builder.Append(Out.Tab("</div>", Out.Hr()));

        builder.Append(Out.Tab("<div>", ""));
        builder.Append("上月下注:" + Month2BuyCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("上月返彩:" + Month2WinCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("上月净赢:" + (Month2BuyCent - Month2WinCent) + "" + ub.Get("SiteBz") + "");
        builder.Append(Out.Tab("</div>", Out.Hr()));

        builder.Append(Out.Tab("<div>", ""));
        builder.Append("总计下注:" + BuyCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("总计返彩:" + WinCent + "" + ub.Get("SiteBz") + "<br />");
        builder.Append("总计净赢:" + (BuyCent - WinCent) + "" + ub.Get("SiteBz") + "");
        builder.Append(Out.Tab("</div>", ""));

        builder.Append(Out.Tab("<div class=\"hr\"></div>", Out.Hr()));
        builder.Append(Out.Tab("<div>", ""));
        builder.Append("<a href=\"" + Utils.getPage("dice.aspx") + "\">返回上一级</a><br />");
        builder.Append(Out.Tab("</div><div class=\"title\"><a href=\"" + Utils.getUrl("../default.aspx") + "\">返回管理中心</a>", "<a href=\"" + Utils.getUrl("../default.aspx") + "\">返回管理中心</a>"));
        builder.Append(Out.Tab("</div>", "<br />"));
    }
Ejemplo n.º 5
0
    private void ViewPage()
    {
        int id    = int.Parse(Utils.GetRequest("id", "get", 2, @"^[1-9]\d*$", "ID错误"));
        int ptype = int.Parse(Utils.GetRequest("ptype", "get", 1, @"^[1-2]\d*$", "1"));

        BCW.Model.Game.Dicelist model = new BCW.BLL.Game.Dicelist().GetDicelist(id);
        if (model == null)
        {
            Utils.Error("不存在的记录", "");
        }
        Master.Title = "第" + id + "局挖宝";
        builder.Append(Out.Tab("<div class=\"text\">", ""));
        builder.Append("查看下注/开奖记录");
        builder.Append(Out.Tab("</div>", "<br />"));
        builder.Append(Out.Tab("<div class=\"text\">", ""));
        builder.Append("查看:");
        if (ptype == 1)
        {
            builder.Append("下注|");
        }
        else
        {
            builder.Append("<a href=\"" + Utils.getUrl("dice.aspx?act=view&amp;ptype=1&amp;id=" + id + "&amp;backurl=" + Utils.getPage(0) + "") + "\">下注</a>|");
        }

        if (ptype == 2)
        {
            builder.Append("中奖");
        }
        else
        {
            builder.Append("<a href=\"" + Utils.getUrl("dice.aspx?act=view&amp;ptype=2&amp;id=" + id + "&amp;backurl=" + Utils.getPage(0) + "") + "\">中奖</a>");
        }

        builder.Append(Out.Tab("</div>", "<br />"));

        int    pageIndex;
        int    recordCount;
        int    pageSize = Convert.ToInt32(ub.Get("SiteListNo"));
        string strWhere = string.Empty;

        if (ptype == 1)
        {
            strWhere += "DiceId=" + id + "";
        }
        else
        {
            strWhere += "DiceId=" + id + " and state>0 and winCent>0";
        }

        string[] pageValUrl = { "act", "id", "ptype", "backurl" };
        pageIndex = Utils.ParseInt(Request.QueryString["page"]);
        if (pageIndex == 0)
        {
            pageIndex = 1;
        }

        // 开始读取列表
        IList <BCW.Model.Game.Dicepay> listDicepay = new BCW.BLL.Game.Dicepay().GetDicepays(pageIndex, pageSize, strWhere, out recordCount);

        if (listDicepay.Count > 0)
        {
            builder.Append(Out.Tab("<div class=\"text\">", ""));
            builder.Append("第" + id + "局开出:<b>" + Utils.ConvertSeparated(model.WinNum.ToString(), 1, ",") + "</b>");
            if (ptype == 1)
            {
                builder.Append("<br />共" + recordCount + "注下注");
            }
            else
            {
                builder.Append("<br />共" + recordCount + "注中奖");
            }

            builder.Append(Out.Tab("</div>", "<br />"));

            int k = 1;
            foreach (BCW.Model.Game.Dicepay n in listDicepay)
            {
                if (k % 2 == 0)
                {
                    builder.Append(Out.Tab("<div class=\"text\">", "<br />"));
                }
                else
                {
                    if (k == 1)
                    {
                        builder.Append(Out.Tab("<div>", ""));
                    }
                    else
                    {
                        builder.Append(Out.Tab("<div>", "<br />"));
                    }
                }

                builder.Append("" + ((pageIndex - 1) * pageSize + k) + ".<a href=\"" + Utils.getUrl("../uinfo.aspx?uid=" + n.UsID + "&amp;backurl=" + Utils.PostPage(1) + "") + "\">" + n.UsName + "</a>");

                string sText = string.Empty;
                if (n.Types == 1)
                {
                    sText = "押大小:" + ((n.BuyNum == 1) ? "大" : "小");
                }
                else if (n.Types == 2)
                {
                    sText = "押单双:" + ((n.BuyNum == 1) ? "单" : "双");
                }
                else if (n.Types == 3)
                {
                    sText = "押总和:" + n.BuyNum.ToString();
                }
                else if (n.Types == 4)
                {
                    sText = "押对子:" + n.BuyNum.ToString();
                }
                else if (n.Types == 5)
                {
                    if (n.BuyNum == 0)
                    {
                        sText = "押任意豹子";
                    }
                    else
                    {
                        sText = "押豹子" + n.BuyNum.ToString();
                    }
                }

                string bzTypes = string.Empty;
                if (n.bzType == 0)
                {
                    bzTypes = ub.Get("SiteBz");
                }
                else
                {
                    bzTypes = ub.Get("SiteBz2");
                }

                if (n.State == 0)
                {
                    builder.Append(sText + ",共" + n.BuyCent + "" + bzTypes + "[" + DT.FormatDate(n.AddTime, 13) + "]");
                }
                else if (n.State == 1)
                {
                    builder.Append(sText + ",共" + n.BuyCent + "" + bzTypes + "[" + DT.FormatDate(n.AddTime, 1) + "]");
                    if (n.WinCent > 0)
                    {
                        builder.Append("赢" + n.WinCent + "" + bzTypes + "");
                    }
                }
                else
                {
                    builder.Append(sText + ",共" + n.BuyCent + "" + bzTypes + ",赢" + n.WinCent + "" + bzTypes + "[" + DT.FormatDate(n.AddTime, 1) + "]");
                }


                k++;
                builder.Append(Out.Tab("</div>", ""));
            }

            // 分页
            builder.Append(BasePage.MultiPage(pageIndex, pageSize, recordCount, Utils.getPageUrl(), pageValUrl, "page", 0));
        }
        else
        {
            builder.Append(Out.Tab("<div class=\"text\">", ""));
            builder.Append("第" + id + "局开出:<b>" + Utils.ConvertSeparated(model.WinNum.ToString(), 1, ",") + "</b>");
            builder.Append("<br />共0注中奖");
            builder.Append(Out.Tab("</div>", "<br />"));
            builder.Append(Out.Div("div", "没有相关记录.."));
        }
        builder.Append(Out.Tab("<div class=\"hr\"></div>", Out.Hr()));
        builder.Append(Out.Tab("<div>", ""));
        builder.Append("<a href=\"" + Utils.getPage("dice.aspx") + "\">返回上一级</a>");
        builder.Append(Out.Tab("</div>", "<br />"));
        builder.Append(Out.Tab("<div class=\"title\">", ""));
        builder.Append("<a href=\"" + Utils.getUrl("../default.aspx") + "\">返回管理中心</a>");
        builder.Append(Out.Tab("</div>", "<br />"));
    }
Ejemplo n.º 6
0
    private void TopPage()
    {
        string strTitle = "挖宝排行榜";

        Master.Title = strTitle;

        builder.Append(Out.Tab("<div class=\"title\">", ""));
        builder.Append(strTitle);
        builder.Append(Out.Tab("</div>", "<br />"));
        int    pageIndex;
        int    recordCount;
        int    pageSize = Convert.ToInt32(ub.Get("SiteListNo"));
        string strWhere = string.Empty;

        strWhere += "bzType=0 and State>0";

        string[] pageValUrl = { "act", "backurl" };
        pageIndex = Utils.ParseInt(Request.QueryString["page"]);
        if (pageIndex == 0)
        {
            pageIndex = 1;
        }

        // 开始读取列表
        IList <BCW.Model.Game.Dicepay> listDicepay = new BCW.BLL.Game.Dicepay().GetDicepaysTop(pageIndex, pageSize, strWhere, out recordCount);

        if (listDicepay.Count > 0)
        {
            int k = 1;
            foreach (BCW.Model.Game.Dicepay n in listDicepay)
            {
                if (k % 2 == 0)
                {
                    builder.Append(Out.Tab("<div class=\"text\">", "<br />"));
                }
                else
                {
                    if (k == 1)
                    {
                        builder.Append(Out.Tab("<div>", ""));
                    }
                    else
                    {
                        builder.Append(Out.Tab("<div>", "<br />"));
                    }
                }
                builder.Append("[第" + ((pageIndex - 1) * pageSize + k) + "名]<a href=\"" + Utils.getUrl("/bbs/uinfo.aspx?uid=" + n.UsID + "&amp;backurl=" + Utils.PostPage(1) + "") + "\">" + BCW.User.Users.SetUser(n.UsID) + "</a>赢" + n.WinCent + "" + ub.Get("SiteBz") + "");
                k++;
                builder.Append(Out.Tab("</div>", ""));
            }

            // 分页
            builder.Append(BasePage.MultiPage(pageIndex, pageSize, recordCount, Utils.getPageUrl(), pageValUrl, "page", 0));
        }
        else
        {
            builder.Append(Out.Div("div", "没有相关记录.."));
        }
        builder.Append(Out.Tab("<div class=\"hr\"></div>", Out.Hr()));
        builder.Append(Out.Tab("<div>", ""));
        builder.Append("<a href=\"" + Utils.getPage("dice.aspx") + "\">返回上一级</a>");
        builder.Append(Out.Tab("</div>", "<br />"));
        builder.Append(Out.Tab("<div class=\"title\">", ""));
        builder.Append("<a href=\"" + Utils.getUrl("../default.aspx") + "\">返回管理中心</a>");
        builder.Append(Out.Tab("</div>", "<br />"));
    }