root/profile.lastvisitors/templates/ProfilelastVisitor.tpl @ 355

Revision 355, 2.5 kB (checked in by MDMAN, 5 years ago)

bugifx

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                                {if SHOW_LASTVISITOR_MOREVISITORS == 1 && SHOW_LASTVISITOR_AMOUNT}
21                                        {capture assign=profileID}
22                                                <input type="hidden" name="profileID" value="{$profileID}" />
23                                        {/capture}
24                                        <div class="{cycle}">
25                                                <div class="fieldTitle"><a href="index.php?page=MoreVisitors{@SID_ARG_2ND}">alle Besucher anzeigen</a></div>   
26                                        </div>
27                                {/if}
28                        </div>
29                </div>
30        {/if}
31        {if SHOW_LASTVISITOR_TIME != 1}
32                <div class="userProfileContent">
33                        <div class="border">
34                                <div class="containerHead">
35                                        <div class="containerIcon"><img src="{@RELATIVE_WCF_DIR}/icon/membersM.png" alt="" /></div>
36                                        <h3 class="containerContent">{lang}wcf.user.option.profile.lastvisitor.title{/lang}</h3>
37                                </div>
38
39                                <div class="subtabMenu">
40                                        {foreach from=$visitors item=$besucher}
41                                        {lang}wcf.user.option.profile.lastvisitor.name{/lang}
42                                        {/foreach}
43                                        {if SHOW_LASTVISITOR_MOREVISITORS == 1 && SHOW_LASTVISITOR_AMOUNT}
44                                                {capture assign=profileID}
45                                                        <input type="hidden" name="profileID" value="{$profileID}" />
46                                                {/capture}
47                                                <div class="{cycle}">
48                                                        <div class="fieldTitle"><a href="index.php?page=MoreVisitors{@SID_ARG_2ND}">alle Besucher anzeigen</a></div>   
49                                                </div>
50                                        {/if}
51                                </div>
52                        </div>
53                </div>
54        {/if}
55{/if}
Note: See TracBrowser for help on using the browser.