PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/BlogEngine/BlogEngine.NET/themes/Indigo/PostView.ascx

#
ASP.NET | 22 lines | 21 code | 1 blank | 0 comment | 1 complexity | ddbf584a2bdabddc8f3205d058c8f93c MD5 | raw file
 1<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" Inherits="BlogEngine.Core.Web.Controls.PostViewBase" %>
 2
 3<div class="post xfolkentry" id="post<%=Index %>">
 4    <h1><a class="postheader taggedlink" href="<%=Post.RelativeLink %>"><%=Server.HtmlEncode(Post.Title) %></a></h1>
 5    <div class="descr"><img id="Img1" src="~/themes/indigo/img/timeicon.gif" runat="server" alt="clock" /> <%=Post.DateCreated.ToString("MMMM d, yyyy HH:mm")%> by <img id="Img2" src="~/themes/indigo/img/author.gif" runat="server" alt="author" /> <a href="<%=VirtualPathUtility.ToAbsolute("~/") + "author/" + BlogEngine.Core.Utils.RemoveIllegalCharacters(Post.Author) %>.aspx"><%=Post.AuthorProfile != null ? Post.AuthorProfile.DisplayName : Post.Author%></a></div>
 6    <div class="postcontent"><asp:PlaceHolder ID="BodyContent" runat="server" /></div>
 7    <%=Rating %>
 8    <br />
 9    <div class="postfooter">
10        Tags: <%=TagLinks(", ") %><br />
11        Categories: <%=CategoryLinks(" | ") %><br />
12        Actions: <%=AdminLinks %>
13        <a rel="nofollow" href="mailto:?subject=<%=Server.UrlEncode(Post.Title) %>&amp;body=Thought you might like this: <%=Post.AbsoluteLink.ToString() %>">E-mail</a> | 
14        <a rel="nofollow" href="http://www.dotnetkicks.com/submit?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&amp;title=<%=Server.UrlEncode(Post.Title) %>">Kick it!</a> |
15        <a href="<%=Post.PermaLink %>" rel="bookmark">Permalink</a> |
16        <a rel="nofollow" href="<%=Post.RelativeLink %>#comment">
17             <img id="Img4" runat="server" alt="comment" src="~/themes/indigo/img/comments.gif" /><%=Resources.labels.comments %> (<%=Post.ApprovedComments.Count %>)</a>
18         |   
19        <a rel="nofollow" href="<%=CommentFeed %>"><asp:Image ID="Image1" runat="Server" ImageUrl="~/pics/rssButton.png" AlternateText="RSS comment feed" style="margin-right:3px" />Comment RSS</a>
20    </div>
21    <br />
22</div>