Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function endsWith($haystack, $needle)
- {
- $length = strlen($needle);
- $start = $length * -1; //negative
- return (substr($haystack, $start) === $needle);
- }
- ?>
- <!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" <?php language_attributes(); ?>>
- <head profile="http://gmpg.org/xfn/11">
- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <META name="y_key" content="ce6bf6af46f266af" />
- <meta name="msvalidate.01" content="5E5F413601E1E7A00601A115684E1448" />
- <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
- <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
- <style type="text/css" media="screen"></style>
- <?php wp_head(); ?>
- <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
- <script type="text/javascript"><!--//--><![CDATA[//>
- <!--
- sfHover = function() {
- var sfEls = document.getElementById("navigation").getElementsByTagName("LI");
- for (var i=0; i<sfEls.length; i++) {
- sfEls[i].onmouseover=function() {
- this.className+=" sfhover";
- }
- sfEls[i].onmouseout=function() {
- this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
- }
- }
- }
- if (window.attachEvent) window.attachEvent("onload", sfHover);
- //--><!]]></script>
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-24572070-8']);
- _gaq.push(['_setDomainName', 'coralind.com']);
- _gaq.push(['_trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- </head>
- <body class="body">
- <!--
- <div id="top_wrapper">
- <div id="top">
- top menu
- </div>
- </div>
- -->
- <div id="logo_wrapper">
- <div id="logo" rel="/">
- <a href="/"><img src="<?=bloginfo('template_url')?>/images/logo-coral-industries.png" alt="Coral Industries Glass Products" width="224" height="101" border="0" /></a>
- <?php if(!endsWith(get_page_template(), "landing_page.php")) { ?>
- <div id="main_navigation">
- <div id="navigation">
- <!-- top navigation -->
- <?php wp_nav_menu (array ( 'theme_location' => 'main-nav-menu') ); ?>
- </div>
- </div>
- <?php } ?>
- </div>
- <!--
- <?php if(is_page(1421)) : ?>
- <div id="featured" style="margin:auto;">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Homepage Header')) : endif; ?>
- <iframe src="http://www.coralind.com/wp-content/themes/coralind/residential.html" name="contents_frame" width="660px" marginwidth="0" height="330px" marginheight="0" align="left" scrolling="No" frameborder="0" hspace="0" vspace="0" id="contents_frame"></iframe>
- <iframe src="http://www.coralind.com/wp-content/themes/coralind/featured_nav.html" name="nav_frame" width="300px" marginwidth="0" height="330px" marginheight="0" align="right" scrolling="No" frameborder="0" hspace="0" vspace="0" id="nav_frame"></iframe>
- </div>
- <?php endif; ?>
- -->
- </div>
- <div style="clear:both;"></div>
- <div id="wrapper">
- <div id="mid_background_wrapper">
- <div id="mid_background"> </div>
- </div>
- <div style="clear:both;"></div>
- <div id="content_wrapper">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement