| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/meusitei/public_html/central/templates/six/ |
Upload File : |
{if $announcementsFbRecommend}
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {
return;
}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/{$LANG.locale}/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
{/if}
{foreach from=$announcements item=announcement}
<div class="announcement-single">
<a href="{routePath('announcement-view', $announcement.id, $announcement.urlfriendlytitle)}" class="title">
{$announcement.title}
</a>
{if $announcement.text|strip_tags|strlen < 350}
<p>{$announcement.text}</p>
{else}
<p>{$announcement.summary}
<a href="{routePath('announcement-view', $announcement.id, $announcement.urlfriendlytitle)}" class="label label-warning">{$LANG.readmore} »</a>
</p>
{/if}
<div class="article-items">
<i class="fa fa-calendar"></i> {"jS M Y"|date:$announcement.timestamp}
</div>
{if $announcementsFbRecommend}
<div class="fb-like hidden-sm hidden-xs" data-layout="standard" data-href="{fqdnRoutePath('announcement-view', $announcement.id, $announcement.urlfriendlytitle)}" data-send="true" data-width="450" data-show-faces="true" data-action="recommend"></div>
<div class="fb-like hidden-lg hidden-md" data-layout="button_count" data-href="{fqdnRoutePath('announcement-view', $announcement.id, $announcement.urlfriendlytitle)}" data-send="true" data-width="450" data-show-faces="true" data-action="recommend"></div>
{/if}
</div>
{foreachelse}
{include file="$template/includes/alert.tpl" type="info" msg="{$LANG.noannouncements}" textcenter=true}
{/foreach}
{if $prevpage || $nextpage}
<div class="col-md-6 col-md-offset-3 col-sm-6 col-sm-offset-3">
<form class="form-inline" role="form">
<div class="form-group">
<div class="input-group">
{if $prevpage}
<span class="input-group-btn">
<a href="{routePath('announcement-index-paged', $prevpage, $view)}" class="btn btn-default">« {$LANG.previouspage}</a>
</span>
{/if}
<input class="form-control" style="text-align: center;" value="{$LANG.page} {$pagenumber}" disabled="disabled">
{if $nextpage}
<span class="input-group-btn">
<a href="{routePath('announcement-index-paged', $nextpage, $view)}" class="btn btn-default">{$LANG.nextpage} »</a>
</span>
{/if}
</div>
</div>
</form>
</div>
{/if}