root/profile.lastvisitors/templates/profilelastVisitor.tpl @ 358

Revision 358, 2.4 kB (checked in by MDMAN, 5 years ago)

new version with extra side for visitors

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"><b><u>{lang}wcf.user.option.profile.lastvisitor.visitor{/lang}</b></u></div>
12                                                <div class="fieldValue"><b><u>{lang}wcf.user.option.profile.lastvisitor.time{/lang}</b></u></div>
13                                        </div>
14                                {foreach from=$visitors item=$besucher}
15                                        <div class="{cycle}">
16                                                <div class="fieldTitle"><a href="index.php?page=User&userID={$besucher["userID"]}">{$besucher["username"]}</a></div>   
17                                                <div class="fieldValue">{@$besucher["time"]|time}</div>
18                                        </div>
19                                {/foreach}
20
21                                {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount >= SHOW_LASTVISITOR_AMOUNT}
22                                        <div class="cycle">
23                                                        <div class="fieldTitle"><a href="index.php?page=MoreVisitors&profileID={$profileID}{@SID_ARG_2ND}">{lang}wcf.user.option.profile.lastvisitor.allusers{/lang}</a></div>                                                 
24                                        </div>
25                                {/if}
26                        </div>
27                </div>
28        {/if}
29        {if SHOW_LASTVISITOR_TIME != 1}
30                <div class="userProfileContent">
31                        <div class="border">
32                                <div class="containerHead">
33                                        <div class="containerIcon"><img src="{@RELATIVE_WCF_DIR}/icon/membersM.png" alt="" /></div>
34                                        <h3 class="containerContent">{lang}wcf.user.option.profile.lastvisitor.title{/lang}</h3>
35                                </div>
36
37                                <div class="subtabMenu">
38                                        {foreach from=$visitors item=$besucher}
39                                        {lang}wcf.user.option.profile.lastvisitor.name{/lang}
40                                        {/foreach}
41                                        {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount >= SHOW_LASTVISITOR_AMOUNT}
42                                                <div class="cycle">
43                                                        <div class="fieldTitle"><a href="index.php?page=MoreVisitors&profileID={$profileID}{@SID_ARG_2ND}">{lang}wcf.user.option.profile.lastvisitor.allusers{/lang}</a></div>                                                 
44                                                </div>
45                                        {/if}
46                                </div>
47                        </div>
48                </div>
49        {/if}
50{/if}
Note: See TracBrowser for help on using the browser.