123456 |
- <!--power by mazephp--><?php Maze::setInput("menu", "0") ?>
- <?php Maze::setInput("item", "business-item") ?>
- <?php $data['company/info.device_data_url']=Maze\Routing\Load::get('company/info.device_data_url') ?>
- <?php $data['company/info.device_data_html']=Maze\Routing\Load::get('company/info.device_data_html') ?>
- <?php $data['company/info.park_menu']=Maze\Routing\Load::get('company/info.park_menu') ?>
- <!doctype html> <html> <head><?php echo Maze::view("inc/head") ?></head> <body> <div class="header" style="<?php echo Maze::input("header") ? "display:none;" : "" ?>"> <ul class="nav clearfix"> <li class="active"><a href="#" title=""><?php echo Maze::load("company/info.park_info#name") ?></a></li> </ul> <a href="<?php echo Maze::url("index?farm=" . Maze::input("farm")) ?>" class="back"></a> </div> <div class="container equip business" style="<?php echo Maze::input("header") ? (Maze::input("top") ? Maze::input("top") : "top:0;bottom:0") : Maze::input("top") ?>"> <div class="title" style="<?php echo Maze::input("header") ? (Maze::input("title") ? "" : "display:none;") : "" ?>">气象墒情</div> <div id="playerShow" style="display:none;"><div style="height:250px;" id="player"><?php echo Maze::load("video/show.init", "mobile") ?></div></div> <div id="device_data" data-url="<?php if(is_array($data['company/info.device_data_url'])): ?><?php $t=count($data['company/info.device_data_url'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.device_data_url'] as $k => $v): ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.device_data_url'] ?><?php endif; ?>" style="<?php echo Maze::input("header") ? "margin-top:20px" : "" ?>"> <div class="business-list clearfix"><?php if(is_array($data['company/info.device_data_html'])): ?><?php $t=count($data['company/info.device_data_html'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.device_data_html'] as $k => $v): ?><?php echo $v ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.device_data_html'] ?><?php endif; ?></div> </div> </div> <div class="footer clearfix image" style="<?php echo Maze::input("header") ? "display:none;" : "" ?>"> <?php if(is_array($data['company/info.park_menu'])): ?><?php $t=count($data['company/info.park_menu'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.park_menu'] as $k => $v): ?><a href="<?php echo $v['link'] ?><?php echo Maze::input("header") ? "&header=false" : "" ?>" class="item <?php echo $v['class'] ?>"><?php echo $v['name'] ?></a><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.park_menu'] ?><?php endif; ?> </div> <script type="text/javascript" src="http://www.xinnongbaohe.com/assets/mobile/js/device.js"></script> <script type="text/javascript" src="http://www.xinnongbaohe.com/assets/mobile/build/lib/jquery-1.11.3.min.js"></script> <script type="text/javascript"> Maze_Device.Init(false); </script> </body> </html>
|