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 | require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
|
---|
23 | require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
|
---|
24 |
|
---|
25 | // --------------- page variables and login
|
---|
26 | $_page['name_index'] = 18;
|
---|
27 | $_page['css_name'] = 'terms_of_use.css';
|
---|
28 |
|
---|
29 | check_logged();
|
---|
30 |
|
---|
31 | $_page['header'] = _t( "_TERMS_OF_USE_H" );
|
---|
32 | $_page['header_text'] = _t( "_TERMS_OF_USE_H1" );
|
---|
33 | // --------------- page components
|
---|
34 |
|
---|
35 | $_ni = $_page['name_index'];
|
---|
36 | $_page_cont[$_ni]['page_main_code'] = PageCompPageMainCode();
|
---|
37 | // --------------- [END] page components
|
---|
38 |
|
---|
39 | PageCode();
|
---|
40 |
|
---|
41 | // --------------- page components functions
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * page code function
|
---|
45 | */
|
---|
46 | function PageCompPageMainCode() {
|
---|
47 | global $oTemplConfig;
|
---|
48 | global $site;
|
---|
49 |
|
---|
50 | $sRet = _t( "_TERMS_OF_USE" );
|
---|
51 | $sRet = '<div class="dbContent">' . str_replace( '<site>', $site['title'], $sRet ) . '</div>';
|
---|
52 |
|
---|
53 | //return DesignBoxContent( _t( "_TERMS_OF_USE_H1" ), $ret, $oTemplConfig -> PageCompThird_db_num);
|
---|
54 | return $sRet;
|
---|
55 | }
|
---|
56 |
|
---|
57 | ?> |
---|