Code Duplication    Length = 7-7 lines in 2 locations

html/inc/host.inc 1 location

@@ 113-119 (lines=7) @@
110
        }
111
    }
112
    row2(tra("Created"), time_str($host->create_time));
113
    if (!NO_STATS) {
114
        row2(tra("Total credit"), format_credit_large($host->total_credit));
115
        row2(tra("Average credit"), format_credit($host->expavg_credit));
116
        if (!$anonymous) {
117
            row2(tra("Cross project credit"), cross_project_links($host));
118
        }
119
    }
120
    row2(tra("CPU type"), "$host->p_vendor <br> $host->p_model");
121
    row2(tra("Number of processors"), $host->p_ncpus);
122
    if ($host->serialnum) {

html/inc/team.inc 1 location

@@ 110-116 (lines=7) @@
107
        row2(tra('Web site'), "<a href=$x>$x</a>");
108
    }
109
110
    if (!NO_STATS) {
111
        row2(tra('Total credit'), format_credit_large($team->total_credit));
112
        row2(tra('Recent average credit'), format_credit_large($team->expavg_credit));
113
        if (function_exists('project_team_credit')) {
114
            project_team_credit($team);
115
        }
116
    }
117
    show_badges_row(false, $team);
118
    if (!NO_STATS) {
119
        $x = "";