<?php
/* Smarty version 3.1.36, created on 2024-01-07 11:57:12
  from '/home/speedwincom/public_html/sistema/templates/digit/viewannouncement.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.36',
  'unifunc' => 'content_659abbc86db3d0_33112717',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '16f1883937018b3add946107b708b29fd1d1fe15' => 
    array (
      0 => '/home/speedwincom/public_html/sistema/templates/digit/viewannouncement.tpl',
      1 => 1568571690,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_659abbc86db3d0_33112717 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/speedwincom/public_html/sistema/vendor/smarty/smarty/libs/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<div class="wdes-block">
    <?php if ($_smarty_tpl->tpl_vars['twittertweet']->value) {?>
        <div class="pull-right">
            <a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="<?php echo $_smarty_tpl->tpl_vars['twitterusername']->value;?>
">Tweet</a><?php echo '<script'; ?>
 type="text/javascript" src="//platform.twitter.com/widgets.js"><?php echo '</script'; ?>
>
        </div>
    <?php }?>

    <div class="inner-announce-text"><?php echo $_smarty_tpl->tpl_vars['text']->value;?>
</div>

    <p>
        <strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['timestamp']->value,"%A, %B %e, %Y");?>
</strong>
    </p>

    <?php if ($_smarty_tpl->tpl_vars['facebookrecommend']->value) {?>
        <div class="fb-wdes-bg">
            
            <div id="fb-root">
            </div>
            <?php echo '<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/en_US/all.js#xfbml=1";
                fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));<?php echo '</script'; ?>
>
            
            <div class="fb-like" data-href="<?php echo fqdnRoutePath('announcement-view',$_smarty_tpl->tpl_vars['id']->value,$_smarty_tpl->tpl_vars['urlfriendlytitle']->value);?>
" data-send="true" data-width="450" data-show-faces="true" data-action="recommend">
            </div>
        </div>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['facebookcomments']->value) {?>
        <div class="fb-wdes-bg">
            
            <div id="fb-root">
            </div>
            <?php echo '<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/en_US/all.js#xfbml=1";
                fjs.parentNode.insertBefore(js, fjs);
                }(document, 'script', 'facebook-jssdk'));<?php echo '</script'; ?>
>
            
            <fb:comments href="<?php echo fqdnRoutePath('announcement-view',$_smarty_tpl->tpl_vars['id']->value,$_smarty_tpl->tpl_vars['urlfriendlytitle']->value);?>
" num_posts="5" width="500"></fb:comments>
        </div>
    <?php }?>
    <br>
    <p>
        <a href="<?php echo routePath('announcement-index');?>
" class="wdes-2nd-btn"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['clientareabacklink'];?>
</a>
    </p>
</div><?php }
}
