root/trunk/about_us.php
| Revision 6178, 2.0 kB (checked in by dark, 10 months ago) |
|---|
| 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 | |
| 21 | require_once( 'inc/header.inc.php' ); |
| 22 | require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' ); |
| 23 | |
| 24 | // --------------- page variables and login |
| 25 | |
| 26 | $_page['name_index'] = 11; |
| 27 | $_page['css_name'] = 'about_us.css'; |
| 28 | |
| 29 | |
| 30 | if ( !( $logged['admin'] = member_auth( 1, false ) ) ) |
| 31 | { |
| 32 | if ( !( $logged['member'] = member_auth( 0, false ) ) ) |
| 33 | { |
| 34 | if ( !( $logged['aff'] = member_auth( 2, false )) ) |
| 35 | { |
| 36 | $logged['moderator'] = member_auth( 3, false ); |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | $_page['header'] = _t( "_ABOUT_US_H" ); |
| 42 | $_page['header_text'] = _t( "_ABOUT_US_H1", $site['title'] ); |
| 43 | |
| 44 | // --------------- page components |
| 45 | |
| 46 | $_ni = $_page['name_index']; |
| 47 | $_page_cont[$_ni]['page_main_code'] = PageCompMainCode(); |
| 48 | |
| 49 | // --------------- [END] page components |
| 50 | |
| 51 | PageCode(); |
| 52 | |
| 53 | // --------------- page components functions |
| 54 | |
| 55 | /** |
| 56 | * page code function |
| 57 | */ |
| 58 | function PageCompMainCode() |
| 59 | { |
| 60 | global $oTemplConfig; |
| 61 | |
| 62 | $ret = _t( "_ABOUT_US" ); |
| 63 | |
| 64 | return DesignBoxContent( _t("_About Us"), $ret, $oTemplConfig -> PageCompThird_db_num ); |
| 65 | } |
| 66 | ?> |
| 67 |
Note: See TracBrowser for help on using the browser.










