Персональная страница пользователя:
По месту:
Code
<div class="udtb"><div class="udtlb">Друзья:</div><a href="#" id="lookfr" onclick="friends.fix();return false;">Посмотреть друзей</a> <?if $USER_LOGGED_IN$?><?ifnot $_IS_OWN_PROFILE$?><span style="font-size: 9px;">[ <a href="javascript://" id="addfrA" onclick="friends.sAdd();">Добавить в друзья</a> ]</span><?endif?><?endif?></div>
В head:
Code
<style type="text/css">
.tdfr { border:1px solid #C2C5CA; padding:2px 5px; margin:2px;}
.tdfr img {opacity:0.65; filter:Alpha(Opacity='65');}
.tdfrh { border:1px solid #969696; padding:2px 5px; margin:2px; background: #EAEBEC; }
.tdfr a, .tdfrh a {font-size: 9px;}
.deletedfr {width: 100%; height: 100%; background: white; opacity:0.45; filter:Alpha(Opacity='45');}
#capcode {width: 100px; height: 35px; text-align: center; color: grey; font-size: 14pt;}
.moreFr {border-top: 1px solid #C2C5CA; padding: 2px;}
</style>
Вниз стрнц:
Code
<script type="text/javascript">
var friends = new Object();
friends.ucodes = {
homepage: '$HOME_PAGE_LINK$',
userid: '$USER_ID$',
username: '$USERNAME$',
_userid: '$_USER_ID$',
_username: '$_USERNAME$',
own: '$_IS_OWN_PROFILE$',
avatar: '<?if $_AVATAR$?><?substr(substr($_AVATAR$,strpos($_AVATAR$,'src="')+5),0,strpos(substr($_AVATAR$,strpos($_AVATAR$,'src="')+5),'"'))?><?else?>http ://ucodes.ru/images/noava.png<?endif?>',
_profurl: '$_PROFILE_URL$',
isuser: '$USER_LOGGED_IN$',
copyright: 'ucodes.ru'
}
</script>
<script type="text/javascript" src="http://ucodes.ru/js/friends.ucodes.ru.js"></script>
Блог » вид материалов:
Code
<span class="friend">
<span class="nick">$TITLE$</span>
<span class="ava">$OTHER1$</span>
<span class="gr">$OTHER2$</span>
<span class="del"><?substr($MODER_PANEL$,strrpos($MODER_PANEL$,'/index/92-3-'),strpos(substr($MODER_PANEL$,strrpos($MODER_PANEL$,'/index/92-3-')),"','"))?></span>
<span class="url">$OTHER3$</span>
</span>