PageRenderTime 46ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/blog/wp-content/themes/extinct/guruq/header.php

https://bitbucket.org/sergiohzlz/reportaprod
PHP | 64 lines | 53 code | 11 blank | 0 comment | 2 complexity | 1e7b4412635889aee02598071d0c6c96 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  4. <title><?php wp_title(); ?> <?php get_guruq_title(); ?></title>
  5. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  6. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  7. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  8. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  9. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  10. <?php
  11. wp_enqueue_script( 'jquery' );
  12. wp_enqueue_script( 'jquery-ui-core' );
  13. wp_enqueue_script( 'accordion', get_bloginfo( 'template_directory' ) . '/ui.accordion.js', array('jquery', 'jquery-ui-core') );
  14. ?>
  15. <link type="text/css" href="<?php echo get_bloginfo( 'template_directory' ); ?>/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
  16. <?php wp_head() ?>
  17. <script type="text/javascript" src="<?php echo get_bloginfo( 'template_directory' ); ?>/scripts.js"></script>
  18. <?php
  19. if ( !gq_show_featured() ) : ?>
  20. <style type="text/css">
  21. div#accordion1 {
  22. width:100%;
  23. }
  24. </style>
  25. <?php endif; ?>
  26. </head>
  27. <body class="<?php sandbox_body_class() ?>">
  28. <div id="wrapper" class="hfeed">
  29. <div id="header">
  30. <h1 id="blog-title"><span><a href="<?php bloginfo('url') ?>/" title="<?php echo esc_attr( get_guruq_title() ); ?>" rel="home"><?php echo get_guruq_title(); ?></a></span></h1>
  31. <div id="blog-description"><?php echo get_guruq_description(); ?></div>
  32. <!-- <?php bloginfo('description'); ?> -->
  33. <div class="clearer"></div>
  34. </div><!-- #header -->
  35. <div id="search-question-wrap">
  36. <div id="search-box">
  37. <div id="searchbox">
  38. <h2>Search Answers</h2>
  39. <form id="searchform" class="blog-search" method="get" action="<?php bloginfo('url') ?>">
  40. <div>
  41. <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /><br />
  42. <input type="submit" class="button" value="Search" tabindex="2" />
  43. </div>
  44. </form>
  45. </div><!-- #searchbox -->
  46. </div><!-- #search-box -->
  47. <div id="question-box">
  48. <?php
  49. require_once dirname( __FILE__ ) . '/post-form.php';
  50. ?>
  51. </div><!-- #question-box -->
  52. <div class="clearer"></div>
  53. </div><!-- #search-question-wrap -->