Усовершенствованная онлайн статистика by uSite для uCoz
1 2 3 4 5 6 7 8 9 |
<!-- <Users by uSite> --> <span style="display:none;" id="usersNash"> <span class="avikas"> <?if($_AVATAR$)?><img src="<?substr($_AVATAR$,strpos($_AVATAR$,'src')+5,strpos(substr($_AVATAR$,strpos($_AVATAR$,'src')+5), '>')-3)?>" border="0" style="width:80px; max-height:80px;" /> <?else?><img style="" src="/images/noavatar.png" border="0" align="absmiddle" style="width:80px; max-height:80px;" title="Нет аватара"><?endif?> </span> <span class="RegUser">$_REG_TIME$</span><span class="IdUser">$_USER_ID$</span><span class="GroupUser">$_GROUP_NAME$</span> </span> <!-- </Users by uSite> --> |
2#: Найдите и замените $ONLINE_USERS_LIST$ (У меня это в левом глобальном блоке) на:
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 |
<div id="users-Kavkaz">$ONLINE_USERS_LIST$</div> <script type="text/javascript" src="/js/uSite_su.Users.js"></script> <style type="text/css"> #avish {padding:2px; width:80px; background:#fff;} .Detail {padding:0px !important; font-weight:normal;} .det1 {padding:0px 5px 0px 5px !important; border-left:0px !important; border-top:0px !important; border-bottom:0px !important; font-weight:normal; display:inline-block; width:125px;} .det2 {padding:0px 5px 0px 5px !important; font-weight:normal; display:inline-block; background:#fff; width:173px;} </style> <div id="UserDetails2" style="display:none;"><div style="padding:2px;"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="83px" valign="top"><div id="avish" class="pgSwch myTblTD1"></div></td> <td style="padding-left:7px;" valign="top"> <div style="float:left; padding-top:4px; padding-left:1px;">ID: <b style="text-decoration:underline;" id="IdUs"></b></div> <div style="padding-bottom:3px; float:right;" align="right" id="PrNash"></div> <div style="clear:both;" class="pgSwch myTblTD1 Detail"> <div class="pgSwch myTblTD2 det1">Никнейм:</div><div class="det2"><span class="userName"></span></div> </div> <div style="clear:both; margin-top:3px;" class="pgSwch myTblTD1 Detail"> <div class="pgSwch myTblTD2 det1">Группа:</div><div class="det2"><span id="GroupUs"></span></div> </div> <div style="clear:both; margin-top:3px;" class="pgSwch myTblTD1 Detail"> <div class="pgSwch myTblTD2 det1">Дата регистрации:</div><div class="det2"><span class="userReg"></span></div> </div> </td> </tr> </table> </div> </div> |