-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclientareaemails.tpl
More file actions
35 lines (34 loc) · 1.64 KB
/
clientareaemails.tpl
File metadata and controls
35 lines (34 loc) · 1.64 KB
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
{include file="$template/pageheader.tpl" title=$LANG.clientareaemails desc=$LANG.emailstagline}
<div class="table-responsive">
<table class="table table-striped table-framed">
<thead>
<tr>
<th{if $orderby eq "date"} class="headerSort{$sort}"{/if}><a href="clientarea.php?action=emails&orderby=date">{$LANG.clientareaemailsdate}</a></th>
<th{if $orderby eq "subject"} class="headerSort{$sort}"{/if}><a href="clientarea.php?action=emails&orderby=subject">{$LANG.clientareaemailssubject}</a></th>
<th> </th>
</tr>
</thead>
<tbody>
{foreach from=$emails item=email}
<tr>
<td>{$email.date}</td>
<td>{$email.subject}</td>
<td class="text-right"><a href="viewemail.php?id={$email.id}" class="btn btn-danger btn-xs" onclick="window.open('viewemail.php?id={$email.id}','','width=650,height=400,scrollbars=yes'); return false">{$LANG.emailviewmessage}</a></td>
</tr>
{foreachelse}
<tr>
<td colspan="3" class="textcenter">{$LANG.norecordsfound}</td>
</tr>
{/foreach}
</tbody>
<tfoot>
<tr>
<td colspan="3">{$numitems} {$LANG.recordsfound}, {$LANG.page} {$pagenumber} {$LANG.pageof} {$totalpages}</td>
</tr>
</tfoot>
</table>
</div>
<ul class="pagination pull-right">
<li class="prev{if !$prevpage} disabled{/if}"><a href="{if $prevpage}clientarea.php?action=emails&page={$prevpage}{else}javascript:return false;{/if}">← {$LANG.previouspage}</a></li>
<li class="next{if !$nextpage} disabled{/if}"><a href="{if $nextpage}clientarea.php?action=emails&page={$nextpage}{else}javascript:return false;{/if}">{$LANG.nextpage} →</a></li>
</ul>