<?php
/**
* Privacy policy display page
*
* This page displays the privacy policy of the site
*
* @copyright	The ImpressCMS Project http://www.impresscms.org/
* @license		http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)
* @package		core
* @since		1.0
* @author		m0nty_
* @version		$Id: privpolicy.php 441 2008-01-03 12:03:20Z malanciault $
*/

$xoopsOption['pagetype'] = 'privpolicy';

include "mainfile.php";

$xoopsConfigUser =& $config_handler->getConfigsByCat(XOOPS_CONF_USER);

if ($xoopsConfigUser['priv_dpolicy'] !== 1)
{
	redirect_header('index.php', 3, _US_NOPERM);
}

$xoopsOption['template_main'] = 'system_privpolicy.html';
include XOOPS_ROOT_PATH.'/header.php';

$xoopsTpl->assign('priv_enable', true);
$xoopsTpl->assign('priv_poltype', 'page');
$xoopsTpl->assign('priv_policy', $xoopsConfigUser['priv_policy']);
$xoopsTpl->assign('lang_privacy_policy', _PRV_PRIVACY_POLICY);



include XOOPS_ROOT_PATH.'/footer.php';
?>