2015-08-03 11:35:01 +02:00
|
|
|
|
<h2 class="thin">{$c->__('post.hot')}</h2>
|
|
|
|
|
<h4 class="gray">{$c->__('post.hot_text')}</h4><br />
|
|
|
|
|
<ul class="flex card shadow active">
|
|
|
|
|
{loop="$posts"}
|
|
|
|
|
{if="!filter_var($value->origin, FILTER_VALIDATE_EMAIL)"}
|
|
|
|
|
<li
|
|
|
|
|
class="block condensed"
|
|
|
|
|
data-id="{$value->nodeid}"
|
|
|
|
|
data-server="{$value->origin}"
|
|
|
|
|
data-node="{$value->node}">
|
|
|
|
|
{$picture = $value->getPicture()}
|
|
|
|
|
{if="current(explode('.', $value->origin)) == 'nsfw'"}
|
|
|
|
|
<span class="icon thumb color red tiny">
|
|
|
|
|
+18
|
|
|
|
|
</span>
|
|
|
|
|
{elseif="$picture != null"}
|
|
|
|
|
<span class="icon thumb" style="background-image: url({$picture});"></span>
|
|
|
|
|
{else}
|
|
|
|
|
<span class="icon thumb color {$value->node|stringToColor}">
|
|
|
|
|
{$value->node|firstLetterCapitalize}
|
|
|
|
|
</span>
|
|
|
|
|
{/if}
|
|
|
|
|
<span>
|
|
|
|
|
{if="isset($value->title)"}
|
|
|
|
|
{$value->title}
|
|
|
|
|
{else}
|
|
|
|
|
{$value->node}
|
|
|
|
|
{/if}
|
|
|
|
|
</span>
|
|
|
|
|
<p>
|
2015-08-10 23:42:45 +02:00
|
|
|
|
{$value->origin} /
|
2015-08-03 11:35:01 +02:00
|
|
|
|
<a href="{$c->route('group', array($value->origin, $value->node))}">
|
|
|
|
|
<i class="zmdi zmdi-pages"></i> {$value->node}
|
|
|
|
|
</a> –
|
|
|
|
|
{$value->published|strtotime|prepareDate}
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
{if="current(explode('.', $value->origin)) != 'nsfw'"}
|
|
|
|
|
{$value->contentcleaned|strip_tags}
|
|
|
|
|
{/if}
|
|
|
|
|
</p>
|
|
|
|
|
</li>
|
|
|
|
|
{/if}
|
|
|
|
|
{/loop}
|
|
|
|
|
</ul>
|
|
|
|
|
<ul class="active thick">
|
|
|
|
|
<a href="{$c->route('group')}">
|
|
|
|
|
<li class="action">
|
|
|
|
|
<div class="action">
|
|
|
|
|
<i class="zmdi zmdi-chevron-right"></i>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="icon"><i class="zmdi zmdi-pages"></i></span>
|
|
|
|
|
<span>Discover more articles on the Groups page</span>
|
|
|
|
|
</li>
|
|
|
|
|
</a>
|
|
|
|
|
</ul>
|
|
|
|
|
|