| @@ 985-989 (lines=5) @@ | ||
| 982 | $tab = ''; |
|
| 983 | while (list($cid, $title, $active, $pid) = $xoopsDB->fetchRow($mainresult)) { |
|
| 984 | //For each cid, get all 'first children' using getFirstChildId() function |
|
| 985 | if ($active != '0') { |
|
| 986 | $activeyn = '' . _MD_YES . ''; |
|
| 987 | } else { |
|
| 988 | $activeyn = '' . _MD_NO . ''; |
|
| 989 | } |
|
| 990 | $output .= '<tr><td>' |
|
| 991 | . $tab |
|
| 992 | . '' |
|
| @@ 1031-1035 (lines=5) @@ | ||
| 1028 | $numrows = $xoopsDB->getRowsNum($childresult); |
|
| 1029 | if ($numrows > 0) { |
|
| 1030 | while (list($cid, $title, $active, $pid) = $xoopsDB->fetchRow($childresult)) { |
|
| 1031 | if ($active != '0') { |
|
| 1032 | $activeyn = '' . _MD_YES . ''; |
|
| 1033 | } else { |
|
| 1034 | $activeyn = '' . _MD_NO . ''; |
|
| 1035 | } |
|
| 1036 | $output .= '<tr><td>' |
|
| 1037 | . $tab |
|
| 1038 | . $plus |
|
| @@ 73-77 (lines=5) @@ | ||
| 70 | echo '<tr><th>' . _MD_TITLE . '</th><th>' . _MD_TYPE . '</th><th>' . _MD_EXT . '</th><th>' . _MD_ACTIVE . "</th></tr>\n"; |
|
| 71 | if ($numrows > 0) { |
|
| 72 | while (list($typeid, $title, $type, $descr, $ext, $status) = $xoopsDB->fetchRow($result)) { |
|
| 73 | if ($status != '0') { |
|
| 74 | $statusyn = '' . _MD_YES . ''; |
|
| 75 | } else { |
|
| 76 | $statusyn = '' . _MD_NO . ''; |
|
| 77 | } |
|
| 78 | echo '<tr><td class="even" valign="top"><a href="' |
|
| 79 | . XOOPS_URL |
|
| 80 | . '/modules/' |
|