in the index.php file I have the following: <?
/************************************************* **************************
* Dolphin Smart Community Builder
* -----------------
* Begin: Mon Mar 23 2006
* Copyright: (C) 2006 BoonEx Group
* Website:
http://www.boonex.com/
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
* Http://creativecommons.org/licenses/by/3.0/
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* Without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details.
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin
* See license.txt file; if not, write to marketing@boonex.com
************************************************** *************************/
if (! file_exists ( "inc / header.inc.php"))
(
/ / This is dynamic page - send headers to do not cache this page
$ Now = gmdate ( 'D, d M Y H: i: s'). 'GMT';
Header ( "Expires: $ now");
Header ( "Last-Modified: $ now");
header ( "Cache-Control: no-cache, must-revalidate");
Header ( "Pragma: no-cache");
echo "It seems to be script is not <b> </ b> installed. <br /> \ n";
If (file_exists ( "install / index.php")) (
echo "Please, wait. Redirecting you to installation form ... <br /> \ n";
echo "<script language=\"Javascript\"> location.href = 'install / index.php' </ script> \ n";
)
Exit;
)
require_once ( 'inc / header.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'design.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'admin.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'db.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'profiles.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'prof.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'members.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'news.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'quotes.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'utils.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'membership_levels.inc.php');
require_once (BX_DIRECTORY_PATH_INC. 'tags.inc.php');
require_once (BX_DIRECTORY_PATH_ROOT. "templates / tmpl_ ($ tmpl) / scripts / BxTemplVotingView.php");
require_once (BX_DIRECTORY_PATH_CLASSES. 'BxDolArticles.php');
require_once (BX_DIRECTORY_PATH_CLASSES. 'BxDolClassifieds.php');
require_once (BX_DIRECTORY_PATH_CLASSES. 'BxDolEvents.php');
require_once (BX_DIRECTORY_PATH_CLASSES. 'BxDolBlogs.php');
require_once (BX_DIRECTORY_PATH_CLASSES. 'BxDolGroups.php');
require_once (BX_DIRECTORY_PATH_CLASSES. 'BxDolPageView.php');
require_once (BX_DIRECTORY_PATH_CLASSES. 'BxDolSharedMedia.php');
require (BX_DIRECTORY_PATH_ROOT. "templates / base / scripts / BxBaseIndex.php");
require (BX_DIRECTORY_PATH_ROOT. "templates / tmpl_ ($ tmpl) / scripts / BxTemplIndex.php");
check_logged ();
$ _PAGE [ 'name_index'] = 1;
$ _PAGE [ 'header'] = $ site [ 'title'];
$ _PAGE [ 'header_text'] = $ site [ 'title'];
$ _PAGE [ 'css_name'] = 'index.css';
$ oIPV = new BxTemplIndexPageView ();
$ $ _PAGE _ni = [ 'name_index'];
$ _page_cont [$ _ni] [ 'promo_code'] = getPromoCode ();
$ _page_cont [$ _ni] [ 'page_main_code'] = $ oIPV -> getCode ();
/ / Add email to notify emails list
if ($ _POST [ 'subscribe'] & & $ _POST [ 'subscribe_submit'])
AddNotifyEmail ($ _POST [ 'subscribe']);
PageCode ();