basic.cmp.php 2.0 KB

12
  1. <!--power by mazephp--><?php $data['main/data.menu']=Maze\Routing\Load::get('main/data.menu') ?>
  2. <!doctype html> <html> <head><?php echo Maze::view("inc/head") ?></head> <body> <div class="header"> <ul class="nav clearfix"> <?php if(is_array($data['main/data.menu'])): ?><?php $t=count($data['main/data.menu'])-1 ?><?php $i=0 ?><?php foreach($data['main/data.menu'] as $k => $v): ?><li class="<?php echo Maze::last("no-bg", $i, $t) ?> <?php echo Maze::last(Maze::input("nav"), $i, $t) ?>"><a href="<?php echo $v['link'] ? $v['link'] : "javascript:;" ?>" title="" target="<?php echo $v['target'] ?>"><?php echo $v['name'] ?></a></li><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['main/data.menu'] ?><?php endif; ?> </ul> </div> <div class="system"> <div class="news-title"> <a href="<?php echo Maze::url("index") ?>" class="news-back"></a> 园区概况 </div> </div> <div class="container basic"> <div class="content-slide"><?php echo Maze::load("company/info.farm_info#content") ?></div> <div class="tabs clearfix" style="display:none;"> <a href="#" class="active"> <img src="img/basic2.jpg" width="320" height="180" alt=""> <div class="txt">大田设备布置</div> </a> <a href="#" style="margin:0 20px" class=""> <img src="img/basic3.jpg" width="320" height="180" alt=""> <div class="txt">墒情设备布置</div> </a> <a href="#"> <img src="img/basic4.jpg" width="320" height="180" alt=""> <div class="txt">墒情设备布置</div> </a> </div> </div> <div class="footer"> <div class="txt"><?php echo Maze::load("/config-one#icp", 1) ?> 联系电话:<?php echo Maze::load("/config-one#tel", 1) ?></div> </div> </body> </html>