<?
$Nav_array = Jqlib::showNavArray('');
?>

<div class="header">
    <div class="contents clear">
        <h1><a href="/" title=""><?=$companyName?></a></h1>
        <p><?=$shareCode?></p>
    </div>
</div>
<!--head end-->
<div class="nav">
    <div class="contents">
      <ul id="navul" class="cl">
          <li class="li1"><a href="/" >首页</a></li>
          <li><a href="<?=Jqlib::linkinfo(1,'page.php')?>" <?=add_class(2,$maxType)?>>关于我们</a>
               <ul>
                  <?=Jqlib::showNavXia(1,'page.php')?>
             </ul>
          </li>
          <li><a href="<?=Jqlib::linkinfo(3,'page.php')?>" >产品介绍</a>
              <ul>
                  <?=Jqlib::showNavXia(3,'page.php')?>
             </ul>
          </li>
          <li><a href="<?=Jqlib::linkinfo(2,'page.php')?>" >保理百科</a>
              <ul>
                   <?=Jqlib::showNavXia(2,'page.php')?>
              </ul>
          </li>
          <li><a href="<?=Jqlib::linkinfo(4,'page.php')?>" >新闻动态</a>
               <ul>
                  <?=Jqlib::showNavXia(4,'page.php')?>
              </ul>
          </li>
          <li><a href="<?=Jqlib::linkinfo(5,'page.php')?>" >我要融资</a>
               <ul>
                  <?=Jqlib::showNavXia(5,'page.php')?>
               </ul>
          </li>
          <li style=" background:none;"><a href="<?=Jqlib::linkinfo(6,'page.php')?>" >资料下载</a>
              <ul>
				<?=Jqlib::showNavXia(6,'page.php')?>
              </ul>
          </li>
      </ul>
    </div>
</div>
<script  type="text/javascript"> 
$(".nav").capacityFixed();
</script>
<!--nav end-->
<div class="banner contents">
     <div id="kinMaxShow">
		<?php
        $pic = mysql_query("select id,type,title,pic from ".DB_TablePre."content where type in(27) and pic != '' order by adate desc limit 0,5");
        while($row = mysql_fetch_row($pic)){
    	?>
          <div>
              <a href="#none"><img src="<?=$row[3]?>" width="1000" height="345" alt="" /></a>                
          </div>
         <? }  ?>
     </div>
</div>
<!--banner end-->
<?
//php处理菜单选中项目。js设置无效，没办法！
function add_class($type,$nowid,$show=0){
	if(floatval($type)==floatval($nowid)){
		if($show==0){
			return 'class="selected"';
		}else{
			return '';
		}
	}
}
?>
