<?php
if(!$headerimg) $headerimg=$ur[userpic]?$ur[userpic]:'temp/images/avatar.jpg';
if(!$nickname) $nickname=getnickname($ur[userid]);
?>
<link href="<?=$public_r[add_cssdomain]?>/user/temp/css/base.css" type="text/css" rel="stylesheet" />
<link href="<?=$public_r[add_cssdomain]?>/user/temp/css/i.css" type="text/css" rel="stylesheet" />
<script src="<?=$public_r[add_cssdomain]?>/user/temp/css/jq171.js" type="text/javascript"></script>
<script src="<?=$public_r[add_cssdomain]?>/user/temp/css/jqbase.js" type="text/javascript"></script>
<link href="<?=$public_r[add_cssdomain]?>/user/temp/css/box.css" type="text/css" rel="stylesheet" />
<script src="<?=$public_r[add_cssdomain]?>/user/temp/css/formValidator-4.0.1.js" type="text/javascript"></script>
<script src="<?=$public_r[add_cssdomain]?>/user/temp/css/formValidatorRegex.js" type="text/javascript"></script>
<script language="javascript" src="<?=$public_r[add_cssdomain]?>/user/temp/css/DateTimeMask.js" type="text/javascript"></script>
</head>
<body>
<div id="i-header">
  <div class="layout fn-clear">
    <div id="i-logo"><a href="/"><img width="157" height="42" src="images/ilogo.gif" alt="" /></a></div>
    <ul id="i-nav">
      <li class="i-nav-item"><a class="nav-link" target="_blank" href="<?=$public_r[newsurl]?>">返回<?=$public_r[sitename]?>首页</a></li>
      <li class="i-nav-item"><a class="nav-link" target="_blank" href="<?=$public_r[newsurl]?>user/i.php?id=<?=$userid?>">预览我的个人主页</a></li>
      <!--<li class="i-nav-item drop-down" id="ubox"><a class="nav-link">我的信息</a></li>-->
<li id="ubox" class="i-nav-item drop-down"> 
<a class="nav-link drop-title nav-avatar" href="/use/center.php"> <img alt="<?=$nickname?>" src="<?=$headerimg?>"> <span><?=$nickname?></span> </a>
  <div id="nav-signed" class="drop-box" style="display: none;">
    <ul class="ui-signed">
      <li> <a href="/user/"> <i class="ui-icon user-qire"></i> 我的奇热 </a> </li>
      <li> <a href="/user/info.php"> <i class="ui-icon user-edit"></i> 我的资料 </a> </li>
      <li> <a href="/user/fava.php"> <i class="ui-icon user-fav"></i> 我的收藏 </a> </li>
      <li> <a href="/user/remind.php"> <i class="ui-icon user-rss"></i> 我的订阅 </a> </li>
      <li> <a href="/user/playlog.php"> <i class="ui-icon user-log"></i> 我的云播放 </a> </li>
      <li> <a href="/user/msg.php"> <i class="ui-icon user-gb"></i> 我的私信 </a> </li>
      <li class="logout"> <a class="logoutbt" target="_self" href="/e/member/doaction.php?enews=exit" data="/e/member/doaction.php?enews=exit"> <i class="ui-icon user-logout"></i> 退出 </a> </li>
    </ul>
  </div>
</li>

      <li class="i-nav-item" id="i-logout"><a class="nav-link logoutbt" href="/e/member/doaction.php?enews=exit" target="_self">退出</a></li>
    </ul>
  </div>
</div>