$config_file = "config_c.php"; // Full path and name of the config file
/*****************************************************************************
* phpCatLinks v0.4 Copyright (c) 2003-2004 by Jyrki Pesonen *
*****************************************************************************
* *
* My email address: phpcat.links@jyge.net *
* My homepage: http://www.jyge.net/ *
* *
*****************************************************************************
* *
* 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, or (at your option) *
* any later version. *
* *
* This program 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. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, *
* USA. *
* *
*****************************************************************************/
$phpCatLinks_version = "0.4";
require($config_file);
$link_to_parent_page ="http://jyrkipes.kapsi.fi/";
if(!ini_get('register_globals'))
{
$__am = array('COOKIE','POST','GET');
while(list(,$__m) = each($__am))
{
$__ah = &${"HTTP_".$__m."_VARS"};
if(!is_array($__ah))
continue;
while(list($__n, $__v) = each ($__ah))
$$__n = $__v;
}
}
if (!$links_max_results)
$links_max_results = $links_max_results_default;
if ($header_file != "" AND file_exists($header_file))
{
include($header_file);
}
else
{
echo "\n
$links_page_title\n";
if ($styles_file != "" AND file_exists($styles_file))
{
include($styles_file);
}
echo "\n\n";
}
echo "\n\n\n\n";
?>
Jyrki Pesonen 2011.07.31
if ($footer_file != "" AND file_exists($footer_file))
{
include($footer_file); ?>
}
else
{
echo "\n\n";
}
?>