-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
60 lines (60 loc) · 2.83 KB
/
index.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
<?php
include("includes/header.php");
?>
<div class="row">
<div class="col-md-6">
<div class="uploadnow">
<h2 id="createnote" class="text-center">create a note</h2>
<p>
<div class="card py-3 my-5" style="min-height:375px;">
<form method="POST" class="col-md-12">
<input class="form-control" type="text" name="title" placeholder="Title of note (required)" required />
<textarea class="form-control" id="notebody" name="body" placeholder="Enter the content of your note!" required></textarea>
<button class="btn btn-outline-info" name="create">Create note!</button>
</form>
<div class="code">
<?php
createNote();
?>
</div>
</div>
</p>
</div>
</div>
<div class="col-md-6">
<div class="recentnotes">
<h2 id="recentnotes" class="text-center">recent notes</h2>
<p>
<div class="card py-4 px-3 my-5" style="min-height:375px;">
<p class="recentnote" style="color:#444;">
<a href='#'>My note name</a> - <small>by <a href='#'>Kyle</a> on <a href='#'>02/12/18</a></small>
<hr style="margin:0;" />
</p>
<p class="recentnote" style="color:#444;">
<a href='#'>My note name</a> - <small>by <a href='#'>Kyle</a> on <a href='#'>02/12/18</a></small>
<hr style="margin:0;" />
</p>
<p class="recentnote" style="color:#444;">
<a href='#'>My note name</a> - <small>by <a href='#'>Kyle</a> on <a href='#'>02/12/18</a></small>
<hr style="margin:0;" />
</p>
<p class="recentnote" style="color:#444;">
<a href='#'>My note name</a> - <small>by <a href='#'>Kyle</a> on <a href='#'>02/12/18</a></small>
<hr style="margin:0" />
</p>
<p class="recentnote" style="color:#444;">
<a href='#'>My note name</a> - <small>by <a href='#'>Kyle</a> on <a href='#'>02/12/18</a></small>
<hr style="margin:0" />
</p>
<p class="recentnote" style="color:#444;">
<a href='#'>My note name</a> - <small>by <a href='#'>Kyle</a> on <a href='#'>02/12/18</a></small>
</p>
</div>
</p>
</div>
</div>
</div>
</div>
<?php
include("includes/footer.php");
?>