Code Duplication    Length = 3-8 lines in 2 locations

class/Utility.php 1 location

@@ 1081-1088 (lines=8) @@
1078
                              ORDER BY term
1079
                              LIMIT $start,$limit");
1080
1081
    while ($row = $xoopsDB->fetchArray($sql)) {
1082
        $xoopsTpl->append('entries', array(
1083
                'id'      => $row['entryID'],
1084
                'name'    => $row['term'],
1085
                'date'    => date($xoopsModuleConfig['dateformat'], $row['datesub']),
1086
                'counter' => $row['counter']
1087
            ));
1088
    }
1089
1090
    $navstring                = '';
1091
    $navstring                .= 'uid=' . $uid . '&start';

include/functions.php 1 location

@@ 649-651 (lines=3) @@
646
                              ORDER BY term
647
                              LIMIT $start,$limit");
648
649
    while ($row=$xoopsDB->fetchArray($sql)) {
650
        $xoopsTpl->append('entries', array('id'=>$row['entryID'],'name'=>$row['term'],'date'=>date($xoopsModuleConfig['dateformat'], $row['datesub']),'counter'=>$row['counter']));
651
    }
652
653
    $navstring = '';
654
    $navstring .= "uid=".$uid."&start";