choi

upload picture and video

No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff is collapsed. Click to expand it.
......@@ -10,6 +10,10 @@
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="/css/styles.css?after" rel="stylesheet" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<!-- Navigation-->
......@@ -54,7 +58,7 @@
<%
}
%>
<form action="/board/write/<%=addr%>" method="post">
<form action="/board/write/<%=addr%>" method="post" enctype="multipart/form-data">
<table border="1">
<tr>
......@@ -70,10 +74,27 @@
<td><textarea name="content" id="content" cols="30" rows="10" required></textarea></td>
</tr>
<tr>
<td>
사진 업로드
</td>
<td>
<input type='file' name='uploadpic' id='uploadpic' multiple='multiple' />
</td>
</tr>
<tr>
<td>
동영상 업로드
</td>
<td>
<input type='file' name='uploadpic' id='uploadpic' multiple='multiple' />
</td>
</tr>
<tr>
<td colspan="2">
<button type="submit">글쓰기</button>
</td>
</tr>
</table>
</form>
</div>
......