1234 |
- <!--power by mazephp--><?php Maze::setInput("menu", "3") ?>
- <?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="business-cavs" style="padding-top: 20px;"> <div class="title"><?php echo Maze::load("company/info.device_stat_search") ?></div> <div class="business-list three-list data clearfix" style="display:none;"> <div class="business-item"> <div class="num">28℃</div> <div class="name">平均温度</div> </div> <div class="business-item mlr35"> <div class="num">85%rh</div> <div class="name">平均湿度</div> </div> <div class="business-item"> <div class="num">20m/s</div> <div class="name">平均风速</div> </div> </div> <div id="container" style="min-width:700px;height:400px;margin-bottom:60px;"></div> </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> <script type="text/javascript" src="http://www.xinnongbaohe.com/assets/pc/lib/date/WdatePicker.js"></script> <script type="text/javascript" src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script> <script id="push"><?php echo Maze::load("company/info.device_stat_chart") ?></script> <script type="text/javascript"> $(function () { var chart = new Highcharts.Chart({ chart: { renderTo: 'container', type: 'spline' }, title: { text: null }, credits: { enabled: false }, exporting: { enabled: false }, xAxis: { type: 'datetime', dateTimeLabelFormats: { millisecond: '%H:%M:%S.%L', second: '%H:%M:%S', minute: '%H:%M', hour: '%H:%M', day: '%e. %b', week: '%e. %b', month: '%b \'%y', year: '%Y' } }, yAxis: { title: { text: '' } }, tooltip: { formatter: function() { return '<b>'+ Maze_Data.name +'</b><br/>'+ Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) +'<br />'+ this.y +' ' + Maze_Data.dw; } }, series: Maze_Data.data }); $('#J_submitBtn').bind('click', function() { var start = $("#search_start").val(); var end = $("#search_end").val(); var type = $("#search_type").val(); var method = $("#search_method").val(); var time = $("#search_time_value").val(); location.href = Maze_Data.url + '&start=' + start + '&end=' + end + '&type=' + type + '&method=' + method + '&time=' + time + '#J_submitBtn'; }); }); function time() { var value = $("#search_time").val(); if(value) { var temp = value.split('||'); $("#search_start").val(temp[0]); $("#search_end").val(temp[1]); $("#search_method").val(temp[2]); $("#search_time_value").val(temp[3]); $("#J_submitBtn").click(); } } </script> </body> </html>
|