<?php

$xoopsOption['pagetype'] = 'notification';
require_once 'include/common.inc.php';
require_once XOOPS_TRUST_PATH . '/libs/xoonips/class/core/Utils.class.php';

if (!is_object($xoopsUser)) {
  redirect_header('user.php', 3, _NOPERM);
  exit();
}

$uid = $xoopsUser->getVar('uid');
$dirname = Xoonips_Utils::getDirname();
$xoopsOption['template_main'] = $dirname . '_notifications.html';
include XOOPS_ROOT_PATH . '/header.php';
$xoopsTpl->assign('lang_notifications', _MD_XOONIPS_ACCOUNT_NOTIFICATIONS);
$xoopsTpl->assign($dirname . '_editprofile_url', XOOPS_URL . '/edituser.php?uid=' . $uid );
include XOOPS_ROOT_PATH . '/footer.php';

?>
