HomeHelpTrac

source: tags/6.1/services.php @ 10242

Revision 10242, 2.0 KB checked in by Alexander Trofimov, 3 years ago (diff)

dolphin 6.1.5, initial commit

Line 
1<?
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
21require_once( 'inc/header.inc.php' );
22require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
23
24// --------------- page variables and login
25
26$_page['name_index']    = 12;
27$_page['css_name']      = 'services.css';
28
29if ( !( $logged['admin'] = member_auth( 1, false ) ) )
30    if ( !( $logged['member'] = member_auth( 0, false ) ) )
31        if ( !( $logged['aff'] = member_auth( 2, false )) )
32            $logged['moderator'] = member_auth( 3, false );
33
34$_page['header'] = _t( "_OUR_SERV" );
35$_page['header_text'] = _t("_services");
36
37// --------------- page components
38
39$_ni = $_page['name_index'];
40$_page_cont[$_ni]['page_main_code'] = PageCompPageMainCode();
41
42// --------------- [END] page components
43
44PageCode();
45
46// --------------- page components functions
47
48
49/**
50 * page code function
51 */
52function PageCompPageMainCode()
53{
54    global $oTemplConfig;
55
56
57    $ret = _t( "_SERV_DESC" );
58
59
60    return DesignBoxContent( _t("_services"),$ret, $oTemplConfig -> PageCompThird_db_num );
61}
62?>
Note: See TracBrowser for help on using the repository browser.