[html]
<div id="port-block1" class="saled">

<a class="tip" id="cover" title="Game account counting script in separate sections for Istore FGPG">
  <div id="icon"></div>
  <img src="http://gerda.moy.su/MyBB_files/FD/_scripts/schetpostov1.jpg" class="postimg">
</a>

<div id="cover-block">
Author: <a href="http://forumd.ru/profile.php?id=6774" target="_blank">satsana</a> <br>
Platform: MyBB<br>
Description: Game account counting script in separate sections for Istore FGPG<br>
<a href="http://istore.rusff.ru" target="_blank">Costumer's site</a>
</div>

</div>

<div id="port-block2" class="saled">
<a class="tip" title="Selecting the counting period for posts"><img src="http://gerda.moy.su/MyBB_files/FD/_scripts/schetpostov1.jpg" class="postimg"></a>
<a class="tip" title="Counting process"><img src="http://gerda.moy.su/MyBB_files/FD/_scripts/schetpostov2.jpg" class="postimg"></a>
<a class="tip" title="Results of counting posts"><img src="http://gerda.moy.su/MyBB_files/FD/_scripts/schetpostov3.jpg" class="postimg"></a>
</div>

<style>
.punbb .topicpost .post-content .spoiler-box {
border: 1px solid #e63737;
background-color: rgba(230,55,55,0.1);
}
.punbb .post-content .spoiler-box > div:hover {background-color: rgba(230,55,55,0.6);}
.punbb .post-content .spoiler-box > div {background-color: rgba(230,55,55,0.3);}
.post-content .spoiler-box > div.visible {background-color: rgba(230,55,55,0.8);}
</style>[/html]

Detailed description
• setting the code on a separate page;
• the opportunity to independently indicate the necessary forums;
• displaying a list of forums for the user depends on whether he has access to view the forums;
• first post of the topic and the attached post on the following pages are not included (optional);
• counting algorithm "from the end" does not look at pages with dates before the specified interval, which significantly speeds up data processing.