%include("/common/_head.html"){}%>
知识达人 分享你的技术与知识吧 -飞趣
<% var user = c.currentUser(request, servlet.response); var isLogin = false; if(user != null){ isLogin=true; } include("/common/_headwithlogin.html",{user:user,isLogin:isLogin}){} %>
写一篇文章
排序规则
时间
点赞数
评论数
<%for(var article in articles){%>
<%if(article.anonymousSwitch == 1){%>
<%}else{%>
<%}%>
${article.articleTitle}
${labels[article.label]!'未知'}
<%if(article.anonymousSwitch == 1){%>
匿名用户
<%}else{%>
${article.nickname}
<%}%> ${article.createTime,dateFormat='yyyy-MM-dd HH:mm:ss'}
${article.likeCount!0}
${article.browseCount!0}
${article.commentCount!0}
查看原文
<%}%>
推荐文章
<%if(isEmpty(recommendArticles)){%>
暂无推荐文章
<%}else{%>
<%for(var ha in recommendArticles){%>
${ha.articleTitle}
${ha.browseCount}阅
<%}%>
<%}%>
月热门文章(每半小时更新一次)
<%if(isEmpty(articleList)){%>
暂无热门文章
<%}else{%>
<%for(var ha in articleList){%>
${ha.articleTitle}
${ha.browseCount}阅
<%}%>
<%}%>
标签
<%for(var label in labels){%>
${label.value}
<%}%>
<%include("/common/_footor.html"){}%> <%include("/common/_scripts.html",{user:user}){}%>