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.
86 lines
2.5 KiB
86 lines
2.5 KiB
<?php
|
|
include "header.php";
|
|
?>
|
|
|
|
<div class="container">
|
|
|
|
<?php
|
|
|
|
include "combo-record-submit.php";
|
|
/*
|
|
if($_SERVER["REQUEST_METHOD"] == "POST"){
|
|
if(empty($_POST["id"]) && empty($_POST["expert_id"]) && empty($_POST["personal_id"])){
|
|
echo "<p class='error'>Please fill up the required field!</p>";
|
|
} else {
|
|
echo "<p class='success'>Record has added successfully</p>";
|
|
}
|
|
}
|
|
*/
|
|
?>
|
|
|
|
|
|
|
|
<form class="form-inline" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" enctype="multipart/form-data">
|
|
|
|
|
|
<div>
|
|
<label for="combono">保養套餐號</label>
|
|
<input type="text" name="combono" id="combono">
|
|
|
|
</div>
|
|
|
|
<div>
|
|
<label for="part">部位</label>
|
|
<input type="text" name="part" id="part">
|
|
</div>
|
|
|
|
<div>
|
|
<label for="partid">部位類別</label>
|
|
<input type="text" name="partid" id="partid">
|
|
|
|
</div>
|
|
|
|
<div>
|
|
<label for="comboitem">部位類別序號</label>
|
|
<input type="text" name="comboitem" id="comboitem" value="1">
|
|
|
|
</div>
|
|
|
|
<div>
|
|
<label for="detail">保養內容</label>
|
|
<input type="text" name="detail" id="detail">
|
|
|
|
</div>
|
|
|
|
<div>
|
|
<label for="enable">是否啟用</label>
|
|
<Select name="enable" id="enable" required>
|
|
<option selected="selected" disabled="disabled" style="display: none" value=""></option>
|
|
<Option Value="1">啟用</Option>
|
|
<Option Value="0">停用</Option>
|
|
</Select>
|
|
<!-- <input type="text" name="enable" id="enable" value="1"> -->
|
|
|
|
</div>
|
|
|
|
<div>
|
|
<label for="creater">建檔人</label>
|
|
<input type="text" name="creater" id="creater" value="<?php echo $user_id; ?>" readonly>
|
|
<p class="error"><?php echo $creater_error; ?></p>
|
|
</div>
|
|
|
|
<div class="bottom-margin">
|
|
<!-- <label for="create_at">create_at</label> -->
|
|
<input type="hidden" name="create_at" id="create_at" value="<?php date('Y/m/d H:i:s'); ?>">
|
|
<p class="error"><?php echo $create_at_error; ?></p>
|
|
</div>
|
|
|
|
<div>
|
|
<br>
|
|
<button type="submit" name="submit">確定</button>
|
|
</div>
|
|
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
|
</form>
|
|
</div>
|
|
|
|
<?php include "footer.php"; ?>
|
|
|