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.
 
 
 
 
 
 

51 lines
1.6 KiB

<?php
include "header.php";
?>
<script>
$(function(){
});
</script>
<div class="container">
<?php
include "board-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="pin">置頂</label>
<select name="pin" id="pin">
<option value="Y">是</option>
<option value="N" selected>否</option>
</select>
</div>-->
<div>
<label for="attatch1">附件上傳</label>
<div>
<input type="file" name="attatch1" id="attatch1">
</div>
</div>
<div>
<label for="content">公告內容</label><br>
<textarea class="form-control2" name="content" id="content" rows="8" cols="100" required></textarea>
</div>
<div>
<button type="submit" name="submit" id="submit">確定</button>
</div>
<input type="hidden" name="token" value="<?php echo $token; ?>">
</form>
</div>
<?php include "footer.php"; ?>