12345678 |
- <!--power by mazephp--><?php Maze::setInput("menu", "0") ?>
- <?php $data['company/info.device_control']=Maze\Routing\Load::get('company/info.device_control') ?>
- <?php $data['company/info.device_mul']=Maze\Routing\Load::get('company/info.device_mul') ?>
- <?php $data['company/info.device_show_1']=Maze\Routing\Load::get('company/info.device_show_1') ?>
- <?php $data['company/info.device_setting']=Maze\Routing\Load::get('company/info.device_setting') ?>
- <?php $data['company/info.park_menu']=Maze\Routing\Load::get('company/info.park_menu') ?>
- <?php $data['main/data.menu']=Maze\Routing\Load::get('main/data.menu') ?>
- <!doctype html> <html> <head href="<?php echo Maze::url("index") ?>"><?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="equip-top"> <h3><?php echo Maze::load("company/info.park_info#name") ?></h3> <div class="avatar" style="display:none;"><img src="img/equip2.jpg" width="106" height="106" alt=""></div> <img src="http://www.xinnongbaohe.com/assets/pc/img/equip1.jpg" alt="" class="bg"> <div class="txt" style="display:none;"><?php echo Maze::load("company/info.park_info#baidu") ?></div> </div> <div class="equip"> <div class="tabs clearfix"> <?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'] ?>" class="<?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> <div class="box clearfix"> <div class="left"> <div id="map" style="width:600px;height:400px;"><?php echo Maze::load("company/info.park_map") ?></div> <div id="device_1_show" style="<?php if(is_array($data['company/info.device_show_1'])): ?><?php $t=count($data['company/info.device_show_1'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.device_show_1'] as $k => $v): ?>display:none;<?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.device_show_1'] ?><?php endif; ?>"> <div class="<?php echo $data['company/info.device_control']['status'] ?>" id="J_allBtn"></div> <div class="list"><?php echo $data['company/info.device_mul']['status'] ?></div> </div> </div> <div class="right clearfix"><?php echo $data['company/info.device_control']['info'] ?></div> </div> <div class="equip-info clearfix" id="J_equipInfo"><?php echo $data['company/info.device_mul']['info'] ?></div> </div> <div class="show-box" id="J_showBox"> <div class="mark"></div> <div class="box"> <div class="title" id="J_title">确认关闭设备</div> <div class="btn sure box_sure" id="J_sure">确认</div> <div class="btn cancel box_cancel" id="J_cancel">取消</div> </div> <div class="bigBox"><?php if(is_array($data['company/info.device_setting'])): ?><?php $t=count($data['company/info.device_setting'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.device_setting'] as $k => $v): ?><?php echo $v ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.device_setting'] ?><?php endif; ?></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> <div id="baidumap"><?php echo Maze::load("company/info.park_gps") ?></div> <script type="text/javascript" src="http://www.xinnongbaohe.com/assets/pc/js/device.js"></script> <script type="text/javascript"> var device = { '.all-info' : ['.J_allBtn', '.title', '#J_allBtn'] ,'#J_equipInfo .item' : ['.name', '.state', '.J_valve'] }; Maze_Device.Init(device); </script> </body> </html>
|