-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmedia_upload.php
More file actions
76 lines (74 loc) · 3.37 KB
/
media_upload.php
File metadata and controls
76 lines (74 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
/**
* Created by PhpStorm.
* User: lilis
*/
include('inc.header.php');
login('media_upload');
?>
<main class="container">
<div class="row">
<form class="s12" method="POST" action="media_upload_done.php" enctype="multipart/form-data">
<div class="row">
<div class="input-field col s2">
<select name="Dir" id="Dir">
<option value="snapshots">Snapshots</option>
</select>
</div>
<div class="input-field col s2">
<input class="datepicker" type="date" id="date_s" name="date_s" />
<label for="date_s">시작일</label>
</div>
<div class="input-field col s2">
<input class="datepicker" type="date" id="date_e" name="date_e" />
<label for="date_e">종료일</label>
</div>
<div class="input-field col s6">
<input type="text" id="title" name="title" class="validate"/>
<label for="title">사진 제목</label>
</div>
</div>
<div class="row">
<div class="col s12">
<div class="file-field input-field">
<div class="btn">
<span>파일</span>
<input type="file" name="upload[]" id="upload" multiple>
</div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text" placeholder="하나 이상의 파일을 선택하세요.">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col s12 center-align">
<button type="submit" class="btn waves-effect waves-light" name="action">Submit<i class="material-icons right">send</i></button>
</div>
</div>
</form>
</div>
</main>
<script>
$(document).ready(function () {
$('select').material_select();
});
$('.datepicker').pickadate({
selectMonths: true, // Creates a dropdown to control month
selectYears: 100, // Creates a dropdown of 15 years to control year
format: 'yyyy/mm/dd',
labelMonthNext: '다음 달',
labelMonthPrev: '이전 달',
labelMonthSelect: '월 선택',
labelYearSelect: '연 선택',
monthsFull: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
monthsShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
weekdaysFull: ['일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'],
weekdaysShort: ['일', '월', '화', '수', '목', '금', '토'],
weekdaysLetter: ['일', '월', '화', '수', '목', '금', '토'],
today: '오늘',
clear: '초기화',
close: '닫기',
});
</script>
<?php include('inc.footer.php'); ?>