Skip to content

Instantly share code, notes, and snippets.

@jesgeerts
Created July 19, 2016 07:33
Show Gist options
  • Save jesgeerts/c405762454760b3fe7d2d73918ce91e3 to your computer and use it in GitHub Desktop.
Save jesgeerts/c405762454760b3fe7d2d73918ce91e3 to your computer and use it in GitHub Desktop.
<div class="container">
<br /><br />
{$SESSION_FLASH}
<div class="jumbotron jumbotron-homepage">
<h1>{$SITENAME}</h1>
<p>{$PLAYERS_ONLINE}</p>
<p>{$CONNECT_WITH}</p>
</div>
<div class="row">
<div class="col-md-9">
<!-- News -->
<h2>{$NEWS}</h2>
{foreach from=$newsArray item=news}
<div class="panel panel-primary">
<div class="panel-heading">
<a class="white-text" href="/forum/view_topic/?tid={$news.id}">{$news.title}</a>
<span class="pull-right"><a class="white-text" href="/profile/{$news.author_mcname}">{$news.author_username}</a> {$news.author_avatar}</span>
</div>
<div class="panel-body">
{$news.content}
<br /><br />
<span class="label label-info">{$news.date}</span>
<span class="pull-right">
<span class="label label-danger"><span class="glyphicon glyphicon-comment"></span> {$news.replies} | <span class="glyphicon glyphicon-eye-open"></span> {$news.views}</span>
</span>
</div>
</div>
{/foreach}
</div>
<div class="col-md-3">
<!-- Social -->
<h2>Social</h2>
<a class="twitter-timeline" href="https://twitter.com/Breach_Universe">Tweets by Breach_Universe</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
{if !empty($VOICE_VIEWER)}
{if {$VOICE_VIEWER_TITLE} != 'Discord'}
<div class="well well-sm">
<h4>{$VOICE_VIEWER_TITLE}</h4>
<strong>{$VOICE_VIEWER_IP}</strong><br />
{$VOICE_VIEWER}
</div>
{else}
{$VOICE_VIEWER}
{/if}
{/if}
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment