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.
96 lines
2.2 KiB
96 lines
2.2 KiB
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<!-- 主頁header -->
|
|
<?php
|
|
|
|
#print_r($_POST); # 列出$_POST的所有參數
|
|
|
|
/*--- 處理session ----*/
|
|
include "include-session-security.php"; #確認session
|
|
/*--- 處理session ----*/
|
|
|
|
$fixnumber = $_POST["fixnumber"];
|
|
$memo = $_POST["memo"];
|
|
$progress_flag = $_POST["progress_flag"];
|
|
|
|
#echo "$fixnumber" . "<br>";
|
|
#echo "$memo" . "<br>";
|
|
#echo "$progress_flag" . "<br>";
|
|
|
|
include "include-header.php";
|
|
|
|
require_once "db/database.php"; # 載入db.php來連結資料庫
|
|
$sql_query = "UPDATE repair set memo = '$memo', progress_flag = '$progress_flag' WHERE fixnumber='$fixnumber'";
|
|
mysqli_query($link, $sql_query);
|
|
|
|
?>
|
|
<!-- * 主頁header -->
|
|
|
|
<body class="bg-white">
|
|
|
|
<!-- loader -->
|
|
<div id="loader">
|
|
<div class="spinner-border text-primary" role="status"></div>
|
|
</div>
|
|
<!-- * loader -->
|
|
|
|
<!-- App Header -->
|
|
<div class="appHeader no-border transparent position-absolute">
|
|
<!-- 已簽呈成功,不讓返回上一頁
|
|
<div class="left">
|
|
<a href="javascript:;" class="headerButton goBack">
|
|
<ion-icon name="chevron-back-outline"></ion-icon>
|
|
</a>
|
|
</div>
|
|
-->
|
|
<div class="pageTitle"></div>
|
|
<!--
|
|
<div class="right">
|
|
</div>
|
|
-->
|
|
</div>
|
|
<!-- * App Header -->
|
|
|
|
<!-- App Capsule -->
|
|
<div id="appCapsule">
|
|
|
|
<div class="alert alert-primary alert-dismissible fade show" role="alert">
|
|
<h4 class="alert-title">輸入完成!</h4>
|
|
<button type="button" class="close" data-dismiss="alert">
|
|
<ion-icon name="close-outline"></ion-icon>
|
|
</button>
|
|
</div>
|
|
|
|
<div class="login-form">
|
|
<div class="section">
|
|
<h4></h4>
|
|
<a href="app-owner-repaircall-list.php?token=<?php echo $token; ?>"><button type="button" class="btn btn-warning mr-1 mb-1">報修明細</button></a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<!-- * App Capsule -->
|
|
|
|
<!-- 主頁頁尾 -->
|
|
<?php
|
|
include "include-footer.php";
|
|
mysqli_close($link); #代表結束連線
|
|
?>
|
|
<!-- * 主頁頁尾 -->
|
|
|
|
<!-- 主頁頁尾按鈕 -->
|
|
<?php
|
|
# include "include-bottom-menu.php";
|
|
?>
|
|
<!-- * 主頁頁尾按鈕 -->
|
|
|
|
<!-- ///////////// Js Files //////////////////// -->
|
|
<!-- Jquery -->
|
|
<?php
|
|
include "include-jsfiles.php";
|
|
?>
|
|
|
|
</body>
|
|
|
|
</html>
|