├── .gitignore
├── setup
├── skin
│ ├── index.php
│ ├── css
│ │ ├── index.php
│ │ └── doorgets_installer.css
│ └── img
│ │ ├── index.php
│ │ ├── bt.png
│ │ ├── bt_off.png
│ │ ├── bg_title.png
│ │ ├── bt_hover.png
│ │ └── bt_off_hover.png
├── config
│ ├── index.php
│ └── config.php
├── data
│ ├── index.php
│ ├── database.zip
│ └── doorgets.zip
├── temp
│ └── index.php
├── cache
│ ├── index.php
│ └── template
│ │ ├── index.php
│ │ ├── wrapper.tpl.php
│ │ ├── footer.tpl.php
│ │ ├── goback.tpl.php
│ │ ├── header.tpl.php
│ │ ├── root.tpl.php
│ │ ├── admin.tpl.php
│ │ ├── chmod.tpl.php
│ │ ├── polymorphic.tpl.php
│ │ ├── database.tpl.php
│ │ └── website.tpl.php
└── doorgets
│ ├── locale
│ ├── su.lg.php
│ ├── tu.lg.php
│ ├── en.lg.php
│ ├── pl.lg.php
│ ├── ru.lg.php
│ ├── po.lg.php
│ ├── es.lg.php
│ ├── it.lg.php
│ ├── de.lg.php
│ ├── fr.lg.php
│ └── temp.lg.php
│ ├── routers
│ └── installerRouter.php
│ ├── template
│ ├── wrapper.tpl.php
│ ├── goback.tpl.php
│ ├── footer.tpl.php
│ ├── header.tpl.php
│ ├── root.tpl.php
│ ├── admin.tpl.php
│ ├── chmod.tpl.php
│ ├── polymorphic.tpl.php
│ ├── database.tpl.php
│ └── website.tpl.php
│ ├── app
│ ├── views
│ │ ├── licenceView.php
│ │ ├── polymorphicView.php
│ │ ├── adminView.php
│ │ ├── databaseView.php
│ │ ├── websiteView.php
│ │ ├── chmodView.php
│ │ └── rootView.php
│ ├── controllers
│ │ ├── rootController.php
│ │ ├── adminController.php
│ │ ├── chmodController.php
│ │ ├── databaseController.php
│ │ ├── licenceController.php
│ │ ├── websiteController.php
│ │ └── polymorphicController.php
│ └── models
│ │ ├── chmodModel.php
│ │ ├── rootModel.php
│ │ ├── licenceModel.php
│ │ ├── adminModel.php
│ │ ├── websiteModel.php
│ │ ├── databaseModel.php
│ │ └── polymorphicModel.php
│ └── core
│ ├── doorgetsModel.php
│ ├── doorgetsView.php
│ ├── doorgetsController.php
│ ├── CRUD.php
│ ├── Langue.php
│ ├── Template.php
│ ├── doorgetsInstaller.php
│ └── Formulaire.php
├── README.md
├── composer.json
└── index.php
/.gitignore:
--------------------------------------------------------------------------------
1 | /vendor/
2 |
--------------------------------------------------------------------------------
/setup/skin/index.php:
--------------------------------------------------------------------------------
1 | =5.3.3"
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/setup/doorgets/locale/su.lg.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 |
35 | $doorGetsInstaller = new doorgetsInstaller();
36 | echo $doorGetsInstaller->getHtmlContent();
--------------------------------------------------------------------------------
/setup/doorgets/template/wrapper.tpl.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 | ?>{{!$this->getHtmlHeader();}}
34 |
35 | {{!$this->content;}}
36 |
37 | {{!$this->getHtmlFooter();}}
--------------------------------------------------------------------------------
/setup/cache/template/wrapper.tpl.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 | echo $this->getHtmlHeader(); ?>
34 |
35 | content; ?>
36 |
37 | getHtmlFooter(); ?>
--------------------------------------------------------------------------------
/setup/doorgets/app/views/licenceView.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class licenceView extends doorgetsView{
35 |
36 | public function __construct($doorgets){
37 | parent::__construct($doorgets);
38 | }
39 |
40 | }
--------------------------------------------------------------------------------
/setup/doorgets/app/views/polymorphicView.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class polymorphicView extends doorgetsView{
35 |
36 | public function __construct($doorgets){
37 | parent::__construct($doorgets);
38 | }
39 |
40 | }
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | session_start();
35 |
36 | define('BASE','./setup/');
37 | define('DOORGETS','http://www.doorgets.com/'); // Ne pas supprimer
38 | require_once BASE.'config/config.php';
39 |
40 | require_once ROUTER.'installerRouter.php';
--------------------------------------------------------------------------------
/setup/doorgets/app/controllers/rootController.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class rootController extends doorgetsController{
35 |
36 | public function __construct($doorgets){
37 |
38 | parent::__construct($doorgets);
39 |
40 | }
41 |
42 | }
--------------------------------------------------------------------------------
/setup/doorgets/app/controllers/adminController.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class adminController extends doorgetsController{
35 |
36 | public function __construct($doorgets){
37 |
38 | parent::__construct($doorgets);
39 |
40 | }
41 |
42 | }
--------------------------------------------------------------------------------
/setup/doorgets/app/controllers/chmodController.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class chmodController extends doorgetsController{
35 |
36 | public function __construct($doorgets){
37 |
38 | parent::__construct($doorgets);
39 |
40 | }
41 |
42 | }
--------------------------------------------------------------------------------
/setup/doorgets/app/controllers/databaseController.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class databaseController extends doorgetsController{
35 |
36 | public function __construct($doorgets){
37 |
38 | parent::__construct($doorgets);
39 |
40 | }
41 |
42 | }
--------------------------------------------------------------------------------
/setup/doorgets/app/controllers/licenceController.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class licenceController extends doorgetsController{
35 |
36 | public function __construct($doorgets){
37 |
38 | parent::__construct($doorgets);
39 |
40 | }
41 |
42 | }
--------------------------------------------------------------------------------
/setup/doorgets/app/controllers/websiteController.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class websiteController extends doorgetsController{
35 |
36 | public function __construct($doorgets){
37 |
38 | parent::__construct($doorgets);
39 |
40 | }
41 |
42 | }
--------------------------------------------------------------------------------
/setup/doorgets/app/controllers/polymorphicController.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | class polymorphicController extends doorgetsController{
35 |
36 | public function __construct($doorgets){
37 |
38 | parent::__construct($doorgets);
39 |
40 | }
41 |
42 | }
--------------------------------------------------------------------------------
/setup/doorgets/template/goback.tpl.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 | ?>
34 |
35 | {{!$this->form['prev_step']->open('post','','')!}}
36 | {{!$this->form['prev_step']->input('','hidden','hidden','1')!}}
37 | {{!$this->form['prev_step']->submit($this->l('Etape précédente'),'','submit-prev')!}}
38 | {{!$this->form['prev_step']->close()!}}
39 |
--------------------------------------------------------------------------------
/setup/doorgets/template/footer.tpl.php:
--------------------------------------------------------------------------------
1 | Crazy PHP Lover
8 |
9 | /*******************************************************************************
10 |
11 | Website : http://www.doorgets.com
12 | Contact : moonair@doorgets.com
13 |
14 | /*******************************************************************************
15 | -= One life, One code =-
16 | /*******************************************************************************
17 |
18 | This program is free software: you can redistribute it and/or modify
19 | it under the terms of the GNU General Public License as published by
20 | the Free Software Foundation, either version 3 of the License, or
21 | any later version.
22 |
23 | This program is distributed in the hope that it will be useful,
24 | but WITHOUT ANY WARRANTY; without even the implied warranty of
25 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 | GNU General Public License for more details.
27 |
28 | You should have received a copy of the GNU General Public License
29 | along with this program. If not, see .
30 |
31 | ******************************************************************************
32 | ******************************************************************************/
33 |
34 | ?>
35 |
38 |
39 |