123456 |
- <!--power by mazephp--><?php $data['company/info.service']=Maze\Routing\Load::get('company/info.service') ?>
- <?php $data['company/info.park']=Maze\Routing\Load::get('company/info.park') ?>
- <?php $data['company/info.notice']=Maze\Routing\Load::get('company/info.notice') ?>
- <?php $data['company/info.farm']=Maze\Routing\Load::get('company/info.farm') ?>
- <?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="system"> <h3 class="company"><?php echo Maze::load("company/info.company#name") ?></h3> <div class="area"> <select maze-change="<?php echo Maze::url("index?farm=", "main") ?>" class="maze-change" maze-value="<?php echo Maze::input("farm") ?>"><?php echo $data['company/info.farm']['option'] ?></select> <div class="weather"><?php echo $data['company/info.farm']['weather'] ?></div> </div> </div> <div class="container index"> <div class="welcome" style="display:none;"><?php echo Maze::load("company/info.user#username") ?>,您好!</div> <div class="user-btn" style="display:none;"> <a href="<?php echo Maze::url("my/set") ?>" class="user-setting-btn">账号设置</a> <a href="<?php echo Maze::url("company/user.quit") ?>" class="user-out-btn">退出</a> </div> <div class="prompt" style="<?php echo Maze::load("company/info.notice") ? "" : "border:0px;height:auto;" ?>"><?php if(is_array($data['company/info.notice'])): ?><?php $t=count($data['company/info.notice'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.notice'] as $k => $v): ?><?php echo $v ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.notice'] ?><?php endif; ?></div> <div class="service"> <div class="txt">服务项目</div> </div> <div class="service-list clearfix"> <?php if(is_array($data['company/info.service'])): ?><?php $t=count($data['company/info.service'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.service'] as $k => $v): ?><a href="<?php echo $v['link'] ?>" class="service-item index-<?php echo $v['key'] ?>"><?php echo $v['name'] ?></a><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.service'] ?><?php endif; ?> </div> <div class="device"> <div class="txt">设备管理</div> </div> <div class="device-list clearfix"> <?php if(is_array($data['company/info.park'])): ?><?php $t=count($data['company/info.park'])-1 ?><?php $i=0 ?><?php foreach($data['company/info.park'] as $k => $v): ?><a href="<?php echo Maze::load("company/info.park_url", $v) ?>" class="device-item <?php echo $v['type'] == 4 ? "index-two" : "index-three" ?>"><?php echo $v['name'] ?></a><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['company/info.park'] ?><?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> <script type="text/javascript"> </script> </body> </html>
|