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

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.3',
  'unifunc' => 'content_68f2b33f365da7_05270776',
  'has_nocache_code' => true,
  'file_dependency' => 
  array (
    '761f92b81445ff1411863bc25d9dcffbffc3ee4e' => 
    array (
      0 => '/srv/easystream/f_templates/tpl_frontend/tpl_header/tpl_headernav_yt.tpl',
      1 => 1760556072,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:tpl_frontend/tpl_header/tpl_headernav_pop.tpl' => 1,
  ),
),false)) {
function content_68f2b33f365da7_05270776 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/srv/easystream/f_core/f_classes/class_smarty/plugins/function.lang_entry.php','function'=>'smarty_function_lang_entry',),1=>array('file'=>'/srv/easystream/f_core/f_classes/class_smarty/plugins/function.href_entry.php','function'=>'smarty_function_href_entry',),));
?>
                        <header id="main_header">
                        	<?php if ($_smarty_tpl->tpl_vars['is_mobile']->value) {?>
                        	<div class="pwa_header" style="display:none">
                        		<center class="my-10"><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.pwa.add"),$_smarty_tpl);?>
</center>
                        		<center>
                        			<button class="search-button form-button button-grey px-15 py-5 m-0 tt-c max-w-auto" value="1" name="app_btn" id="app-btn" type="button"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.pwa.install"),$_smarty_tpl);?>
</span></button>
                        			<a class="link cancel-trigger mb-0 px-15 py-5 tt-c" href="#" id="app-cancel"><span class="px-0"><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.cancel"),$_smarty_tpl);?>
</span></a>
                        		</center>
                        	</div>
                        	<?php }?>
                                <div class="dynamic_container">
                                        <div id="ct-header-top">
                                                <div id="logo_container">
                                                        <i class="icon icon-menu2 menu-trigger"></i>
                                                        <a class="navbar-brand" href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
" title="<?php echo smarty_function_lang_entry(array('key'=>"frontend.global.home"),$_smarty_tpl);?>
" id="logo" rel="nofollow"></a>
                                                        <span id="menu-trigger-response"></span>
                                                </div>
                                                <div id="top_actions"<?php if ($_SESSION['USER_ID'] == 0) {?> class="no-session"<?php }?>>
                                                                <div class="user-thumb-xlarge top">
                                                                <a href="javascript:;" class="sb-icon-search-top place-left pr5" onclick="$('.search_holder').toggleClass('open');$('#user-arrow-box, #notifications-arrow-box').addClass('hidden');$('.dynamic_container').addClass('s-open');$('.navbar-brand').css({'visibility':'hidden'})"><i class="icon-rs-search icon-search"></i></a>
                                                                <?php if ($_SESSION['USER_ID'] > 0) {?>
                                                                        <img height="32" class="own-profile-image mt" title="<?php echo $_SESSION['USER_NAME'];?>
" alt="<?php echo $_SESSION['USER_NAME'];?>
" src="<?php $_smarty_tpl->assign("profileImage" , insert_getProfileImage (array('for' => ((string)$_SESSION['USER_ID'])),$_smarty_tpl), true);
echo $_smarty_tpl->tpl_vars['profileImage']->value;?>
">
                                                                <?php } else { ?>
                                                                	<span class="no-session-icon" onclick="$('#user-arrow-box').toggleClass('hidden');"><i class="mt-open"></i></span>
                                                                <?php }?>

                                                                        <div class="arrow_box hidden blue" id="user-arrow-box">
                                                                        <?php $_smarty_tpl->_subTemplateRender("file:tpl_frontend/tpl_header/tpl_headernav_pop.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
                                                                        </div>
                                                                </div>
                                                        <?php if ($_SESSION['USER_ID'] > 0) {?>
                                                                <a href="javascript:;" class="top-icon top-notif" title="<?php echo smarty_function_lang_entry(array('key'=>"frontend.global.notifications"),$_smarty_tpl);?>
">
                                                                        <i class="icon-bell"></i><?php if ($_SESSION['new_notifications'] > 0) {?><span class="nnr"><?php echo $_SESSION['new_notifications'];?>
</span><?php }?>
                                                                </a>
                                                                <a href="javascript:;" class="top-icon top-upload" title="<?php echo smarty_function_lang_entry(array('key'=>"frontend.global.upload"),$_smarty_tpl);?>
">
                                                                        <i class="icon-upload"></i>
                                                                </a>
                                                                <div class="arrow_box hidden" id="notifications-arrow-box">
                                                                        <div class="arrow_box_pad">
                                                                                <div id="notifications-box">
                                                                                </div>
                                                                        </div>
                                                                </div>
                                                                <div class="arrow_box blue hidden" id="upload-arrow-box">
                                                                                	<ul class="accordion tacc" id="top-session-accordion">
                                                                                		<?php if ($_smarty_tpl->tpl_vars['live_module']->value == 1 && $_smarty_tpl->tpl_vars['live_uploads']->value == 1) {?><li<?php if ($_GET['t'] == "live") {?> class=""<?php }?>><a id="new-live" rel-s="<?php echo smarty_function_href_entry(array('key'=>"files"),$_smarty_tpl);?>
" class="dcjq-parent" href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"upload"),$_smarty_tpl);?>
?t=live"><i class="icon icon-live"></i> <?php echo smarty_function_lang_entry(array('key'=>"upload.menu.live"),$_smarty_tpl);?>
</a></li><?php }?>
                                                                                		<?php if ($_smarty_tpl->tpl_vars['video_module']->value == 1 && $_smarty_tpl->tpl_vars['video_uploads']->value == 1) {?><li<?php if ($_GET['t'] == "video") {?> class=""<?php }?>><a class="dcjq-parent" href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"upload"),$_smarty_tpl);?>
?t=video"><i class="icon icon-video"></i> <?php echo smarty_function_lang_entry(array('key'=>"upload.menu.video"),$_smarty_tpl);?>
</a></li><?php }?>
                                                                                		<?php if ($_smarty_tpl->tpl_vars['video_module']->value == 1 && $_smarty_tpl->tpl_vars['video_uploads']->value == 1) {?><li<?php if ($_GET['t'] == "short") {?> class=""<?php }?>><a class="dcjq-parent" href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"upload"),$_smarty_tpl);?>
?t=short"><i class="icon icon-mobile"></i> <?php echo smarty_function_lang_entry(array('key'=>"upload.menu.short"),$_smarty_tpl);?>
</a></li><?php }?>
                                                                                		<?php if ($_smarty_tpl->tpl_vars['import_yt']->value == 1 || $_smarty_tpl->tpl_vars['import_dm']->value == 1 || $_smarty_tpl->tpl_vars['import_vi']->value == 1) {?><li<?php if ($_smarty_tpl->tpl_vars['page_display']->value == "tpl_import" && $_GET['t'] == "video") {?> class=""<?php }?>><a class="dcjq-parent" href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"import"),$_smarty_tpl);?>
?t=video"><i class="icon icon-embed"></i> <?php echo smarty_function_lang_entry(array('key'=>"upload.menu.grab"),$_smarty_tpl);?>
</a></li><?php }?>
                                                                                		<?php if ($_smarty_tpl->tpl_vars['audio_module']->value == 1 && $_smarty_tpl->tpl_vars['audio_uploads']->value == 1) {?><li<?php if ($_GET['t'] == "audio") {?> class=""<?php }?>><a class="dcjq-parent" href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"upload"),$_smarty_tpl);?>
?t=audio"><i class="icon icon-headphones"></i> <?php echo smarty_function_lang_entry(array('key'=>"upload.menu.audio"),$_smarty_tpl);?>
</a></li><?php }?>
                                                                                		<?php if ($_smarty_tpl->tpl_vars['image_module']->value == 1 && $_smarty_tpl->tpl_vars['image_uploads']->value == 1) {?><li<?php if ($_GET['t'] == "image") {?> class=""<?php }?>><a class="dcjq-parent" href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"upload"),$_smarty_tpl);?>
?t=image"><i class="icon icon-image"></i> <?php echo smarty_function_lang_entry(array('key'=>"upload.menu.image"),$_smarty_tpl);?>
</a></li><?php }?>
                                                                                		<?php if ($_smarty_tpl->tpl_vars['document_module']->value == 1 && $_smarty_tpl->tpl_vars['document_uploads']->value == 1) {?><li<?php if ($_GET['t'] == "document") {?> class="tab-current"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"upload"),$_smarty_tpl);?>
?t=document"><i class="icon icon-file"></i> <?php echo smarty_function_lang_entry(array('key'=>"upload.menu.document"),$_smarty_tpl);?>
</a></li><?php }?>
                                                                                		<?php if ($_smarty_tpl->tpl_vars['blog_module']->value == 1) {?><li<?php if ($_GET['t'] == "blog") {?> class="tab-current"<?php }?>><a id="new-blog" rel-s="<?php echo smarty_function_href_entry(array('key'=>"files"),$_smarty_tpl);?>
" href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"upload"),$_smarty_tpl);?>
?t=blog"><i class="icon icon-blog"></i> <?php echo smarty_function_lang_entry(array('key'=>"upload.menu.blog"),$_smarty_tpl);?>
</a></li><?php }?>
                                                                                	</ul>
                                                                </div>
                                                         <?php }?>
                                                        <?php if ($_SESSION['USER_ID'] == 0) {?>
                                                                <a href="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"signin"),$_smarty_tpl);?>
" rel="nofollow"><button class="save-entry-button button-grey search-button top-signin" value="1" name="frontend_global_signin"><i class="icon-user"></i><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.signin"),$_smarty_tpl);?>
</span></button></a>
                                                        <?php }?>
                                                </div>
                                                <center>
                                                <div class="search_holder<?php if ($_SESSION['USER_ID'] == 0) {?> no-session-holder<?php }?>">
                                                	<a href="javascript:;" class="icon-rs-arrow-left"><i class="icon-arrow-left close-search visible-mobile"></i></a>
                                                	<div class="top-search-form-wrap"><form id="top-search-form" class="entry-form-class">
                                                	<button type="button" id="filter-search-type" value="video" class="dl-menuwrapper viewType_btn viewType_btn-default search-filter-mode">
                                                	  <span class="dl-trigger actions-trigger nbfr"><i class="icon icon-video"></i></span>
                                                	  <ul class="dl-menu dl-search">
                                                		<?php if ($_smarty_tpl->tpl_vars['video_module']->value == 1) {?><li><a href="" class="icon icon-video" rel-value="1" rel="nofollow"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.v.p.c"),$_smarty_tpl);?>
</span></a></li><?php }?>
                                                		<?php if ($_smarty_tpl->tpl_vars['short_module']->value == 1) {?><li><a href="" class="icon icon-mobile" rel-value="9" rel="nofollow"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.s.p.c"),$_smarty_tpl);?>
</span></a></li><?php }?>
                                                		<?php if ($_smarty_tpl->tpl_vars['live_module']->value == 1) {?><li><a href="" class="icon icon-live" rel-value="8" rel="nofollow"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.l.p.c"),$_smarty_tpl);?>
</span></a></li><?php }?>
                                                		<?php if ($_smarty_tpl->tpl_vars['audio_module']->value == 1) {?><li><a href="" class="icon icon-headphones" rel-value="3" rel="nofollow"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.a.p.c"),$_smarty_tpl);?>
</span></a></li><?php }?>
                                                		<?php if ($_smarty_tpl->tpl_vars['image_module']->value == 1) {?><li><a href="" class="icon icon-image" rel-value="2" rel="nofollow"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.i.p.c"),$_smarty_tpl);?>
</span></a></li><?php }?>
                                                		<?php if ($_smarty_tpl->tpl_vars['doc_module']->value == 1) {?><li><a href="" class="icon icon-file" rel-value="4" rel="nofollow"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.d.p.c"),$_smarty_tpl);?>
</span></a></li><?php }?>
                                                		<?php if ($_smarty_tpl->tpl_vars['blog_module']->value == 1) {?><li><a href="" class="icon icon-blog" rel-value="7" rel="nofollow"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.b.p.c"),$_smarty_tpl);?>
</span></a></li><?php }?>
                                                		<?php if ($_smarty_tpl->tpl_vars['public_channels']->value == 1) {?><li><a href="" class="icon icon-users" rel-value="6" rel="nofollow"><span><?php echo smarty_function_lang_entry(array('key'=>"frontend.global.channels"),$_smarty_tpl);?>
</span></a></li><?php }?>
                                                	  </ul>
                                                	</button>
                                                	</form></div>
                                                        <div id="sb-search" class="sb-search sb-search-open">
                                                                <form method="get" action="<?php echo $_smarty_tpl->tpl_vars['main_url']->value;?>
/<?php echo smarty_function_href_entry(array('key'=>"search"),$_smarty_tpl);?>
">
                                                                	<input class="sb-search-ft" type="hidden" name="tf" value="1">
                                                                        <input class="sb-search-input" placeholder="<?php echo smarty_function_lang_entry(array('key'=>"frontend.global.searchtext"),$_smarty_tpl);?>
" type="text" value="" name="q" id="search">
                                                                        <input class="sb-search-submit" type="submit" value="">
                                                                        <span class="sb-icon-search icon-search"></span>
                                                                </form>
                                                        </div>
                                                </div>
                                                </center>
                                        </div>
                                        <div class="clearfix"></div>
                                </div>
                        </header><?php }
}
