e59.fr
Le site officiel du club réseaux disponible à l'adresse https://e59.fr/
sudo apt-get install php7.4-gd
PHP Informations
Pages
about/
Informations about the data usage of the platformaccount/
Change public account informationsadmin/
Admin panelassets/
Banner, PP and Miniatures imageseditor/
Articles markdown editorlogin/
Login, register and logout pagenews/
Articles explorer and viewersettings/
Account settingssrc/
Ressources for the website (images, css, fonts)upload/
Uplaod an articleusers/
Check user public account
Code conventions
- PHP Variables format :
$phpVariable
- tables columns format :
table_column
- HTML Class format :
html-class
$_SESSION[]
userID
userName
userDisplayName
userRole
userAccreditation
Includes
variables.php
-
$rootPageURL
-
$rootFilePath
-
$sqlDatabaseName
-
$sqlDatabaseUser
-
$sqldatabasePass
-
$sqlDatabaseHost
-
$pageTitle
-
$headerTitle
-
$headerSubtitle
-
$footerText
-
$confidentialLevels
-
$userLevels
-
$badges
-
$darkThemes
-
$lightThemes
init.php
- Theme initialisation
- userLevel (permissions) initialisation
main-functions.php
markdownContent($filePath, $rootFilePath)
sqlConnect($dbHost, $dbName, $dbUser, $dbPass)
objects.php
userWidget($userPPURL, $userDisplayName, $userName, $userCertification, $badges, $rootPageURL)
listArticles($result, $rootPageURL)
inputs.php
textInput($type, $shapePath, $name, $placeholder, $value)
fileInput($name)
selectInput($name, $label, $options, $defaultValue)
panels.php
fillHead($rootPageURL, $pageTitle, $darkTheme, $lightTheme)
fillHeader($rootPageURL, $headerTitle, $headerSubtitle)
fillNav($rootPageURL)
fillFooter($footerText)
Description
Languages
PHP
94.9%
CSS
4.1%
HTML
1%