|
|
|
<div class="motd {motd_class}">
|
|
|
|
{motd}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row home" itemscope itemtype="http://www.schema.org/ItemList">
|
|
|
|
<!-- BEGIN categories -->
|
|
|
|
<div class="{categories.class}">
|
|
|
|
<meta itemprop="name" content="{categories.name}">
|
|
|
|
<h4>
|
|
|
|
<!-- IF !categories.link -->
|
|
|
|
<span class="badge {categories.unread-class}">{categories.topic_count} </span>
|
|
|
|
<!-- ENDIF !categories.link -->
|
|
|
|
|
|
|
|
<!-- IF categories.link -->
|
|
|
|
<a href="{categories.link}" itemprop="url" target="_blank">
|
|
|
|
<!-- ELSE -->
|
|
|
|
<a href="{relative_path}/category/{categories.slug}" itemprop="url">
|
|
|
|
<!-- ENDIF categories.link -->
|
|
|
|
{categories.name}
|
|
|
|
</a>
|
|
|
|
</h4>
|
|
|
|
|
|
|
|
<!-- IF categories.link -->
|
|
|
|
<a href="{categories.link}" itemprop="url" target="_blank">
|
|
|
|
<!-- ELSE -->
|
|
|
|
<a href="{relative_path}/category/{categories.slug}" itemprop="url">
|
|
|
|
<!-- ENDIF categories.link -->
|
|
|
|
<div class="category-header icon category-header-image-{categories.imageClass}" style="background: {categories.background}; color: {categories.color};">
|
|
|
|
<div id="category-{categories.cid}" class="category-slider-{categories.post_count}">
|
|
|
|
<div class="category-box"><i class="fa {categories.icon} fa-4x"></i></div>
|
|
|
|
<div class="category-box" itemprop="description">{categories.description}</div>
|
|
|
|
<!-- BEGIN posts -->
|
|
|
|
<div class="category-box">
|
|
|
|
<div class="post-preview">
|
|
|
|
<img src="{categories.posts.picture}" class="pull-left" />
|
|
|
|
<p class=""><strong>{categories.posts.username}</strong>: {categories.posts.content}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- END posts -->
|
|
|
|
<div class="category-box"><i class="fa {categories.icon} fa-4x"></i></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<!-- END categories -->
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row footer-stats">
|
|
|
|
<div class="col-md-3 col-xs-6">
|
|
|
|
<div class="stats-card well">
|
|
|
|
<h2><span id="stats_online"></span><br /><small>[[footer:stats.online]]</small></h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3 col-xs-6">
|
|
|
|
<div class="stats-card well">
|
|
|
|
<h2><span id="stats_users"></span><br /><small>[[footer:stats.users]]</small></h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3 col-xs-6">
|
|
|
|
<div class="stats-card well">
|
|
|
|
<h2><span id="stats_topics"></span><br /><small>[[footer:stats.topics]]</small></h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3 col-xs-6">
|
|
|
|
<div class="stats-card well">
|
|
|
|
<h2><span id="stats_posts"></span><br /><small>[[footer:stats.posts]]</small></h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|