<div class="topBar">
  <div class="wrapper">
    <div class="t-fl">Hi，欢迎来访<?php echo $webtitle?>，手机或平板直接输入<?=$_SERVER['HTTP_HOST'];?>也可浏览哦。</div>
    <div class="t-fr"><a href="javascript:window.external.AddFavorite('<?php echo $site?>','<?php echo $webtitle?>')">加入收藏</a></div>
  </div>
</div>
<!--topBar end-->
<div class="header wrapper clearfix">
	<div class="logo">
        ﻿			<a href="<?=TY_URL?>"><img src="<?=TY_SKIN?>/images/logopic.gif" alt="<?php echo $webtitle?>" /></a>
			</div>
    <div class="search-fr">
        <div class="ah_nav_zuo_lim">
        <form action="<?=TY_URL?>search.php" method="get" id="search">
		
        <input name="q" value="请输入关键字" onblur="if(this.value==''){this.value='请输入关键字';}" onfocus="if(this.value=='请输入关键字'){this.value=''}" class="seach_cha" type="text">
        <input value="搜索" class="seach_dian" type="submit">
        </form>
        </div>
    </div>
</div>
<!--header end-->
<div class="wrapper">
<div class="navbar clearfix">
  <div class="pull-left"> 
    <div class="navbg">
      <div class="col960">
        <ul id="navul" class="cl">
        				<li class="item navhome">
			<a href="<?=TY_URL?>" >首页</a>
			
            
		</li>
			
			<?php 
  $rows_type=$mysql->query("select * from `".$BIAOTOU."type`");
  $n_type=mysql_query("select * from `".$BIAOTOU."type`");
  $n_type = mysql_num_rows($n_type);
  for($i=0;$i<$n_type;$i++){ 
  echo '<li class="item common"><a href="'.$listpath.$rows_type[$i]['id'].$hzm.'">'.$rows_type[$i]['type'].'</a></li>
  ';
  }?>
	        </ul>
      </div>
    </div>
  </div>
  <div class="pull-right">
	<ul>
    <li class="weixin"><a href="http://wpa.qq.com/msgrd?v=3&uin=86226656&site=qq&menu=yes" title="QQ联系" target="_blank">QQ联系</a></li>
    <ul/>
    	
  </div>
</div>
<div align="center"><script type="text/javascript" src="<?=TY_SKIN?>/ad/header.js"></script></div>