This commit is contained in:
2025-03-31 12:45:58 -06:00
parent b6f707c929
commit 282ad2d8cb
327 changed files with 340 additions and 192 deletions
-12
View File
@@ -1,12 +0,0 @@
{
"name": "violet/spies",
"type": "project",
"autoload": {
"psr-4": {
"Violet\\Spies\\": "src/"
}
},
"require": {
"vlucas/phpdotenv": "^5.6"
}
}
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Regular → Executable
View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
+31 -29
View File
@@ -3,7 +3,7 @@ session_start();
if ($_SESSION['new-access'] == true) {
$_SESSION['new-access'] = false;
}
require_once 'vendor/autoload.php';
require_once '../vendor/autoload.php';
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->safeLoad();
@@ -14,33 +14,35 @@ authUser();
<!doctype html>
<html lang="en">
<head>
<title>Session</title>
<link href="css/styles.css" type="text/css" rel="stylesheet">
<script src="js/index.js"></script>
</head>
<body>
<?php include_once ('includes/nav.php'); ?>
<div id="content">
<?php
$page = $_GET['page'];
switch ($_GET['page']) {
case 'home':
$_GET['file'] = 'includes/fbi.txt';
getHome();
break;
case 'video':
include ('includes/video.php');
break;
case 'account':
include ('includes/account.php');
break;
default:
getHome();
break;
}
?>
</div>
</body>
<head>
<title>Session</title>
<link href="session/css/styles.css" type="text/css" rel="stylesheet">
<script src="session/js/index.js"></script>
</head>
<body>
<?php include_once ('session/includes/nav.php'); ?>
<div id="content">
<?php
$page = $_GET['page'];
switch ($_GET['page']) {
case 'home':
$_GET['file'] = 'session/includes/fbi.txt';
getHome();
break;
case 'video':
include ('session/includes/video.php');
break;
case 'account':
include ('session/includes/account.php');
break;
default:
getHome();
break;
}
?>
</div>
</body>
</html>
Regular → Executable
View File
Regular → Executable
View File