1234567891011121314151617 |
- <?php $data['manage/database.page_list']=Dever\Routing\Load::get('manage/database.page_list') ?>
- <?php $data['/database.info']=Dever\Routing\Load::get('/database.info') ?>
- <?php $data['/database.list_search']=Dever\Routing\Load::get('/database.list_search') ?>
- <?php $data['manage/database.info']=Dever\Routing\Load::get('manage/database.info') ?>
- <?php $data['/database.list_thead']=Dever\Routing\Load::get('/database.list_thead') ?>
- <?php $data['/database.list_tbody']=Dever\Routing\Load::get('/database.list_tbody') ?>
- <?php $data['manage/database.page_list_table']=Dever\Routing\Load::get('manage/database.page_list_table') ?>
- <?php $data['/database.list_button']=Dever\Routing\Load::get('/database.list_button') ?>
- <?php $data['/database.list_mul']=Dever\Routing\Load::get('/database.list_mul') ?>
- <?php if (array_key_exists('HTTP_X_PJAX', $_SERVER) && $_SERVER['HTTP_X_PJAX']):?>
- <?php else:?>
- <!DOCTYPE html> <!--power by dever--><html lang="zh-CN"> <head> <?php require Dever::$global["base"]["data"] . 'compile/default/manage/moltran/inc/head.cmp.php' ?> <style> .form-control { width:80%; display: inline; } .panel-heading .form-control,#mul .form-control,#page .form-control { display:inline; width:15%; margin-top: 10px; } .table { margin-bottom: 0px; } td { vertical-align: middle; } th,td { white-space: nowrap; } .table-responsive[data-pattern="priority-columns"] { position:inherit; } </style> </head> <body class="theme-<?php echo Dever::load("/auth.config#template") ?>"> <div id="wrapper"> <?php require Dever::$global["base"]["data"] . 'compile/default/manage/moltran/inc/nav.cmp.php' ?> <?php require Dever::$global["base"]["data"] . 'compile/default/manage/moltran/inc/menu.cmp.php' ?> <div class="content-page" id="content_1" style="<?php echo $data['manage/database.page_list']['s1'] ?>"><?php echo $data['manage/database.page_list']['content'] ?></div> <div class="content-page" id="content_2" style="<?php echo $data['manage/database.page_list']['s2'] ?>"> <?php endif; ?><div class="content"> <div class="container"> <div class="row"> <div class="col-sm-12"> <h4 class="pull-left page-title" id="list-name"><?php echo $data['/database.info']['list_header'] ?></h4> <ol class="breadcrumb pull-right"> <li><a href="#dever_modal" data-toggle="modal" onclick="showMsg('数据结构', $(this), '#struct')" id="list-project"><?php echo $data['/database.info']['project_name'] ?></a></li> <li class="active" id="list-desc"><?php echo Dever::load("/database.info#list_desc") ?>(共<?php echo Dever::total("current") ?>条)</li> </ol> </div> </div> <form id="form1" name="form1" method="post" target="f1" action="<?php echo $data['/database.info']['list'] ?>"> <input type="hidden" name="function" id="function" value="msg"/> <input type="hidden" name="url" id="url" value="<?php echo $data['/database.info']['mul'] ?>"/> <input type="hidden" name="method" id="method" value="search"/> <iframe id="f1" name="f1" style="display:none;"></iframe> <div class="row"> <div class="col-lg-12"> <div class="panel panel-border panel-primary"> <div class="panel-heading"> <div class="btn-toolbar list-toolbar"> <button class="btn btn-primary" type="button" id="list-parent" style="<?php echo $data['/database.info']['parent_state'] ?>" onclick="<?php echo $data['/database.info']['parent'] ?>"><i class="fa fa-chevron-left"></i> 返回上一页</button> <button class="btn btn-primary" type="button" id="list-add" onclick="<?php echo $data['/database.info']['add'] ?>" style="<?php echo $data['/database.info']['add_state'] ?>"><i class="fa fa-plus"></i> 新增</button> <span id="list-button"><?php if(is_array($data['/database.list_button'])): ?><?php $t=count($data['/database.list_button'])-1 ?><?php $i=0 ?><?php foreach($data['/database.list_button'] as $k => $v): ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['/database.list_button'] ?><?php endif; ?></span> <div id="search"><?php if(is_array($data['/database.list_search'])): ?><?php $t=count($data['/database.list_search'])-1 ?><?php $i=0 ?><?php foreach($data['/database.list_search'] as $k => $v): ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['/database.list_search'] ?><?php endif; ?></div> </div> </div> <div class="panel-body table-rep-plugin"> <div class="table-tool-responsive" data-pattern="priority-columns"> <div id="table_1" style="<?php echo $data['manage/database.page_list_table']['s1'] ?>"><?php echo $data['manage/database.page_list_table']['content'] ?></div> <div id="table_2" style="<?php echo $data['manage/database.page_list_table']['s2'] ?>"> <table id="tech-companies-1" class="table table-small-font table-bordered table-striped table-tool"> <thead id="list-thead"> <tr><?php if(is_array($data['/database.list_thead'])): ?><?php $t=count($data['/database.list_thead'])-1 ?><?php $i=0 ?><?php foreach($data['/database.list_thead'] as $k => $v): ?><?php echo $v ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['/database.list_thead'] ?><?php endif; ?></tr> </thead> <tbody id="list-tbody"><?php if(is_array($data['/database.list_tbody'])): ?><?php $t=count($data['/database.list_tbody'])-1 ?><?php $i=0 ?><?php foreach($data['/database.list_tbody'] as $k => $v): ?><?php echo $v ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['/database.list_tbody'] ?><?php endif; ?></tbody> </table> </div> </div> <div id="mul"><?php if(is_array($data['/database.list_mul'])): ?><?php $t=count($data['/database.list_mul'])-1 ?><?php $i=0 ?><?php foreach($data['/database.list_mul'] as $k => $v): ?><?php $i=$i+1 ?><?php endforeach; ?><?php else: ?><?php echo $data['/database.list_mul'] ?><?php endif; ?></div> <div id="page"><?php echo Dever::page("current") ?></div> <div class="dever_desc" id="desc" style="<?php if(!(Dever::load("manage/database.info#listDesc"))): ?>display:none;<?php endif; ?>"><?php echo $data['manage/database.info']['listDesc'] ?></div> </div> </div> </div> </div> </form> <div id="struct" style="display:none;"><?php echo $data['/database.info']['struct'] ?></div> </div> </div>
- <?php require Dever::$global["base"]["data"] . 'compile/default/manage/moltran/inc/foot.cmp.php' ?> <?php if (array_key_exists('HTTP_X_PJAX', $_SERVER) && $_SERVER['HTTP_X_PJAX']):?>
- <?php else:?> </div> <?php require Dever::$global["base"]["data"] . 'compile/default/manage/moltran/inc/chat.cmp.php' ?> </div> <?php require Dever::$global["base"]["data"] . 'compile/default/manage/moltran/inc/script.cmp.php' ?> </body> </html> <?php endif; ?>
|