<!DOCTYPE HTML>
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title><?php if (is_home()){?><?php bloginfo('name'); ?><?php }else{ ?>
<?php echo trim(wp_title('','')); ?><?php wp_title(); ?>|<?php bloginfo('name'); ?><?php }?></title>
<meta http-equiv=X-UA-Compatible content=IE=EmulateIE7 />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="icon" href="<?php bloginfo('url'); ?>/favicon.ico" type="images/x-icon" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="<?php bloginfo('url'); ?>/wp-content/themes/vxiao/css/ie.css" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php bloginfo('url'); ?>/wp-content/themes/vxiao/css/ie7.css" />
<![endif]-->
<!--[if lte IE 6]>
<link rel="stylesheet" href="<?php bloginfo('url'); ?>/wp-content/themes/vxiao/css/ie6.css" />
<![endif]-->
<?php wp_head(); ?>
<base target="_blank">
</head>
<body>
<div id="header">
	<div id="navtop">
	<div id="nav">
		<div id="nav1"><?php if ( ! dynamic_sidebar( 'vxiao-widget-topl' ) ) : ?><?php endif;?></div>
		<div id="nav2"><?php if ( ! dynamic_sidebar( 'vxiao-widget-topc' ) ) : ?><?php endif;?></div>
		<div id="nav3"><?php $url_this = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER["REQUEST_URI"];?><?php if ( is_user_logged_in() ) {?><?php if(!current_user_can('subscriber')): ?><a href="<?php the_author_meta('ihome',$user_ID); ?>">我的个人导航</a><?php else : ?><?php endif; ?>
 <a href="<?php echo get_bloginfo('url')?>/wp-admin/profile.php" title="管理我的账户" target="_blank">个人资料</a> <a href="<?php echo wp_logout_url( $url_this); ?>" title="退出登录" target="_self">退出</a><?php } else {?><a href="<?php echo home_url().'/wp-login.php?action=register'?>" title="注册" target="_blank">注册</a> <a href="<?php echo wp_login_url($url_this); ?>" title="登录" target="_self">登录</a><?php }?></div>
	</div>
	</div>
	<div id="site">
		<div id="site-info">
			<h1><a href="<?php bloginfo('url'); ?>" target="_self" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
		</div>
		<div id="site-search">
			<form action="http://www.baidu.com/baidu" class="bdfor">
			<input name="v" type="hidden" value="baidu">
			<input name="word" type="text"  class="bdbun">
			<input type="submit" class="bdbut" value="百度搜索">
			</form>
		</div>
		<div id="site-box"></div>
	</div>
</div>