-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
102 lines (80 loc) · 3.06 KB
/
index.php
File metadata and controls
102 lines (80 loc) · 3.06 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php include "includes/dbhandler.php"; ?>
<?php include "functions/myFunctions.php"; ?>
<?php //include "includes/header.php";
session_unset();
?>
<?php include "includes/navbar.php"; ?>
<!-- Navigation -->
<!-- Page Content -->
<div class="container">
<div class="row">
<!-- Blog Entries Column -->
<div class="col-md-8">
<!-- <h1 class="page-header">
Page Heading
<small>Secondary Text</small>
</h1> -->
<!-- First Blog Post -->
<?php postPull($dbConnect); ?>
<hr>
<!-- Pager -->
<ul class="pager">
<li class="previous">
<a href="#">← Older</a>
</li>
<li class="next">
<a href="#">Newer →</a>
</li>
</ul>
</div>
<!-- Blog Sidebar Widgets Column -->
<div class="col-md-4">
<?php //searchBarQuery();
?>
<!-- Blog Search Well -->
<div class="well">
<h4>Blog Search</h4>
<form action="includes/search.php" method="post">
<div class="input-group">
<input type="text" name="search" class="form-control">
<span class="input-group-btn">
<button class="btn btn-default" name="searchRes" type="searchRes">
<span class="glyphicon glyphicon-search"></span>
</button>
</span>
</div>
</form>
<!-- /.input-group -->
</div>
<!-- Blog Categories Well -->
<div class="well">
<h4>Blog Categories</h4>
<div class="row">
<div class="col-lg-12">
<ul class="list-unstyled">
<?php categories($dbConnect, 4); ?>
</ul>
</div>
<!-- /.col-lg-6 -->
<!-- /.col-lg-6 -->
</div>
<!-- /.row -->
</div>
<!-- Side Widget Well -->
<div class="well">
<h4>Login</h4>
<form method="post" action="" autocomplete="off">
<div class="form-group">
<input type="text" name="username" class="form-control" id="" placeholder="Enter Username">
</div>
<div class="input-group">
<input type="password" name="password" class="form-control" id="" placeholder="Enter Password">
<span class="input-group-btn "><input type="submit" name="login" class="btn btn-primary" value="Login"></span>
</div>
<?php login($dbConnect); ?>
</form>
</div>
</div>
</div>
<!-- /.row -->
<?php include "includes/footer.php"; ?>