/// <summary> /// 吹牛自动游戏程序 /// </summary> /// <param name="BragId">局数ID</param> /// <param name="dt">截止时间</param> private void ChangePalyBrag() { int UsIDNum = new BCW.BLL.Game.Brag().GetCountState(0);//多少未结束的吹牛 //如果小于8个则自动出动1个ID来开吹牛 if (UsIDNum < 5) { PlayBrag(0); } //应战 PlayBrag2(0); }
//下注操作 private void PlayBrag(int meid) { if (meid == 0) { meid = GetUsID(); } ChanageOnline(meid); Random ra = new Random(unchecked ((int)DateTime.Now.Ticks)); int bzType = ra.Next(0, 2); int ptype = ra.Next(1, 3); //币的类型 long paycent = GetPayCent(); 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; modelx.AcGold = 500000; modelx.AfterGold = gold + 500000;//更新后的币数 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+500000 where id=" + meid + ""); } } if (bzType == 0) { new BCW.BLL.User().UpdateiGold(meid, mename, -paycent, "吹牛消费"); } else { new BCW.BLL.User().UpdateiMoney(meid, mename, -paycent, "吹牛消费"); } BCW.Model.Game.Brag model = new BCW.Model.Game.Brag(); model.Title = "我比你帅多了"; model.Types = 0; model.BragA = "信"; model.BragB = "不信"; model.ChooseType = 0; model.TrueType = ptype; model.StopTime = DateTime.Now.AddHours(1); model.UsID = meid; model.UsName = mename; model.AddTime = DateTime.Now; model.ReID = 0; model.ReName = ""; model.Price = paycent; model.State = 0; model.BzType = bzType; int id = new BCW.BLL.Game.Brag().Add(model); string wText = "[url=/bbs/uinfo.aspx?uid=" + meid + "]" + mename + "[/url]在[url=/bbs/game/brag.aspx]疯狂吹牛[/url]开盘成功(" + paycent + "" + bzText + ")"; new BCW.BLL.Action().Add(14, id, 0, "", wText); }
//应战操作 private void PlayBrag2(int meid) { if (meid == 0) { meid = GetUsID(); } ChanageOnline(meid); Random ra = new Random(unchecked ((int)DateTime.Now.Ticks)); int ptype = ra.Next(1, 3); DataSet ds = new BCW.BLL.Game.Brag().GetList("ID", "Types=0 and State=0 and UsID<>" + meid + " and AddTime<'" + DateTime.Now.AddMinutes(-20) + "' ORDER BY NEWID()"); if (ds != null && ds.Tables[0].Rows.Count > 0) { int TNum = Utils.ParseInt(ub.GetSub("BragTNum", xmlPath)); if (TNum > 0) { int TCount2 = new BCW.BLL.Game.Brag().GetCount2(meid); if (TCount2 > TNum) { int TCount = new BCW.BLL.Game.Brag().GetCount(meid); if ((TCount2 - TNum) > Convert.ToInt32(TCount * TNum)) { PlayBrag(0); meid = GetUsID(); } } } string mename = new BCW.BLL.User().GetUsName(meid); int id = int.Parse(ds.Tables[0].Rows[0]["ID"].ToString()); BCW.Model.Game.Brag model = new BCW.BLL.Game.Brag().GetBrag(id); long gold = 0; string bzText = string.Empty; if (model.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 (model.Price > gold) { //更新消费记录 BCW.Model.Goldlog modelx = new BCW.Model.Goldlog(); modelx.BbTag = 3; modelx.Types = model.BzType; modelx.PUrl = Utils.getPageUrl();//操作的文件名 modelx.UsId = meid; modelx.UsName = mename; modelx.AcGold = 500000; modelx.AfterGold = gold + 500000;//更新后的币数 modelx.AcText = "系统机器人自动操作"; modelx.AddTime = DateTime.Now; new BCW.BLL.Goldlog().Add(modelx); if (model.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+500000 where id=" + meid + ""); } } //应战十赌六赢 //if (model.Price > 10000) //{ int bet = model.TrueType; Random ra2 = new Random(unchecked ((int)DateTime.Now.Ticks)); int rdNext = ra2.Next(1, 1000); if (rdNext <= 400) { rdNext = ((bet == 1) ? 2 : 1); } else { rdNext = bet; } ptype = rdNext; //} //更新吹牛记录 BCW.Model.Game.Brag m = new BCW.Model.Game.Brag(); m.ID = id; m.ReID = meid; m.ReName = mename; m.ReTime = DateTime.Now; m.ChooseType = ptype; m.State = 1; new BCW.BLL.Game.Brag().UpdateState(m); //操作币 long winMoney = model.Price; //税率 long SysTax = 0; int Tax = 0; if (CaseBrag(model.Price, model.BzType) == "蜗牛") { Tax = Utils.ParseInt(ub.GetSub("BragTar1", xmlPath)); } else if (CaseBrag(model.Price, model.BzType) == "水牛") { Tax = Utils.ParseInt(ub.GetSub("BragTar2", xmlPath)); } else { Tax = Utils.ParseInt(ub.GetSub("BragTar3", xmlPath)); } if (Tax > 0) { SysTax = Convert.ToInt64(winMoney * Tax * 0.01); } winMoney = winMoney - SysTax; //庄家是不是机器人 bool IsRobot = false; if (new BCW.BLL.User().GetIsSpier(model.UsID) == 1) { IsRobot = true; } if (model.TrueType == ptype) { if (model.BzType == 0) { new BCW.BLL.User().UpdateiGold(meid, mename, winMoney, 7); new BCW.BLL.User().UpdateiGoldTop(model.UsID, model.UsName, -model.Price, 7); } else { new BCW.BLL.User().UpdateiMoney(meid, mename, winMoney, "吹牛消费"); } if (!IsRobot) { new BCW.BLL.Guest().Add(1, model.UsID, model.UsName, "您的吹牛:" + model.Title + "已经结束,参与吹牛人[url=/bbs/uinfo.aspx?uid=" + meid + "]" + mename + "[/url],结果你忽悠不了对方,输了![url=/bbs/game/brag.aspx?act=add]我要继续吹[/url]"); } string wText = "[url=/bbs/uinfo.aspx?uid=" + meid + "]" + mename + "[/url]在[url=/bbs/game/brag.aspx]疯狂吹牛[/url]识破了" + model.UsName + "的吹牛(赢" + model.Price + "" + bzText + ")"; new BCW.BLL.Action().Add(14, id, 0, "", wText); } else { if (model.BzType == 0) { new BCW.BLL.User().UpdateiGold(meid, mename, -model.Price, 7); new BCW.BLL.User().UpdateiGoldTop(model.UsID, model.UsName, winMoney, 7); } else { new BCW.BLL.User().UpdateiGold(meid, mename, -model.Price, "吹牛消费"); } //如果是机器人就马上兑奖 if (!IsRobot) { new BCW.BLL.Guest().Add(1, model.UsID, model.UsName, "您的吹牛:" + model.Title + "已经结束,参与吹牛人[url=/bbs/uinfo.aspx?uid=" + meid + "]" + mename + "[/url],结果全赢![url=/bbs/game/brag.aspx?act=case]马上兑奖[/url]"); } else//自动兑换 { new BCW.BLL.Game.Brag().UpdateState(id, 2); if (model.BzType == 0) { new BCW.BLL.User().UpdateiGold(model.UsID, winMoney, "吹牛消费"); } else { new BCW.BLL.User().UpdateiMoney(model.UsID, winMoney, "吹牛消费"); } } string wText = "[url=/bbs/uinfo.aspx?uid=" + meid + "]" + mename + "[/url]在[url=/bbs/game/brag.aspx]疯狂吹牛[/url]中的" + model.UsName + "的吹牛上当了(输" + model.Price + "" + bzText + ")"; new BCW.BLL.Action().Add(14, id, 0, "", wText); } } }
private void ReloadPage() { Master.Title = "吹牛管理"; builder.Append(Out.Tab("<div class=\"title\">", "")); builder.Append("<a href=\"" + Utils.getUrl("default.aspx") + "\">游戏</a>>"); builder.Append("吹牛"); builder.Append(Out.Tab("</div>", "<br />")); string ac = Utils.ToSChinese(Utils.GetRequest("ac", "all", 1, "", "")); int uid = int.Parse(Utils.GetRequest("uid", "all", 1, @"^[1-9]\d*$", "0")); int pageIndex; int recordCount; int pageSize = Convert.ToInt32(ub.Get("SiteListNo")); string strWhere = string.Empty; if (uid > 0) { if (ac == "搜吹牛") { strWhere += "usid=" + uid + ""; } else if (ac == "搜参与") { strWhere += "reid=" + uid + ""; } } string[] pageValUrl = { "ac", "act", "uid", "backurl" }; pageIndex = Utils.ParseInt(Request.QueryString["page"]); if (pageIndex == 0) { pageIndex = 1; } // 开始读取列表 IList <BCW.Model.Game.Brag> listBrag = new BCW.BLL.Game.Brag().GetBrags(pageIndex, pageSize, strWhere, out recordCount); if (listBrag.Count > 0) { int k = 1; foreach (BCW.Model.Game.Brag n in listBrag) { 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 />")); } } string bzText = string.Empty; if (n.BzType == 0) { bzText = ub.Get("SiteBz"); } else { bzText = ub.Get("SiteBz2"); } string TrueText = string.Empty; if (Utils.GetDomain().Contains("kubao") || Utils.GetDomain().Contains("tuhao") || Utils.GetDomain().Contains("th") || Utils.GetDomain().Contains("kb288")) { int ManageId = new BCW.User.Manage().IsManageLogin(); if (ManageId == 1) { TrueText = "/答案" + n.TrueType + ""; } } else { TrueText = "/答案" + n.TrueType + ""; } builder.Append("<a href=\"" + Utils.getUrl("brag.aspx?act=del&id=" + n.ID + "&backurl=" + Utils.PostPage(1) + "") + "\">[删]></a>"); builder.Append("" + ((pageIndex - 1) * pageSize + k) + ".<a href=\"" + Utils.getUrl("brag.aspx?act=view&id=" + n.ID + "&backurl=" + Utils.PostPage(1) + "") + "\">" + n.UsName + "|" + n.Title + "</a>(" + n.Price + "" + bzText + "" + TrueText + ")"); k++; builder.Append(Out.Tab("</div>", "")); } // 分页 builder.Append(BasePage.MultiPage(pageIndex, pageSize, recordCount, Utils.getPageUrl(), pageValUrl, "page", 0)); } else { builder.Append(Out.Div("div", "没有相关记录..")); } string strText = "输入用户ID:/,"; string strName = "uid,backurl"; string strType = "num,hidden"; string strValu = "'" + Utils.getPage(0) + ""; string strEmpt = "true,false"; string strIdea = "/"; string strOthe = "搜吹牛|搜参与,brag.aspx,post,1,red|blue"; builder.Append(Out.wapform(strText, strName, strType, strValu, strEmpt, strIdea, strOthe)); builder.Append(Out.Tab("<div class=\"hr\"></div>", Out.Hr())); builder.Append(Out.Tab("<div>", "")); builder.Append("<a href=\"" + Utils.getUrl("brag.aspx?act=stat") + "\">赢利分析</a><br />"); builder.Append("<a href=\"" + Utils.getUrl("brag.aspx?act=reset") + "\">重置游戏</a><br />"); builder.Append("<a href=\"" + Utils.getUrl("../xml/bragset.aspx?backurl=" + Utils.PostPage(1) + "") + "\">游戏配置</a><br />"); builder.Append("<a href=\"" + Utils.getUrl("../toplist.aspx?act=top&ptype=7&backurl=" + Utils.PostPage(1) + "") + "\">排行榜单</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 />")); }
private void StatPage() { Master.Title = "赢利分析"; builder.Append(Out.Tab("<div class=\"title\">", "")); builder.Append("赢利分析"); builder.Append(Out.Tab("</div>", "<br />")); double Tar1 = Convert.ToDouble(ub.GetSub("BragTar1", xmlPath)); double Tar2 = Convert.ToDouble(ub.GetSub("BragTar2", xmlPath)); double Tar3 = Convert.ToDouble(ub.GetSub("BragTar3", xmlPath)); //今天赢利 long TodayWinCent1 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price<" + F1 + " and Year(AddTime) = " + DateTime.Now.Year + " AND Month(AddTime) = " + DateTime.Now.Month + " and Day(AddTime) = " + DateTime.Now.Day + ""); long TodayWinCent2 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F1 + " AND Price<" + F2 + " and Year(AddTime) = " + DateTime.Now.Year + " AND Month(AddTime) = " + DateTime.Now.Month + " and Day(AddTime) = " + DateTime.Now.Day + ""); long TodayWinCent3 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F2 + " and Year(AddTime) = " + DateTime.Now.Year + " AND Month(AddTime) = " + DateTime.Now.Month + " and Day(AddTime) = " + DateTime.Now.Day + ""); long TodayWin1 = Convert.ToInt64(TodayWinCent1 * Tar1 * 0.01); long TodayWin2 = Convert.ToInt64(TodayWinCent2 * Tar2 * 0.01); long TodayWin3 = Convert.ToInt64(TodayWinCent3 * Tar3 * 0.01); //昨天赢利 long YesWinCent1 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price<" + F1 + " 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 YesWinCent2 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F1 + " AND Price<" + F2 + " 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 YesWinCent3 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F2 + " 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 YesWin1 = Convert.ToInt64(YesWinCent1 * Tar1 * 0.01); long YesWin2 = Convert.ToInt64(YesWinCent2 * Tar2 * 0.01); long YesWin3 = Convert.ToInt64(YesWinCent3 * Tar3 * 0.01); //本月赢利 long MonthWinCent1 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price<" + F1 + " and Year(AddTime) = " + (DateTime.Now.Year) + " AND Month(AddTime) = " + (DateTime.Now.Month) + " "); long MonthWinCent2 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F1 + " AND Price<" + F2 + " and Year(AddTime) = " + (DateTime.Now.Year) + " AND Month(AddTime) = " + (DateTime.Now.Month) + " "); long MonthWinCent3 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F2 + " and Year(AddTime) = " + (DateTime.Now.Year) + " AND Month(AddTime) = " + (DateTime.Now.Month) + " "); long MonthWin1 = Convert.ToInt64(MonthWinCent1 * Tar1 * 0.01); long MonthWin2 = Convert.ToInt64(MonthWinCent2 * Tar2 * 0.01); long MonthWin3 = Convert.ToInt64(MonthWinCent3 * Tar3 * 0.01); //上月赢利 long Month2WinCent1 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price<" + F1 + " and Year(AddTime) = " + (DateTime.Now.Year - DateTime.Now.Day) + " AND Month(AddTime) = " + (DateTime.Now.Month - DateTime.Now.Day) + " "); long Month2WinCent2 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F1 + " AND Price<" + F2 + " and Year(AddTime) = " + (DateTime.Now.Year - DateTime.Now.Day) + " AND Month(AddTime) = " + (DateTime.Now.Month - DateTime.Now.Day) + " "); long Month2WinCent3 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F2 + " and Year(AddTime) = " + (DateTime.Now.Year - DateTime.Now.Day) + " AND Month(AddTime) = " + (DateTime.Now.Month - DateTime.Now.Day) + " "); long Month2Win1 = Convert.ToInt64(Month2WinCent1 * Tar1 * 0.01); long Month2Win2 = Convert.ToInt64(Month2WinCent2 * Tar2 * 0.01); long Month2Win3 = Convert.ToInt64(Month2WinCent3 * Tar3 * 0.01); long WinCent1 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price<" + F1 + ""); long WinCent2 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F1 + " AND Price<" + F2 + " "); long WinCent3 = new BCW.BLL.Game.Brag().GetPrice("BzType=0 and State>0 and Price>=" + F2 + ""); long Win1 = Convert.ToInt64(WinCent1 * Tar1 * 0.01); long Win2 = Convert.ToInt64(WinCent2 * Tar2 * 0.01); long Win3 = Convert.ToInt64(WinCent3 * Tar3 * 0.01); builder.Append(Out.Tab("<div>", "")); builder.Append("今天赢利:" + (TodayWin1 + TodayWin2 + TodayWin3) + "" + ub.Get("SiteBz") + ""); builder.Append(Out.Tab("</div>", "<br />")); builder.Append(Out.Tab("<div>", "")); builder.Append("昨天赢利:" + (YesWin1 + YesWin2 + YesWin3) + "" + ub.Get("SiteBz") + ""); builder.Append(Out.Tab("</div>", "<br />")); builder.Append(Out.Tab("<div>", "")); builder.Append("本月赢利:" + (MonthWin1 + MonthWin2 + MonthWin3) + "" + ub.Get("SiteBz") + ""); builder.Append(Out.Tab("</div>", "<br />")); builder.Append(Out.Tab("<div>", "")); builder.Append("上月赢利:" + (Month2Win1 + Month2Win2 + Month2Win3) + "" + ub.Get("SiteBz") + ""); builder.Append(Out.Tab("</div>", "<br />")); builder.Append(Out.Tab("<div>", "")); builder.Append("赢利总计:" + (Win1 + Win2 + Win3) + "" + 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("brag.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 />")); }
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.Brag model = new BCW.BLL.Game.Brag().GetBrag(id); if (model == null) { Utils.Error("不存在的记录", ""); } Master.Title = "吹牛《" + model.Title + "》"; builder.Append(Out.Tab("<div class=\"title\">", "")); builder.Append("查看吹牛"); builder.Append(Out.Tab("</div>", "<br />")); builder.Append(Out.Tab("<div>", "")); builder.Append("发布时间:" + DT.FormatDate(model.AddTime, 0) + "<br />"); builder.Append("应战时间:" + DT.FormatDate(model.ReTime, 0) + "<br />"); builder.Append("吹牛人:<a href=\"" + Utils.getUrl("../uinfo.aspx?uid=" + model.UsID + "&backurl=" + Utils.PostPage(1) + "") + "\">" + model.UsName + "</a><br />"); builder.Append("内容:" + model.Title + "<br />"); bool IsSeen = true; if (Utils.GetDomain().Contains("kubao") || Utils.GetDomain().Contains("tuhao") || Utils.GetDomain().Contains("th") || Utils.GetDomain().Contains("kb288")) { if (model.State == 0) { int ManageId = new BCW.User.Manage().IsManageLogin(); if (ManageId != 1 && ManageId != 11) { IsSeen = false; } } } builder.Append("答案1:" + model.BragA + ""); if (IsSeen) { if (model.TrueType == 1) { builder.Append("(正确)"); } } builder.Append("<br />答案2:" + model.BragB + ""); if (IsSeen) { if (model.TrueType == 2) { builder.Append("(正确)"); } } string bzText = string.Empty; if (model.BzType == 0) { bzText = ub.Get("SiteBz"); } else { bzText = ub.Get("SiteBz2"); } builder.Append("<br />" + CaseBrag(model.Price, model.BzType) + ":" + model.Price + "" + bzText + "<br />"); if (model.ReID > 0 && model.State != 4) { if (model.State == 0) { builder.Append("等待"); } builder.Append("应答人:<a href=\"" + Utils.getUrl("/bbs/uinfo.aspx?uid=" + model.ReID + "&backurl=" + Utils.PostPage(1) + "") + "\">" + model.ReName + "(" + model.ReID + ")</a><br />"); } if (model.State == 0) { builder.Append("开奖结果:未开奖"); } else if (model.State == 1 || model.State == 2) { if (model.TrueType != model.ChooseType) { builder.Append("获胜者:<a href=\"" + Utils.getUrl("../uinfo.aspx?uid=" + model.UsID + "&backurl=" + Utils.PostPage(1) + "") + "\">" + model.UsName + "(" + model.UsID + ")</a>"); } else { builder.Append("获胜者:<a href=\"" + Utils.getUrl("../uinfo.aspx?uid=" + model.ReID + "&backurl=" + Utils.PostPage(1) + "") + "\">" + model.ReName + "(" + model.ReID + ")</a>"); } } else if (model.State == 3) { builder.Append("状态:过期返还" + model.Price + "" + bzText + ""); } else if (model.State == 4) { builder.Append("状态:已经撤销"); } builder.Append(Out.Tab("</div>", "<br />")); builder.Append(Out.Tab("<div>", "")); builder.Append("<a href=\"" + Utils.getUrl("brag.aspx?act=del&id=" + id + "&backurl=" + Utils.getPage(0) + "") + "\">删除吹牛</a><br />"); builder.Append("<a href=\"" + Utils.getPage("brag.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 />")); }