-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.php
61 lines (45 loc) · 1.85 KB
/
dashboard.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
<?php
session_start();
if(isset($_POST['encrypt'])){
header('location: encryption.php');
}
if(isset($_POST['decrypt'])){
header('location: decryption.php');
}
if(isset($_POST['logout'])){
header('location: login.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!--Import Custom CSS-->
<link rel="stylesheet" href="/styles/style.css">
<!-- Compiled and minified jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<title>Dashboard</title>
</head>
<body>
<div class="container">
<div class="settingDashboard">
<form method="POST">
<button class="btn-large waves-effect waves-light" type="submit" name="encrypt" id="left">Encrypt</button>
<button class="btn-large waves-effect waves-light" type="submit" name="decrypt" id="right">Decrypt</button><br><br><br>
<!-- <a class="waves-effect waves-light btn-large" id="left">Encrypt</a>
<a class="waves-effect waves-light btn-large" id="right">Decrypt</a><br><br><br> -->
<button class="btn-large waves-effect waves-light" type="submit" name="logout">Logout</button>
</form>
</div>
<div>
</div>
</div>
</body>
</html>