├── .htaccess
├── README.md
├── application
├── config
│ └── config.php
├── controllers
│ ├── error.php
│ └── main.php
├── helpers
│ ├── session_helper.php
│ └── url_helper.php
├── models
│ └── example_model.php
├── plugins
│ └── .gitignore
└── views
│ ├── footer.php
│ ├── header.php
│ └── main_view.php
├── index.php
├── license.txt
├── static
├── .gitignore
├── css
│ └── style.css
├── images
│ └── .gitignore
└── js
│ └── .gitignore
└── system
├── controller.php
├── model.php
├── pip.php
└── view.php
/.htaccess:
--------------------------------------------------------------------------------
1 |
Looks like this page doesn\'t exist
'; 14 | } 15 | 16 | } 17 | 18 | ?> 19 | -------------------------------------------------------------------------------- /application/controllers/main.php: -------------------------------------------------------------------------------- 1 | loadView('main_view'); 8 | $template->render(); 9 | } 10 | 11 | } 12 | 13 | ?> 14 | -------------------------------------------------------------------------------- /application/helpers/session_helper.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/helpers/url_helper.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/models/example_model.php: -------------------------------------------------------------------------------- 1 | escapeString($id); 8 | $result = $this->query('SELECT * FROM something WHERE id="'. $id .'"'); 9 | return $result; 10 | } 11 | 12 | } 13 | 14 | ?> 15 | -------------------------------------------------------------------------------- /application/plugins/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ronmarasigan/PIP/f3771dfe4c86b0e0c57d438cac18ae4a84fc4ee0/application/plugins/.gitignore -------------------------------------------------------------------------------- /application/views/footer.php: -------------------------------------------------------------------------------- 1 |