HomeHelpTrac

Changeset 11226 for trunk/advice.php


Ignore:
Timestamp:
07/07/09 03:03:59 (3 years ago)
Author:
Alexander Trofimov
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/advice.php

    r9233 r11226  
    11<?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***************************************************************************/ 
    219 
    320require_once( 'inc/header.inc.php' ); 
    421require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' ); 
     22require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' ); 
    523 
    6 $_page['name_index']    = 7; 
     24// --------------- page variables and login 
     25 
     26$_page['name_index']    = 17; 
    727 
    828check_logged(); 
    929 
     30$_page['header'] = _t( "_ADVICE_H" ); 
     31$_page['header_text'] = _t( "_ADVICE_H1" ); 
     32 
     33// --------------- page components 
     34 
    1035$_ni = $_page['name_index']; 
    11 $_page_cont[$_ni]['page_main_code'] = MainPageCode(); 
     36$_page_cont[$_ni]['page_main_code'] = PageCompMainCode(); 
    1237 
    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 
    1939 
    2040PageCode(); 
    2141 
     42// --------------- page components functions 
     43 
     44 
     45/** 
     46 * page code function 
     47 */ 
     48function 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 
    2254?> 
     55 
Note: See TracChangeset for help on using the changeset viewer.