PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/halogy/application/modules/events/views/templates/events_single.php

https://bitbucket.org/haloweb/halogy-1.0/
PHP | 85 lines | 57 code | 28 blank | 0 comment | 0 complexity | 6e0a45f787c15a24fd49293c6fa83975 MD5 | raw file
 1{include:header}
 2
 3<div id="tpl-events" class="module">
 4
 5	<div class="col col1">
 6	
 7		<p class="back"><small>
 8			<a href="/events/">&lt; Back to events</a>
 9		</small></p>
10					
11		<h1 class="blog"><a href="{event:link}">{event:title}</a></h1>	
12
13		<h4 class="location">{event:location}</h4>			
14		<h4>Date: <strong>{event:date}</strong></h4>
15		
16		<p class="posted"><small>
17
18			{if post:tags}
19				Tags: <strong>{post:tags}<a href="{tag:link}">{tag}</a>  {/post:tags}</strong><br />
20			{/if}				
21		
22		</small></p>
23		
24		{event:body}
25
26	</div>
27
28	<div class="col col2">
29	
30		<div class="calendar">
31			{events:calendar}			
32		</div>
33
34		<br />
35
36		<form method="post" action="/events/search/" class="default">
37
38			<label for="searchbox">Search Events:</label><br class="clear" />
39			<input type="text" name="query" id="searchbox" maxlength="255" value="" class="searchbox" />
40			<input type="image" src="/static/images/btn_search.gif" id="searchbutton" />
41			<br class="clear" />
42
43		</form>
44
45		<br />	
46
47		<h3>Archive</h3>
48
49		<ul class="menu">
50			{if events:archive}
51				{events:archive}
52					<li><a href="{archive:link}">{archive:title}</a> ({archive:count})</li>
53				{/events:archive}
54			{else}
55				<li><small>Nothing to archive yet.</small></li>
56			{/if}
57		</ul>
58
59		<br />
60
61		<h3>Upcoming events</h3>
62
63		<ul class="menu">
64			{if events:latest}
65				{events:latest}
66					<li><a href="{latest:link}">{latest:title}</a></li>
67				{/events:latest}
68			{else}
69				<li><small>No events yet.</small></li>
70			{/if}
71		</ul>
72		
73		<br />
74
75		<h3>Subscribe to feed</h3>
76
77		<ul class="menu">
78			<li><a href="/events/feed/">Events RSS Feed</a></li>
79		</ul>
80		
81	</div>
82
83</div>
84
85{include:footer}