%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Book_View_add.aspx.cs" Inherits="KeLin.WebSite.bbs.Book_View_add" %><%@ Import namespace="KeLin.ClassManager.Tool" %><%
if (this.INFO == "OK")
{
wmlVo.timer = "3";
wmlVo.strUrl = "bbs/book_view.aspx?siteid=" + siteid + "&classid=" + classid + "&id=" + this.getid;
}
Response.Write(WapTool.showTop(this.GetLang("发表主题|發表主題|add subject"), wmlVo));//显示头
strhtml.Append("
");
if (this.INFO == "OK")
{
strhtml.Append("
发表主题成功! ");
if (siteVo.isCheck == 1)
{
strhtml.Append("
审核后显示! ");
}
strhtml.Append("获得" + WapTool.GetSiteMoneyName(siteVo.sitemoneyname, this.lang) + ":" + getmoney + ",获得经验:" + 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("。
自动返回主题");
strhtml.Append("");
}
else if (this.INFO == "NULL")
{
strhtml.Append("
标题最少" + this.titlemax + "字,内容最少" + this.contentmax + "字!");
}
else if (this.INFO == "TITLEMAX")
{
if (title_max != "0")
{
strhtml.Append("
标题最大" + this.title_max + "字。");
}
if (content_max != "0")
{
strhtml.Append("
内容最大" + this.content_max + "字。");
}
}
else if (this.INFO == "ERR_FORMAT")
{
strhtml.Append("
取到非法值:“$$(”请更换手机浏览器或重新编辑!");
}
else if (this.INFO == "REPEAT")
{
strhtml.Append("
请不要发重复内容!");
}
else if (this.INFO == "PWERROR")
{
strhtml.Append("
密码错误,请重新录入我的密码!");
}
else if (this.INFO == "ERROR_Secret")
{
strhtml.Append("
暗号错误,如果忘记联系站长索取!");
}
else if (this.INFO == "MAX")
{
strhtml.Append("
今天你已超过发帖限制:" + this.KL_CheckBBSCount + " 个帖子了,请明天再来!");
}
else if (this.INFO == "SENDMONEY")
{
strhtml.Append("
你当前的只有:" + userVo.money + "个,所以你悬赏值只能小于或等于" + userVo.money + "个");
}
else if (this.INFO == "NOMONEY")
{
strhtml.Append("
你当前的只有:" + userVo.money + "个,发帖需要扣掉:" + getmoney2 + "个");
}
else if (this.INFO == "LOCK")
{
strhtml.Append("
抱歉,您已经被加入黑名单,请注意发帖规则!");
}
else if (this.INFO == "MAXFILE")
{
strhtml.Append("
你上传的单个文件总大小超出了最大限制" + siteVo.MaxFileSize + "KB");
}
else if (this.INFO == "NOTSPACE")
{
strhtml.Append("
系统空间不够用了。");
}
else if (this.INFO == "EXTERR")
{
strhtml.Append("
上传文件格式错误,只允许上传:" + siteVo.UpFileType + "");
}
strhtml.Append("
");
strhtml.Append("");
if (this.INFO != "OK")
{
//显示表情
strhtml.Append("
");
strhtml.Append("说明:下拉操作的特殊帖控制开始可以输入[go],即[go]字符后才开始控制,自定义分页[next]。也可以完全用UBB特殊帖来实现,请查看UBB方法。
");
}
strhtml.Append("
");
strhtml.Append("");
//strhtml_list = strhtml_list.Substring(s, strhtml_list.Length - s);
Response.Clear();
Response.Write(WapTool.ToWML(isWebHtml.Replace("[view]", strhtml.ToString()), wmlVo));
Response.End();
}
strhtml.Append("
");
Response.Write(strhtml);
if(this.showhtmlEdit =="1"){
%>
<%
}
//显示底部
Response.Write(WapTool.showDown(wmlVo)); %>