This commit is contained in:
jakani24
2024-01-20 11:09:09 +01:00
parent fc738e4b34
commit 33788300ef
2 changed files with 44 additions and 45 deletions

View File

@@ -31,7 +31,7 @@
<label for="password">Password:</label> <label for="password">Password:</label>
<input type="password" class="form-control" id="password" name="password" required> <input type="password" class="form-control" id="password" name="password" required>
</div> </div>
<button type="submit" class="btn btn-primary btn-block">Add user</button> <button type="submit" class="btn btn-primary btn-block">Create user</button>
</form> </form>
<?php <?php
include "../config.php"; include "../config.php";

View File

@@ -1,28 +1,21 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<title>Cyberhex Installation</title> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<style> <title>Cyberhex login page</title>
body {
font-family: 'Arial', sans-serif;
text-align: center;
margin: 50px;
}
h1 {
color: #333;
}
footer {
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head> </head>
<body> <body>
<h1>You have installed cyberhex! Thank you for choosing us!</h1>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h4>You have installed cyberhex! Thank you for choosing us!</h4>
</div>
<div class="card-body">
<a href="end.php?end=true">Finish installation.</a> <a href="end.php?end=true">Finish installation.</a>
<?php <?php
if(isset($_GET["end"])){ if(isset($_GET["end"])){
@@ -35,16 +28,22 @@ if(isset($_GET["end"])){
$success=0; $success=0;
}*/ }*/
if($success!==1){ if($success!==1){
echo('<p style="font-size: 20px; color: red;">There was an error finishing the installation. Please try again or contact support at: <a href="mailto:info.jakach@gmail.com">info.jakach@gmail.com</a></p>'); echo '<br><div class="alert alert-danger" role="alert">
There was an error finishing the installation. Please try again or contact support at: <a href="mailto:info.jakach@gmail.com">info.jakach@gmail.com</a>
</div>';
}else{ }else{
echo('<p style="font-size: 20px; color: green;">All done, you can now start using cyberhex! <a href="/login.php">Go to login page</a></p>'); echo '<br><div class="alert alert-danger" role="alert">
All done, you can now start using cyberhex! <a href="/login.php">Go to login page</a>
</div>';
} }
} }
?> ?>
<footer> </div>
<p>&copy; 2024 Cyberhex Antivirus by Jakach Software <a href="mailto:info.jakach@gmail.com">info.jakach@gmail.com</a></p> </div>
</footer> </div>
</div>
</div>
</body> </body>
</html> </html>