-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd.php
More file actions
61 lines (57 loc) · 2.53 KB
/
Copy pathadd.php
File metadata and controls
61 lines (57 loc) · 2.53 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
<?php
$conn = null;
include"header.php";
?>
<div class="uk-container">
<form action="add_new.php" method="post" enctype="multipart/form-data">
<h2 class="uk-margin-medium-top">Add new article</h2>
<hr>
<label>
<h3>Input name</h3>
<input type="text" class="uk-input uk-width-1-1" required placeholder="Input name..." name="name" value="">
</label>
<hr>
<label>
<h3>Give a short description</h3>
<textarea type="text" class="uk-textarea uk-width-1-1 width-full" required rows="5" cols="6" maxlength="500" placeholder="Give a short description..." name="desc_short"></textarea>
</label>
<hr>
<label>
<h3>Give a full description</h3>
<textarea id="area" type="text" class="uk-textarea uk-width-1-1 width-full" required rows="8" cols="6" maxlength="10000" placeholder="Give a full description..." name="desc_full"></textarea>
</label>
<hr>
<label>
<h3>Upload image</h3>
<input type="file" class="uk-button uk-button-default uk-button-body" accept="image/jpeg" name="image">
</label>
<hr>
<label>
<h3>(Timeline) Input years, separated with single space</h3>
<textarea type="text" class="uk-textarea uk-width-1-1 width-full" rows="5" cols="6" maxlength="500" placeholder="Give a short description..." name="years"></textarea>
</label>
<hr>
<label>
<h3>(Timeline) Input actions, happened in that years, separated with single slash ("/")</h3>
<textarea type="text" class="uk-textarea uk-width-1-1 width-full" rows="5" cols="6" maxlength="500" placeholder="Give a short description..." name="actions"></textarea>
</label>
<hr>
<div class="uk-flex uk-width-1-1">
<label>
<h3>Youtube Link</h3>
<input type="text" class="uk-input uk-width-large" placeholder="Youtube video ID..." name="link">
</label>
<label class="uk-margin-left">
<h3>Location name</h3>
<input type="text" class="uk-input uk-width-large" placeholder="Give a location name..." name="map_loc">
</label>
</div>
<hr>
<div class="uk-margin-medium-bottom uk-align-right">
<button type="submit" class="uk-button uk-button-secondary uk-button-body">
Add!
</button>
</div>
</form>
</div>
<?php include"footer.php" ?>