<?php
/* Smarty version 4.5.3, created on 2025-10-17 21:21:03
  from '/srv/easystream/f_templates/tpl_frontend/tpl_body.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.3',
  'unifunc' => 'content_68f2b33f229c01_02993193',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '87cdd38d28bfcc76e3f64efe11df9ad6203291d5' => 
    array (
      0 => '/srv/easystream/f_templates/tpl_frontend/tpl_body.tpl',
      1 => 1760556072,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:tpl_frontend/tpl_header/tpl_headernav_yt.tpl' => 1,
    'file:tpl_frontend/tpl_body_main.tpl' => 1,
    'file:tpl_frontend/tpl_footer.tpl' => 1,
    'file:tpl_frontend/tpl_footerjs_min.tpl' => 1,
  ),
),false)) {
function content_68f2b33f229c01_02993193 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/srv/easystream/f_core/f_classes/class_smarty/plugins/modifier.strpos.php','function'=>'smarty_modifier_strpos',),1=>array('file'=>'/srv/easystream/f_core/f_classes/class_smarty/plugins/function.href_entry.php','function'=>'smarty_function_href_entry',),));
?>
    <body class="fe media-width-768 is-fw<?php if ($_smarty_tpl->tpl_vars['is_mobile']->value == 1) {?> is-mobile<?php }
if ($_smarty_tpl->tpl_vars['page_display']->value == "tpl_files_edit") {?> tpl_files_edit<?php } elseif ($_smarty_tpl->tpl_vars['page_display']->value == "tpl_subs") {?> tpl_files<?php }
if (smarty_modifier_strpos($_smarty_tpl->tpl_vars['theme_name']->value,'dark')) {?> dark<?php }?> scroll scroll-<?php if (smarty_modifier_strpos($_smarty_tpl->tpl_vars['theme_name']->value,'dark')) {?>dark<?php } else { ?>light<?php }?>">
  		<div id="theme-preloader" class="" style="display: none"><div class="d-flex ai-center jc-c"><i class="spinner icon-spinner"></i></div></div>
        <div id="wrapper" class="<?php echo $_smarty_tpl->tpl_vars['page_display']->value;
if ($_smarty_tpl->tpl_vars['tpl_section']->value != '') {?> <?php echo $_smarty_tpl->tpl_vars['tpl_section']->value;
}
if ($_smarty_tpl->tpl_vars['page_display']->value != "tpl_files" && $_smarty_tpl->tpl_vars['page_display']->value != "tpl_index") {?> tpl_files<?php }
if ($_smarty_tpl->tpl_vars['page_display']->value == "tpl_channels") {?> tpl_browse<?php }
if ($_smarty_tpl->tpl_vars['page_display']->value == "tpl_tokens") {?> tpl_subscribers<?php }
if ($_smarty_tpl->tpl_vars['page_display']->value == "tpl_search" && $_GET['tf'] == 6) {?> tpl_channels<?php }
if ($_SESSION['sbm'] == 0) {?> g5<?php }?>">
            <?php $_smarty_tpl->_subTemplateRender("file:tpl_frontend/tpl_header/tpl_headernav_yt.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
            <div class="spacer"></div>
            <?php $_smarty_tpl->_subTemplateRender("file:tpl_frontend/tpl_body_main.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
        </div>
        <?php $_smarty_tpl->_subTemplateRender("file:tpl_frontend/tpl_footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
$_smarty_tpl->_subTemplateRender("file:tpl_frontend/tpl_footerjs_min.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
    </body>
<?php if ($_smarty_tpl->tpl_vars['page_display']->value == "tpl_view" && $_GET['l'] != '' && $_smarty_tpl->tpl_vars['is_live']->value == 1) {
echo '<script'; ?>
 type="text/javascript">var int=self.setInterval(lv,60000);function lv(){if(typeof player!=="undefined" && player.currentTime() > 0 && !player.paused() && !player.ended()){var u="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"viewers"),$_smarty_tpl);?>
?s=<?php echo $_smarty_tpl->tpl_vars['file_key']->value;?>
";$.get(u,function(){});}}<?php echo '</script'; ?>
><?php }
if ($_smarty_tpl->tpl_vars['google_analytics']->value != '') {?>
    <?php echo '<script'; ?>
 async src="https://www.googletagmanager.com/gtag/js?id=<?php echo $_smarty_tpl->tpl_vars['google_analytics']->value;?>
"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','<?php echo $_smarty_tpl->tpl_vars['google_analytics']->value;?>
');<?php echo '</script'; ?>
>
<?php }?>
</html><?php }
}
