-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
27 lines (26 loc) · 851 Bytes
/
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
<?php
if (session_status() !== PHP_SESSION_NONE) {
session_destroy();
}
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>The Encryptor</title>
<link rel="stylesheet" href="includes/main.css">
<script src="includes/main.js"></script>
</head>
<body>
<h1>The Encryptor</h1>
<p>Encrypt or decrypt a message right now!</p>
<div class="generalDivEndPageButton">
<div class="buttonMainPage" id="button1MainPage">
<button class="mainPage" onclick="encryptPage()">Encrypt a message</button>
</div>
<div class="buttonMainPage" id="button2MainPage">
<button class="mainPage" onclick="decryptPage()">Decrypt a message</button>
</div>
</div>
</body>
</html>