<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Book_List.aspx.cs" Inherits="KeLin.WebSite.yuehui.Book_List" %><%@ Import namespace="KeLin.ClassManager.Tool" %><% 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("\"LOGO\"/
"); } if (classVo.introduce != "") { strhtml.Append(classVo.introduce + "
"); } //显示广告 if (adVo.secondShowTop != "") { strhtml.Append(adVo.secondShowTop+"
"); } if(action=="" || action=="class") strhtml.Append("发起约会
"); //显示列表 strhtml.Append(linkTOP); string yh_click = ""; for (int i = 0; (listVo != null && i < listVo.Count); i++) { index = index + kk; strhtml.Append(index + "."); if (listVo[i].yh_top == 1) { strhtml.Append("[顶]"); } if (listVo[i].yh_good == 1) { strhtml.Append("[精]"); } if (this.action == "hot") { yh_click = "("+listVo[i].yh_click.ToString()+")"; } strhtml.Append("["+listVo[i].yh_type+"]" + listVo[i].yh_title + yh_click+"
"); } if (listVo == null) { strhtml.Append("暂无记录!
"); } //显示导航分页 strhtml.Append(linkURL); //显示广告 if (adVo.secondShowDown != "") { strhtml.Append(adVo.secondShowDown+"
"); } //导航按钮 if (action == "search") { strhtml.Append("返回搜索 "); } strhtml.Append("返回上级 "); strhtml.Append("返回首页"); strhtml.Append(WapTool.GetVS(wmlVo)); if (classVo.sitedowntip != "") { strhtml.Append("
" + classVo.sitedowntip); } strhtml.Append("

"); //输出 Response.Write(WapTool.ToWML(strhtml.ToString(), wmlVo)); } else //2.0界面 { string isWebHtml = this.ShowWEB_list(this.classid); //看是存在html代码 StringBuilder strhtml_list = new StringBuilder(); //[view]UBB对应代码 if (classVo.siteimg != "UploadFiles/no.gif" && classVo.siteimg != "NetImages/no.gif") { strhtml.Append("
\"LOGO\"/
"); } if (classVo.introduce != "") { strhtml.Append(classVo.introduce); } //显示广告 if (adVo.secondShowTop != "") { strhtml.Append(adVo.secondShowTop); } if (action == "" || action == "class") strhtml_list.Append("
发起约会
"); //显示列表 string lpagetemp = ""; if (this.CurrentPage > 1) { if (WapTool.ISAPI_Rewrite3_Open == "1") { lpagetemp = "?lpage=" + CurrentPage; } else { lpagetemp = "&lpage=" + CurrentPage; } } strhtml_list.Append(linkTOP); string yh_click = ""; strhtml_list.Append(""); for (int i = 0; (listVo != null && i < listVo.Count); i++) { index = index + kk; if (this.action == "hot") { yh_click = "(" + listVo[i].yh_click.ToString() + ")"; } if (i % 2 == 0) { strhtml_list.Append("
"); } else { strhtml_list.Append("
"); } // strhtml_list.Append(index + "."); if (listVo[i].yh_top == 1) { strhtml_list.Append("\"顶\"/"); } if (listVo[i].yh_good == 1) { strhtml_list.Append("\"精\"/"); } if (WapTool.ISAPI_Rewrite3_Open == "1") { strhtml_list.Append("[" + listVo[i].yh_type + "]" + listVo[i].yh_title + yh_click + " " + string.Format("{0:MM-dd HH:mm}", listVo[i].yh_date) + "
"); } else { strhtml_list.Append("[" + listVo[i].yh_type + "]" + listVo[i].yh_title + yh_click + " " + string.Format("{0:MM-dd HH:mm}", listVo[i].yh_date) + "
"); } } if (listVo==null) { strhtml_list.Append("
暂无记录!
"); } strhtml_list.Append(""); //显示导航分页 strhtml_list.Append(linkURL); //显示电脑版 if (isWebHtml == "") { strhtml.Append(strhtml_list); } else //显示电脑html { Response.Clear(); Response.Write(WapTool.ToWML(isWebHtml.Replace("[view]", strhtml_list.ToString()), wmlVo)); Response.End(); } //显示广告 if (adVo.secondShowDown != "") { strhtml.Append(adVo.secondShowDown ); } //导航按钮 if (action == "search") { strhtml.Append("
"); strhtml.Append("返回搜索 "); strhtml.Append("
"); } strhtml.Append("
"); if (WapTool.ISAPI_Rewrite3_Open == "1") { strhtml.Append("返回上级 "); strhtml.Append("返回首页"); } else { strhtml.Append("返回上级 "); strhtml.Append("返回首页"); } strhtml.Append("
"); if (classVo.sitedowntip != "") { strhtml.Append(classVo.sitedowntip); } //输出 Response.Write(WapTool.ToWML(strhtml.ToString(), wmlVo)); } Response.Write(ERROR); //显示底部 Response.Write(WapTool.showDown(wmlVo)); %>