-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexec.php
50 lines (44 loc) · 1 KB
/
exec.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
* Template Name: Exec
* Description: A Page Template to display the exec.
*/
?>
<?php
/**
* Exec list page
*
* @package KCSU
* @file exec.php
* @author Gideon Farrell <[email protected]>
* @license BSD 3-Clause
*/
get_header();
?>
<div class="container">
<ul class="exec-list">
<?php
$execs = kcsu_get_exec();
foreach ($execs as $exec)
{
echo string_format(
'<li><!-- {id} -->
<div class="mugshot">
{users_avatars}
<div class="clearfix"></div>
</div>
<div class="info">
<span class="title"><a href="{link}" title="{title}">{title}</a></span><br/>
<span class="name">{users_display}</span><br/>
<span class="email"><a href="mailto:{email}">{email}</a></span>
</div>
</li>',
$exec
);
}
?>
</ul>
</div>
<?php
get_footer();
?>