| @@ 103-109 (lines=7) @@ | ||
| 100 | if ($thisterm['offline'] == 1 && !$xoopsUserIsAdmin) { |
|
| 101 | redirect_header('javascript:history.go(-1)', 3, _MD_LEXIKON_ENTRYISOFF); |
|
| 102 | } |
|
| 103 | if ($xoopsModuleConfig['multicats'] == 1) { |
|
| 104 | $thisterm['categoryID'] = (int)$categoryID; |
|
| 105 | $catname = $xoopsDB->query('SELECT name FROM ' |
|
| 106 | . $xoopsDB->prefix('lxcategories') |
|
| 107 | . " WHERE categoryID = $categoryID "); |
|
| 108 | while (list($name) = $xoopsDB->fetchRow($catname)) { |
|
| 109 | $thisterm['catname'] = $myts->htmlSpecialChars($name); |
|
| 110 | } |
|
| 111 | } |
|
| 112 | ||
| @@ 92-98 (lines=7) @@ | ||
| 89 | $xoopsModule = XoopsModule::getByDirname('lexikon'); |
|
| 90 | $eachentry['dir'] = $xoopsModule->dirname(); |
|
| 91 | ||
| 92 | if ($xoopsModuleConfig['multicats'] == 1) { |
|
| 93 | $eachentry['catid'] = (int)$categoryID; |
|
| 94 | $resultF = $xoopsDB->query('SELECT name FROM ' |
|
| 95 | . $xoopsDB->prefix('lxcategories') |
|
| 96 | . " WHERE categoryID = $categoryID ORDER BY name ASC"); |
|
| 97 | while (list($name) = $xoopsDB->fetchRow($resultF)) { |
|
| 98 | $eachentry['catname'] = $myts->htmlSpecialChars($name); |
|
| 99 | } |
|
| 100 | } |
|
| 101 | ||
| @@ 188-194 (lines=7) @@ | ||
| 185 | $xoopsModule = XoopsModule::getByDirname('lexikon'); |
|
| 186 | $eachentry['dir'] = $xoopsModule->dirname(); |
|
| 187 | ||
| 188 | if ($xoopsModuleConfig['multicats'] == 1) { |
|
| 189 | $eachentry['catid'] = (int)$categoryID; |
|
| 190 | $resultF = $xoopsDB->query('SELECT name FROM ' |
|
| 191 | . $xoopsDB->prefix('lxcategories') |
|
| 192 | . " WHERE categoryID = $categoryID ORDER BY name ASC"); |
|
| 193 | while (list($name) = $xoopsDB->fetchRow($resultF)) { |
|
| 194 | $eachentry['catname'] = $myts->htmlSpecialChars($name); |
|
| 195 | } |
|
| 196 | } |
|
| 197 | $eachentry['id'] = (int)$entryID; |
|
| @@ 24-29 (lines=6) @@ | ||
| 21 | . $xoopsDB->prefix('lxentries') |
|
| 22 | . " WHERE entryID=$entryID"); |
|
| 23 | $sqlfetch = $xoopsDB->fetchArray($sqlQuery); |
|
| 24 | if ($xoopsModuleConfig['multicats'] == 1) { |
|
| 25 | $cID = $sqlfetch['categoryID']; |
|
| 26 | $sqlquery2 = $xoopsDB->query('SELECT name FROM ' |
|
| 27 | . $xoopsDB->prefix('lxcategories') |
|
| 28 | . " WHERE categoryID = $cID"); |
|
| 29 | $sqlfetch2 = $xoopsDB->fetchArray($sqlquery2); |
|
| 30 | $catname = $myts->htmlSpecialChars($sqlfetch2['name']); |
|
| 31 | } |
|
| 32 | $term = $myts->htmlSpecialChars($sqlfetch['term']); |
|