-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.php
70 lines (65 loc) · 2.76 KB
/
settings.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
<?php
include("css/css/css.php");
include("include/db.php");
include("include/session.php");
include("include/sidebar.php");
?>
<style>
h4.title {
font-size: 18px;
}
</style>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 title">
<h1><i class="fa fa-bars"></i> Add New Posts <button class="btn btn-sm btn-default">Add New</button></h1>
</div>
<div class="search-div">
<div class="col-sm-9">
<?php
$trashed_post = $connect->query("SELECT COUNT(*) FROM post where trash = '2'")->fetchColumn();
$published_post = $connect->query("SELECT COUNT(*) FROM post where status = 'ON'")->fetchColumn();
?>
All(6) | <a href="#">Published (<?php echo $published_post; ?>)</a> | <a href="#">Trashed Post (<?php echo $trashed_post; ?>)</a>
</div>
<?php echo trashed(); ?>
<div class="col-sm-3">
<input type="text" id="search" name="search" class="form-control" placeholder="Search Posts">
</div>
</div>
<div class="clearfix"></div>
<div style="display: flex; align-items: center; gap: 36px; margin-left: 56px;" class="filter-div">
<h4 class="title">
Site Title
</h4>
<input style="margin-left: 270px; width: 33%;padding: 7px;border: 1px solid black;border-radius: 3px;" type="text" placeholder="Site Title">
</div>
<div style="display: flex; align-items: center; gap: 36px; margin-left: 56px;" class="filter-div">
<h4 class="title">
Tagline
</h4>
<input style="margin-left: 282px; width: 33%;padding: 7px;border: 1px solid black;border-radius: 3px;" type="email" placeholder="Site Title">
</div>
<div style="display: flex; align-items: center; gap: 36px; margin-left: 56px;" class="filter-div">
<h4 class="title">
Adminestrator Email Address
</h4>
<input style="margin-left: 115px; width: 33%;padding: 7px;border: 1px solid black;border-radius: 3px;" type="email" placeholder="Site Title">
</div>
<div style="display: flex; align-items: center; gap: 36px; margin-left: 56px;" class="filter-div">
<h4 class="title">
Membership
</h4>
<input style="margin-left: 77px; width: 33%;padding: 7px;border: 1px solid black;border-radius: 3px;" type="checkbox">
<p>Anyone can register</p>
</div>
<div style="display: flex; align-items: center; gap: 36px; margin-left: 56px;" class="filter-div">
<h4 class="title">
New User Defauilt Role
</h4>
<input style="margin-left: 162px; width: 33%;padding: 7px;border: 1px solid black;border-radius: 3px;" type="email" placeholder="Site Title">
</div>
<div class="clearfix"></div>
</div>
</div>
<?php include("include/footer.php"); ?>