19 include __DIR__ .
'/header.php';
25 if (!
$xoops->security()->check()) {
26 $xoops->redirect(
'index.php', 5, implode(
',',
$xoops->security()->getErrors()));
28 if (
$type ==
'config') {
46 $xoops->theme()->addStylesheet(
'modules/xcaptcha/css/moduladmin.css');
49 if (
$type ==
'config') {
50 $admin_page->displayNavigation(
'index.php?type=config');
56 $title = constant(
'_XCAPTCHA_FORM_' . strtoupper(
$type));
61 $xoops->redirect(
'index.php', 5, _AM_XCAPTCHA_ERROR);
68 include __DIR__ .
'/footer.php';
if(file_exists($mainfile)) elseif(file_exists(__DIR__. '/install/index.php')) $xoops