root/de.mdman.profile.lastvisitors/templates/profilelastVisitor.tpl @ 810

Revision 810, 3.2 kB (checked in by MDMAN, 4 years ago)

new Version 1.3.2 pl 3 added to de.mdman.profile.lastvisitors

Line 
1{if SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_SMALL != 1 && SHOW_LASTVISITOR_ALLUSERS == 1 && $visitorCount != 0 || SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_SMALL != 1 && SHOW_LASTVISITOR_ALLUSERS != 1 && $this->user->userID == $profileID && $visitorCount != 0 || SHOW_LASTVISITOR_SMALL != 1 && $this->user->getPermission('admin.profile.lastvisitor.canseeboxes') && $visitorCount != 0}
2        {if SHOW_LASTVISITOR_TIME == 1}
3                {cycle values='container-1,container-2' print=false advance=false}
4                <div class="userProfileContent">
5                        <div class="border">
6                                <div class="containerHead">
7                                        <div class="containerIcon"><img src="{@RELATIVE_WCF_DIR}/icon/membersM.png" alt="" /></div>
8                                        <h3 class="containerContent">{lang}wcf.user.option.profile.lastvisitor.title{/lang}</h3>
9                                </div>
10                                        <div class="{cycle}">
11                                                <div class="fieldTitle"><span style="text-decoration: underline"><strong>{lang}wcf.user.option.profile.lastvisitor.visitor{/lang}</strong></span></div>
12                                                <div class="fieldValue"><span style="text-decoration: underline"><strong>{lang}wcf.user.option.profile.lastvisitor.time{/lang}</strong></span></div>
13                                        </div>
14                                {foreach from=$visitors item=$besucher}
15                                        <div class="{cycle}">
16                                                <div class="fieldTitle"><a href="index.php?page=User&amp;userID={$besucher["userID"]}">{$besucher["username"]}</a>
17                                                {if $besucher["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $besucher["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1}
18                                                        <img src="{@RELATIVE_WCF_DIR}icon/onlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.online{/lang}" />
19                                                {elseif SHOW_LASTVISITOR_ONLINE == 1}
20                                                        <img src="{@RELATIVE_WCF_DIR}icon/offlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.offline{/lang}" />
21                                                {/if}
22                                                </div>
23                                                <div class="fieldValue">{@$besucher["time"]|time}</div>
24                                        </div>
25                                {/foreach}
26
27                                {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount >= SHOW_LASTVISITOR_AMOUNT}
28                                        <div class="cycle">
29                                                        <div class="fieldTitle"><a href="index.php?page=MoreVisitors{if SHOW_LASTVISITOR_MOREVISITORS_ONTAB_LINK == 1 && SHOW_LASTVISITOR_MOREVISITORS == 1}Tab{/if}&amp;userID={$profileID}{@SID_ARG_2ND}">{lang}wcf.user.option.profile.lastvisitor.allusers{/lang}</a></div>
30                                        </div>
31                                {/if}
32                        </div>
33                </div>
34        {/if}
35        {if SHOW_LASTVISITOR_TIME != 1}
36                <div class="userProfileContent">
37                        <div class="border">
38                                <div class="containerHead">
39                                        <div class="containerIcon"><img src="{@RELATIVE_WCF_DIR}/icon/membersM.png" alt="" /></div>
40                                        <h3 class="containerContent">{lang}wcf.user.option.profile.lastvisitor.title{/lang}</h3>
41                                </div>
42
43                                <div class="subtabMenu">
44                                        {foreach from=$visitors item=$besucher}
45                                        {lang}wcf.user.option.profile.lastvisitor.name{/lang}
46                                        {/foreach}
47                                        {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount >= SHOW_LASTVISITOR_AMOUNT}
48                                                <div class="cycle">
49                                                        <div class="fieldTitle"><a href="index.php?page=MoreVisitors&amp;profileID={$profileID}{@SID_ARG_2ND}">{lang}wcf.user.option.profile.lastvisitor.allusers{/lang}</a></div>
50                                                </div>
51                                        {/if}
52                                </div>
53                        </div>
54                </div>
55        {/if}
56{/if}
Note: See TracBrowser for help on using the browser.