├── public
├── js
│ ├── main.js
│ └── popper.min.js
├── css
│ ├── style.css
│ ├── font-awesome
│ │ ├── fonts
│ │ │ ├── FontAwesome.otf
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.ttf
│ │ │ ├── fontawesome-webfont.woff
│ │ │ └── fontawesome-webfont.woff2
│ │ ├── less
│ │ │ ├── fixed-width.less
│ │ │ ├── screen-reader.less
│ │ │ ├── larger.less
│ │ │ ├── list.less
│ │ │ ├── core.less
│ │ │ ├── stacked.less
│ │ │ ├── font-awesome.less
│ │ │ ├── bordered-pulled.less
│ │ │ ├── rotated-flipped.less
│ │ │ ├── path.less
│ │ │ ├── animated.less
│ │ │ ├── mixins.less
│ │ │ └── variables.less
│ │ ├── scss
│ │ │ ├── _fixed-width.scss
│ │ │ ├── _screen-reader.scss
│ │ │ ├── _larger.scss
│ │ │ ├── _list.scss
│ │ │ ├── _core.scss
│ │ │ ├── font-awesome.scss
│ │ │ ├── _stacked.scss
│ │ │ ├── _bordered-pulled.scss
│ │ │ ├── _rotated-flipped.scss
│ │ │ ├── _path.scss
│ │ │ ├── _animated.scss
│ │ │ ├── _mixins.scss
│ │ │ └── _variables.scss
│ │ ├── HELP-US-OUT.txt
│ │ └── css
│ │ │ └── font-awesome.min.css
│ └── font-awesome.min.css
├── index.php
└── .htaccess
├── .gitignore
├── app
├── .htaccess
├── helpers
│ ├── url_helper.php
│ ├── datetime_helper.php
│ └── session_helper.php
├── views
│ ├── pages
│ │ ├── about.php
│ │ └── index.php
│ ├── inc
│ │ ├── footer.php
│ │ ├── header.php
│ │ └── navbar.php
│ ├── posts
│ │ ├── show.php
│ │ ├── index.php
│ │ ├── add.php
│ │ └── edit.php
│ └── users
│ │ ├── login.php
│ │ ├── index.php
│ │ ├── add.php
│ │ ├── changepassword.php
│ │ └── register.php
├── config
│ └── config.php
├── bootstrap.php
├── controllers
│ ├── Pages.php
│ ├── Posts.php
│ └── Users.php
├── libraries
│ ├── Controller.php
│ ├── Core.php
│ └── Database.php
└── models
│ ├── Post.php
│ └── User.php
├── examples
├── readme.txt
├── mvc-apache2.conf
└── mvc-create-database.sql
├── .htaccess
└── readme.md
/public/js/main.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 |
--------------------------------------------------------------------------------
/app/.htaccess:
--------------------------------------------------------------------------------
1 | Options -Indexes
--------------------------------------------------------------------------------
/examples/readme.txt:
--------------------------------------------------------------------------------
1 | Default MVC App User: admin@admin.com
2 | Default MVC App PasswordUser: mvc123
3 |
--------------------------------------------------------------------------------
/public/css/style.css:
--------------------------------------------------------------------------------
1 | body {background: #FFF;}
2 | p.breakline {
3 | white-space: pre-wrap;
4 | word-break: normal;
5 | }
--------------------------------------------------------------------------------
/public/css/font-awesome/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wanderleihuttel/php-mvc/HEAD/public/css/font-awesome/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/public/css/font-awesome/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wanderleihuttel/php-mvc/HEAD/public/css/font-awesome/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/public/css/font-awesome/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wanderleihuttel/php-mvc/HEAD/public/css/font-awesome/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/public/css/font-awesome/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/wanderleihuttel/php-mvc/HEAD/public/css/font-awesome/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 |
Version: 5 |
Date: 6 | -------------------------------------------------------------------------------- /public/css/font-awesome/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /app/views/pages/index.php: -------------------------------------------------------------------------------- 1 | 2 |
6 | 7 |
8 |