<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>{dede:var.spacename /} {dede:var.curtitle /}</title>
<link href="space/gray/images/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="showmenu" style="z-index:100;display:none;"></div>
<div class="wrap1"><div class="wrap2"><div class="wrap3">
<div dargarea='yes' id="container">
  <!--begin header-->
  <div id="header">
	<div id="title">
	  <div class="fr tar" id="toolbar">
		<a href="{dede:global.cfg_basehost /}" target="_blank">{dede:global.cfg_basehost /}</a><br />	
		{dede:if $cfg_ml->IsLogin() }
		<a href="index.php?uid={dede:object.cfg_ml->M_LoginID /}">我的主页</a>
		| &nbsp;
		<a href="index.php">会员中心</a>
		| &nbsp;<a href="edit_space_info.php" target="_blank">空间管理</a> | <a href="index_do.php?fmdo=login&dopost=exit">注销</a>
 		{else}
		<a href="login.php">登录</a> | <a href="index_do.php?fmdo=user&dopost=regnew">注册</a>
 		{/dede:if}
	  </div>
	  <h1><a href="{dede:var.userurl /}">{dede:var.spacename /}</a></h1>
	</div>
	<div class="c"></div>
	<ul id="guide">
	  <li><a href="index.php?uid={dede:var.userid_e /}">首页</a></li>
		<li><a href="index.php?uid={dede:var.userid_e /}&action=article">日志</a></li>
		<?php
		foreach($_vars['bloglinks'] as $k=>$v)
		{
			if($k==2) {
				echo "		<li><a href=\"index.php?uid={$_vars['userid_e']}&action=album\">相册</a></li>\r\n";
			}
			else {
				echo "		<li><a href=\"index.php?uid={$_vars['userid_e']}&action=archives&channelid={$k}\">{$v}</a></li>\r\n";
			}
		}
		?>
	  <li><a href="index.php?uid={dede:var.userid_e /}&action=guestbook">留言</a></li>
	  <li><a href="index.php?uid={dede:var.userid_e /}&action=infos">关于我</a></li>
	</ul>
  </div>
  <div class="c" ></div>
 