public ActionResult FComment(int id) { if (FactionID != id && UserCommon.CheckBBSAdminRight(AdminType) == false) return RedirectToAction("FAdminAlert", new { id = id }); bizUsers bu = new bizUsers(); bizFaction bf = new bizFaction(); bizFComment bfc = new bizFComment(); int pageSize = 15; int page = Request.QueryString["page"] == null ? 1 : int.Parse(Request.QueryString["page"].ToString()); int count; List<FComment> list = bfc.List(id,page - 1, pageSize, out count); ViewData["PageList"] = Page.GetPageList("/factions/FComment/"+id+".html", count, pageSize, page, false); ViewData["ID"] = id; ViewData["FactionDeID"] = FactionDeID; return View(list); }