<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userGuessBook.aspx.cs" Inherits="KeLin.WebSite.bbs.userGuessBook" %><%@ Import namespace="KeLin.ClassManager.Tool" %><% Response.Write(WapTool.showTop(this.GetLang("留言板|留言板|GuessBook"), wmlVo));//显示头 if (ver == "1") { strhtml.Append("

"); strhtml.Append(ERROR); if (this.INFO == "OK") { strhtml.Append("留言成功!
"); if (siteVo.isCheck == 1) { strhtml.Append("审核后显示!
"); } } else if (this.INFO == "NULL") { strhtml.Append("留言内容不能为空!
"); } else if (this.INFO == "REPEAT") { strhtml.Append("请不要发重复内容!
"); } else if (this.INFO == "WAITING") { strhtml.Append("请再过" + this.KL_CheckIPTime + "秒后操作!
"); } else if (this.INFO == "MAX") { strhtml.Append("抱歉,您已超过一天留言总数" + KL_CheckZoneReCount + "条了,请明天再来!
"); } else if (this.INFO == "LOCK") { strhtml.Append("抱歉,您已经被加入黑名单,请注意发帖规则!
"); } //顶部链接 strhtml.Append("返回上级 "); if(this.ot=="1"){ strhtml.Append("按最新回复 "); }else{ strhtml.Append("按最早回复 "); } strhtml.Append("
"); //显示输入框 strhtml.Append("\"表情\"/"); strhtml.Append("
"); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append("我要留言 "); strhtml.Append("
"); //显示列表 strhtml.Append(linkTOP); kk = kk + ((CurrentPage - 1) * pageSize) -1 ; for (int i = 0; (listVo != null && i < listVo.Count); i++) { if (ot == "1") { index = (kk + 1); } else { index = (total - kk); } strhtml.Append("[" + index + "楼]"); strhtml.Append("[回]"); //--------------------管理员 if (this.userid == listVo[i].userid.ToString() || this.IsUserManager(this.userid, userVo.managerlvl, "")) //自己删除自己的帖子 { strhtml.Append("[删]"); } //---------------------- strhtml.Append(listVo[i].content + "
----------
"); kk = kk + 1; } if (listVo == null) { strhtml.Append("暂无留言记录!
"); } //显示导航分页 strhtml.Append(linkURL); strhtml.Append("返回上级 "); strhtml.Append("我的地盘"); strhtml.Append(WapTool.GetVS(wmlVo)); strhtml.Append("

"); //输出 Response.Write(WapTool.ToWML(strhtml.ToString(), wmlVo)); } else //2.0界面 { strhtml.Append("
" + this.GetLang("留言板|留言板|GuessBook") + "
"); strhtml.Append(ERROR); if (this.INFO != "") strhtml.Append("
"); if (this.INFO == "OK") { strhtml.Append("留言成功!
"); if (siteVo.isCheck == 1) { strhtml.Append("审核后显示!
"); } } else if (this.INFO == "NULL") { strhtml.Append("留言内容不能为空!
"); } else if (this.INFO == "REPEAT") { strhtml.Append("请不要发重复内容!
"); } else if (this.INFO == "WAITING") { strhtml.Append("请再过" + this.KL_CheckIPTime + "秒后操作!
"); } else if (this.INFO == "MAX") { strhtml.Append("抱歉,您已超过一天留言总数" + KL_CheckZoneReCount + "条了,请明天再来!
"); } else if (this.INFO == "LOCK") { strhtml.Append("抱歉,您已经被加入黑名单,请注意发帖规则!
"); } if (this.INFO != "") strhtml.Append("
"); strhtml.Append("
"); //显示输入框 strhtml.Append("
"); strhtml.Append("\"表情\"/"); strhtml.Append("
"); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append(""); strhtml.Append("
"); strhtml.Append("
"); strhtml.Append("按最新回复 "); strhtml.Append("按最早回复 "); strhtml.Append("
"); //显示列表 strhtml.Append(""); kk = kk + ((CurrentPage - 1) * pageSize) - 1; for (int i = 0; (listVo != null && i < listVo.Count); i++) { if (i % 2 == 0) { strhtml.Append("
"); } else { strhtml.Append("
"); } if (ot == "1") { index = (kk + 1); } else { index = (total - kk); } strhtml.Append("[" + index + "楼] "); strhtml.Append("[回]"); //--------------------管理员 if (this.userid == listVo[i].userid.ToString() || this.IsUserManager(this.userid, userVo.managerlvl, "")) //自己删除自己的帖子 { strhtml.Append("[删]"); } strhtml.Append(listVo[i].content); strhtml.Append("
"); kk = kk + 1; } if (listVo == null) { strhtml.Append("
暂无留言记录!
"); } strhtml.Append(""); //显示导航分页 strhtml.Append(linkURL); string isWebHtml = this.ShowWEB_view(this.classid); //看是存在html代码 if (isWebHtml != "") { string strhtml_list = strhtml.ToString(); //int s = strhtml_list.IndexOf("
"); //strhtml_list = strhtml_list.Substring(s, strhtml_list.Length - s); Response.Clear(); Response.Write(WapTool.ToWML(isWebHtml.Replace("[view]", strhtml_list), wmlVo)); Response.End(); } strhtml.Append("
"); strhtml.Append("返回上级 "); strhtml.Append("我的地盘"); strhtml.Append("
"); //输出 Response.Write(WapTool.ToWML(strhtml.ToString(), wmlVo)); } //显示底部 Response.Write(WapTool.showDown(wmlVo)); %>