@@ -1,3 +1,3 @@ |
||
| 1 | -<?=\core\HTML\flashmessage\FlashMessage::getFlash();?> |
|
| 1 | +<?=\core\HTML\flashmessage\FlashMessage::getFlash(); ?> |
|
| 2 | 2 | <div class="inner"> |
| 3 | 3 | </div> |
| 4 | 4 | \ No newline at end of file |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | <link rel="stylesheet" type="text/css" href="<?=LIBSWEBROOT?>font_awesome/css/font-awesome.min.css"> |
| 16 | 16 | <link rel="stylesheet" type="text/css" href="<?=LIBSWEBROOT?>font_awesome/css/animate.css"> |
| 17 | 17 | </head> |
| 18 | - <?=core\HTML\flashmessage\FlashMessage::getFlash();?> |
|
| 18 | + <?=core\HTML\flashmessage\FlashMessage::getFlash(); ?> |
|
| 19 | 19 | <body class="login"> |
| 20 | 20 | <div id="particles-js"></div> |
| 21 | 21 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | <script src="<?=LIBSWEBROOT?>input_type_admin/js/effet_input.js"></script> |
| 20 | 20 | <script src="<?=LIBSWEBROOT?>scrollbar/js/scrollbar.js"></script> |
| 21 | 21 | </head> |
| 22 | - <?=\core\HTML\flashmessage\FlashMessage::getFlash();?> |
|
| 22 | + <?=\core\HTML\flashmessage\FlashMessage::getFlash(); ?> |
|
| 23 | 23 | <body> |
| 24 | 24 | <nav class="menu active"> |
| 25 | 25 | <div class="titre"> |
@@ -31,42 +31,42 @@ discard block |
||
| 31 | 31 | <li><i class="fa fa-user"></i><a href="<?=ADMWEBROOT?>gestion-comptes/mon-compte">Mon compte</a></li> |
| 32 | 32 | |
| 33 | 33 | <!-- Pour avoir accès à la gestion des autres comptes --> |
| 34 | - <?php if($droit_acces->getDroitAccesPage("gestion-comptes/index") == true):?> |
|
| 34 | + <?php if ($droit_acces->getDroitAccesPage("gestion-comptes/index") == true):?> |
|
| 35 | 35 | <li><i class="fa fa-users"></i><a href="<?=ADMWEBROOT?>gestion-comptes/index">Gestion des comptes</a></li> |
| 36 | - <?php endif;?> |
|
| 36 | + <?php endif; ?> |
|
| 37 | 37 | |
| 38 | 38 | <!-- Pour avoir accès à la gestion des autres comptes --> |
| 39 | - <?php if($droit_acces->getDroitAccesPage("gestion-droits-acces/index") == true):?> |
|
| 39 | + <?php if ($droit_acces->getDroitAccesPage("gestion-droits-acces/index") == true):?> |
|
| 40 | 40 | <li><i class="fa fa-lock"></i><a href="<?=ADMWEBROOT?>gestion-droits-acces/index">Gestion des droits d'accès</a></li> |
| 41 | - <?php endif;?> |
|
| 41 | + <?php endif; ?> |
|
| 42 | 42 | |
| 43 | 43 | <!-- Pour avoir accès à la gestion des autres comptes --> |
| 44 | - <?php if($droit_acces->getDroitAccesPage("gestion-contenus/index") == true):?> |
|
| 44 | + <?php if ($droit_acces->getDroitAccesPage("gestion-contenus/index") == true):?> |
|
| 45 | 45 | <li><i class="fa fa-file-text"></i><a href="<?=ADMWEBROOT?>gestion-contenus/index">Gestion des contenus</a></li> |
| 46 | - <?php endif;?> |
|
| 46 | + <?php endif; ?> |
|
| 47 | 47 | |
| 48 | 48 | <!-- pour afficher le menu des modules --> |
| 49 | - <?php for ($i=0 ; $i<count($gestion_module->getUrl()) ; $i++):?> |
|
| 50 | - <?php if((\core\modules\GestionModule::getModuleActiver($gestion_module->getNom()[$i]) == true) && ($droit_acces->getDroitAccesPage($gestion_module->getUrl()[$i]."index") == true)):?> |
|
| 49 | + <?php for ($i = 0; $i < count($gestion_module->getUrl()); $i++):?> |
|
| 50 | + <?php if ((\core\modules\GestionModule::getModuleActiver($gestion_module->getNom()[$i]) == true) && ($droit_acces->getDroitAccesPage($gestion_module->getUrl()[$i]."index") == true)):?> |
|
| 51 | 51 | <li> |
| 52 | 52 | <i class="fa <?=$gestion_module->getIcone()[$i]?>"></i> |
| 53 | 53 | <a href="<?=MODULEADMWEBROOT.$gestion_module->getUrl()[$i]?>index">Gestion <?=$gestion_module->getNom()[$i]?> (V<?=$gestion_module->getVersion()[$i]?>)</a> |
| 54 | 54 | </li> |
| 55 | - <?php endif;?> |
|
| 56 | - <?php endfor;?> |
|
| 55 | + <?php endif; ?> |
|
| 56 | + <?php endfor; ?> |
|
| 57 | 57 | </div> |
| 58 | 58 | |
| 59 | 59 | |
| 60 | 60 | <!-- lien fixes en bas de la page --> |
| 61 | 61 | <?php if ($droit_acces->getSuperAdmin() == 1):?> |
| 62 | - <li class="notification <?php if ($admin->getNotification() == 1): ?> non-vue<?php endif;?>"> |
|
| 63 | - <i class="fa fa-exclamation <?php if ($admin->getNotification() == 1):?> animated infinite swing<?php endif;?>"></i> |
|
| 62 | + <li class="notification <?php if ($admin->getNotification() == 1): ?> non-vue<?php endif; ?>"> |
|
| 63 | + <i class="fa fa-exclamation <?php if ($admin->getNotification() == 1):?> animated infinite swing<?php endif; ?>"></i> |
|
| 64 | 64 | <a href="<?=ADMWEBROOT?>notifications">Notifications systèmes</a> |
| 65 | 65 | </li> |
| 66 | - <?php endif;?> |
|
| 67 | - <?php if($droit_acces->getSuperAdmin() == 1):?> |
|
| 66 | + <?php endif; ?> |
|
| 67 | + <?php if ($droit_acces->getSuperAdmin() == 1):?> |
|
| 68 | 68 | <li class="configuration"><i class="fa fa-gear"></i><a href="<?=ADMWEBROOT?>configuration/index">Configuration</a></li> |
| 69 | - <?php endif;?> |
|
| 69 | + <?php endif; ?> |
|
| 70 | 70 | <li class="support"><i class="fa fa-envelope"></i><a href="<?=ADMWEBROOT?>contacter-support">Contacter le support</a></li> |
| 71 | 71 | <li class="logout"><i class="fa fa-times animated activate swing infinite"></i><a href="<?=WEBROOT?>administrator/controller/core/auth/logout">Déconexion</a></li> |
| 72 | 72 | </ul> |
@@ -6,10 +6,10 @@ discard block |
||
| 6 | 6 | <div class="inner"> |
| 7 | 7 | <?php if ($droit_acces->getDroitAccesAction("CREATION COMPTE ADMIN")):?> |
| 8 | 8 | <a class="submit-contenu" href="<?=ADMWEBROOT?>gestion-comptes/creer-utilisateur"><i class="fa fa-user"></i>Créer un utilisateur</a> |
| 9 | - <?php endif;?> |
|
| 9 | + <?php endif; ?> |
|
| 10 | 10 | <div class="contenu modifier-contenu gestion-comptes"> |
| 11 | 11 | <h2>Comptes actifs sur le site</h2> |
| 12 | - <?php $admin->getAllUser();?> |
|
| 12 | + <?php $admin->getAllUser(); ?> |
|
| 13 | 13 | |
| 14 | 14 | <table> |
| 15 | 15 | <thead> |
@@ -19,32 +19,32 @@ discard block |
||
| 19 | 19 | <td>Pseudo</td> |
| 20 | 20 | <?php if ($config->getValiderInscription() == 1): ?> |
| 21 | 21 | <td>Valider le compte</td> |
| 22 | - <?php endif;?> |
|
| 22 | + <?php endif; ?> |
|
| 23 | 23 | <td>Réinitialiser le mot de passe</td> |
| 24 | 24 | <td>Archiver le compte</td> |
| 25 | 25 | <td>Supprimer le compte</td> |
| 26 | 26 | </tr> |
| 27 | 27 | </thead> |
| 28 | - <?php for ($i=0 ; $i<count($admin->getIdidentite()) ; $i++):?> |
|
| 28 | + <?php for ($i = 0; $i < count($admin->getIdidentite()); $i++):?> |
|
| 29 | 29 | <tr> |
| 30 | 30 | <td><img src="<?=IMGROOT.$admin->getImg()[$i]?>"></td> |
| 31 | 31 | <td><?=$admin->getPrenom()[$i]?> <?=$admin->getNom()[$i]?></td> |
| 32 | 32 | <td><?=$admin->getPseudo()[$i]?></td> |
| 33 | 33 | <?php if ($config->getValiderInscription() == 1): ?> |
| 34 | 34 | <td><?=$admin->getValide()[$i]?></td> |
| 35 | - <?php endif;?> |
|
| 35 | + <?php endif; ?> |
|
| 36 | 36 | <td><a href="<?=ADMWEBROOT?>controller/core/admin/comptes/reinitialiser_mdp?id_identite=<?=$admin->getIdidentite()[$i]?>">Réinitialiser le mot de passe</a></td> |
| 37 | 37 | <td><a href="<?=ADMWEBROOT?>controller/core/admin/comptes/archiver_compte?id_identite=<?=$admin->getIdidentite()[$i]?>" class="supprimer open-popup" popup="popup-archiver-utilisateur">Archiver ce compte</a></td> |
| 38 | 38 | <td><a href="<?=ADMWEBROOT?>controller/core/admin/comptes/supprimer_compte?id_identite=<?=$admin->getIdidentite()[$i]?>" class="supprimer open-popup" popup="popup-supprimer-utilisateur">Supprimer ce compte</a></td> |
| 39 | 39 | </tr> |
| 40 | - <?php endfor;?> |
|
| 40 | + <?php endfor; ?> |
|
| 41 | 41 | </table> |
| 42 | 42 | </div> |
| 43 | 43 | |
| 44 | 44 | <div class="contenu modifier-contenu gestion-comptes"> |
| 45 | 45 | <h2>Comptes archivés sur le site</h2> |
| 46 | 46 | |
| 47 | - <?php $admin->getAllUser(1);?> |
|
| 47 | + <?php $admin->getAllUser(1); ?> |
|
| 48 | 48 | |
| 49 | 49 | <table> |
| 50 | 50 | <thead> |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | <td>Supprimer le compte</td> |
| 58 | 58 | </tr> |
| 59 | 59 | </thead> |
| 60 | - <?php for ($i=0 ; $i<count($admin->getIdidentite()) ; $i++):?> |
|
| 60 | + <?php for ($i = 0; $i < count($admin->getIdidentite()); $i++):?> |
|
| 61 | 61 | <tr> |
| 62 | 62 | <td><img src="<?=IMGROOT.$admin->getImg()[$i]?>"></td> |
| 63 | 63 | <td><?=$admin->getPrenom()[$i]?> <?=$admin->getNom()[$i]?></td> |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | <td><a href="<?=ADMWEBROOT?>controller/core/admin/comptes/activer_compte?id_identite=<?=$admin->getIdidentite()[$i]?>" class="supprimer open-popup" popup="popup-archiver-utilisateur">Activer ce compte</a></td> |
| 67 | 67 | <td><a href="<?=ADMWEBROOT?>controller/core/admin/comptes/supprimer_compte?id_identite=<?=$admin->getIdidentite()[$i]?>" class="supprimer open-popup" popup="popup-supprimer-utilisateur">Supprimer ce compte</a></td> |
| 68 | 68 | </tr> |
| 69 | - <?php endfor;?> |
|
| 69 | + <?php endfor; ?> |
|
| 70 | 70 | </table> |
| 71 | 71 | </div> |
| 72 | 72 | </div> |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?=\core\HTML\flashmessage\FlashMessage::getFlash();?> |
|
| 1 | +<?=\core\HTML\flashmessage\FlashMessage::getFlash(); ?> |
|
| 2 | 2 | <header> |
| 3 | 3 | <div class="inner"> |
| 4 | 4 | <h1>Créer un compte utilisateur</h1> |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?=\core\HTML\flashmessage\FlashMessage::getFlash();?> |
|
| 1 | +<?=\core\HTML\flashmessage\FlashMessage::getFlash(); ?> |
|
| 2 | 2 | <header> |
| 3 | 3 | <div class="inner"> |
| 4 | 4 | <h1>Mon compte</h1> |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | </div> |
| 5 | 5 | </header> |
| 6 | 6 | |
| 7 | -<?php require_once("admin/controller/ckeditor.php");?> |
|
| 7 | +<?php require_once("admin/controller/ckeditor.php"); ?> |
|
| 8 | 8 | |
| 9 | 9 | |
| 10 | 10 | <form action="<?=ADMWEBROOT?>controller/core/form/support/envoyer_message.php" method="post"> |
@@ -8,11 +8,11 @@ discard block |
||
| 8 | 8 | <script src="<?=LIBSWEBROOT?>popup/js/popup.js"></script> |
| 9 | 9 | <link rel="stylesheet" type="text/css" href="<?=LIBSWEBROOT?>checkbox/css/style.css"> |
| 10 | 10 | <script src="<?=LIBSWEBROOT?>checkbox/js/anim.js"></script> |
| 11 | -<?php require_once(ROOT."admin/views/configuration/js/infos_generales.php");?> |
|
| 12 | -<?php require_once('header.php');?> |
|
| 11 | +<?php require_once(ROOT."admin/views/configuration/js/infos_generales.php"); ?> |
|
| 12 | +<?php require_once('header.php'); ?> |
|
| 13 | 13 | |
| 14 | 14 | <div class="inner"> |
| 15 | - <?php require_once(LIBSROOT."barre_chargement/index.php");?> |
|
| 15 | + <?php require_once(LIBSROOT."barre_chargement/index.php"); ?> |
|
| 16 | 16 | <a class="submit-contenu supprimer-page link" href="<?=ADMWEBROOT?>configuration/index"><i class="fa fa-times"></i>Annuler</a> |
| 17 | 17 | <form action="<?=ADMWEBROOT?>controller/core/admin/configuration/modifier" method="post"> |
| 18 | 18 | <div class="contenu modifier-contenu"> |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | <td>Responsive</td> |
| 78 | 78 | <td> |
| 79 | 79 | <label for="responsive" class="checkbox-perso switched"> |
| 80 | - <input type="checkbox" class="test-check" id="responsive" <?php if ($responsive == 1): ?>checked<?php endif;?>> |
|
| 80 | + <input type="checkbox" class="test-check" id="responsive" <?php if ($responsive == 1): ?>checked<?php endif; ?>> |
|
| 81 | 81 | </label> |
| 82 | 82 | </td> |
| 83 | 83 | </tr> |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | <td>Contenu dynamique</td> |
| 86 | 86 | <td> |
| 87 | 87 | <label for="contenu_dynamique" class="checkbox-perso switched"> |
| 88 | - <input type="checkbox" class="test-check" id="contenu_dynamique" <?php if ($contenu_dynamique == 1): ?>checked<?php endif;?>> |
|
| 88 | + <input type="checkbox" class="test-check" id="contenu_dynamique" <?php if ($contenu_dynamique == 1): ?>checked<?php endif; ?>> |
|
| 89 | 89 | </label> |
| 90 | 90 | </td> |
| 91 | 91 | </tr> |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | <td>Cache</td> |
| 94 | 94 | <td> |
| 95 | 95 | <label for="cache_config" class="checkbox-perso switched"> |
| 96 | - <input type="checkbox" class="test-check" id="cache_config" <?php if ($cache_config == 1): ?>checked<?php endif;?>> |
|
| 96 | + <input type="checkbox" class="test-check" id="cache_config" <?php if ($cache_config == 1): ?>checked<?php endif; ?>> |
|
| 97 | 97 | </label> |
| 98 | 98 | </td> |
| 99 | 99 | </tr> |
@@ -3,4 +3,4 @@ |
||
| 3 | 3 | <h1>Configuration</h1> |
| 4 | 4 | </div> |
| 5 | 5 | </header> |
| 6 | -<?php require_once('header.php');?> |
|
| 7 | 6 | \ No newline at end of file |
| 7 | +<?php require_once('header.php'); ?> |
|
| 8 | 8 | \ No newline at end of file |