%load.template._MessageHead%><%using Wapkang.Plugin%> <%if {errorcount}>0%> <%load.template._errmsgbox%> <%else%> [breadcrumb][link=Space.Type]空间[/link][link=user/index.Type]会员中心[/link][link]{favoritesName}收藏夹[/link][/breadcrumb]
<%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()%> <%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()%> <%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()%> <%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()%> <%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()%> <%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()%> <%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()%> <%foreach%> <%else if {favoritestype}=={FavoriteType.SpaceBlog}%> <%foreach info DataList%> <%set (string){blogTitle}=info["Title"].ToString()%> <%if {string.IsNullOrEmpty(blogTitle)}%> <%set {blogTitle}="日记已经不存在-请删除"%> <%end if%> <%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%>