<% if(theArticle.prevArticle){ %>« <%=func.HTMLEncode(func.cutString(theArticle.prevArticle.title,20))%><% } %>
<%if(theArticle.selected){%>
/icon_star.gif" alt="<%=lang["selected"]%>" /><%}%>
<%if(theArticle.locked||theArticle.category.locked){%>
/icon_lock.gif" alt="<%=lang["locked"]%>" /><%}%>
<%=func.HTMLEncode(theArticle.title)%>
[ <%=func.getDateTimeString("YY-MM-DD hh:ii:ss",theArticle.postTime)%> | <%=lang["author"]%>: <%=theArticle.author%><%if(theUser.groupID==1){%> | <%=theArticle.IP%><%}%> ]
<%if(theUser.rights["edit"]>1||(theUser.rights["edit"]==1&&theUser.username==theArticle.author)){%>
/icon_edit.gif" alt="<%=lang['edit']%>" />
<%}%>
<%if(theUser.rights["delete"]>1||(theUser.rights["delete"]==1&&theUser.username==theArticle.author)){%>
?')">
/icon_del.gif" alt="<%=lang['delete']%>" />
<%}%>
<%=lang["font_size"]%>:
: <%=lang["large"]%>"><%=lang["large"]%> |
: <%=lang["medium"]%>"><%=lang["medium"]%> |
: <%=lang["small"]%>"><%=lang["small"]%>
<%if(theArticle.ubbFlags=="html"){%>
<%=(theArticle.content0+theArticle.content1).replace(/\[separator\]/ig,"")%>
<%}else{%>
<%=ubb.toHTML(func.HTMLEncode(theArticle.content0+theArticle.content1),theArticle.ubbFlags)%>
<%}%>
<%if(theArticle.editMark){
var arrEdit=theArticle.editMark.split("$|$");
%>
/rss_comment.png" class="meta-button" alt="<%=lang["comment_feed"]%>" />
<%=lang["comment_feed"]%>: <%=theCache.settings["baseURL"]+"feed.asp?q=comment&id="+theArticle.id%>
<%if(theCache.settings["enableTrackbackIn"]==1&&!theArticle.locked&&theArticle.mode<4){%>
/utf8.png" class="meta-button" alt="UTF-8 Encoding" /> <%=lang["trackback_url"]%>: <%=theCache.settings["baseURL"]+"trackback.asp?id="+theArticle.id%>
<%}%>
[<%=lang["edited_by"]+arrEdit[0]+lang["at"]+arrEdit[1]%>]
<%}%>
<% if(theArticle.comments){
%>
/icon_quote<%if(authorID==theArticle.authorID)write("_author")%>.gif" alt="<%=lang["quote"]%>" />
<%=author%><%if(authorID==0)write("*")%>
<% }else{ %>
/icon_trackback.gif" alt="<%=lang["trackback"]%>" />
<%=func.HTMLEncode(title)%>
<% }
}
}
%>
<%if(intPageSize>0){%>
<%=lang["view_mode"]%>: <%=lang["show_all"]%> |
<%=lang["comments"]%>: <%=theArticle.commentCount%> |
<%if(theCache.settings["showTrackbackWithComment"]==1){%><%}else{%><%}%><%=lang["trackbacks"]%>: <%=theArticle.trackbackCount%> | <%=lang["toggle_order"]%> | <%=lang["views"]%>: <%=theArticle.viewCount%>
<%if(intPageSize>0){%>
<%=strPageLinks%>
<%}%>
<%
for(var i=0;i
[ <%=func.getDateTimeString("YY-MM-DD hh:ii:ss",postTime)%><%if(theUser.groupID==1){%> | <%=IP%><%}%> ]
<%if(theUser.loggedIn&&(theUser.rights["edit"]>1||(theUser.rights["edit"]==1&&(theUser.id==theArticle.authorID||theUser.id==authorID)))){%>
/icon_edit.gif" alt="<%=lang['edit']%>" />
<%}%>
<%if(theUser.loggedIn&&(theUser.rights["delete"]>1||(theUser.rights["delete"]==1&&(theUser.id==theArticle.authorID||theUser.id==authorID)))){%>
?')">
/icon_del.gif" alt="<%=lang['delete']%>" />
<%}%>
<%if(!hidden||theUser.id==theArticle.authorID||(theUser.id==authorID&&authorID!=0)){%>
<%=ubb.toHTML(func.HTMLEncode(content),ubbFlags,"",true)%>
<%if(editMark){
var arrEdit=editMark.split("$|$");
%>
[<%=lang["edited_by"]+arrEdit[0]+lang["at"]+arrEdit[1]%>]
<%}%>
<%}else{%>
<%=lang["hidden_comment"]%>
<%}%>
[ <%=func.HTMLEncode(blog)%> | <%=func.getDateTimeString("YY-MM-DD hh:ii:ss",time)%><%if(theUser.groupID==1){%> | <%=IP%><%}%> ]
<%if(theUser.loggedIn&&(theUser.rights["delete"]>1|| (theUser.rights["delete"]==1&&theUser.id==theArticle.authorID))){%>
?')">
/icon_del.gif" alt="<%=lang['delete']%>" />
<%}%>
<%=func.HTMLEncode(excerpt)%>
<%=strPageLinks%>
<%}%>
<%}else{ %>
<%=lang["no_comment"]%>
<%}%>
<%if(theArticle.locked||theArticle.category.locked||theCache.settings["enableComment"]!=1){%>
<%=lang["comment_disabled"]%>
<%}else{%>
<%commentForm(lang["post_comment"],"comment.asp?act=save&logid="+theArticle.id);%>
<%}%>