<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="myFav.aspx.cs" Inherits="KeLin.WebSite.bbs.myFav" %><%@ Import namespace="KeLin.ClassManager.Tool" %><% StringBuilder strhtml=new StringBuilder (); Response.Write(WapTool.showTop(this.GetLang("我的收藏|我的收藏|my fav"), wmlVo));//显示头 if (ver == "1") { strhtml.Append("

"); strhtml.Append("[返回源来页]
"); strhtml.Append("--最新收藏--
"); //显示列表 for (int i = 0; (listVo != null && i < listVo.Count); i++) { index = index + kk; strhtml.Append(index + "."); strhtml.Append("" + listVo[i].title + "
"); } if (listVo == null) { strhtml.Append("没有记录
"); } strhtml.Append("--我的分类--
"); strhtml.Append("默认分类所有
"); for (int i = 0; (sublistVo != null && i < sublistVo.Count); i++) { strhtml.Append("" + sublistVo[i].subjectname + "
"); } if (sublistVo == null) { strhtml.Append("没有建分类,请先建立
"); } strhtml.Append("----------
"); strhtml.Append("添加收藏 "); strhtml.Append("添加分类
"); strhtml.Append("返回源来页 "); strhtml.Append("返回首页"); strhtml.Append(WapTool.GetVS(wmlVo)); strhtml.Append("

"); //输出 Response.Write(strhtml); } else //2.0界面 { strhtml.Append("
" + this.GetLang("我的收藏|我的收藏|my fav") + "
"); strhtml.Append("
"); strhtml.Append("最新收藏"); strhtml.Append("
"); strhtml.Append("
"); //显示列表 for (int i = 0; (listVo != null && i < listVo.Count); i++) { index = index + kk; strhtml.Append(index + "."); strhtml.Append("" + listVo[i].title + "
"); } if (listVo == null) { strhtml.Append("没有记录
"); } strhtml.Append("
"); strhtml.Append("
"); strhtml.Append("我的分类"); strhtml.Append("
"); strhtml.Append("
"); strhtml.Append("默认分类所有
"); for (int i = 0; (sublistVo != null && i < sublistVo.Count); i++) { strhtml.Append("" + sublistVo[i].subjectname + "
"); } if (sublistVo == null) { strhtml.Append("没有建分类,请先建立
"); } strhtml.Append("
"); string isWebHtml = this.ShowWEB_view(this.classid); //看是存在html代码 strhtml.Append("
"); strhtml.Append("添加收藏 "); strhtml.Append("添加分类
"); strhtml.Append("返回源来页 "); if (isWebHtml == "") { strhtml.Append("返回首页"); strhtml.Append(WapTool.GetVS(wmlVo)); } strhtml.Append("
"); 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, wmlVo).Replace("[view]", strhtml.ToString())); Response.End(); } Response.Write(strhtml); } Response.Write(ERROR); //显示底部 Response.Write(WapTool.showDown(wmlVo)); %>