|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/* |
|
4
|
|
|
You may not change or alter any portion of this comment or credits |
|
5
|
|
|
of supporting developers from this source code or any supporting source code |
|
6
|
|
|
which is considered copyrighted (c) material of the original comment or credit authors. |
|
7
|
|
|
|
|
8
|
|
|
This program is distributed in the hope that it will be useful, |
|
9
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
11
|
|
|
*/ |
|
12
|
|
|
/** |
|
13
|
|
|
* Module: Equipment |
|
14
|
|
|
* |
|
15
|
|
|
* @category Module |
|
16
|
|
|
* @package equipment |
|
17
|
|
|
* @author swt02026 (https://github.com/swt02026/) |
|
18
|
|
|
* @author XOOPS Development Team <http://xoops.org> |
|
19
|
|
|
* @copyright {@link https://xoops.org/ XOOPS Project} |
|
20
|
|
|
* @license GPL 2.0 or later |
|
21
|
|
|
* @link https://xoops.org/ |
|
22
|
|
|
* @since 1.0.0 |
|
23
|
|
|
*/ |
|
24
|
|
|
|
|
25
|
|
|
$GLOBALS['xoopsOption']['template_main'] = 'equipment_index.tpl'; |
|
26
|
|
|
require_once __DIR__ . '/header.php'; |
|
27
|
|
|
require_once XOOPS_ROOT_PATH . '/header.php'; |
|
28
|
|
|
require_once __DIR__ . '/include/config.php'; |
|
29
|
|
|
// Define Stylesheet |
|
30
|
|
|
$xoTheme->addStylesheet($stylesheet); |
|
31
|
|
|
// keywords |
|
32
|
|
|
EquipmentUtility::meta_keywords(xoops_getModuleOption('keywords', $moduleDirName)); |
|
33
|
|
|
// description |
|
34
|
|
|
EquipmentUtility::meta_description(MD_EQUIPMENT_DESC); |
|
35
|
|
|
// |
|
36
|
|
|
$GLOBALS['xoopsTpl']->assign('xoops_mpageurl', MD_EQUIPMENT_URL . '/index.php'); |
|
37
|
|
|
$GLOBALS['xoopsTpl']->assign('equipment_url', MD_EQUIPMENT_URL); |
|
38
|
|
|
$GLOBALS['xoopsTpl']->assign('adv', xoops_getModuleOption('advertise', $moduleDirName)); |
|
39
|
|
|
// |
|
40
|
|
|
$GLOBALS['xoopsTpl']->assign('bookmarks', xoops_getModuleOption('bookmarks', $moduleDirName)); |
|
41
|
|
|
$GLOBALS['xoopsTpl']->assign('fbcomments', xoops_getModuleOption('fbcomments', $moduleDirName)); |
|
42
|
|
|
// |
|
43
|
|
|
$GLOBALS['xoopsTpl']->assign('admin', MD_EQUIPMENT_ADMIN); |
|
44
|
|
|
$GLOBALS['xoopsTpl']->assign('copyright', $copyright); |
|
45
|
|
|
// |
|
46
|
|
|
require_once XOOPS_ROOT_PATH . '/footer.php'; |
|
47
|
|
|
|