123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?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>
- <pre class="layui-code">若站点未及时显示,请按Ctrl + F5刷新。</pre>
- </div>
- <!--站点列表-->
- <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>
|