From b491d0ad32414fce5440d86386aa5f49048be1ab Mon Sep 17 00:00:00 2001 From: Mathieu Sanchez Date: Tue, 16 Oct 2018 09:19:07 +0900 Subject: [PATCH] First push --- README.md | 4 +- base.sql | 59 --------------------- index.php | 12 ++--- src/API/API.php | 4 +- src/API/APIError.php | 4 +- src/API/APIRouter.php | 4 +- src/Autoloader.php | 2 +- src/Config.php | 4 +- src/Controller/Controller.php | 4 +- src/Controller/ControllerSite.php | 4 +- src/Controller/Error.php | 2 +- src/Controller/site/Index.php | 4 +- src/Controller/site/SiteError.php | 4 +- src/Controller/site/SiteRouter.php | 2 +- src/{lib => Lib}/functions.php | 6 +-- src/{lib => Lib}/mail/PHPMailerAutoload.php | 0 src/{lib => Lib}/mail/class.phpmailer.php | 0 src/{lib => Lib}/mail/class.smtp.php | 0 src/{lib => Lib}/mail/mail_default.html | 0 src/Model/BDD.php | 10 ++-- src/Model/BDTables.php | 2 +- src/Model/FPDF.php | 2 +- src/Model/Logs.php | 2 +- src/Model/Model.php | 2 +- src/View/Site/tpl/footer.php | 4 +- src/View/Site/tpl/head.php | 8 +-- 26 files changed, 45 insertions(+), 104 deletions(-) delete mode 100644 base.sql rename src/{lib => Lib}/functions.php (98%) rename src/{lib => Lib}/mail/PHPMailerAutoload.php (100%) rename src/{lib => Lib}/mail/class.phpmailer.php (100%) rename src/{lib => Lib}/mail/class.smtp.php (100%) rename src/{lib => Lib}/mail/mail_default.html (100%) diff --git a/README.md b/README.md index 4712458..e919d95 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# base -Base for a new from scratch website +# Web Project for Chung-Ang University web courses + diff --git a/base.sql b/base.sql deleted file mode 100644 index ce1230e..0000000 --- a/base.sql +++ /dev/null @@ -1,59 +0,0 @@ --- phpMyAdmin SQL Dump --- version 4.6.4 --- https://www.phpmyadmin.net/ --- --- Client : 127.0.0.1 --- Généré le : Lun 17 Avril 2017 à 21:00 --- Version du serveur : 5.7.14 --- Version de PHP : 7.0.10 - -SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; -SET time_zone = "+00:00"; - - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8mb4 */; - --- --- Base de données : `base` --- - --- -------------------------------------------------------- - --- --- Structure de la table `logs` --- - -CREATE TABLE `logs` ( - `id` int(10) NOT NULL, - `level` smallint(5) NOT NULL, - `message` varchar(2000) COLLATE utf8_unicode_ci NOT NULL, - `file` varchar(255) COLLATE utf8_unicode_ci NOT NULL, - `line` varchar(6) COLLATE utf8_unicode_ci NOT NULL, - `date` datetime NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; - --- --- Index pour les tables exportées --- - --- --- Index pour la table `logs` --- -ALTER TABLE `logs` - ADD PRIMARY KEY (`id`); - --- --- AUTO_INCREMENT pour les tables exportées --- - --- --- AUTO_INCREMENT pour la table `logs` --- -ALTER TABLE `logs` - MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/index.php b/index.php index f5915ca..276b89f 100644 --- a/index.php +++ b/index.php @@ -1,18 +1,18 @@ - - + + diff --git a/src/View/Site/tpl/head.php b/src/View/Site/tpl/head.php index ae20ed6..9ae64b2 100644 --- a/src/View/Site/tpl/head.php +++ b/src/View/Site/tpl/head.php @@ -18,17 +18,17 @@ - + - + - - + +