1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- include_once('tpl/header.php');
- ?>
- <div class="layui-container" style = "margin-top:40px;">
- <div class="layui-row">
- <div class="layui-col-lg10 layui-col-md-offset1">
- <!--站点列表-->
- <div id="listsite">
- <table class="layui-table">
- <colgroup>
- <col width="30%">
- <col width="25%">
- <col width="15%">
- <col width="15%">
- <col width="15%">
- </colgroup>
- <thead>
- <tr>
- <th>域名</th>
- <th>证书</th>
- <th>强制HTTPS</th>
- <th>最后更新</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody id = "website">
-
- </tbody>
- </table>
- </div>
- <!--站点END-->
- </div>
- </div>
- </div>
- <?php
- include_once('tpl/footer.php');
- ?>
- <script>
- $(document).ready(function(){
- $("title").empty();
- $("title").append("站点管理");
- $.get("./functions/method.php?type=list_site",function(data,status){
- $("#website").hide();
- $("#website").append(data);
- $("#website").show();
- });
- });
- function delsite(id){
- //alert(id);
- var msg = "确认删除?";
- if (confirm(msg)==true){
- $.post("./functions/method.php?type=del_site",{id:id},function(data,status){
- if(data == 'ok') {
- $("#ssl"+id).remove();
- }
- //alert(data);
- });
- }else{
- return false;
- }
- }
- </script>
|