FIX отображение списка лучших авторов

This commit is contained in:
Krivchikov Dmitry 2016-04-08 22:37:35 +03:00
parent d74951affb
commit de9d8409eb
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ nav.navbar.navbar-inverse .navbar-nav>li>a {color: #ddd;}
nav.navbar.navbar-inverse a.bigGreen {background-image: -webkit-linear-gradient(top,#3cfc3c 0, #398739 100%);background-image: linear-gradient(to bottom,#3cfc3c 0, #398739 100%);background-repeat: repeat-x;margin: 0 3px;padding: 15px 15px;border-radius: 5px;display: inline-block;color: white;font-weight: bold;}
span.notifications {font-weight: bolder; color: red;}
div.top5authors {width: 16.66666667%; float: left; display: inline-block;}
div.top5authors {width: 16.66666667%; float: left; display: inline-block; overflow: hidden;}
/*BOX*/
body.openBox div#box {display: block; z-index: 100; overflow-y: scroll;overflow-x: hidden;}

View File

@ -5,9 +5,9 @@
<h4 class="top5authors">Самые активные авторы</h4>
<?php foreach ($authors as $author):?>
<div class="top5authors text-center">
<a href="/user/<?= $author->id;?>">
<a href="/user/<?= $author->id;?>" title="Создано точек: <?= $author->pointsCount;?>">
<img src="/img/avatars/<?= $author->id;?>.jpg"><br/>
<nobr><b><?= $author->nick;?></b> [<?= $author->pointsCount;?>]</nobr>
<nobr><b><?= $author->nick;?></b></nobr>
</a><br/>
</div>
<?php endforeach;?>