| 1 |
lars |
1 |
<%@ Title="Search Results" %>
|
|
|
2 |
|
|
|
3 |
<com:TContent ID="Main">
|
|
|
4 |
|
|
|
5 |
<div class="search-title">
|
|
|
6 |
Search results for <b><%= htmlentities($this->Request['keyword'],ENT_QUOTES,'UTF-8') %></b>:
|
|
|
7 |
</div>
|
|
|
8 |
|
|
|
9 |
<com:TRepeater ID="PostList" EnableViewState="false">
|
|
|
10 |
<prop:ItemTemplate>
|
|
|
11 |
<div class="post">
|
|
|
12 |
<div class="post-title">
|
|
|
13 |
<%# $this->DataItem->Title %>
|
|
|
14 |
</div>
|
|
|
15 |
<div class="post-time">
|
|
|
16 |
<%# date('l, F j, Y \a\t h:i:s a',$this->DataItem->CreateTime) %>
|
|
|
17 |
</div>
|
|
|
18 |
<div class="post-content">
|
|
|
19 |
<%# $this->DataItem->Content %>
|
|
|
20 |
</div>
|
|
|
21 |
<div class="post-footer">
|
|
|
22 |
posted by
|
|
|
23 |
<%# '<a href="' . $this->Service->constructUrl('Users.ViewUser',array('id'=>$this->DataItem->AuthorID)) . '">' . $this->DataItem->AuthorName . '</a>' %>
|
|
|
24 |
|
|
|
|
25 |
<%# '<a href="' . $this->Service->constructUrl('Posts.ViewPost',array('id'=>$this->DataItem->ID)) . '">PermaLink</a>' %>
|
|
|
26 |
|
|
|
|
27 |
<%# '<a href="' . $this->Service->constructUrl('Posts.ViewPost',array('id'=>$this->DataItem->ID)) . '#comments">Comments (' . $this->DataItem->CommentCount . ')</a>' %>
|
|
|
28 |
</div>
|
|
|
29 |
</div>
|
|
|
30 |
</prop:ItemTemplate>
|
|
|
31 |
</com:TRepeater>
|
|
|
32 |
|
|
|
33 |
<div class="postlist-pager">
|
|
|
34 |
<com:THyperLink
|
|
|
35 |
ID="PrevPage"
|
|
|
36 |
Visible="false"
|
|
|
37 |
Text="< Previous Page"
|
|
|
38 |
/>
|
|
|
39 |
<com:THyperLink
|
|
|
40 |
ID="NextPage"
|
|
|
41 |
Visible="false"
|
|
|
42 |
Text="Next Page >"
|
|
|
43 |
/>
|
|
|
44 |
</div>
|
|
|
45 |
|
|
|
46 |
</com:TContent>
|