<?php /* Smarty version 3.1.27, created on 2025-02-28 01:35:38
         compiled from "/home/platinum/investmint-portfolios.com/tmpl/custom/news-insight.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:25600778967c112ea22e4e3_76209157%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '434b26713920bae24c3f9853dcaf271c688fd83c' => 
    array (
      0 => '/home/platinum/investmint-portfolios.com/tmpl/custom/news-insight.tpl',
      1 => 1694504966,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '25600778967c112ea22e4e3_76209157',
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_67c112ea294a78_83655676',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_67c112ea294a78_83655676')) {
function content_67c112ea294a78_83655676 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '25600778967c112ea22e4e3_76209157';
$_smarty_tpl->tpl_vars["allow"] = new Smarty_Variable("all", null, 0);?>
<?php $_smarty_tpl->tpl_vars["meta_title"] = new Smarty_Variable("Example", null, 0);?>
<?php echo $_smarty_tpl->getSubTemplate ("header1.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>


    <?php echo '<script'; ?>
 type="text/javascript" src="https://www.tradays.com/c/js/widgets/calendar/widget.js?8"><?php echo '</script'; ?>
>

<section class="iframe-section">
    <div class="container">
        <div class="row">
            <div class="col-12 calender">
                <h1>
                    News Insight
                </h1>
                <p>The News Insight covers key economic events, announcements, and news from across the globe that affect the financial markets. The events are updated automatically upon the release of new data. The Economic Calendar only provides general information and is only intended for informative purposes.</p>
                <div id="economicCalendarWidget"></div>
            </div>
        </div>
    </div>
</section>

<?php echo '<script'; ?>
 type="text/javascript">
    var language = document.documentElement.lang;
    var excludedLangs = ["vi", "id", "ms", "th", "fr", "it", "nl", "pt", "de"];
    if(language === "zh-CN" || language === "zh-TW") {
        language = "zh";
    }
    excludedLangs.includes(language) && (language = "en");
    var calender = new economicCalendar({ lang: language, width: "100%", height: "800px", mode: 2});
    calender.lang = language;
    var newIframe = calender.createFrame();
    $("iframe").replaceWith(newIframe);
<?php echo '</script'; ?>
>
<style>@import  url("https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap");
[lang="ar"] .lang-menu-dropdown{
        right: auto;
        left: 0;
    }
    
section.iframe-section{
    padding: 80px 0 80px 0;
    margin-bottom: 80px;
}
.cwtg-section{
    background: #fff;
}
body{
   font-family:"Roboto Condensed", "Neo Sans Arabic", "Sarabun", sans-serif;
}
h2,h1{
    font: normal normal normal 3.5rem/4.375rem "Oswald", "Neo Sans Arabic", sans-serif;
    margin-bottom: 40px;
    color: #bb914a;
    text-align: center;
}
iframe{
    margin-bottom: 80px;
}
@media (max-width: 767px){
    section{
    padding: 40px 0 40px 0 ;
    margin-bottom: 40px;
}
    h2{
        font-size: 2.375rem;
        line-height: 3.5rem;
    }
    iframe{
    margin-bottom: 40px;
}
}
    body{
        background:transparent linear-gradient(90deg, #010C3E 0%, #03105F 51%, #03105B 56%, #010C3E 100%) 0% 0% no-repeat padding-box;
    }
    .calender p {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.25rem;
    line-height: 1.875rem;
    margin-top: 1.625rem;
    text-align:center;
    color:#fff;
    padding: 0 0 5rem 0;
}
</style>


<?php echo $_smarty_tpl->getSubTemplate ("footer1.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);

}
}
?>