|
Revision 594, 2.0 kB
(checked in by MDMAN, 5 years ago)
|
|
new version for last.profilevisitors
|
| 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 | <div id="userProfileOptionsLastVisitors"> |
|---|
| 3 | <div class="border"> |
|---|
| 4 | <div class="containerHead"> |
|---|
| 5 | <div class="containerIcon"><img src="{@RELATIVE_WCF_DIR}/icon/membersM.png" alt="" /></div> |
|---|
| 6 | <h3 class="containerContent">{lang}wcf.user.option.profile.lastvisitor.title_small{/lang}</h3> |
|---|
| 7 | </div> |
|---|
| 8 | <div class="pageMenu"> |
|---|
| 9 | <ul> |
|---|
| 10 | {foreach from=$visitors item=$besucher} |
|---|
| 11 | <li><a href="index.php?page=User&userID={$besucher["userID"]}"> |
|---|
| 12 | {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} |
|---|
| 13 | <img src="{@RELATIVE_WCF_DIR}icon/onlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.online{/lang}" /> |
|---|
| 14 | {elseif SHOW_LASTVISITOR_ONLINE == 1} |
|---|
| 15 | <img src="{@RELATIVE_WCF_DIR}icon/offlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.offline{/lang}" /> |
|---|
| 16 | {/if} |
|---|
| 17 | {$besucher["username"]}{if SHOW_LASTVISITOR_TIME == 1}<br /><span style="font-size:0.8em"> {@$besucher["time"]|time}</span>{/if}</a></li> |
|---|
| 18 | {/foreach} |
|---|
| 19 | {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount >= SHOW_LASTVISITOR_AMOUNT} |
|---|
| 20 | <div class="cycle"> |
|---|
| 21 | <div class="fieldTitle"><a href="index.php?page=MoreVisitors{if SHOW_LASTVISITOR_MOREVISITORS_ONTAB_LINK == 1 && SHOW_LASTVISITOR_MOREVISITORS == 1}Tab{/if}&userID={$profileID}{@SID_ARG_2ND}">{lang}wcf.user.option.profile.lastvisitor.allusers{/lang}</a></div> |
|---|
| 22 | </div> |
|---|
| 23 | {/if} |
|---|
| 24 | </ul> |
|---|
| 25 | </div> |
|---|
| 26 | </div> |
|---|
| 27 | </div> |
|---|
| 28 | {/if} |
|---|