summaryrefslogtreecommitdiff
path: root/index.php
blob: 280b4e8724d285ea20e5ca362926166fa53e7d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
// $Header: /cvsroot/bitweaver/_bit_boards/index.php,v 1.11 2009/10/01 14:16:58 wjames5 Exp $
// Copyright (c) 2004 bitweaver Messageboards
// All Rights Reserved. See below for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details.
// Initialization
require_once( '../bit_setup_inc.php' );

if( !empty( $_REQUEST['t'] ) || !empty( $_REQUEST['migrate_topic_id'] ) || !empty( $_REQUEST['migrate_post_id'] ) ) {
	require( BOARDS_PKG_PATH.'view_topic_inc.php' );
} elseif (!empty($_REQUEST['b']) || !empty( $_REQUEST['migrate_board_id'] ) ) {
	require( BOARDS_PKG_PATH.'view_board_inc.php' );
} else {
	require( BOARDS_PKG_PATH.'list_boards_inc.php' );
}

?>