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.
80 lines
3.6 KiB
80 lines
3.6 KiB
<?php
|
|
include_once("../header.php");
|
|
require_once("./conn.php");
|
|
// if (!(isset($_GET['id']) && !empty($_GET['id']))) {
|
|
// $para = "function_name=sanlien&" . $token_link;
|
|
// echo "<script>alert('非法訪問!!!');</script>";
|
|
// echo "<script>window.history.go(-1);</script>";
|
|
// exit;
|
|
// }
|
|
$creat_at_start = isset($_GET['create_at_start']) ? $_GET['create_at_start'] : '';
|
|
$creat_at_end = isset($_GET['create_at_end']) ? $_GET['create_at_end'] : '';
|
|
?>
|
|
<link rel="stylesheet" href="./styles/style.css?id=<?php echo date("YmdHis"); ?>">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
<!-- <link rel="stylesheet" href="semantic/dist/semantic.min.css"> -->
|
|
<script defer src="./js/alpinejs/cdn.min.js"></script>
|
|
<script src="./js/axios/axios.min.js"></script>
|
|
|
|
<div class="form" method="post" x-data="sanlien">
|
|
<table class="table table-bordered query-table table-striped table-bordered display compact" style="width:99%;margin-left:.5%">
|
|
<thead>
|
|
<tr>
|
|
<td colspan="8">
|
|
<h3 style='text-align:center'>三連地震數據</h3>
|
|
</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody style="font-weight: bolder;margin-bottom: 20px">
|
|
<tr>
|
|
<td style="vertical-align: middle">開始日期</td>
|
|
<td>
|
|
<input class="form-control" type="date" x-model="data.create_at_start">
|
|
</td>
|
|
<td style="vertical-align: middle">結束日期</td>
|
|
<td>
|
|
<input class="form-control" type="date" name="uscc" x-model="data.create_at_end">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4" style="text-align: center">
|
|
<button @click="search()" :disabled="searchLoading" type="button" class="btn btn-primary btn-sm savebtn">
|
|
<template x-if="!searchLoading">
|
|
<span>查詢</span>
|
|
</template>
|
|
<template x-if="searchLoading">
|
|
<div class="loader"></div>
|
|
</template>
|
|
</button>
|
|
<button @click="download()" :disabled="downloadLoading" type="button" class="btn btn-primary btn-sm savebtn">
|
|
<template x-if="!downloadLoading">
|
|
<span>下載</span>
|
|
</template>
|
|
<template x-if="downloadLoading">
|
|
<div class="loader"></div>
|
|
</template>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<!-- <table class="table table-bordered query-table table-striped table-bordered display compact" style="width:99%;margin-left:.5%">
|
|
<thead>
|
|
<tr>
|
|
<th>123</th>
|
|
<th>qwe</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<template x-for="x-for=(value, index) in table_details">
|
|
<tr>
|
|
<td x-text="value.create_at"></td>
|
|
</tr>
|
|
</template>
|
|
</tbody>
|
|
</table> -->
|
|
</div>
|
|
|
|
<!-- <script src="./js/jquery/jquery-3.1.1.min.js"></script>
|
|
<script src="semantic/dist/semantic.min.js"></script> -->
|
|
<script src="./js/alpine.js?id=<?php echo date("YmdHis"); ?>"></script>
|