File: /home/httpd/html/stoptube.com/wp-content/themes/tubetheme-2017-v3-filled/header.php
<?php
$tubetheme_ImageColour = get_settings('tubetheme_ImageColour');
if (!$tubetheme_ImageColour) {
$tubetheme_ImageColour = 'white';
update_option('tubetheme_ImageColour', $tubetheme_ImageColour);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- Mobile Specific Metas ================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?php wp_title(''); ?></title>
<?php wp_head(); ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/<?php echo "" . get_settings( 'tubetheme_ImageColour' )
. ".css"; ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/video-js.css" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/jquery.dimensions.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/time.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/float.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/bookmark.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/video.js"></script>
<script type="text/javascript">
var req = new XMLHttpRequest();
req.open('GET', 'video.mp4', true);
req.responseType = 'blob';
req.onload = function() {
// Onload is triggered even on 404
// so we need to check the status code
if (this.status === 200) {
var videoBlob = this.response;
var vid = URL.createObjectURL(videoBlob); // IE10+
// Video is now downloaded
// and we can set it as source on the video element
video.src = vid;
}
}
req.onerror = function() {
// Error
}
req.send();
</script>
<style type="text/css">
.vjs-default-skin { color: #ffffff; }
.vjs-default-skin .vjs-play-progress,
.vjs-default-skin .vjs-volume-level { background-color: #000000 }
</style>
</head>
<body onLoad="goforit()">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div id="bookmark">
<a href="javascript:bookmarksite('<?php bloginfo('name'); ?>', '<?php bloginfo('url'); ?>')"><img src="<?php bloginfo('template_directory'); ?>/images/bookmark.png" border="0" /></a>
</div>
<header>
<div class="head">
<div class="logo">
<a href="<?php bloginfo('url'); ?>/"><img src="<?php bloginfo('template_directory'); ?>/images/logo.png" border="0" /></a>
</div>
<div class="headright">
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
</div>
<div class="clear"></div>
<ul class="topnav clear" id="myTopnav">
<li <?php if (is_home()){echo 'class="current_page_item"';}?>><a href="<?php bloginfo('url'); ?>/"><span>New Videos</span></a></li>
<?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span>$3</span></a>', wp_list_cats('echo=0&orderby=name&exlude=181&title_li=&depth=1')); ?>
<li><a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="myFunction()">☰</a></li>
</ul>
</div>
</header>
<div class="sureads" align="center">
<a href="http://a.cam4free.com/track/MzI0NTozOjE/" target="_blank"> <img src="http://sureads.com/promos/tube-footer/straight/images/footer.jpg"/></a>
</div>
<div class="clear"></div>