Advertisement
Guest User

Untitled

a guest
Jun 29th, 2011
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head profile="http://gmpg.org/xfn/11">
  5. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  6. <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(”); ?></title>
  7. <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
  8. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  9. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
  10. <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
  11. <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
  12. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  13. <?php wp_get_archives('type=monthly&format=link'); ?>
  14. <?php wp_head(); ?>
  15. </head>
  16. <script>
  17. function sfocus() {
  18. if (document.getElementById('s').value=='TYPE TEXT HERR AND HIT ENTER!') {
  19. document.getElementById('s').value='';
  20. }
  21. }
  22. function sblur() {
  23. if (document.getElementById('s').value=='') {
  24. document.getElementById('s').value='TYPE TEXT HERR AND HIT ENTER!';
  25. }
  26. }
  27. </script>
  28. <?php if (wp_specialchars($s, 1)!='') {
  29. $svalue=wp_specialchars($s, 1);
  30. } else {
  31. $svalue='TYPE TEXT HERE AND HIT ENTER!';
  32. }?>
  33. <body>
  34.  
  35. <div id="container">
  36. <div id="header">
  37. <div id="menu_search_box">
  38. <form method="get" id="searchform" style="display:inline;" action="<?php bloginfo('home'); ?>/">
  39. <span>Search:&nbsp;</span>
  40. <input type="text" class="s" value="<?php echo $svalue; ?>" name="s" id="s" onBlur="sblur()" onFocus="return sfocus()" />&nbsp;
  41.  
  42. </form>
  43. </div>
  44. <h1><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>
  45. <div id="subtitle"><?php bloginfo('description'); ?></div>
  46. <?php do_action('wp_menubar','Home'); ?>
  47. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement