<div id="submenu">{{getcontent id=300}}</div>
<div id="middle2">
<h1>Discussion Archive {{$smarty.get.month}}-{{$smarty.get.year}}</h1>
<div>
<div id="smarty_plugin">{{getCollectionByCategory CollectionID=3 ColumnID=1 Value=$smarty.session.UserID OrderColumn=1 var=Groups}} {{assign var=generalUser value=0}} {{assign var=moderatorUser value=0}} {{foreach from=$Groups item=v key=k}} {{if $v.Collection_3_2 eq 1 }} {{assign var=moderatorUser value=1}} {{/if}} {{if $v.Collection_3_2 eq 3 }} {{assign var=generalUser value=1}} {{/if}} {{/foreach}} {{assign var='PageTitle' value='Discussion Archive- '}} {{assign var='PageTitle' value=$PageTitle|concat:$smarty.get.month|concat:'-'|concat:$smarty.get.year}} {{setPage var=Collection_17_2 value=$PageTitle}} {{* we will get the last 5 articles that were posted *}} {{assign var=TimeStart value=1|getStartTime}} {{assign var=TimeEnd value=1|getEndTime}} {{assign var=DescCollection value=61}} {{assign var=CommentsCollection value=62}} {{getCollectionByCategory CollectionID=$DescCollection OrderColumn=5 OrderWay=1 aditionalFilter=' Collection_61_5 > '|concat:$TimeStart|concat:' AND Collection_61_5 < '|concat:$TimeEnd|concat:' ' var=Last5Articles Limit=10 Page=0}} {{if $Last5Articles|@count gt 0}} {{getcontent id=303}} {{else}}
<p> </p>
<p> </p>
<center>
<h3>There are no dicussions available</h3>
</center>{{/if}}</div>
</div>
</div>