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

11H33 - better default pages

parent 5807f746
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ if (isset($_GET["getNotifications"])) {
$response->execute([$_SESSION["user_id"]]);
$response = $response->fetchAll(PDO::FETCH_ASSOC);
echo json_encode($response);
} elseif (isset($_GET["updateVBcms"])) {
} elseif (isset($_GET["updateVBcms"])) {/*
$curentUpdateCanal = $bdd->query("SELECT value FROM `vbcms-settings` WHERE name='updateCanal'")->fetchColumn();
$serverId = $bdd->query("SELECT value FROM `vbcms-settings` WHERE name='serverId'")->fetchColumn();
$key = $bdd->query("SELECT value FROM `vbcms-settings` WHERE name='encryptionKey'")->fetchColumn();
......@@ -35,6 +35,7 @@ if (isset($_GET["getNotifications"])) {
$response["code"] = 0; // Impossible de télécharger la màj
}
echo json_encode($response);
*/
} else {?>
<!DOCTYPE html>
<html>
......
......@@ -10,7 +10,7 @@ if(!isset($websiteUrl)){
<html lang="fr">
<head>
<meta charset="utf-8">
<title>VBcms | Erreur 404</title>
<title>VBcms</title>
<link rel="icon" type="image/png" href="https://vbcms.net/vbcms-content/uploads/vbcms-logo/raccoon-in-box-512x.png" />
<link rel="stylesheet" href="<?=$websiteUrl?>vbcms-admin/fonts/fonts.css">
</head>
......@@ -40,20 +40,32 @@ if(!isset($websiteUrl)){
align-items: center;
}
.vbcmsLogo img{
width:8em;
height:8em;
width:7em;
height:7em;
}
.vbcmsLogo span{
font-family: "Linotype Kaliber Bold";
font-size: 2em;
}
.vbcmsLogo .sub{
font-family: "Linotype Kaliber Bold";
font-size: 1em;
}
.vbcmsLogo .text{
display:flex;
flex-direction:column;
align-items: start;
margin-left: .5em;
}
</style>
<div class="pageContent">
<div class="vbcmsLogo">
<img src="https://vbcms.net/vbcms-content/uploads/vbcms-logo/raccoon-in-box-512x.png">
<div class="text">
<span>VBcms</span>
<span class="sub">Erreur 404: La page demandée n'existe pas</span>
</div>
</div>
<p>Erreur 404: La page demandée n'existe pas. :/</p>
</div>
</body>
</html>
\ No newline at end of file
......@@ -40,20 +40,32 @@ if(!isset($websiteUrl)){
align-items: center;
}
.vbcmsLogo img{
width:8em;
height:8em;
width:7em;
height:7em;
}
.vbcmsLogo span{
font-family: "Linotype Kaliber Bold";
font-size: 2em;
}
.vbcmsLogo .sub{
font-family: "Linotype Kaliber Bold";
font-size: 1em;
}
.vbcmsLogo .text{
display:flex;
flex-direction:column;
align-items: start;
margin-left: .5em;
}
</style>
<div class="pageContent">
<div class="vbcmsLogo">
<img src="https://vbcms.net/vbcms-content/uploads/vbcms-logo/raccoon-in-box-512x.png">
<div class="text">
<span>VBcms</span>
<span class="sub">Aucun index de configuré</span>
</div>
</div>
<p>Cette installation de VBcms ne gère pas l'index du site internet.</p>
</div>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment