Advertisement
Guest User

Untitled

a guest
Jul 25th, 2011
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <title><?php if (is_home () ) { bloginfo('name'); echo " - "; bloginfo('description');
  6. } elseif (is_category() ) {single_cat_title(); echo " - "; bloginfo('name');
  7. } elseif (is_single() || is_page() ) {single_post_title(); echo " - "; bloginfo('name');
  8. } elseif (is_search() ) {bloginfo('name'); echo " search results: "; echo esc_html($s);
  9. } else { wp_title('',true); }?></title>
  10. <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
  11. <meta name="robots" content="follow, all" />
  12. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  13. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  14. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  15. <?php $favico = get_option('centita_custom_favicon');?>
  16. <link rel="shortcut icon" href="<?php echo ($favico) ? $favico : get_template_directory_uri().'/images/favicon.ico';?>"/>
  17. <?php wp_head(); ?>
  18. <!--[if IE 6]>
  19. <script type="text/javascript" src="<?php bloginfo('template_directory');?>/js/unitpngfix.js"></script>
  20. <link href="<?php echo get_template_directory_uri();?>/css/ie6.css" rel="stylesheet" type="text/css" />
  21. <![endif]-->
  22. <!--[if IE 7]>
  23. <style type="text/css">.right {height: 253px;}</style>
  24. <![endif]-->
  25. <!--[if IE 8]>
  26. <style type="text/css">.right {height: 253px;}</style>
  27. <![endif]-->
  28. <script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/cufon-yui.js"></script>
  29. <?php $cufon_fonts = get_option('centita_cufon_fonts'); if ($cufon_fonts == "") $cufon_fonts = "Nilland-ExtraBold_800.font.js";?>
  30. <script type="text/javascript" src="<?php echo get_template_directory_uri();?>/js/fonts/<?php echo $cufon_fonts;?>"></script>
  31.  
  32. <script type="text/javascript">
  33. Cufon.replace('h1') ('h2') ('h3') ('h4') ('#myslidemenu li a',{hover:true}) ('.blog-post h2 a',{hover:true}) ('.slider1Image span strong');
  34. </script>
  35.  
  36. <?php if (is_home()) { ?>
  37. <?php $_slideshowspeed = get_option('centita_slideshowspeed'); ?>
  38. <script type="text/javascript">
  39. jQuery(document).ready(function($) {
  40. jQuery('#slider1').s3Slider({
  41. timeOut: <?php echo $_slideshowspeed ? $_slideshowspeed : 6000;?>
  42. });
  43. });
  44. </script>
  45. <?php } ?>
  46.  
  47. </head>
  48.  
  49. <body>
  50. <!-- BEGIN TOP -->
  51. <div id="header-wrapper">
  52. <div id="logo">
  53. <?php $logo_url = get_option('centita_logo');?>
  54. <a href="<?php echo home_url();?>">
  55. <img src="<?php echo $logo_url ? $logo_url : get_template_directory_uri().'/images/logo.gif';?>" alt="" />
  56. </a>
  57. </div><!-- end of logo -->
  58. <div id="search-box">
  59. <form method="get" id="search" action="<?php bloginfo('url'); ?>/" >
  60. <p><input type="text" name="s" id="s" value="<?php echo __('Search','centita');?>" onblur="if (this.value == ''){this.value = '<?php echo __('Search','centita');?>'; }" onfocus="if (this.value == '<?php echo __('Search','centita');?>') {this.value = ''; }" />&nbsp;
  61. <input type="submit" class="go" value="" />
  62. </p>
  63. </form>
  64. </div><!-- end of search -->
  65. <div class="clr"></div>
  66. </div>
  67. <div class="clr"></div>
  68. <div id="menu-wrapper">
  69. <div id="menu-container">
  70. <div id="topmenu">
  71. <div id="myslidemenu" class="jqueryslidemenu">
  72. <?php
  73. if (function_exists('wp_nav_menu')) {
  74. wp_nav_menu( array('menu_id'=>'', 'menu_class' => '', 'theme_location' => 'topnav','fallback_cb'=>'','sort_column' => 'menu_order', 'depth' =>4,'walker' => new description_walker()) );
  75. } ?>
  76. </div>
  77. </div>
  78. </div>
  79. <div class="clr"></div>
  80. </div>
  81. <!-- end of topmenu -->
  82. <div class="clr"></div>
  83. <!-- END OF TOP -->
  84.  
  85. <div id="centercolumn">
  86. <!-- BEGIN HEADER -->
  87. <div id="header">
  88. <?php if (is_home()) { ?>
  89. <?php include (TEMPLATEPATH.'/slideshow.php');?>
  90. <?php } else if (is_page_template('homepage-nivo.php')) {?>
  91. <?php include (TEMPLATEPATH.'/slideshow-nivo.php');?>
  92. <?php } ?>
  93. </div>
  94. <!-- END OF HEADER -->
  95.  
  96.  
  97. <!-- BEGIN CONTENT -->
  98. <div id="content">
  99. <?php if (is_home()) echo "<div id=\"padding_content\">";?>
  100. <div id="maincontent">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement