diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bcad0a6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,474 @@ +##### Windows +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +##### Linux +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +##### MacOS +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +##### Backup +*.bak +*.gho +*.ori +*.orig +*.tmp + +##### GPG +secring.* + +##### Dropbox +# Dropbox settings and caches +.dropbox +.dropbox.attr +.dropbox.cache + +##### SynopsysVCS +# Waveform formats +*.vcd +*.vpd +*.evcd +*.fsdb + +# Default name of the simulation executable. A different name can be +# specified with this switch (the associated daidir database name is +# also taken from here): -o / +simv + +# Generated for Verilog and VHDL top configs +simv.daidir/ +simv.db.dir/ + +# Infrastructure necessary to co-simulate SystemC models with +# Verilog/VHDL models. An alternate directory may be specified with this +# switch: -Mdir= +csrc/ + +# Log file - the following switch allows to specify the file that will be +# used to write all messages from simulation: -l +*.log + +# Coverage results (generated with urg) and database location. The +# following switch can also be used: urg -dir .vdb +simv.vdb/ +urgReport/ + +# DVE and UCLI related files. +DVEfiles/ +ucli.key + +# When the design is elaborated for DirectC, the following file is created +# with declarations for C/C++ functions. +vc_hdrs.h + +##### SVN +.svn/ + +##### Mercurial +.hg/ +.hgignore +.hgsigs +.hgsub +.hgsubstate +.hgtags + +##### Bazaar +.bzr/ +.bzrignore + +##### CVS +/CVS/* +**/CVS/* +.cvsignore +*/.cvsignore + +##### TortoiseGit +# Project-level settings +/.tgitconfig + +##### PuTTY +# Private key +*.ppk + +##### Vim +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +##### Emacs +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +# network security +/network-security.data + +##### SublimeText +# Cache files for Sublime Text +*.tmlanguage.cache +*.tmPreferences.cache +*.stTheme.cache + +# Workspace files are user-specific +*.sublime-workspace + +# Project files should be checked into the repository, unless a significant +# proportion of contributors will probably not be using Sublime Text +# *.sublime-project + +# SFTP configuration file +sftp-config.json +sftp-config-alt*.json + +# Package control specific files +Package Control.last-run +Package Control.ca-list +Package Control.ca-bundle +Package Control.system-ca-bundle +Package Control.cache/ +Package Control.ca-certs/ +Package Control.merged-ca-bundle +Package Control.user-ca-bundle +oscrypto-ca-bundle.crt +bh_unicode_properties.cache + +# Sublime-github package stores a github token in this file +# https://packagecontrol.io/packages/sublime-github +GitHub.sublime-settings + +##### Notepad++ +# Notepad++ backups # +*.bak + +##### TextMate +*.tmproj +*.tmproject +tmtags + +##### VisualStudioCode +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +##### NetBeans +**/nbproject/private/ +**/nbproject/Makefile-*.mk +**/nbproject/Package-*.bash +build/ +nbbuild/ +dist/ +nbdist/ +.nb-gradle/ + +##### JetBrains +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +##### Eclipse +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath +.recommenders + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# CDT- autotools +.autotools + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/ + +# Annotation Processing +.apt_generated/ +.apt_generated_test/ + +# Scala IDE specific (Scala & Java development for Eclipse) +.cache-main +.scala_dependencies +.worksheet + +# Uncomment this line if you wish to ignore the project description file. +# Typically, this file would be tracked if it contains build/dependency configurations: +#.project + +##### Dreamweaver +# DW Dreamweaver added files +_notes +_compareTemp +configs/ +dwsync.xml +dw_php_codehinting.config +*.mno + +##### CodeKit +# General CodeKit files to ignore +config.codekit +config.codekit3 +/min + +##### Gradle +.gradle +**/build/ +!src/**/build/ + +# Ignore Gradle GUI config +gradle-app.setting + +# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) +!gradle-wrapper.jar + +# Cache of project +.gradletasknamecache + +# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898 +# gradle/wrapper/gradle-wrapper.properties + +##### Composer +composer.phar +/vendor/ + +# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control +# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file +composer.lock + +##### PHP CodeSniffer +# gitignore for the PHP Codesniffer framework +# website: https://github.com/squizlabs/PHP_CodeSniffer +# +# Recommended template: PHP.gitignore + +/wpcs/* + +##### SASS +.sass-cache/ +*.css.map +*.sass.map +*.scss.map diff --git a/TD1/index.php b/2019-2020/TD1/index.php similarity index 100% rename from TD1/index.php rename to 2019-2020/TD1/index.php diff --git a/TD2/index.php b/2019-2020/TD2/index.php similarity index 100% rename from TD2/index.php rename to 2019-2020/TD2/index.php diff --git a/TD3/anim.css b/2019-2020/TD3/anim.css similarity index 100% rename from TD3/anim.css rename to 2019-2020/TD3/anim.css diff --git a/TD3/bak b/2019-2020/TD3/bak similarity index 100% rename from TD3/bak rename to 2019-2020/TD3/bak diff --git a/TD3/check.php b/2019-2020/TD3/check.php similarity index 100% rename from TD3/check.php rename to 2019-2020/TD3/check.php diff --git a/TD3/exo12.php b/2019-2020/TD3/exo12.php similarity index 100% rename from TD3/exo12.php rename to 2019-2020/TD3/exo12.php diff --git a/TD3/index.php b/2019-2020/TD3/index.php similarity index 100% rename from TD3/index.php rename to 2019-2020/TD3/index.php diff --git a/TD3/post.php b/2019-2020/TD3/post.php similarity index 100% rename from TD3/post.php rename to 2019-2020/TD3/post.php diff --git a/TD3/voitures.php b/2019-2020/TD3/voitures.php similarity index 100% rename from TD3/voitures.php rename to 2019-2020/TD3/voitures.php diff --git a/TD4/Voitures.txt b/2019-2020/TD4/Voitures.txt similarity index 100% rename from TD4/Voitures.txt rename to 2019-2020/TD4/Voitures.txt diff --git a/TD4/index.php b/2019-2020/TD4/index.php similarity index 100% rename from TD4/index.php rename to 2019-2020/TD4/index.php diff --git a/TD4/test.html b/2019-2020/TD4/test.html similarity index 100% rename from TD4/test.html rename to 2019-2020/TD4/test.html diff --git a/TD4/upload.php b/2019-2020/TD4/upload.php similarity index 100% rename from TD4/upload.php rename to 2019-2020/TD4/upload.php diff --git a/TD5/a.txt b/2019-2020/TD5/a.txt similarity index 100% rename from TD5/a.txt rename to 2019-2020/TD5/a.txt diff --git a/TD5/d.txt b/2019-2020/TD5/d.txt similarity index 100% rename from TD5/d.txt rename to 2019-2020/TD5/d.txt diff --git a/TD5/index.php b/2019-2020/TD5/index.php similarity index 100% rename from TD5/index.php rename to 2019-2020/TD5/index.php diff --git a/TD5/m.txt b/2019-2020/TD5/m.txt similarity index 100% rename from TD5/m.txt rename to 2019-2020/TD5/m.txt diff --git a/TD8/ajout.html b/2019-2020/TD8/ajout.html similarity index 100% rename from TD8/ajout.html rename to 2019-2020/TD8/ajout.html diff --git a/TD8/ajoutEntree.php b/2019-2020/TD8/ajoutEntree.php similarity index 100% rename from TD8/ajoutEntree.php rename to 2019-2020/TD8/ajoutEntree.php diff --git a/TD8/createTable.php b/2019-2020/TD8/createTable.php similarity index 100% rename from TD8/createTable.php rename to 2019-2020/TD8/createTable.php diff --git a/TD8/database.php b/2019-2020/TD8/database.php similarity index 100% rename from TD8/database.php rename to 2019-2020/TD8/database.php diff --git a/TD8/index.html b/2019-2020/TD8/index.html similarity index 100% rename from TD8/index.html rename to 2019-2020/TD8/index.html diff --git a/TD8/modifier.php b/2019-2020/TD8/modifier.php similarity index 100% rename from TD8/modifier.php rename to 2019-2020/TD8/modifier.php diff --git a/TD8/modifnumpost.html b/2019-2020/TD8/modifnumpost.html similarity index 100% rename from TD8/modifnumpost.html rename to 2019-2020/TD8/modifnumpost.html diff --git a/TD8/recherche.html b/2019-2020/TD8/recherche.html similarity index 100% rename from TD8/recherche.html rename to 2019-2020/TD8/recherche.html diff --git a/TD8/rechercheTable.php b/2019-2020/TD8/rechercheTable.php similarity index 100% rename from TD8/rechercheTable.php rename to 2019-2020/TD8/rechercheTable.php diff --git a/TD8/supprimer.html b/2019-2020/TD8/supprimer.html similarity index 100% rename from TD8/supprimer.html rename to 2019-2020/TD8/supprimer.html diff --git a/TD8/supprimer.php b/2019-2020/TD8/supprimer.php similarity index 100% rename from TD8/supprimer.php rename to 2019-2020/TD8/supprimer.php diff --git a/2019-2020/index.php b/2019-2020/index.php new file mode 100644 index 0000000..38923ba --- /dev/null +++ b/2019-2020/index.php @@ -0,0 +1,64 @@ + + + + + + + <?php echo "Displaying content of " .$dir?> + + + + + + +
+
+
+
+ content + + +
+ folder$file
"; + } else { + echo "folder$file
"; + } + + $i++; + } + } + closedir($dh); + ?> +
+
+
+
+ + + diff --git a/2019-2020/src/banner.png b/2019-2020/src/banner.png new file mode 100644 index 0000000..df9dd04 Binary files /dev/null and b/2019-2020/src/banner.png differ diff --git a/2019-2020/src/file.png b/2019-2020/src/file.png new file mode 100644 index 0000000..7d8d354 Binary files /dev/null and b/2019-2020/src/file.png differ diff --git a/2019-2020/src/folder.png b/2019-2020/src/folder.png new file mode 100644 index 0000000..81df3c3 Binary files /dev/null and b/2019-2020/src/folder.png differ diff --git a/2020-2021/index.php b/2020-2021/index.php new file mode 100644 index 0000000..38923ba --- /dev/null +++ b/2020-2021/index.php @@ -0,0 +1,64 @@ + + + + + + + <?php echo "Displaying content of " .$dir?> + + + + + + +
+
+
+
+ content + + +
+ folder$file
"; + } else { + echo "folder$file
"; + } + + $i++; + } + } + closedir($dh); + ?> +
+
+
+
+ + + diff --git a/2020-2021/src/banner.png b/2020-2021/src/banner.png new file mode 100644 index 0000000..df9dd04 Binary files /dev/null and b/2020-2021/src/banner.png differ diff --git a/2020-2021/src/file.png b/2020-2021/src/file.png new file mode 100644 index 0000000..7d8d354 Binary files /dev/null and b/2020-2021/src/file.png differ diff --git a/2020-2021/src/folder.png b/2020-2021/src/folder.png new file mode 100644 index 0000000..81df3c3 Binary files /dev/null and b/2020-2021/src/folder.png differ diff --git a/index.php b/index.php index 38923ba..c8fb253 100644 --- a/index.php +++ b/index.php @@ -42,7 +42,7 @@ $dir = basename(($dirT)); $dh = opendir($path); $i=1; while (($file = readdir($dh)) !== false) { - if($file != "." && $file != ".." && $file != "index.php" && $file != ".htaccess" && $file != "error_log" && $file != "src" && $file != "cgi-bin") { + if($file != "." && $file != ".." && $file != "index.php" && $file != ".htaccess" && $file != "error_log" && $file != "src" && $file != ".git" && $file != "LICENSE.md" && $file != "README.md" && $file != "cgi-bin") { if (filetype($file) == "dir") { echo "folder$file
";