<%load.template._MessageHead%><%using Wapkang.Plugin%> <%if {errorcount}>0%> <%load.template._errmsgbox%> <%else%> 空间>会员中心>[b]{favoritesName}收藏夹[/b]
<%foreach (favoritesList) finfo typeList%> <%if {finfo.TypeId}=={favoritestype}%>{finfo.Name}<%else%>{finfo.Name}<%end if%><%if {finfo_for_id}<{typeList.Count}%>|<%end if%> <%foreach%>
[hr] <%if {logcount}>0%> <%set (int){index}=({pageid}-1)*{pagesize}%> <%if {favoritestype}=={FavoriteType.Topic}%> <%foreach info DataList%> <%set (string){topicTitle}=info["Title"].ToString().Trim()%> <%if {string.IsNullOrEmpty(topicTitle)}%> <%set {topicTitle}="帖子已经不存在-请删除"%> <%end if%> <%set (string){Lastuptime}=info["Lastuptime"].ToString()%> {(index+info_for_id)}.[{favoritesName}]{WmlCode(topicTitle)} [ㄨ]
([s]最后回复:{Utils.ConvertDateTime(Lastuptime)}/{info[Replies]}回/{info[Views]}阅[/s])
<%foreach%> <%else if {favoritestype}=={FavoriteType.Contents}%> <%foreach info DataList%> <%set (string){topicTitle}=info["Title"].ToString().Trim()%> <%if {string.IsNullOrEmpty(topicTitle)}%> <%set {topicTitle}="文章已经不存在-请删除"%> <%end if%> <%set (string){Lastuptime}=info["Lastuptime"].ToString()%> {(index+info_for_id)}.[{favoritesName}]{WmlCode(topicTitle)} [ㄨ]
([s]最后评论:{Utils.ConvertDateTime(Lastuptime)}/{info[Replies]}评/{info[Views]}阅[/s])
<%foreach%> <%else if {favoritestype}=={FavoriteType.ForumBoard}%> <%foreach info DataList%> <%set (string){BoardName}=info["Name"].ToString().Trim()%> <%if {string.IsNullOrEmpty(BoardName)}%> <%set {BoardName}="版块已经不存在-请删除"%> <%end if%> <%set (string){Lastuptime}=info["Lastuptime"].ToString()%> {(index+info_for_id)}.[{favoritesName}]{WmlCode(BoardName)} [ㄨ]
([s]最后更新:{Utils.ConvertDateTime(Lastuptime)}/主题数:{info[Topics]}/回帖数:{info[Replies]}[/s])
<%foreach%> <%else if {favoritestype}=={FavoriteType.ForumGroup}%> <%foreach info DataList%> <%set (string){forumName}=info["Name"].ToString().Trim()%> <%if {string.IsNullOrEmpty(forumName)}%> <%set {forumName}="群组已经不存在-请删除"%> <%end if%> <%set (string){Lastuptime}=info["Lastuptime"].ToString()%> {(index+info_for_id)}.[{favoritesName}]{WmlCode(forumName)} [ㄨ]
([s]最后更新:{Utils.ConvertDateTime(Lastuptime)}/主题数:{info[Topics]}/回帖数:{info[Replies]}[/s])
<%foreach%> <%else if {favoritestype}=={FavoriteType.FunctionClass}%> <%foreach info DataList%> <%set (string){forumName}=info["Name"].ToString().Trim()%> <%if {string.IsNullOrEmpty(forumName)}%> <%set {forumName}="栏目已经不存在-请删除"%> <%end if%> <%set (string){Lastuptime}=info["Lastuptime"].ToString()%> {(index+info_for_id)}.[{favoritesName}]{WmlCode(forumName)} [ㄨ]
([s]最后更新:{Utils.ConvertDateTime(Lastuptime)}/文章数:{info[postscount]}/评论数:{info[commentcount]}[/s])
<%foreach%> <%else if {favoritestype}=={FavoriteType.SpaceAlbums}%> <%foreach info DataList%> <%set (int){Photocount}=TypeConverter.ObjectToInt(info["Photocount"],0)%> <%set (int){Photouserid}=TypeConverter.ObjectToInt(info["userid"],0)%> <%set (byte){Photoallowperm}=TypeConverter.ObjectToByte(info["Allowperm"],0)%> <%set (string){Photocoverimg}=info["coverimg"].ToString()%> <%set (string){photoName}=info["Name"].ToString().Trim()%> <%if {Photocount}<=0%> cover
<%else if {Photoallowperm}==1%> cover
<%else if {Photoallowperm}==2%> cover
<%else if {Photoallowperm}==3%> cover
<%else if {Photoallowperm}==4%> cover
<%else%> cover
<%end if%> <%if {string.IsNullOrEmpty(photoName)}%> <%set {photoName}="相册已经不存在-请删除"%> <%end if%> {(index+info_for_id)}.[影集]{WmlCode(photoName)}({Photocount}张) [ㄨ]
<%foreach%> <%else if {favoritestype}=={FavoriteType.SpacePhoto}%> <%foreach info DataList%> <%set (int){photoseqid}=TypeConverter.ObjectToInt(info["seqid"],0)%> <%set (string){photosource}=info["source"].ToString()%> <%set (string){photoName}=info["Name"].ToString().Trim()%> <%if {photoseqid}==0%> cover
<%set {photoName}="相片已经不存在-请删除"%> <%else%> <%set {photosource}=photosource.Insert(photosource.LastIndexOf('.'),"_Medium")%> <%if {string.IsNullOrEmpty(photoName)}%> <%set {photoName}="详细.."%> <%end if%> cover
<%end if%> {(index+info_for_id)}.{WmlCode(photoName)} 下载 [ㄨ]
<%foreach%> <%else if {favoritestype}=={FavoriteType.SpaceBlog}%> <%foreach info DataList%> <%set (string){blogTitle}=info["Title"].ToString()%> <%if {string.IsNullOrEmpty(blogTitle)}%> <%set {blogTitle}="日记已经不存在-请删除"%> <%end if%> {(index+info_for_id)}.[{favoritesName}]{WmlCode(blogTitle)}({info[Views]}阅)
<%foreach%> <%end if%> <%if {pagecount}>=2%> <%set (DetachPageInfo){detachPage}=GetDetachPageInfo(pageid,pagesize,pagecount,logcount,"条",string.Format("{0}User/favorites{1}?Type={2}",WebPath,LinkTail,((byte)favoritestype)))%> <%load.template._detachpage%> <%end if%> <%else%> 暂无记录[br] <%end if%> <%end if%> <%load.template._Foot%>