-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.php
93 lines (86 loc) · 3.99 KB
/
form.php
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<html>
<head>
<meta charset='UTF-8'>
<!-- <link rel="stylesheet" href="style.css"> -->
<link rel="stylesheet" href="dark_style.css">
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<!-- <script src="script.js"></script> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400" rel="stylesheet">
<script type='text/javascript' src='scripts.js'></script>
</head>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=big5"> -->
<title>Sounds of Taipei</title>
<body>
<p align="center"><font size="15" color="white"><b>Add a new voice of location</b></font>
<hr><P><p align="center"><font size="20" color="white"><b>
<form method="POST" enctype="multipart/form-data" action="input.php">
<div align="center">
<table border="4" width="600" id="table1" bgcolor="white" height="70" bordercolor="black" align="center">
<tr>
<td width="250"><font size="5" color="black">location</font></td>
<td><input type="text" id="inputNameAdd" name="inputNameAdd" minlength="1" maxlength="8" size="14" required="required" ></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">label</td>
<td><input type="text" id="inputLabelAdd" name="inputLabelAdd" minlength="1" maxlength="8" size="14" required="required" ></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">google map</td>
<td><input type="text" id="googleMapURL" name="googleMapURL" minlength="1" maxlength="100" size="14" required="required" ></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">volume (0~1 interval)</td>
<td><input type="text" id="vol" name="vol" minlength="1" maxlength="1" size="14" required="required" ></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">db (0~1 interval)</td>
<td><input type="text" id="db" name="db" minlength="1" maxlength="1" size="14" required="required" ></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">latitude</td>
<td><input type="text" id="recordLat" name="recordLat" size="30" value="" required="required"/></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">longitude</td>
<td><input type="text" id="recordLng" name="recordLng" size="30" value="" required="required"/></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">time</td>
<td>
<select name="time" style="font-size:20px;">
<option value="day">day</option>
<option value="night">night</option>
</select>
</td>
</tr>
<tr>
<td width="250"><font size="5" color="black">type</td>
<td>
<select name="type" style="font-size:20px;">
<option value="null"> </option>
<option value="city">city</option>
<option value="location">location</option>
<option value="event">event</option>
</select>
</td>
</tr>
<tr>
<td width="250"><font size="5" color="black">upload picture (.jpg)</td>
<td><input type="file" name="uploadPic" accept=".jpg"/></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">upload sound (.mp3)</td>
<td><input type="file" name="uploadMusic" accept=".mp3"/></td>
</tr>
<tr>
<td width="250"><font size="5" color="black">author</td>
<td><input type="text" id="inputAuthorAdd" name="inputAuthorAdd" minlength="1" maxlength="8" size="10" required="required" ></td>
</tr>
</table>
</div>
<p align="center"><input type="button" style="width:120px;height:40px;font-size:20px;" onclick="javascript:location.href='index.php'" value="return">
<input type="submit" style="width:120px;height:40px;font-size:20px;" value="submit">
</form>
</body>
</html>