1 | <?php |
||
2 | /* |
||
3 | ------------------------------------------------------------------------- |
||
4 | ADSLIGHT 2 : Module for Xoops |
||
5 | |||
6 | Redesigned and ameliorate By Luc Bizet user at www.frxoops.org |
||
7 | Started with the Classifieds module and made MANY changes |
||
8 | Website : http://www.luc-bizet.fr |
||
9 | Contact : [email protected] |
||
10 | ------------------------------------------------------------------------- |
||
11 | Original credits below Version History |
||
12 | ########################################################################## |
||
13 | # Classified Module for Xoops # |
||
14 | # By John Mordo user jlm69 at www.xoops.org and www.jlmzone.com # |
||
15 | # Started with the MyAds module and made MANY changes # |
||
16 | ########################################################################## |
||
17 | Original Author: Pascal Le Boustouller |
||
18 | Author Website : [email protected] |
||
19 | Licence Type : GPL |
||
20 | ------------------------------------------------------------------------- |
||
21 | */ |
||
22 | |||
23 | if (file_exists(__DIR__ . '/mainfile.php')) { |
||
24 | include __DIR__ . '/mainfile.php'; |
||
25 | } elseif (file_exists(__DIR__ . '/../mainfile.php')) { |
||
26 | include __DIR__ . '/../mainfile.php'; |
||
27 | } else { |
||
28 | include dirname(dirname(__DIR__)) . '/mainfile.php'; |
||
29 | } |
||
30 | include XOOPS_ROOT_PATH . '/header.php'; |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
31 | |||
32 | $GLOBALS['xoopsTpl']->assign('xoops_showrblock', 1); // 1 = Avec blocs de droite - 0 = Sans blocs de droite |
||
33 | $GLOBALS['xoopsTpl']->assign('xoops_showlblock', 1); // 1 = Avec blocs de gauche - 0 = Sans blocs de gauche |
||
34 | $GLOBALS['xoopsTpl']->assign('xoops_pagetitle', _MN_ADSLIGHT_ERROR404); |
||
35 | $GLOBALS['xoTheme']->addMeta('meta', 'robots', 'noindex, nofollow'); |
||
36 | |||
37 | echo _MN_ADSLIGHT_ERROR404_TEXT; |
||
38 | |||
39 | include XOOPS_ROOT_PATH . '/footer.php'; |
||
40 |