<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="myrizhi.aspx.cs" Inherits="KeLin.WebSite.rizhi.myrizhi" %><%@ Import namespace="KeLin.ClassManager.Tool" %><% Response.Write(WapTool.showTop(this.GetLang(tonickname+"的博客|的博客|My ablum"), wmlVo));//显示头 StringBuilder strhtml = new StringBuilder(); if (ver == "1") { strhtml.Append("

"); strhtml.Append("[返回源来页]
"); strhtml.Append("--最新微博--
"); //显示列表 StringBuilder sl = new StringBuilder(); for (int i = 0; (slistVo != null && i < slistVo.Count); i++) { index = index + kk; sl.Append(index + "."); sl.Append("" + slistVo[i].book_title + "(" + string.Format("{0:MM-dd HH:mm}", slistVo[i].book_date) + ")
"); if (slistVo[i].book_img.Split('|')[0] != "") { sl.Append("\"load...\"/
"); } } if (sl.ToString() != "") { strhtml.Append(WapTool.ToWML(sl.ToString(),wmlVo)); } if (slistVo == null) { strhtml.Append("没有记录
"); } strhtml.Append("--最新日志--
"); //显示列表 index = 0; kk = 1; for (int i = 0; (listVo != null && i < listVo.Count); i++) { index = index + kk; strhtml.Append(index + "."); strhtml.Append("" + listVo[i].book_title + "(" + string.Format("{0:MM-dd HH:mm}", listVo[i].book_date) + ")
"); if (listVo[i].book_img.Split('|')[0] != "") { strhtml.Append("\"load...\"/
"); } } 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("----------
"); if (this.userid == this.touserid) { 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(tonickname + "的博客|的博客|My ablum") + "
"); strhtml.Append("
"); strhtml.Append("最新微博"); strhtml.Append("
"); strhtml.Append("
"); StringBuilder sl = new StringBuilder(); for (int i = 0; (slistVo != null && i < slistVo.Count); i++) { index = index + kk; sl.Append(index + "."); sl.Append("" + slistVo[i].book_title + " " + string.Format("{0:MM-dd HH:mm}", slistVo[i].book_date) + "
"); if (slistVo[i].book_img.Split('|')[0] != "") { sl.Append("\"load...\"/
"); } } if (sl.ToString() != "") { strhtml.Append(WapTool.ToWML(sl.ToString(),wmlVo)); } if (slistVo == null) { strhtml.Append("没有记录
"); } strhtml.Append("
"); strhtml.Append("
"); strhtml.Append("最新日志"); strhtml.Append("
"); strhtml.Append("
"); //显示列表 index = 0; kk = 1; for (int i = 0; (listVo != null && i < listVo.Count); i++) { index = index + kk; strhtml.Append(index + "."); strhtml.Append("" + listVo[i].book_title + " " + string.Format("{0:MM-dd HH:mm}", listVo[i].book_date) + "
"); if (listVo[i].book_img.Split('|')[0] != "") { strhtml.Append("\"load...\"/
"); } } if (listVo == null) { strhtml.Append("没有记录
"); } strhtml.Append("
"); strhtml.Append("
"); strhtml.Append("博客分类"); if (this.userid == this.touserid) { 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("
"); if (this.userid == this.touserid) { strhtml.Append("
"); strhtml.Append("发表微博 "); strhtml.Append("发表日志 "); strhtml.Append("
"); } string isWebHtml = this.ShowWEB_view(this.classid); //看是存在html代码 strhtml.Append("
"); strhtml.Append("浏览所有 "); strhtml.Append("
"); strhtml.Append("
"); strhtml.Append("返回源来页 "); strhtml.Append("返回首页"); 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.Replace("[view]", strhtml_list), wmlVo)); Response.End(); } Response.Write(strhtml); } Response.Write(ERROR); //显示底部 Response.Write(WapTool.showDown(wmlVo)); %>