Skip to content
Snippets Groups Projects
Commit 237330d9 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

17-03-2021

parent 0c2ca37e
Branches
Tags
No related merge requests found
Showing
with 57 additions and 5 deletions
<?php
if (isset($_GET["loadClientNavbar"])) {
echo loadClientNavbar($_GET["loadClientNavbar"]);
} elseif (isset($_GET["loadLastNavItem"])) {
echo loadLastNavItem($_GET["loadLastNavItem"]);
} else {?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><?=$websiteName?> | Tâches de fond</title>
</head>
<body>
</body>
</html>
<?php } ?>
\ No newline at end of file
<?php
if (isset($_POST["password"]) AND !empty($_POST["password"])) {
$cryptedPass = crypt($_POST["password"]);
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Crypter un mot de passe</title>
</head>
<body>
<form action="crypt.php" method="POST">
<label>Entrez un mot de passe</label>
<input type="text" name="password">
<input type="submit" name="submit">
</form>
<?php
if (isset($cryptedPass)) {
echo "Votre mot de passe crypté est:<strong>".$cryptedPass."</strong>";
}
?>
</body>
</html>
\ No newline at end of file
<?php
require "vbcms-admin/includes/header.php";
?>
\ No newline at end of file
/*
VBcms redirige toutes ses pages sur cet index,
le fichier header.php se charge d'inclure des pages correspondants aux paramètres de l'url
NE TOUCHEZ PAS À CE FICHIER !
Si vous voulez créer un thème, ça se trouve dans /vbcms-content/themes
*/
\ No newline at end of file
......@@ -177,9 +177,15 @@ if (isset($_GET["session"])) {
`email` VARCHAR(256) NOT NULL,
`password` VARCHAR(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB;
) ENGINE = InnoDB;");
");
$requete = $bdd->exec("CREATE TABLE `vbcms-websiteStats` (
`id` INT NOT NULL AUTO_INCREMENT,
`date` DATETIME NOT NULL,
`page` VARCHAR(300) NOT NULL,
`ip` VARCHAR(64) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB;");
/*
$requete = $bdd->exec("");
......@@ -187,7 +193,6 @@ if (isset($_GET["session"])) {
$requete = $bdd->exec("");
$requete = $bdd->exec("");
$requete = $bdd->exec("");
$requete = $bdd->exec("");
*/
// Insertions des données
......
loadingscreen/backup/assets/images/background/1.png

1.34 MiB

loadingscreen/backup/assets/images/background/2.png

1.36 MiB

loadingscreen/backup/assets/images/background/3.png

1.32 MiB

loadingscreen/backup/assets/images/background/4.png

1.43 MiB

loadingscreen/backup/assets/images/background/5.png

1.41 MiB

loadingscreen/backup/assets/images/legacy/legacy-content.png

312 KiB

loadingscreen/backup/assets/images/legacy/logo-legacy.png

4.54 KiB

loadingscreen/backup/assets/images/posts/1.png

440 KiB

loadingscreen/backup/assets/images/posts/10.png

499 KiB

loadingscreen/backup/assets/images/posts/11.png

361 KiB

loadingscreen/backup/assets/images/posts/12.png

336 KiB

loadingscreen/backup/assets/images/posts/13.png

378 KiB

loadingscreen/backup/assets/images/posts/14.png

523 KiB

loadingscreen/backup/assets/images/posts/15.png

370 KiB

loadingscreen/backup/assets/images/posts/16.png

309 KiB

loadingscreen/backup/assets/images/posts/17.png

260 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment