-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.php
34 lines (29 loc) · 1.15 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
<?php include 'header.php';
include 'db.php';
?>
<body >
<div class="container-fluid">
<div class="row mt-5">
<?php include 'sidebar.php' ?>
<div class="col-lg-9">
<div class="notepadbox">
<h1>Change Theme</h1>
<br>
Current Theme: <strong>Classic</strong>
<br><br>
<h5>Choose a theme and click Save</h5>
<p>Thanks for the advice, RandomGuy!</p>
<form action="changetheme.php" method="GET">
<select name="theme" id="theme" class="form-control">
<option value="1" <?php if ($theme == 1) echo 'selected'; ?>>Classic</option>
<option value="2" <?php if ($theme == 2) echo 'selected'; ?>>GruvBox Light</option>
<option value="3" <?php if ($theme == 3) echo 'selected'; ?>>GruvBox Dark</option>
</select>
<br>
<input type="hidden" name="submit">
<button class="submitbutton" type="submit">Save</button>
</div>
</div>
</div>
</div>
</html>