} /// sizeof($items);exit; // Language constants $moduleName = $myts->displayTarea($xoopsModule->getVar('name')); $xoopsTpl->assign(array('lang_on' => _MD_SS_ON, 'lang_postedby' => _MD_SS_POSTEDBY, 'lang_total' => $totalItemsOnPage, 'lang_item' => _MD_SS_TITLE, 'lang_datesub' => _MD_SS_DATESUB, 'lang_hits' => _MD_SS_HITS)); $xoopsTpl->assign('lang_mainintro', $myts->displayTarea($xoopsModuleConfig['indexwelcomemsg'], 1)); $xoopsTpl->assign('sectionname', $moduleName); $xoopsTpl->assign('whereInSection', $moduleName); $xoopsTpl->assign('module_home', ss_module_home(false)); $xoopsTpl->assign('indexfooter', ss_getConfig('indexfooter')); // Category Navigation Bar include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; $pagenav = new XoopsPageNav($totalCategories, $xoopsModuleConfig['catperpage'], $catstart, 'catstart', ''); if ($xoopsModuleConfig['useimagenavpage'] == 1) { $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>'); } else { $xoopsTpl->assign('catnavbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'); } // ITEM Navigation Bar $pagenav = new XoopsPageNav($totalItems, $xoopsModuleConfig['indexperpage'], $start, 'start', ''); if ($xoopsModuleConfig['useimagenavpage'] == 1) { $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>'); } else { $xoopsTpl->assign('navbar', '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'); } //show subcategories $xoopsTpl->assign('show_subcats', $xoopsModuleConfig['show_subcats']); $xoopsTpl->assign('displaylastitems', $xoopsModuleConfig['displaylastitems']); // MetaTag Generator smartsection_createMetaTags($moduleName, '', $myts->displayTarea($xoopsModuleConfig['indexwelcomemsg'])); include_once XOOPS_ROOT_PATH . "/footer.php";
$xoopsTpl->assign('lang_files_linked', _MD_SS_FILES_LINKED); $xoopsTpl->assign('lang_file_name', _MD_SS_FILENAME); $xoopsTpl->assign('lang_file_type', _MD_SS_FILE_TYPE); $xoopsTpl->assign('lang_hits', _MD_SS_HITS); $xoopsTpl->assign('lang_download_file', _MD_SS_DOWNLOAD_FILE); $xoopsTpl->assign('lang_page', _MD_SS_PAGE); $xoopsTpl->assign('lang_previous_item', _MD_SS_PREVIOUS_ITEM); $xoopsTpl->assign('lang_next_item', _MD_SS_NEXT_ITEM); $xoopsTpl->assign('module_home', ss_module_home($xoopsModuleConfig['linkedPath'])); $xoopsTpl->assign('categoryPath', $item['categoryPath'] . " > " . $item['title']); $xoopsTpl->assign('commentatarticlelevel', $xoopsModuleConfig['commentatarticlelevel']); $xoopsTpl->assign('com_rule', ss_getConfig('com_rule')); $xoopsTpl->assign('lang_items_links', _MD_SS_ITEMS_LINKS); $xoopsTpl->assign('previous_item_link', $previous_item_link); $xoopsTpl->assign('next_item_link', $next_item_link); $xoopsTpl->assign('previous_item_url', $previous_item_url); $xoopsTpl->assign('next_item_url', $next_item_url); $xoopsTpl->assign('other_items', $xoopsModuleConfig['other_items_type']); $xoopsTpl->assign('itemfooter', ss_getConfig('itemfooter')); // MetaTag Generator smartsection_createMetaTags($itemObj->title(), $categoryObj->name(), $itemObj->summary()); // Include the comments if the selected ITEM supports comments if ($itemObj->cancomment() == 1 || !$xoopsModuleConfig['commentatarticlelevel'] && ss_getConfig('com_rule') != 0) { include_once XOOPS_ROOT_PATH . "/include/comment_view.php"; } //code to include smartie if (file_exists(XOOPS_ROOT_PATH . '/modules/smarttie/smarttie_links.php')) { include_once XOOPS_ROOT_PATH . '/modules/smarttie/smarttie_links.php'; } //end code for smarttie include_once XOOPS_ROOT_PATH . '/footer.php';
$xoopsTpl->assign('whereInSection', $myts->displayTarea($xoopsModule->getVar('name'))); $xoopsTpl->assign('modulename', $xoopsModule->dirname()); $xoopsTpl->assign('lang_category_summary', sprintf(_MD_SS_CATEGORY_SUMMARY, $categoryObj->name())); $xoopsTpl->assign('lang_category_summary_info', sprintf(_MD_SS_CATEGORY_SUMMARY_INFO, $categoryObj->name())); $xoopsTpl->assign('lang_items_title', sprintf(_MD_SS_ITEMS_TITLE, $categoryObj->name())); $xoopsTpl->assign('lang_items_info', _MD_SS_ITEMS_INFO); $xoopsTpl->assign('module_home', ss_module_home($xoopsModuleConfig['linkedPath'])); $xoopsTpl->assign('categoryPath', $category['categoryPath']); $xoopsTpl->assign('lang_name_column', _MD_SS_NAME); $xoopsTpl->assign('lang_empty', _MD_SS_EMPTY); $xoopsTpl->assign('lang_view_more', _MD_SS_VIEW_MORE); //$xoopsTpl->assign('lang_items_list', _MD_SS_ITEMS_LIST); //$xoopsTpl->assign('lang_link_xplain', _MD_SS_LINK_XPLAIN); // The Navigation Bar include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; $pagenav = new XoopsPageNav($thiscategory_itemcount, $xoopsModuleConfig['indexperpage'], $start, 'start', 'categoryid=' . $categoryObj->getVar('categoryid')); if ($xoopsModuleConfig['useimagenavpage'] == 1) { $category['navbar'] = '<div style="text-align:right;">' . $pagenav->renderImageNav() . '</div>'; } else { $category['navbar'] = '<div style="text-align:right;">' . $pagenav->renderNav() . '</div>'; } //echo $category['last_title_link'];exit; $xoopsTpl->assign('category', $category); // MetaTag Generator smartsection_createMetaTags($categoryObj->name(), '', $categoryObj->description()); //code to include smartie if (file_exists(XOOPS_ROOT_PATH . '/modules/smarttie/smarttie_links.php')) { include_once XOOPS_ROOT_PATH . '/modules/smarttie/smarttie_links.php'; } //end code for smarttie include_once XOOPS_ROOT_PATH . "/footer.php";