Server IP : 213.176.29.180 / Your IP : 3.135.207.204 Web Server : Apache System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : webtaragh ( 1001) PHP Version : 8.3.14 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home/webtaragh/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
public_html/whmcs/templates_c/44dc1df295fdf84276fc11d305bf791955bf41ff_0.file.homepage.tpl.php 0000644 00000011775 14736120311 0027305 0 ustar 00 home/webtaragh <?php /* Smarty version 3.1.36, created on 2023-09-24 06:38:45 from '/var/www/vhosts/agarousi.ir/agarousi.com/test2/templates/six/homepage.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.36', 'unifunc' => 'content_650fd97547a5e9_43396052', 'has_nocache_code' => false, 'file_dependency' => array ( '44dc1df295fdf84276fc11d305bf791955bf41ff' => array ( 0 => '/var/www/vhosts/agarousi.ir/agarousi.com/test2/templates/six/homepage.tpl', 1 => 1695537215, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_650fd97547a5e9_43396052 (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_4_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_4_saved; } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1); } } }