{foreach from=$Cbucket->JSArray key=file item=type} {if $curActive == $type || $type=='global' } {/if} {/foreach} {foreach from=$Cbucket->header_files key=file item=type} {if $curActive == $type || $type=='global' } {include file="$file"} {/if} {/foreach} {if $page == 'upload_video'} {/if} {php} global $plugin_list; if(!empty($plugin_list) && is_array($plugin_list)) { foreach($plugin_list as $plugin) { if(!empty($plugin['plugin_header_file'])) { if( !empty($plugin['plugin_folder']) && file_exists(PLUG_DIR.'/'.$plugin['plugin_folder'].'/'.$plugin['plugin_header_file']) ) { template(PLUG_DIR.'/'.$plugin['plugin_folder'].'/'.$plugin['plugin_header_file'],false); }else{ if(file_exists(PLUG_DIR.'/'.$plugin['plugin_header_file'])) template(PLUG_DIR.'/'.$plugin['plugin_header_file'],false); }} } } {/php} {php} global $Cbucket; $modlist = $Cbucket->moduleList; if(!empty($modlist) && is_array($modlist)) { foreach($modlist as $mod) { if(!empty($mod['module_include_file']) && file_exists(MODULEDIR.'/'.$mod['module_include_file'])) template(MODULEDIR.'/'.$mod['module_include_file'],false); } } {/php} {if $view_channel_active == ''} {literal} {/literal} {if DEBUG_LEVEL == 1}
Alert:  The site is in debug mode - all errors will display.
{/if}
{$title} {$slogan}  
{if $userquery->login_check('',true)} {/if}
{else} {if $data.background != ""} {literal} {/literal} {else} {/if}
{$title}   {if $logged_user == ""}{$LANG.signup} | {else} {$LANG.hi}, {$logged_user}! | {if $new_msgs !=0}{else}{/if} ({$new_msgs}) |{/if} {$LANG.menu_account} | {$LANG.help} | {if $logged_user == ""}{$LANG.login}{else}{$LANG.logout}{/if}
{$LANG.videos} | {$LANG.menu_channels} | {$LANG.groups} | {$LANG.menu_upload}
{/if}
{ANCHOR place=global}