Advertisement
Guest User

Untitled

a guest
Aug 7th, 2012
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. <?php global $wallow_options, $current_user; ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes( 'xhtml' ); ?>>
  4.  
  5. <head profile="http://gmpg.org/xfn/11">
  6. <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
  7. <meta name="google-site-verification" content="E14AD_GqGlNj_OKmw4Z3zShnIAKIhABaJZnOfEAqHNM" />
  8. <title>
  9. <?php
  10. if ( is_front_page() ) {
  11. bloginfo( 'name' ); ?> - <?php bloginfo( 'description' );
  12. } else {
  13. wp_title( '&laquo;', true, 'right' );
  14. bloginfo( 'name' );
  15. }
  16. ?>
  17. </title>
  18. <link rel="stylesheet" href="<?php echo get_template_directory_uri().'/css/print.css' ?>" type="text/css" media="print" />
  19. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  20. <?php wp_head(); ?>
  21. </head>
  22.  
  23. <body <?php body_class(); ?>>
  24.  
  25. <?php
  26. if ( !isset( $wallow_options['wallow_qbar'] ) || $wallow_options['wallow_qbar'] ) {
  27. ?>
  28. <!-- begin quickbar -->
  29. <div id="quickbar">
  30. <div id="qb_left"></div>
  31. <div id="qb_center">
  32. <div id="avatar_cont">
  33. <?php
  34. if ( isset( $wallow_options['wallow_qbar_avatar'] ) && $wallow_options['wallow_qbar_avatar'] ) {
  35. echo '<img width="50" height="50" class="avatar avatar-50 photo" src="' . $wallow_options['wallow_qbar_avatar'] . '" alt="user-avatar">';
  36. } elseif ( is_user_logged_in() ) { //fix for notice when user not log-in
  37. get_currentuserinfo();
  38. $email = $current_user->user_email;
  39. echo get_avatar( $email, 50, $default = get_template_directory_uri() . '/images/user.png','user-avatar' );
  40. } else {
  41. echo '<img width="50" height="50" class="avatar avatar-50 photo" src="' . get_template_directory_uri() . '/images/user.png" alt="user-avatar">';
  42. }
  43. ?>
  44. </div>
  45.  
  46. <?php dynamic_sidebar( 'w-quickbar' ); ?>
  47. </div>
  48. <div id="qb_right"><?php wallow_micronav(); ?><?php printf( __( 'Today is %1$s<br />%2$s', 'wallow' ), date_i18n( __( 'l', 'wallow' ) ), date_i18n( get_option( 'date_format' ) ) ); ?></div>
  49. </div>
  50. <!-- end quickbar -->
  51. <?php } ?>
  52.  
  53. <div id="rap">
  54.  
  55. <div id="header">
  56. <?php if ( get_header_image() != '' ) { ?>
  57. <a href="<?php echo home_url(); ?>/"><img src="<?php esc_url ( header_image() ); ?>" alt="<?php bloginfo( 'name' ); ?>" title="<?php bloginfo( 'name' ); ?>" /></a>
  58. <?php } else { ?>
  59. <h1><a href="<?php echo home_url(); ?>/"><?php bloginfo( 'name' ); ?></a></h1>
  60. <div class="description"><?php bloginfo( 'description' ); ?></div>
  61. <?php } ?>
  62. </div>
  63.  
  64. <?php if ( !isset( $wallow_options['wallow_primary_menu'] ) || $wallow_options['wallow_primary_menu'] ) { ?>
  65.  
  66. <!-- begin pages menu -->
  67. <div id="pages">
  68. <div id="pages_subcont">
  69. <div id="rss_imglink"><a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php _e( 'Syndicate this site using RSS 2.0', 'wallow' ); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/rss.png" alt="rss img"/></a></div>
  70. <?php wp_nav_menu( array( 'menu_id' => 'mainmenu', 'fallback_cb' => 'wallow_pages_menu', 'theme_location' => 'primary' ) ); ?>
  71. <div class="fixfloat"></div>
  72. </div>
  73. </div>
  74. <!-- end pages menu -->
  75.  
  76. <?php } ?>
  77.  
  78. <!-- end header -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement