| Server IP : 213.255.246.8 / Your IP : 216.73.217.178 Web Server : Apache System : Linux dublin.stapolin.com 5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 29 07:05:48 EST 2024 x86_64 User : stapolin ( 1019) PHP Version : 8.4.24 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/stapolin/whmdir/templates_c/ |
Upload File : |
<?php
/* Smarty version 3.1.36, created on 2023-08-18 20:16:28
from '/home/stapolin/billing.stapolin.com/templates/six/homepage.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.36',
'unifunc' => 'content_64dfd19c886dd9_72631333',
'has_nocache_code' => false,
'file_dependency' =>
array (
'639cd158433276c55f6d279dcfa1d4c4f7a2c5b8' =>
array (
0 => '/home/stapolin/billing.stapolin.com/templates/six/homepage.tpl',
1 => 1692214356,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_64dfd19c886dd9_72631333 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['twitterusername']->value) {?>
<h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['twitterlatesttweets'];?>
</h2>
<div id="twitterFeedOutput">
<p class="text-center"><img src="<?php echo $_smarty_tpl->tpl_vars['BASE_PATH_IMG']->value;?>
/loading.gif" /></p>
</div>
<?php echo '<script'; ?>
type="text/javascript" src="<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['assetPath'][0], array( array('file'=>'twitter.js'),$_smarty_tpl ) );?>
"><?php echo '</script'; ?>
>
<?php } elseif ($_smarty_tpl->tpl_vars['announcements']->value) {?>
<h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['news'];?>
</h2>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['announcements']->value, 'announcement');
$_smarty_tpl->tpl_vars['announcement']->index = -1;
$_smarty_tpl->tpl_vars['announcement']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['announcement']->value) {
$_smarty_tpl->tpl_vars['announcement']->do_else = false;
$_smarty_tpl->tpl_vars['announcement']->index++;
$__foreach_announcement_0_saved = $_smarty_tpl->tpl_vars['announcement'];
?>
<?php if ($_smarty_tpl->tpl_vars['announcement']->index < 2) {?>
<div class="announcement-single">
<h3>
<span class="label label-default">
<?php echo $_smarty_tpl->tpl_vars['carbon']->value->translatePassedToFormat($_smarty_tpl->tpl_vars['announcement']->value['rawDate'],'M jS');?>
</span>
<a href="<?php echo routePath('announcement-view',$_smarty_tpl->tpl_vars['announcement']->value['id'],$_smarty_tpl->tpl_vars['announcement']->value['urlfriendlytitle']);?>
"><?php echo $_smarty_tpl->tpl_vars['announcement']->value['title'];?>
</a>
</h3>
<blockquote>
<p>
<?php if (strlen(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['announcement']->value['text'])) < 350) {?>
<?php echo $_smarty_tpl->tpl_vars['announcement']->value['text'];?>
<?php } else { ?>
<?php echo $_smarty_tpl->tpl_vars['announcement']->value['summary'];?>
<a href="<?php echo routePath('announcement-view',$_smarty_tpl->tpl_vars['announcement']->value['id'],$_smarty_tpl->tpl_vars['announcement']->value['urlfriendlytitle']);?>
" class="label label-warning"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['readmore'];?>
»</a>
<?php }?>
</p>
</blockquote>
<?php if ($_smarty_tpl->tpl_vars['announcementsFbRecommend']->value) {?>
<?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 hidden-sm hidden-xs" data-layout="standard" data-href="<?php echo fqdnRoutePath('announcement-view',$_smarty_tpl->tpl_vars['announcement']->value['id'],$_smarty_tpl->tpl_vars['announcement']->value['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="<?php echo fqdnRoutePath('announcement-view',$_smarty_tpl->tpl_vars['announcement']->value['id'],$_smarty_tpl->tpl_vars['announcement']->value['urlfriendlytitle']);?>
" data-send="true" data-width="450" data-show-faces="true" data-action="recommend"></div>
<?php }?>
</div>
<?php }?>
<?php
$_smarty_tpl->tpl_vars['announcement'] = $__foreach_announcement_0_saved;
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}
}