Filter:   InfoImg
download HPE.inc
Language: NonCode
LOC: 0
Project Info
HPE
Server: SourceForge
Type: cvs
[Show Code]
[Show Code]
...ceForge\h\hpe\hpe\hpe1\HPE\
   .cvsignore
   clickerr.inc
   config.inc
   Config_File.class.php
   database.inc
   database.mysql.inc
   database.pear.inc
   FormChek.js
   HPE.inc
   HPEbase.inc
   HPEUsers.default.xml
   HPEUsers.guest.xml
   layout.js
   local.inc
   modules.inc
   ...andlers.addChannel.ftsc
   navcond.js
   newsaccess.inc
   newssource.inc
   newstools.js
   overlib.js
   overlib_mini.js
   pagemaker.inc
   pages.inc
   PHPClientSniffer.inc
   phpodp.inc
   publisher.inc
   services.inc
   sitelister.inc
   Smarty.addons.php
   Smarty.class.php
   Smarty_Compiler.class.php
   sourcetools.js
   thememaker.inc
   toparser.inc
   user.edit.inc
   user.inc
   xmlrpc.inc
   xmlrpcs.inc
   xmltree.inc

<?
/*

HPE - News Portal Engine
Copyright (C) 2000-2001 Mike Krus

This program is free software; it 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.  

READ LICENSE.TXT IN THE BASE DIRECTORY FOR INFORMATION 
ABOUT REDISTRIBUTING THIS SOURCE CODE

*/

if(!isset($HPEinc))
	die("no \$HPEinc variable defined in HPE/local.inc");
require_once "$HPEinc/HPEbase.inc";
require_once "$HPEinc/user.inc";


if(!isset($HPENOSESSION))
{
/*
    session_start();
    session_register("HPEtheUserID");
    if(empty($HPEtheUserID))
	    $HPEtheUserID = 0;
	$HPEtheUser	= new HPEUserInfo();
	$HPEtheUser->init($HPEtheUserID, false);
    session_register("HPEtheUser");
    if(empty($HPEtheUser))
	{
		$HPEtheUser	= new HPEUserInfo();

		if(isset($HPE_remember_ps) && isset($HPE_remember_id))
		{
			require_once "$HPEinc/user.edit.inc";
			$id = 0;
			$HPEtheUserEdit->checklogin($HPE_remember_id, $HPE_remember_ps, $id);
		}
	}
*/
	HPELoadSession();
}

if($HPEtheUser->userid == -1)
	$HPEtheUser->init(0);
if(isset($USERLANG)) 
	$HPEtheUser->lang = strtolower($USERLANG);
if(!isset($mode))
	$mode = $HPEtheUser->theme;

$HPEtheThemeMaker->initTheme($mode);

if(!isset($HPENOHEADER))
{
	if($HPEtheUser->userid == 0 || isset($HPENOCACHE))
	{
		header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
		header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
		header ("Cache-Control: no-cache, must-revalidate");
		header ("Pragma: no-cache");
	}
	else
	{
		header ("Expires: " . gmdate("D, d M Y H:i:s", time() + 900) . " GMT");
		header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
	}
}


if($HPEtheUser->userid > 0)
{
	$HPEtheUser->ValidateSession();
	HPELogSession();
}


$HPEthePager->countview();

require_once "$HPEinc/newsaccess.inc";

if(!isset($page))
	$page = -1;

?>