You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

216 lines
7.0 KiB

<?php
include "header.php";
// 載入db.php來連結資料庫
//require_once "database.php";
?>
<style type="text/css">
body {
overflow: hidden; /* Hide scrollbars */
}
*{
margin: 0;
padding: 0;
}
.main{
width: 100%;
height: 100%;
position: absolute;
}
.quarter-lt-div{
width: 25%;
height: 45%;
float: left;
/*border-right:1px solid rgb(204, 204, 204);
border-bottom:1px solid rgb(204, 204, 204);*/
}
.quarter-ct-div{
width: 50%;
height: 45%;
float: left;
}
.quarter-rt-div{
width: 25%;
height: 45%;
float: left;
/*border-left:1px solid rgb(204, 204, 204);
border-bottom:1px solid rgb(204, 204, 204);*/
}
.quarter-lb-div{
width: 25%;
height: 50%;
float: left;
/*border-right:1px solid rgb(204, 204, 204);*/
}
.quarter-rb-div{
width: 25%;
height: 50%;
float: right;
/*border-left:1px solid rgb(204, 204, 204);*/
}
.modal-body {
margin-top: 10px;
}
@media screen and (max-width: 992px){
body{
overflow: scroll;
}
.quarter-lt-div{
width: 100%;
/*height: 25%;*/
/*border-right-style: none;*/
}
/*
.quarter-lt-div iframe{
overflow: scroll;
}
*/
.quarter-ct-div{
width: 100%;
height: 60%;
/*border-bottom:2px solid rgb(204, 204, 204);*/
}
.quarter-ct-div iframe{
height:100%;
}
.quarter-rt-div{
width: 100%;
/*height: 30%;*/
/*border-top:1px solid rgb(204, 204, 204);
border-left-style: none;*/
}
.quarter-lb-div{
width: 100%;
/*height: 30%;*/
/*border-right-style: none;*/
}
.quarter-rb-div{
width: 100%;
/*height: 30%;*/
/*border-top:2px solid rgb(204, 204, 204);
border-left-style: none;*/
}
}
</style>
<script src="css/bootstrap_3.3.7_js_bootstrap.min.js"></script>
<!-- Modal -->
<div class="modal fade" id="boardModal" tabindex="-1" role="dialog" aria-labelledby="boardModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<!--
<div class="modal-header">
<h4 class="modal-title" id="boardModalLabel"></h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
-->
<div class="modal-body">
<table class="table table-bordered">
<tbody>
<tr>
<th scope="row">主旨</th>
<td class="board-title"></td>
</tr>
<tr>
<th scope="row">內容</th>
<td class="board-content"></td>
</tr>
<tr>
<th scope="row">附件</th>
<td class="board-attach"></td>
</tr>
<tr>
<th scope="row" nowrap>建檔人員</th>
<td class="board-creater"></td>
</tr>
<tr>
<th scope="row">建檔時間</th>
<td class="board-create_at"></td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">關閉</button>
</div>
</div>
</div>
</div>
<!-- Notice Modal -->
<div class="modal fade" id="noticeModal" tabindex="-1" role="dialog" aria-labelledby="noticeModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<!--
<div class="modal-header">
<h4 class="modal-title" id="noticeModalLabel"></h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
-->
<div class="modal-body">
<table class="table table-bordered">
<tbody>
<tr>
<th scope="row">主旨</th>
<td class="notice-title"></td>
</tr>
<tr>
<th scope="row">內容</th>
<td class="notice-content"></td>
</tr>
<tr>
<th scope="row" nowrap>建檔人員</th>
<td class="notice-creater"></td>
</tr>
<tr>
<th scope="row">建檔時間</th>
<td class="notice-create_at"></td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">關閉</button>
</div>
</div>
</div>
</div>
<div style="overflow-x:auto;">
<div class="main" style="margin-top:-20px;">
<div class="quarter-lt-div">
<iframe name="main" src="frame/form.php?t=<?php echo time(); ?>&token=<?php echo $token; ?>" width="100%" height="100%" scrolling="no" frameborder="0" allowfullscreen="true">
Loading...</iframe>
</div>
<div class="quarter-ct-div">
<iframe name="main" src="frame/calendar/index.php?t=<?php echo time(); ?>&token=<?php echo $token; ?>" width="100%" height="200%" scrolling="no" frameborder="0" allowfullscreen="true">
Loading...</iframe>
</div>
<div class="quarter-rt-div">
<iframe name="main" src="frame/notice.php?t=<?php echo time(); ?>&token=<?php echo $token; ?>" width="100%" height="100%" scrolling="no" frameborder="0" allowfullscreen="true">
Loading...</iframe>
</div>
<div class="quarter-lb-div">
<iframe name="main" src="frame/board.php?t=<?php echo time(); ?>&token=<?php echo $token; ?>" width="100%" height="100%" scrolling="no" frameborder="0" allowfullscreen="true">
Loading...</iframe>
</div>
<div class="quarter-rb-div">
<iframe name="main" src="frame/pending.php?t=<?php echo time(); ?>&token=<?php echo $token; ?>" width="100%" height="100%" scrolling="no" frameborder="0" allowfullscreen="true">
Loading...</iframe>
</div>
</div>
</div>
<?php
#代表結束連線
mysqli_close($link);
include "footer.php";
?>