1
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
|
2 |
<?php |
|
3 |
global $inove_nosidebar; |
|
4 |
$options = get_option('inove_options'); |
|
5 |
if (is_home()) { |
|
6 |
$home_menu = 'current_page_item'; |
|
7 |
} else { |
|
8 |
$home_menu = 'page_item'; |
|
9 |
} |
|
10 |
if($options['feed'] && $options['feed_url']) { |
|
11 |
if (substr(strtoupper($options['feed_url']), 0, 7) == 'HTTP://') { |
|
12 |
$feed = $options['feed_url']; |
|
13 |
} else { |
|
14 |
$feed = 'http://' . $options['feed_url']; |
|
15 |
} |
|
16 |
} else { |
|
17 |
$feed = get_bloginfo('rss2_url'); |
|
18 |
} |
|
19 |
?> |
|
20 |
|
|
21 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
22 |
<head profile="http://gmpg.org/xfn/11"> |
|
23 |
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
|
24 |
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> |
|
25 |
|
|
26 |
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title> |
|
27 |
<link rel="alternate" type="application/rss+xml" title="<?php _e('RSS 2.0 - all posts', 'inove'); ?>" href="<?php echo $feed; ?>" /> |
|
28 |
<link rel="alternate" type="application/rss+xml" title="<?php _e('RSS 2.0 - all comments', 'inove'); ?>" href="<?php bloginfo('comments_rss2_url'); ?>" /> |
|
29 |
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> |
|
30 |
|
|
31 |
<!-- style START --> |
|
32 |
<!-- default style --> |
|
33 |
<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style> |
|
34 |
<!-- for translations --> |
|
35 |
<?php if (strtoupper(get_locale()) == 'ZH_CN' || strtoupper(get_locale()) == 'ZH_TW') : ?> |
|
36 |
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/chinese.css" type="text/css" media="screen" /> |
|
37 |
<?php elseif (strtoupper(get_locale()) == 'HE_IL' || strtoupper(get_locale()) == 'FA_IR' || strtoupper(get_locale()) == 'UG_CN' || strtoupper(get_locale()) == 'CKB') : ?> |
|
38 |
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/rtl.css" type="text/css" media="screen" /> |
|
39 |
<?php endif; ?> |
|
40 |
<!--[if IE]> |
|
41 |
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie.css" type="text/css" media="screen" /> |
|
42 |
<![endif]--> |
|
43 |
<!-- style END --> |
|
44 |
|
|
45 |
<!-- script START --> |
|
46 |
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/base.js"></script> |
|
47 |
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/menu.js"></script> |
|
48 |
<!-- script END --> |
|
49 |
|
|
50 |
<?php wp_head(); ?> |
|
51 |
</head> |
|
52 |
|
|
53 |
<?php flush(); ?> |
|
54 |
|
|
55 |
<body> |
|
56 |
<!-- wrap START --> |
|
57 |
<div id="wrap"> |
|
58 |
|
|
59 |
<!-- container START --> |
|
60 |
<div id="container" <?php if($options['nosidebar'] || $inove_nosidebar){echo 'class="one-column"';} ?> > |
|
61 |
|
|
62 |
<?php include('templates/header.php'); ?> |
|
63 |
|
|
64 |
<!-- content START --> |
|
65 |
<div id="content"> |
|
66 |
|
|
67 |
<!-- main START --> |
|
68 |
<div id="main"> |