Recent Posts
C++ | 11 sec ago
None | 20 sec ago
None | 26 sec ago
C++ | 35 sec ago
None | 37 sec ago
None | 58 sec ago
None | 58 sec ago
None | 1 min ago
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Domain Reports
Please check out our new and improved Firefox Add-on. hide message
By lenny on the 14th of Jun 2010 02:08:43 AM Download | Raw | Embed | Report
  1. <?php global $vigilance; ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3.    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  4. <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6.     <?php if( is_front_page() ) : ?>
  7.     <title><?php bloginfo('name'); ?></title>
  8.     <?php elseif( is_404() ) : ?>
  9.     <title><?php _e('Page Not Found |', 'vigilance') ?> <?php bloginfo('name'); ?></title>
  10.     <?php elseif( is_search() ) : ?>
  11.     <title><?php printf(__ ("Search results for '%s'", "vigilance"), attribute_escape(get_search_query())); ?> | <?php bloginfo('name'); ?></title>
  12.     <?php else : ?>
  13.     <title><?php wp_title($sep = ''); ?> | <?php bloginfo('name');?></title>
  14.     <?php endif; ?>
  15.  
  16.   <!-- Basic Meta Data -->
  17.   <meta name="copyright" content="Vigilance Theme Design: Copyright 2008 - 2010 The Theme Foundry" />
  18.   <meta http-equiv="imagetoolbar" content="no" />
  19.   <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  20.   <?php if((is_single() || is_category() || is_page() || is_home()) && (!is_paged())){} else {?>
  21.   <meta name="robots" content="noindex,follow" /><?php } ?>
  22.  
  23.   <!-- Favicon -->
  24.   <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/images/favicon.ico" />
  25.  
  26.   <!--Stylesheets-->
  27.   <link href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" rel="stylesheet" />
  28.   <!--[if lt IE 8]><link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_url'); ?>/stylesheets/ie.css" /><![endif]-->
  29.   <!--[if lte IE 6]><link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('template_url'); ?>/stylesheets/ie6.css" /><![endif]-->
  30.  
  31.   <!--Wordpress-->
  32.   <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  33.   <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  34.   <!--WP Hook-->
  35.   <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  36.   <?php wp_head(); ?>
  37. </head>
  38. <body <?php body_class(); ?>>
  39.   <div class="skip-content"><a href="#content"><?php _e('Skip to content', 'vigilance') ?></a></div>
  40.   <div id="wrapper">
  41.     <div id="header" class="clear">
  42.       <?php if (is_home()) echo('<h1 id="title">'); else echo('<div id="title">');?><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a><?php if (is_home()) echo('</h1>'); else echo('</div>');?>
  43.       <div id="description">
  44.         <h2><?php bloginfo('description'); ?></h2>
  45.       </div><!--end description-->
  46.       <div id="nav">
  47.         <ul>
  48.           <li class="page_item <?php if (is_front_page()) echo('current_page_item');?>"><a href="<?php bloginfo('url'); ?>"><?php _e('Home', 'vigilance') ?></a></li>
  49.           <?php if ($vigilance->hidePages() !== 'true') : ?>
  50.             <?php wp_list_pages('title_li=&depth=1'); ?>
  51.           <?php endif; ?>
  52.           <?php if ($vigilance->hideCategories() != 'true') : ?>
  53.             <?php wp_list_categories('title_li=&depth=1'); ?>
  54.           <?php endif; ?>
  55.         </ul>
  56.       </div><!--end nav-->
  57.     </div><!--end header-->
  58.     <div id="content" class="pad">
  59.       <?php if (is_file(STYLESHEETPATH . '/header-banner.php')) include(STYLESHEETPATH . '/header-banner.php'); else include(TEMPLATEPATH . '/header-banner.php'); ?>
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: