Discuz.Web/templates/default/usercpsubscribe.htm

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%template _header%>
<div class="wrap cl pageinfo">
	<div id="nav">
		<%if {usergroupinfo.allowsearch}>0%>
			<%template _quicksearch%>
		<%/if%>
		<a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <a href="usercpprofile.aspx">用户中心</a> &raquo; <strong>收藏夹</strong>
	</div>
</div>
<!--body-->
<script type="text/javascript">
	function checkCheckBox(form,objtag)
	{
		for(var i = 0; i < form.elements.length; i++) 
		{
			var e = form.elements[i];
			if(e.name == "titemid") 
			{
				e.checked = objtag.checked;
			}
		}
		objtag.checked = !objtag.checked;
	}
</script>
<div class="wrap uc s_clear">
   <%template _menu%>
	<div class="uc_main">
	<div class="uc_content">
		<h1>收藏夹</h1>
		<%template _subscribemenu%>
<%if page_err==0%>
	<%if ispost%>
		<%template _usercpmsgbox%>
	<%else%>
	    <%if {favoriteCount}>0%>
		<form id="favlist" name="favlist" method="post" action="">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="datatable">
			<tr class="colplural">
				<td width="4%">&nbsp;</td>
				<td width="44%" style="text-align: left;">标题</td>
				<td width="18%">作者</td>
                <%if {typeid}==0%>
                    <td width="18%">版块</td>
                <%/if%>
				<td>收藏时间</td>
				<td>&nbsp;</td>
			</tr>
			<tbody>
			<%loop favorites Favorites.GetFavoritesList(userid,16,pageid,type)%>
			<tr>
			<td style="text-align:center;"><input name="titemid" id="id{favorites[tid]}" type="checkbox" value="{favorites[tid]}"/></td>
			<td>
			<%if {typeid}==1%>
				<a href="showalbum.aspx?albumid={favorites[tid]}" target="_blank"><%getsubstring({favorites[title]},30,"...")%></a>
			<%else if {typeid}==2%>
				<a href="space/viewspacepost.aspx?postid={favorites[tid]}" target="_blank"><%getsubstring({favorites[title]},30,"...")%></a>
			<%else if {typeid}==3%>
				<a href="showgoods.aspx?goodsid={favorites[goodsid]}">{favorites[title]}</a>
			<%else%>
                <%if {favorites[new]}=="1"%>
后面还有 49 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。