<?php if (!defined('APP_PATH')) exit;?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" >
<title><?php echo $site['title'];?></title>
<meta name="description" content="<?php echo $site['description'];?>" />
<meta name="keywords" content="<?php echo $site['keywords'];?>" />
<link rel="stylesheet" href="http://127.0.0.5/Templets/default/css/bootstrap.css">
<link rel="stylesheet" href="http://127.0.0.5/Templets/default/css/global.css">
<link rel="stylesheet" href="http://127.0.0.5/Templets/default/css/index.css">
<script type="text/javascript" src="http://127.0.0.5/Templets/default/js/jquery.js"></script>
<script type="text/javascript" src="http://127.0.0.5/Templets/default/js/dialog.js"></script>
<script type="text/javascript" src="http://127.0.0.5/Templets/default/js/index.js"></script>
<script type="text/javascript" src="http://127.0.0.5/Templets/default/js/onclik.js"></script>
</head>
<body>
﻿

<div id="header">
  <div class="hd_index"> 

      <div class="logo">
        <a href="/"><img src="<?php echo $site['logo'];?>" width="260" height="108"></a>

    </div>
    <div class="seaach_bar cle"> 
      <div class="right"><img src="http://127.0.0.5/Templets/default/images/tel.png" style="height:60px;"></div>
    </div>
       <div class="nav_bar">
      <ul>
        <li><a href="/" >首页</a></li>
		<?php $channelfield = call_user_func(array('TaglibModule', 'channelTag'),array('type'=>'menu','tpl'=>'article_list.html'));if(empty($channelfield)){ echo '<div class="nodata"></div>';}else{foreach($channelfield as $key=>$field){?>
        <li><a href="<?php echo $field['url'];?>" target="_blank" ><?php echo $field['name'];?></a></li>
        <?php };};unset($channelfield,$key);?>        
      </ul>
	</div>
<div class="main"><img src="http://127.0.0.5/Templets/default/images/banner003.png"></div>
<div class="hd_index"> 
  <div class="hd_banner cle" style="float:left;width:792px;"> 
    <div class="banner_box border_article">
      <div class="bread_article"> 您目前在的位置：<a href="/">首页</a>  >> <?php $field = call_user_func(array('TaglibModule', 'fieldTag'),array('name'=>'position','tpl'=>'article_list.html')); echo $field;unset($field);?> </div>
      <div class="type_son" style="margin-top:0px; margin-left:5px;">
        <?php $channelfield = call_user_func(array('TaglibModule', 'channelTag'),array('typeid'=>'8474,8475,8476,8478,8479','tpl'=>'article_list.html'));if(empty($channelfield)){ echo '<div class="nodata"></div>';}else{foreach($channelfield as $key=>$field){?>
        <li><a title="<?php echo $field['name'];?>" href='<?php echo $field['url'];?>'><?php echo $field['name'];?></a></li>
		<?php };};unset($channelfield,$key);?> 
      </div>
      <div class="clear"></div>
      <div >
        <ul class="e2">
			 <?php $arclistfield = call_user_func(array('TaglibModule', 'arclistTag'),array('page'=>'20','empty'=>'暂无记录','infolen'=>'80','tpl'=>'article_list.html'));if(empty($arclistfield)){ echo '<div class="nodata">暂无记录</div>';}else{foreach($arclistfield as $key=>$field){?> 
			<li> <a href='<?php echo $field['url'];?>' class='preview' target="_blank"><img src='<?php echo $field['image'];?>'/></a><a href="<?php echo $field['url'];?>" title="<?php echo $field['title'];?>" class="title color_blue"><?php echo $field['title'];?></a> <span class="info"> <small>日期：</small><?php echo date('Y-m-d H:i:s',$field['pubtime']);?><small>点击：</small><?php echo $field['hint'];?></span>
            <p class="intro"><?php echo $field['abstract'];?></p>
          </li>
			<?php };};unset($arclistfield,$key);?>    
        </ul>
      </div>

      <div class="dede_pages">
       <?php $page = call_user_func(array('TaglibModule', 'pageshowTag'),array('style'=>'2','tpl'=>'article_list.html')); echo $page;unset($page);?>
      </div>
    </div>
  </div>
﻿<div class="hd_oneday oneday-hover" style="float:right">
    <!--栏目导航-->
    <div class="lanmu_article lldd">
      <div class="head_title"> 联系方式 </div>
          <p>咨询报名电话：<font color="#FF0000"><?php echo $site['tel'];?></font></p>
          <p>驾校地址：<?php echo $site['address'];?></p>
          <p><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $site['qq'];?>&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo $site['qq'];?>:51"></a></p>
      </div>
    <div class="lanmu_article">
      <div class="head_title"> 优惠活动 </div>
		<?php $arclistfield = call_user_func(array('TaglibModule', 'arclistTag'),array('typeid'=>'8476','limit'=>'8','empty'=>'暂无记录','titlelen'=>'15','order'=>'pubtime','orderby'=>'desc','tpl'=>'article_list.html'));if(empty($arclistfield)){ echo '<div class="nodata">暂无记录</div>';}else{foreach($arclistfield as $key=>$field){?>
		<p><a title="<?php echo $field['title'];?>" href='<?php echo $field['url'];?>' target="_blank"><?php echo $field['title'];?></a></p>
		<?php };};unset($arclistfield,$key);?>
	 </div>
    <div class="lanmu_article">
      <div class="head_title"> 热点新闻 </div>
	   <?php $arclistfield = call_user_func(array('TaglibModule', 'arclistTag'),array('typeid'=>'8477','limit'=>'20','empty'=>'暂无记录','titlelen'=>'15','tpl'=>'article_list.html'));if(empty($arclistfield)){ echo '<div class="nodata">暂无记录</div>';}else{foreach($arclistfield as $key=>$field){?>
		<p><a title="<?php echo $field['title'];?>" href='<?php echo $field['url'];?>' target="_blank"><?php echo $field['title'];?></a></p>
	   <?php };};unset($arclistfield,$key);?>
 </div>
  </div>
</div>
</div>
</div>
<div class="clear"></div>
﻿<div class="footer">
	<p>
	<?php $channelfield = call_user_func(array('TaglibModule', 'channelTag'),array('type'=>'menu','tpl'=>'article_list.html'));if(empty($channelfield)){ echo '<div class="nodata"></div>';}else{foreach($channelfield as $key=>$field){?>
	<a href="<?php echo $field['url'];?>" target="_blank" ><?php echo $field['name'];?></a> |
    <?php };};unset($channelfield,$key);?> 
    <?php echo $site['copyright'];?>
    <p style="text-align:center"><strong>友情链接：</strong>
	<?php $flink = call_user_func(array('TaglibModule', 'flinkTag'),array('limit'=>'20','tpl'=>'article_list.html'));if(empty($flink)){ echo '<div class="nodata"></div>';}else{foreach($flink as $key=>$field){?>
	<a href='<?php echo $field['url'];?>' target='_blank'><?php echo $field['title'];?></a>
	<?php };};unset($flink);?>
	</p>
</div>
<?php echo $site['statistics'];?>
</body>
</html>
