<?php // $Revision: 1.5 $
/*********************************************************************/
/ phpAdsNew 2 /
/ =========== /
/ /
/ Copyright (c) 2001 by the phpAdsNew developers /
/ http://sourceforge.net/projects/phpadsnew /
/ /
/ This program is free software. You can redistribute it and/or modify /
/ it under the terms of the GNU General Public License as published by /
/ the Free Software Foundation; either version 2 of the License. /
/*********************************************************************/
// Include required files
require ("config.php");
// Security check
phpAds_checkAccess(phpAds_Admin+phpAds_Client);
/******************************************************/
/ Main code /
/******************************************************/
if (phpAds_isUser(phpAds_Admin))
{
Header("Location: $phpAds_url_prefix/admin/stats-index.php");
exit;
}
if (phpAds_isUser(phpAds_Client))
{
Header("Location: $phpAds_url_prefix/admin/stats-index.php");
exit;
}
?>