File: /home/mmickelson/tfgarchive/wpblogtest1.old/wp-content/themes/inove/templates/start.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<?php
$options = get_option('inove_options');
if (is_home()) {
$home_menu = 'current_page_item';
} else {
$home_menu = 'page_item';
}
if($options['feed'] && $options['feed_url']) {
if (substr(strtoupper($options['feed_url']), 0, 7) == 'HTTP://') {
$feed = $options['feed_url'];
} else {
$feed = 'http://' . $options['feed_url'];
}
} else {
$feed = get_bloginfo('rss2_url');
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php
if (is_home()) {
$description = $options['description'];
$keywords = $options['keywords'];
} else if (is_single()) {
$description = $post->post_title;
$keywords = "";
$tags = wp_get_post_tags($post->ID);
foreach ($tags as $tag ) {
$keywords = $keywords . $tag->name . ", ";
}
} else if (is_category()) {
$description = category_description();
}
?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<meta name="description" content="<?php echo $description; ?>" />
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<link rel="alternate" type="application/rss+xml" title="<?php _e('RSS 2.0 - all posts', 'inove'); ?>" href="<?php echo $feed; ?>" />
<link rel="alternate" type="application/rss+xml" title="<?php _e('RSS 2.0 - all comments', 'inove'); ?>" href="<?php bloginfo('comments_rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<!-- style START -->
<!-- default style -->
<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style>
<!-- for translations -->
<?php if (strtoupper(get_locale()) == 'ZH_CN' || strtoupper(get_locale()) == 'ZH_TW') : ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/chinese.css" type="text/css" media="screen" />
<?php elseif (strtoupper(get_locale()) == 'HE_IL') : ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/rtl.css" type="text/css" media="screen" />
<?php endif; ?>
<!--[if IE 6]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie6.css" type="text/css" media="screen" />
<![endif]-->
<!-- style END -->
<!-- script START -->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/util.js"></script>
<?php if (strtoupper(get_locale()) == 'RTL' || strtoupper(get_locale()) == 'HE_IL') : ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/jsrtl/menu.js"></script>
<?php else : ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/menu.js"></script>
<?php endif; ?>
<!-- script END -->
<?php wp_head(); ?>
</head>
<?php flush(); ?>
<body>
<!-- wrap START -->
<div id="wrap">