%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FriendList.aspx.cs" Inherits="KeLin.WebSite.bbs.FriendList" %><%@ Import namespace="KeLin.ClassManager.Tool" %> <% string msgbox = ""; if (this.friendtype == "0") { msgbox = "我的好友|我的好友|my friend"; }else if (this.friendtype == "1") { msgbox = "我的黑名单|我的黑名单|black"; } else if(this.friendtype=="2") { msgbox = "我的追求|我的追求|my love"; } else if (this.friendtype == "4") { msgbox = "追求我的人|追求我的人|who love me"; } else if (this.friendtype == "5") { msgbox = "我推荐的人|我推荐的人|我推荐的人"; } StringBuilder strhtml = new StringBuilder(); Response.Write(WapTool.showTop(this.GetLang(msgbox), wmlVo));//显示头 if (ver == "1") { strhtml.Append("
");
if (this.INFO == "OK")
{
strhtml.Append(""+this.GetLang("操作成功!||")+"
");
}
else if (this.INFO == "MY")
{
strhtml.Append("" + this.GetLang("不能加自己!||") + "
");
}
else if (this.INFO == "NOTUSER")
{
strhtml.Append(""+this.GetLang("对方不存!||")+"
");
}
else if (this.INFO == "HASEXIST")
{
strhtml.Append(""+this.GetLang("已经存在了!||")+"
");
}
else if (this.INFO == "MAX")
{
strhtml.Append("抱歉,一天只能加" + KL_ADDFriendCount + "个好友,请明天再来!
");
}
else if (this.INFO == "LOCK")
{
strhtml.Append(""+this.GetLang("抱歉,您已经被加入黑名单,请注意发帖规则!||")+"
");
}
strhtml.Append("[返回源来页]
");
strhtml.Append("输入会员ID:");
strhtml.Append("
");
if(this.friendtype=="1"){
strhtml.Append("以下用户将不能给你发站内信息!
");
}
strhtml.Append("---------
");
strhtml.Append(linkTOP);
//显示列表
string YesOrNo = "";
for (int i = 0; (listVo != null && i < listVo.Count); i++)
{
index = index + kk;
strhtml.Append(index + ".");
if (this.friendtype == "4")
{
strhtml.Append("" + WapTool.GetNickNameFromID(this.siteid, listVo[i].userid.ToString()) + "");
strhtml.Append("[发信]");
}
else
{
strhtml.Append("" + listVo[i].friendnickname + "");
strhtml.Append("[发信]");
strhtml.Append("[删除]");
strhtml.Append("[备注]");
if (listVo[i].friendusername != "")
{
strhtml.Append("
备注:" + listVo[i].friendusername + "");
}
}
strhtml.Append("
(" + listVo[i].addtime + ")
");
}
if (listVo == null)
{
strhtml.Append("没有" + this.GetLang(msgbox) + "
");
}
//显示导航分页
strhtml.Append(linkURL);
strhtml.Append("返回源来页
");
strhtml.Append("清空" + this.GetLang(msgbox) + "
");
strhtml.Append("返回首页");
strhtml.Append(WapTool.GetVS(wmlVo));
strhtml.Append("