1 | <?php
|
---|
2 |
|
---|
3 | /***************************************************************************
|
---|
4 | * Dolphin Smart Community Builder
|
---|
5 | * -----------------
|
---|
6 | * begin : Mon Mar 23 2006
|
---|
7 | * copyright : (C) 2006 BoonEx Group
|
---|
8 | * website : http://www.boonex.com/
|
---|
9 | * This file is part of Dolphin - Smart Community Builder
|
---|
10 | *
|
---|
11 | * Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
|
---|
12 | * http://creativecommons.org/licenses/by/3.0/
|
---|
13 | *
|
---|
14 | * Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
---|
15 | * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
---|
16 | * See the Creative Commons Attribution 3.0 License for more details.
|
---|
17 | * You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
|
---|
18 | * see license.txt file; if not, write to marketing@boonex.com
|
---|
19 | ***************************************************************************/
|
---|
20 |
|
---|
21 | require_once( '../inc/header.inc.php' );
|
---|
22 |
|
---|
23 | $GLOBALS['iAdminPage'] = 1;
|
---|
24 |
|
---|
25 | require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
|
---|
26 | require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
|
---|
27 | require_once( BX_DIRECTORY_PATH_INC . 'admin_design.inc.php' );
|
---|
28 | require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );
|
---|
29 | bx_import('BxDolAdminSettings');
|
---|
30 |
|
---|
31 | $logged['admin'] = member_auth( 1, true, true );
|
---|
32 |
|
---|
33 | $oSettings = new BxDolAdminSettings(0);
|
---|
34 |
|
---|
35 | //--- Process submit ---//
|
---|
36 | $sResult = '';
|
---|
37 | if(isset($_POST['save']) && isset($_POST['cat'])) {
|
---|
38 | $sResult = $oSettings->saveChanges($_POST);
|
---|
39 | }
|
---|
40 |
|
---|
41 | $iNameIndex = 3;
|
---|
42 | $_page = array(
|
---|
43 | 'name_index' => $iNameIndex,
|
---|
44 | 'css_name' => array('forms_adv.css', 'settings.css'),
|
---|
45 | 'header' => _t('_adm_page_cpt_settings'),
|
---|
46 | 'header_text' => _t('_adm_box_cpt_settings_advanced')
|
---|
47 | );
|
---|
48 | $_page_cont[$iNameIndex]['page_result_code'] = $sResult;
|
---|
49 | $_page_cont[$iNameIndex]['page_main_code'] = $oSettings->getForm(array('1','3','8','12','15','13','23'));
|
---|
50 | define('BX_PROMO_CODE', adm_hosting_promo());
|
---|
51 |
|
---|
52 | PageCodeAdmin();
|
---|
53 |
|
---|
54 | ?>
|
---|