Changeset 11226 for trunk/advice.php
- Timestamp:
- 07/07/09 03:03:59 (3 years ago)
- File:
-
- 1 edited
-
trunk/advice.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/advice.php
r9233 r11226 1 1 <?php 2 /*************************************************************************** 3 * Dolphin Smart Community Builder 4 * ----------------- 5 * begin : Mon Mar 23 2006 6 * copyright : (C) 2006 BoonEx Group 7 * website : http://www.boonex.com/ 8 * This file is part of Dolphin - Smart Community Builder 9 * 10 * Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License. 11 * http://creativecommons.org/licenses/by/3.0/ 12 * 13 * Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 14 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 * See the Creative Commons Attribution 3.0 License for more details. 16 * You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin, 17 * see license.txt file; if not, write to marketing@boonex.com 18 ***************************************************************************/ 2 19 3 20 require_once( 'inc/header.inc.php' ); 4 21 require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' ); 22 require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' ); 5 23 6 $_page['name_index'] = 7; 24 // --------------- page variables and login 25 26 $_page['name_index'] = 17; 7 27 8 28 check_logged(); 9 29 30 $_page['header'] = _t( "_ADVICE_H" ); 31 $_page['header_text'] = _t( "_ADVICE_H1" ); 32 33 // --------------- page components 34 10 35 $_ni = $_page['name_index']; 11 $_page_cont[$_ni]['page_main_code'] = MainPageCode();36 $_page_cont[$_ni]['page_main_code'] = PageCompMainCode(); 12 37 13 $_page['header'] = _t('_Empty'); 14 $_page['header_text'] = _t('_Empty'); 15 16 function MainPageCode() { 17 return MsgBox('Sorry, Under Development'); 18 } 38 // --------------- [END] page components 19 39 20 40 PageCode(); 21 41 42 // --------------- page components functions 43 44 45 /** 46 * page code function 47 */ 48 function PageCompMainCode() 49 { 50 $sRet = '<div class="dbContent">' . str_replace( '<site_url>', $GLOBALS['site']['url'], _t( "_ADVICE" )) . '</div>'; 51 return DesignBoxContent( _t( "_ADVICE_H1" ), $sRet, $GLOBALS['oTemplConfig'] -> PageCompThird_db_num); 52 } 53 22 54 ?> 55
Note: See TracChangeset
for help on using the changeset viewer.