Beispiel #1
0
 function cb_video_js($in)
 {
     global $cb_video_js;
     $cb_video_js = true;
     $vdetails = $in['vdetails'];
     $video_play = get_video_files($vdetails, true, true);
     if (!strstr($in['width'], "%")) {
         $in['width'] = $in['width'] . 'px';
     }
     if (!strstr($in['height'], "%")) {
         $in['height'] = $in['height'] . 'px';
     }
     assign('height', $in['height']);
     assign('width', $in['width']);
     assign('player_config', $in);
     assign('vdata', $vdetails);
     assign('cb_logo', cb_logo());
     assign('video_files', $video_play);
     Template(CB_VJS_PLAYER_DIR . '/cb_video_js.html', false);
     return true;
 }
Beispiel #2
0
?>
 >

                <header class="header clearfix<?php 
if ($cb_theme_style == 'cb_boxed') {
    echo ' wrap';
}
if ($cb_logo_position == 'center') {
    echo ' cb-logo-center';
}
?>
" role="banner">

                        <div id="cb-logo-box" class="wrap clearfix">
                            <?php 
cb_logo();
?>
                            <?php 
cb_header_banner();
?>
                        </div>

    				    <nav id="cb-nav-bar" class="clearfix<?php 
if ($cb_sticky_onoff == 'off') {
    echo ' stickyoff';
} else {
    echo ' stickybar';
}
if ($cb_nav_style == 'cb_light') {
    echo ' cb-light-menu';
} else {