2021-01-22 20:58:46 +00:00
|
|
|
<?php
|
2021-02-08 11:57:32 +00:00
|
|
|
if (strpos($_SERVER['PHP_SELF'], "inc.php") !== false)
|
|
|
|
exit("This file is meant to be included.");
|
2021-01-22 20:58:46 +00:00
|
|
|
|
2021-02-16 18:20:19 +00:00
|
|
|
switch (SERVICE) {
|
2021-01-22 20:58:46 +00:00
|
|
|
|
2021-02-16 18:20:19 +00:00
|
|
|
case "ns":
|
2021-02-24 17:39:42 +00:00
|
|
|
$page['service'] = "Serveurs de noms";
|
2021-02-16 18:20:19 +00:00
|
|
|
switch (PAGE) {
|
2021-01-22 20:58:46 +00:00
|
|
|
case "index":
|
2021-03-20 22:48:54 +00:00
|
|
|
$page['title'] = $page['service'];
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
2021-01-23 16:26:46 +00:00
|
|
|
case "dnssec":
|
2021-02-12 14:32:48 +00:00
|
|
|
$page['title'] = "Obtenir les enregistrements DS";
|
2021-01-23 16:26:46 +00:00
|
|
|
break;
|
|
|
|
case "ip":
|
2021-05-16 14:55:39 +00:00
|
|
|
$page['title'] = "Enregistrements A et AAAA";
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
2021-02-12 14:32:48 +00:00
|
|
|
case "ns":
|
2021-02-24 17:39:42 +00:00
|
|
|
$page['title'] = "Enregistrement NS";
|
|
|
|
break;
|
|
|
|
case "txt":
|
|
|
|
$page['title'] = "Enregistrement TXT";
|
2021-02-12 14:32:48 +00:00
|
|
|
break;
|
2021-03-02 21:56:38 +00:00
|
|
|
case "caa":
|
|
|
|
$page['title'] = "Enregistrement CAA";
|
|
|
|
break;
|
2021-05-16 14:55:39 +00:00
|
|
|
case "srv":
|
|
|
|
$page['title'] = "Enregistrement SRV";
|
|
|
|
break;
|
|
|
|
case "mx":
|
|
|
|
$page['title'] = "Enregistrement MX";
|
|
|
|
break;
|
2021-05-16 23:19:59 +00:00
|
|
|
case "sshfp":
|
|
|
|
$page['title'] = "Enregistrement SSHFP";
|
|
|
|
break;
|
2021-05-22 12:07:25 +00:00
|
|
|
case "tlsa":
|
|
|
|
$page['title'] = "Enregistrement TLSA";
|
|
|
|
break;
|
2021-01-22 20:58:46 +00:00
|
|
|
case "zone":
|
|
|
|
$page['title'] = "Ajouter une zone";
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
2021-02-18 21:40:16 +00:00
|
|
|
case "reg":
|
2021-02-12 14:32:48 +00:00
|
|
|
$page['service'] = "Registre";
|
2021-02-16 18:20:19 +00:00
|
|
|
switch (PAGE) {
|
2021-01-22 20:58:46 +00:00
|
|
|
case "index":
|
2021-03-20 22:48:54 +00:00
|
|
|
$page['title'] = $page['service'];
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
|
|
|
case "ns":
|
2021-02-12 14:32:48 +00:00
|
|
|
$page['title'] = "Ajouter un enregistrement NS";
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
2021-01-25 12:39:31 +00:00
|
|
|
case "register":
|
|
|
|
$page['title'] = "Enregistrer un nouveau nom de domaine";
|
|
|
|
break;
|
2021-01-22 20:58:46 +00:00
|
|
|
case "glue":
|
2021-02-12 14:32:48 +00:00
|
|
|
$page['title'] = "Créer un Glue Record";
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
|
|
|
case "ds":
|
2021-02-12 14:32:48 +00:00
|
|
|
$page['title'] = "Ajouter un enregistrement DS";
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
2021-02-16 18:20:19 +00:00
|
|
|
case "auth":
|
2021-01-22 20:58:46 +00:00
|
|
|
$page['service'] = "Authentification";
|
2021-02-16 18:20:19 +00:00
|
|
|
switch (PAGE) {
|
2021-01-22 20:58:46 +00:00
|
|
|
case "index":
|
2021-03-20 22:48:54 +00:00
|
|
|
$page['title'] = $page['service'];
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
|
|
|
case "login":
|
|
|
|
$page['title'] = "Se connecter";
|
|
|
|
break;
|
|
|
|
case "register":
|
|
|
|
$page['title'] = "Créer un compte";
|
|
|
|
break;
|
2021-02-12 14:32:48 +00:00
|
|
|
case "password":
|
|
|
|
$page['title'] = "Changer le mot de passe";
|
|
|
|
break;
|
2021-03-02 21:56:38 +00:00
|
|
|
case "logout":
|
|
|
|
$page['title'] = "Déconnexion";
|
|
|
|
break;
|
2021-01-22 20:58:46 +00:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
|
2021-02-16 18:20:19 +00:00
|
|
|
case "ht":
|
2021-01-22 20:58:46 +00:00
|
|
|
$page['service'] = "Hypertexte";
|
2021-02-16 18:20:19 +00:00
|
|
|
switch (PAGE) {
|
2021-01-22 20:58:46 +00:00
|
|
|
case "mkdir":
|
|
|
|
$page['title'] = "Créer un dossier de site";
|
|
|
|
break;
|
2021-03-02 21:56:38 +00:00
|
|
|
case "gemini-onion":
|
|
|
|
$page['title'] = "Accès Gemini en Onion";
|
|
|
|
break;
|
|
|
|
case "gemini-domain":
|
|
|
|
$page['title'] = "Accès Gemini par domaine";
|
|
|
|
break;
|
2021-02-16 18:20:19 +00:00
|
|
|
case "http-onion":
|
2021-03-02 21:56:38 +00:00
|
|
|
$page['title'] = "Accès HTTP en Onion";
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
2021-02-16 18:20:19 +00:00
|
|
|
case "https-domain":
|
|
|
|
$page['title'] = "Accès HTTPS par domaine";
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
|
|
|
case "le":
|
|
|
|
$page['title'] = "Installer un certificat Let's Encrypt";
|
|
|
|
break;
|
|
|
|
case "index":
|
2021-03-20 22:48:54 +00:00
|
|
|
$page['title'] = $page['service'];
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
2021-02-12 14:32:48 +00:00
|
|
|
case "sftp":
|
|
|
|
$page['title'] = "Gérer l'accès SFTP";
|
2021-01-22 20:58:46 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
}
|