| 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 | $action = $_GET['action']; |
|---|
| 25 | |
|---|
| 26 | if ( strcmp( $action, 'member_logout' ) == 0 |
|---|
| 27 | && isset( $_COOKIE['memberID'] ) |
|---|
| 28 | && isset( $_COOKIE['memberPassword'] ) ) |
|---|
| 29 | { |
|---|
| 30 | setcookie( 'memberID', $_COOKIE['memberID'], time() - 48 * 3600, '/' ); |
|---|
| 31 | setcookie( 'memberPassword', $_COOKIE['memberPassword'], time() - 48 * 3600, '/' ); |
|---|
| 32 | } |
|---|
| 33 | |
|---|
| 34 | if ( strcmp( $action, 'admin_logout' ) == 0 |
|---|
| 35 | && isset( $_COOKIE['adminID'] ) |
|---|
| 36 | && isset( $_COOKIE['adminPassword'] ) ) |
|---|
| 37 | { |
|---|
| 38 | setcookie( 'adminID', $_COOKIE['adminID'], time() - 48 * 3600, '/' ); |
|---|
| 39 | setcookie( 'adminPassword', $_COOKIE['adminPassword'], time() - 48 * 3600, '/' ); |
|---|
| 40 | setcookie( 'new_version', $_COOKIE['new_version'], time() - 48 * 3600, '/' ); |
|---|
| 41 | } |
|---|
| 42 | |
|---|
| 43 | if ( strcmp( $action, 'aff_logout' ) == 0 |
|---|
| 44 | && isset( $_COOKIE['affID'] ) |
|---|
| 45 | && isset( $_COOKIE['affPassword'] ) ) |
|---|
| 46 | { |
|---|
| 47 | setcookie( 'affID', $_COOKIE['affID'], time() - 48 * 3600, '/' ); |
|---|
| 48 | setcookie( 'affPassword', $_COOKIE['affPassword'], time() - 48 * 3600, '/' ); |
|---|
| 49 | } |
|---|
| 50 | |
|---|
| 51 | if ( strcmp( $action, 'moderator_logout' ) == 0 |
|---|
| 52 | && isset( $_COOKIE['moderatorID'] ) |
|---|
| 53 | && isset( $_COOKIE['moderatorPassword'] ) ) |
|---|
| 54 | { |
|---|
| 55 | setcookie( 'moderatorID', $_COOKIE['moderatorID'], time() - 48 * 3600, '/' ); |
|---|
| 56 | setcookie( 'moderatorPassword', $_COOKIE['moderatorPassword'], time() - 48 * 3600, '/' ); |
|---|
| 57 | } |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | $_page['name_index'] = 150;
|
|---|
| 61 | $_page['css_name'] = '';
|
|---|
| 62 |
|
|---|
| 63 | $_ni = $_page['name_index'];
|
|---|
| 64 | $_page_cont[$_ni]['page_main_code'] = MsgBox( _t('_Please Wait') );
|
|---|
| 65 | $_page_cont[$_ni]['url_relocate'] = $site['url'];
|
|---|
| 66 | |
|---|
| 67 | send_headers_page_changed(); |
|---|
| 68 | PageCode();
|
|---|
| 69 | ?> |
|---|