1
Tutoriales y Tips SMF / Re:Nuevo Estilo Loading
« on: March 09, 2016 - 09:50 09:50 »
I have prepared a package based on the description. But I do not work, what is the problem?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
/*Capitalization counter start*/
.item-stats{
margin: 0 10px;
float: right;
}
.item-stats .item{
float: left;
margin-right: 18px;
}
.item-stats .item strong{
display: block;
text-align: right;
font-size: 18px;
}
.item-stats .item strong.posts{
color: #88df7f;
}
.item-stats .item strong.topics{
color: #df7f7f;
}
.item-stats .item strong.users{
color: #689ded;
}
.item-stats .item span{
font-weight: bold;
font-size: 12px;
}
/*Capitalization counter end*/
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="stats windowbg">
<p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br />
', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
</p>
</td>
<td class="lastpost">';
// Show some basic information about the number of posts, etc.
echo '
</td>
<td class="stats">
<div class="item-stats">
<center><div class="item"><strong class="posts">', comma_format($board['posts']), '</strong><span> ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' </span></div>
<div class="item"><strong class="topics">', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' </strong><span>' . $txt['board_topics'], '
</span></div></center>
</div>
</td>
<td class="lastpost">';