<!--头部开始-->
<DIV class="header clearfix">
	<DIV class="top g24">
		<H1 class="logo fl"><A title=推广平台 href="<?php echo $logo['ad_url'] ?>">推广平台</A></H1>
		<?php if($_s_user_name==''):?>
		<UL class="quickMenu fr">
		  <?php foreach((array)$link_list as $k => $v):?>
			  <LI class="link"><A  title=<?php echo $v['name'] ?> href="<?php echo $v['url'] ?>"><?php echo $v['name'] ?></A></LI>
		 <?php endforeach;?>
		  <LI><A title=首页 href="<?php echo $pe['host_root'] ?>">首页</A></LI>
		  <LI><A title=登录 href="<?php echo $pe['host_root'] ?>index.php/page/login">登录</A></LI>
          <LI><A title=注册 href="<?php echo $pe['host_root'] ?>index.php/page/register">注册</A></LI>
		  <LI><A title=公告 href="<?php echo $pe['host_root'] ?>index.php/notice/list?class=1">公告</A></LI>
		  <LI>
		  <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=912022179&site=qq&menu=yes"> 
<img border="0" src="http://wpa.qq.com/pa?p=2:912022179:41" alt="点击这里给我发消息" title="点击这里给我发消息"> 
</a>
		  </LI>
		</UL>
		<?php else:?>
		<UL class="quickMenu fr">
		  <LI><span class="userName"><?php echo $_s_user_name ?></span>您好，欢迎您来到亿推推微信推广平台！</LI>
		  <LI><A title=首页 href="<?php echo $pe['host_root'] ?>">首页</A></LI>
		  <LI><A title=公告 href="<?php echo $pe['host_root'] ?>index.php/notice/list?class=1">公告</A></LI>
          <LI><A title=退出 href="user.php?mod=do&act=logout">退出</A></LI>
		 <LI>
		  <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=912022179&site=qq&menu=yes"> 
<img border="0" src="http://wpa.qq.com/pa?p=2:912022179:41" alt="点击这里给我发消息" title="点击这里给我发消息"> 
</a>
		  </LI>
		</UL>
		<?php endif;?>
	</DIV>
	<!--navigation START-->
	<DIV class="nav">
		<DIV class="re g24">
			<UL class="navWrap fr">
			  <LI class="curr"><A class="nav-item" title=首页 href="<?php echo $pe['host_root'] ?>">首页</A></LI>
			  <?php $toplink=getads(1);?>
			  <?php foreach((array)$toplink as $k => $v):?>
			  <LI><A class="nav-item" href="<?php echo $v['ad_url'] ?>" title="<?php echo $v['ad_name'] ?>"><?php echo $v['ad_name'] ?></A></LI>
			  <?php endforeach;?>
			</UL>
		</DIV>
	</DIV>
	<!--navigation END-->
</DIV>

