Beehive PHP Cross Reference Discussion Forums

Source: /start.php - 56 lines - 1955 bytes - Summary - Text - Print

   1  <?php
   2  
   3  /*======================================================================
   4  Copyright Project Beehive Forum 2002
   5  
   6  This file is part of Beehive Forum.
   7  
   8  Beehive Forum is free software; you can redistribute it and/or modify
   9  it under the terms of the GNU General Public License as published by
  10  the Free Software Foundation; either version 3 of the License, or
  11  (at your option) any later version.
  12  
  13  Beehive Forum is distributed in the hope that it will be useful,
  14  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16  GNU General Public License for more details.
  17  
  18  You should have received a copy of the GNU General Public License
  19  along with Beehive; if not, write to the Free Software
  20  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  21  USA
  22  ======================================================================*/
  23  
  24  // Bootstrap
  25  require_once  'boot.php';
  26  
  27  // Required includes
  28  require_once  BH_INCLUDE_PATH . 'cache.inc.php';
  29  require_once  BH_INCLUDE_PATH . 'constants.inc.php';
  30  require_once  BH_INCLUDE_PATH . 'html.inc.php';
  31  // End Required includes
  32  
  33  // Don't cache this page - fixes problems with Opera.
  34  cache_disable();
  35  
  36  // Get the user's saved left frame width.
  37  if (isset($_SESSION['LEFT_FRAME_WIDTH']) && is_numeric($_SESSION['LEFT_FRAME_WIDTH'])) {
  38      $left_frame_width = max(100, $_SESSION['LEFT_FRAME_WIDTH']);
  39  } else {
  40      $left_frame_width = 280;
  41  }
  42  
  43  html_draw_top('frame_set_html', 'pm_popup_disabled');
  44  
  45  $frameset = new html_frameset_cols('start', "$left_frame_width,*");
  46  $frameset->html_frame("thread_list.php?webtag=$webtag", html_get_frame_name('left'));
  47  
  48  if (isset($_GET['show']) && $_GET['show'] == "visitors") {
  49      $frameset->html_frame("visitor_log.php?webtag=$webtag", html_get_frame_name('right'));
  50  } else {
  51      $frameset->html_frame("start_main.php?webtag=$webtag", html_get_frame_name('right'));
  52  }
  53  
  54  $frameset->output_html();
  55  
  56  html_draw_bottom(true);

title

Description

title

Description

title

Description

title

title

Body