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.
 
 
 
 
 
 

46 lines
1.5 KiB

<?php
include "header.php";
?>
<script>
$(function(){
//$('#seq').keyup(function(){ $(this).val($(this).val().replace(/\D/g, "").replace(/\B(?=(\d{3})+(?!\d))/g, ",")); })
});
</script>
<div class="container">
<?php
include "forms-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="title">表單名稱</label>
<input type="text" name="title" id="title" size="30" maxlength="25" required>
</div>
<!--<div>
<label for="seq">順序</label>
<input type="text" name="seq" id="seq" value="1" data-bs-toggle="tooltip" title="數字愈前面,排序愈前面" size="1" maxlength="1" required>
</div>-->
<div>
<label for="attatch1">檔案上傳</label>
<div>
<input type="file" name="attatch1" id="attatch1" required>
</div>
</div>
<div>
<br>
<button type="submit" name="submit" id="submit">確定</button>
</div>
<input type="hidden" name="token" value="<?php echo $token; ?>">
</form>
</div>
<?php include "footer.php"; ?>