%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Book_Re.aspx.cs" Inherits="KeLin.WebSite.bbs.Book_Re" %><%@ Import namespace="KeLin.ClassManager.Tool" %><% if(this.INFO == "OK"){ if ("1".Equals(WapTool.getArryString(classVo.smallimg, '|', 1))) { wmlVo.timer = "3"; wmlVo.strUrl = "bbs/book_view.aspx?siteid=" + siteid + "&classid=" + classid + "&id=" + id + "&lpage=" + lpage; } else { wmlVo.timer = "3"; wmlVo.strUrl = "bbs/book_re.aspx?siteid=" + siteid + "&classid=" + classid + "&id=" + id + "&lpage=" + lpage; } } Response.Write(WapTool.showTop(this.GetLang("查看回复|查看回複|View Reply"), wmlVo));//显示头 if (ver == "1") { strhtml.Append("
");
strhtml.Append(ERROR);
if (this.INFO == "OK")
{
strhtml.Append("回复成功! ");
if (siteVo.isCheck == 1)
{
strhtml.Append("审核后显示! ");
}
strhtml.Append("获得" + WapTool.GetSiteMoneyName(siteVo.sitemoneyname, this.lang) + ":" + allMoney + ",经验:" + getexpr + "");
if (this.getmoney_percent != 0)
{
strhtml.Append("," + WapTool.GetMyID(userVo.idname, lang, userVo.endTime) + "身份,额外获得" + WapTool.GetSiteMoneyName(siteVo.sitemoneyname, this.lang) + ":" + getmoney_percent + "");
}
if (this.getexpr_percent != 0)
{
strhtml.Append(",");
if (this.getmoney_percent == 0) strhtml.Append(WapTool.GetMyID(userVo.idname, lang, userVo.endTime) + "身份,额外");
strhtml.Append("获得经验:" + getexpr_percent);
}
strhtml.Append("。
跳转中...返回
");
}
else if (this.INFO == "NULL")
{
strhtml.Append("回复内容最少" + contentmax + "字!
");
}
else if (this.INFO == "TITLEMAX")
{
strhtml.Append("内容最大" + this.content_max + "字。
");
}
else if (this.INFO == "ERR_FORMAT")
{
strhtml.Append("取到非法值:“$$(”请更换手机浏览器或重新编辑!
");
}
else if (this.INFO == "ERROR_Secret")
{
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("今天你已超过回帖限制:" + this.KL_CheckBBSreCount + " 个回帖子,请明天再来!
");
}
else if (this.INFO == "LOCK")
{
strhtml.Append("抱歉,您已经被加入黑名单,请注意发帖规则!
");
}
else if (this.INFO == "NOMONEY")
{
strhtml.Append("你当前的只有:" + userVo.money + "个,发帖需要扣掉:" + getmoney2 + "个
");
}
if (this.INFO == "")
{
//顶部链接
strhtml.Append("刷新.");
if (this.ot == "1")
{
strhtml.Append("按最新回复.");
}
else
{
strhtml.Append("按最早回复.");
}
strhtml.Append("楼主回复 ");
strhtml.Append("
");
strhtml.Append("返回主题.");
strhtml.Append("返回列表");
strhtml.Append("
");
if (bookVo.islock == 0)
{
if (this.reply != "")
{
strhtml.Append("回复" + this.reply + "楼:
");
strhtml.Append("
");
}
//显示输入框
strhtml.Append("");
strhtml.Append("
");
strhtml.Append("
");
if (this.isNeedSecret == true)
{
strhtml.Append("本版暗号*:
");
}
strhtml.Append("
");
}
//显示列表
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);
}
if (listVo[i].book_top == 1 && this.CurrentPage == 1)
{
strhtml.Append("[顶楼]");
}
else
{
if (index == 1)
{
strhtml.Append("[沙发]");
}
else if (index == 2)
{
strhtml.Append("[椅子]");
}
else if (index == 3)
{
strhtml.Append("[板凳]");
}
else
{
strhtml.Append("[" + index + "楼]");
}
}
if (this.userid == bookVo.book_pub && bookVo.sendMoney > 0 && listVo[i].myGetMoney == 0)
{
strhtml.Append("[赏分]");
}
if (listVo[i].myGetMoney > 0)
{
strhtml.Append("[得金:" + listVo[i].myGetMoney + "]");
}
//--------------------管理员
if (this.IsCheckManagerLvl("|00|01|03|04|", classVo.adminusername))
{
strhtml.Append("[送]");
strhtml.Append("[删]");
strhtml.Append("[审]");
if (listVo[i].book_top == 1)
{
strhtml.Append("[消顶]");
}
else
{
strhtml.Append("[顶]");
}
}
else if (this.userid == listVo[i].userid.ToString()) //自己删除自己的帖子
{
strhtml.Append("[删]");
}
strhtml.Append("[回]");
//----------------------
if (listVo[i].reply != 0)
{
strhtml.Append("回复" + listVo[i].reply + "楼:");
}
strhtml.Append(listVo[i].content);
if (listVo[i].isdown > 0)
{
strhtml.Append("{查看" + listVo[i].isdown + "个附件}");
}
strhtml.Append("
" + ShowNickName_color(listVo[i].userid, listVo[i].nickname) + "(" + listVo[i].userid + ") " + string.Format("{0:MM-dd HH:mm}", listVo[i].redate) + "
");
kk = kk + 1;
}
if (listVo == null)
{
strhtml.Append("暂无回复记录!
");
}
//显示导航分页
strhtml.Append(linkURL);
}
strhtml.Append("返回主题 ");
strhtml.Append("返回列表 ");
strhtml.Append(WapTool.GetVS(wmlVo));
strhtml.Append("
"); if (ot == "1") { index = (kk + 1); } else { index = (total - kk); } if (listVo[i].book_top == 1 && this.CurrentPage == 1) { strhtml.Append("[顶楼]"); } else { if (index == 1) { strhtml.Append("沙发"); } else if (index == 2) { strhtml.Append("椅子"); } else if (index == 3) { strhtml.Append("地板"); } else { strhtml.Append("" + index + "楼"); } } strhtml.Append(" | " + ShowNickName_color(listVo[i].userid, listVo[i].nickname) + "");
if (listVo[i].sex == "1" && listVo[i].isonline == "1")
{
strhtml.Append(" ");
}
else if (listVo[i].sex == "1" && listVo[i].isonline == "0")
{
strhtml.Append(" ");
}
else if (listVo[i].sex == "0" && listVo[i].isonline == "1")
{
strhtml.Append(" ");
}
else
{
strhtml.Append(" ");
}
strhtml.Append("" + string.Format("{0:MM-dd HH:mm}", listVo[i].redate) + ""); //if (listVo[i].reply != 0) //{ // strhtml.Append("回复" + listVo[i].reply + "楼:"); //} strhtml.Append(listVo[i].content); if (listVo[i].isdown > 0) { strhtml.Append("{查看" + listVo[i].isdown + "个附件}"); } strhtml.Append(" "); if (listVo[i].myGetMoney > 0) { strhtml.Append("得金:" + listVo[i].myGetMoney + ""); } if (this.userid == bookVo.book_pub && bookVo.sendMoney > 0 && listVo[i].myGetMoney == 0) { strhtml.Append(" 赏分"); } //--------------------管理员 if (this.IsCheckManagerLvl("|00|01|03|04|", classVo.adminusername)) { strhtml.Append("送币"); strhtml.Append("删除"); strhtml.Append("审核"); if (listVo[i].book_top == 1) { strhtml.Append("消顶"); } else { strhtml.Append("置顶"); } } else if (this.userid == listVo[i].userid.ToString()) //自己删除自己的帖子 { strhtml.Append("删我"); } strhtml.Append("回复只看TA |
发表回复
"); strhtml.Append(""); strhtml.Append("