Знаки отличия на персональной странице uCoz
Знаки отличия на персональной странице uCoz-красивый и функциональный скрипт,смысл которого заключается в том что бы заставить пользователя учавствовать в жизни сайта,это так называемые наградки
Установка:Заходим в ПУ - Управление дизайном - модуль Пользователи - Персональная страница пользователей и ставим данный код в то место где хотите видеть знаки отличия:
Код
<div class="signsOver">
<?if($_LOAD_ENTRIES$>10)?><div class="signOne sLoad"><span><i>Знак выдается за 10 добавленных файлов</i></span></div><?endif?>
<?if($_COM_ENTRIES$>5)?><div class="signOne sComments"><span><i>Знак выдается за 5 коммен-<br>тариев</i></span></div><?endif?>
<?if($_FORUM_ENTRIES$>1)?><div class="signOne sForum"><span><i>Знак выдается за активность на форуме</i></span></div><?endif?>
<?if($_REPUTATION$>1)?><div class="signOne sReputation"><span><i>Знак выдается за хорошую репутацию</i></span></div><?endif?>
<?if($_AVATAR$)?><div class="signOne sAvatar"><span><i>Знак выдается за установку аватара</i></span></div><?endif?>
<?if($_EMAIL_IS_VERIFIED$)?><div class="signOne sProtect"><span><i>Знак выдается за подтверж-<br>денный<br>E-Mail</i></span></div><?endif?>
</div>
<style type="text/css">
.signsOver {width:100%;}
.signsOver * {transition: all linear .2s; -moz-transition: all linear .2s; -webkit-transition: all linear .2s; -o-transition: all linear .2s;}
.signOne {display:inline-block;width:90px;height:90px;position:relative}
.signOne:hover span {opacity:1;margin-top:0px}
.signOne span {opacity:0;margin-top:20px;cursor:help;width:100%;height:100%;top:0;left:0;position:absolute;background:rgba(178, 121, 0, 0.7);color:#FFF;font-size:11px;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 50px;}
.signOne span i {font-style:normal;padding:10px;display:block}
.sLoad {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/load.png') center no-repeat}
.sComments {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/comment.png') center no-repeat}
.sForum {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/forum.png') center no-repeat}
.sReputation {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/reputation.png') center no-repeat}
.sProtect {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/email.png') center no-repeat}
.sAvatar {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/photo.png') center no-repeat}
</style>
<?if($_LOAD_ENTRIES$>10)?><div class="signOne sLoad"><span><i>Знак выдается за 10 добавленных файлов</i></span></div><?endif?>
<?if($_COM_ENTRIES$>5)?><div class="signOne sComments"><span><i>Знак выдается за 5 коммен-<br>тариев</i></span></div><?endif?>
<?if($_FORUM_ENTRIES$>1)?><div class="signOne sForum"><span><i>Знак выдается за активность на форуме</i></span></div><?endif?>
<?if($_REPUTATION$>1)?><div class="signOne sReputation"><span><i>Знак выдается за хорошую репутацию</i></span></div><?endif?>
<?if($_AVATAR$)?><div class="signOne sAvatar"><span><i>Знак выдается за установку аватара</i></span></div><?endif?>
<?if($_EMAIL_IS_VERIFIED$)?><div class="signOne sProtect"><span><i>Знак выдается за подтверж-<br>денный<br>E-Mail</i></span></div><?endif?>
</div>
<style type="text/css">
.signsOver {width:100%;}
.signsOver * {transition: all linear .2s; -moz-transition: all linear .2s; -webkit-transition: all linear .2s; -o-transition: all linear .2s;}
.signOne {display:inline-block;width:90px;height:90px;position:relative}
.signOne:hover span {opacity:1;margin-top:0px}
.signOne span {opacity:0;margin-top:20px;cursor:help;width:100%;height:100%;top:0;left:0;position:absolute;background:rgba(178, 121, 0, 0.7);color:#FFF;font-size:11px;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 50px;}
.signOne span i {font-style:normal;padding:10px;display:block}
.sLoad {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/load.png') center no-repeat}
.sComments {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/comment.png') center no-repeat}
.sForum {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/forum.png') center no-repeat}
.sReputation {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/reputation.png') center no-repeat}
.sProtect {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/email.png') center no-repeat}
.sAvatar {background:url('http://webmaster-ucoz.ru/ucoz/1/dost/n2/photo.png') center no-repeat}
</style>
Файлы для скачивания отсутствуют.
Поблагодарить автора
Автор: Turbo
Комментарии (0)