%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Book_List.aspx.cs" Inherits="KeLin.WebSite.bbs.Book_List" %><%@ Import namespace="KeLin.ClassManager.Tool" %><% //论坛专题名称 if(this.stype!=""){ classVo.classname = this.stypename + "(" + classVo.classname+")"; } Response.Write(WapTool.showTop(classVo.classname, wmlVo));//显示头 if (ver == "1") { strhtml.Append("
");
if (classVo.siteimg != "UploadFiles/no.gif" && classVo.siteimg != "NetImages/no.gif")
{
strhtml.Append("
");
}
if (classVo.introduce != "")
{
strhtml.Append(classVo.introduce + "
");
}
//显示查询某人的所有帖子
if (this.type == "pub")
{
if (this.CheckManagerLvl("04", "") == true)
{
strhtml.Append("清空(" + this.key + ")的所有帖子
");
}
}
//显示广告
if (adVo.secondShowTop != "")
{
strhtml.Append(adVo.secondShowTop+"
");
}
//显示固定按钮
if ((this.action == "" || this.action == "class") && this.stype == "")
{
string addtypes = "bbs/book_view_add.aspx?";
string ranktypes = "bbs/book_list_rank.aspx?";
if (WapTool.getArryString(classVo.smallimg, '|', 39) != "")
{
addtypes = "bbs/marksix/doit.aspx?mymarksix=" + WapTool.getArryString(classVo.smallimg, '|', 39) + "&";
ranktypes = "bbs/marksix/rank.aspx?";
}
strhtml.Append("发帖.版务.精华.专题.");
strhtml.Append(" 排行
");
}
strhtml.Append("------------
");
//显示导航分页
strhtml.Append(linkTOP);
//显示列表
string isBR = "";
if (classVo.articlenum == 1)
{
isBR = "
";
}
//置顶列表
for (int i = 0; (listVoTop != null && i < listVoTop.Count); i++)
{
if (listVoTop[i].book_top == 1)
{
strhtml.Append("[顶]");
}
else if (listVoTop[i].book_top == 2)
{
strhtml.Append("[总顶]");
}
if (listVoTop[i].topic != 0 && this.stype == "")
{
strhtml.Append("[专]");
}
if (listVoTop[i].book_click >= long.Parse(this.hots))
{
strhtml.Append("[火]");
}
if (listVoTop[i].book_good == 1)
{
strhtml.Append("[精]");
}
if (listVoTop[i].islock == 1)
{
strhtml.Append("[锁]");
}
if (listVoTop[i].islock == 2)
{
strhtml.Append("[结]");
}
if (listVoTop[i].sendMoney > 0)
{
strhtml.Append("[赏]");
}
if (listVoTop[i].isVote > 0)
{
strhtml.Append("[投]");
}
if (listVoTop[i].isdown == 1)
{
strhtml.Append("[附]");
}
if (listVoTop[i].isdown == 2)
{
strhtml.Append("[沉]");
}
if (listVoTop[i].freeMoney > 0)
{
strhtml.Append("[礼]");
}
if (listVoTop[i].MarkSixWin ==1)
{
strhtml.Append("[中]");
}
strhtml.Append("" + listVoTop[i].book_title + "" + isBR + "[" + ShowNickName_color(long.Parse(listVoTop[i].book_pub), listVoTop[i].book_author) + "/" + listVoTop[i].book_re + "回/" + listVoTop[i].book_click + "阅]
");
}
//所有列表
for (int i = 0; (listVo != null && i < listVo.Count); i++)
{
index = index + kk;
strhtml.Append(index+".");
//if (action != "" && action != "class")
//{
// strhtml.Append(listVo[i].classname);
//}
//if (listVo[i].book_top == 1 && this.CurrentPage==1)
//{
// strhtml.Append("[顶]");
//}
if (listVo[i].topic != 0 && this.stype == "")
{
strhtml.Append("[专]");
}
if (listVo[i].book_click >= long.Parse(this.hots))
{
strhtml.Append("[火]");
}
if (listVo[i].book_good == 1)
{
strhtml.Append("[精]");
}
if (listVo[i].islock == 1)
{
strhtml.Append("[锁]");
}
if (listVo[i].islock == 2)
{
strhtml.Append("[结]");
}
if (listVo[i].sendMoney >0)
{
strhtml.Append("[赏]");
}
if (listVo[i].isVote > 0)
{
strhtml.Append("[投]");
}
if (listVo[i].isdown == 1)
{
strhtml.Append("[附]");
}
if (listVo[i].isdown == 2)
{
strhtml.Append("[沉]");
}
if (listVo[i].freeMoney > 0)
{
strhtml.Append("[礼]");
}
if (listVo[i].MarkSixWin ==1 )
{
strhtml.Append("[中]");
}
strhtml.Append("" + this.CharReplaceToChar(this.siteid, listVo[i].book_title) + "" + isBR + "[" + ShowNickName_color(long.Parse(listVo[i].book_pub), listVo[i].book_author) + "/" + listVo[i].book_re + "回/" + listVo[i].book_click + "阅]
");
}
if (listVo == null)
{
strhtml.Append("暂无记录!
");
}
strhtml.Append("------------
");
//显示导航分页
strhtml.Append(linkURL);
//显示固定按钮
if ((this.action == "" || this.action == "class") && this.stype == "")
{
strhtml.Append("搜索.今日.日志.在线.监狱
");
strhtml.Append("------------
");
}
//显示广告
if (adVo.secondShowDown != "")
{
strhtml.Append(adVo.secondShowDown+"
");
}
//导航按钮
if (action == "search")
{
strhtml.Append("返回搜索
");
}
else if (action == "good" && this.classid!="0")
{
strhtml.Append("全部精华
");
}
if (downLink != "")
{
strhtml.Append(downLink);
}
else
{
strhtml.Append("返回上级-");
strhtml.Append("返回首页");
}
strhtml.Append(WapTool.GetVS(wmlVo));
if (classVo.sitedowntip != "")
{
strhtml.Append("
" + classVo.sitedowntip);
}
strhtml.Append("