Subversion Repositories svn1

Rev

Rev 386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 386 Rev 389
Line 185... Line 185...
185
            **      - Team number - with Xref back to full result
185
            **      - Team number - with Xref back to full result
186
            **      - Full team name
186
            **      - Full team name
187
            **      - Full categoray name - with Xref to category results
187
            **      - Full categoray name - with Xref to category results
188
            **      - Country name
188
            **      - Country name
189
            */
189
            */
190
            if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
190
            if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "finish" ,"html")), team_buf.numb );
191
            print( "%4d",       team_buf.numb );
191
            print( "%4d",       team_buf.numb );
192
 
192
 
193
            print( " %-*s ",     MAX_TM_NAME, team_buf.name );
193
            print( " %-*s ",     MAX_TM_NAME, team_buf.name );
194
 
194
 
195
            if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(filebase, config.team_class[team_buf.teamclass - 1].abr ,"html")), team_buf.numb );
195
            if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(FileBase, config.team_class[team_buf.teamclass - 1].abr ,"html")), team_buf.numb );
196
            print( "%-*s",     LEN_CLASS_NAME, team_buf.teamclass == 0 ? "" : config.team_class[team_buf.teamclass - 1].full_name );
196
            print( "%-*s",     LEN_CLASS_NAME, team_buf.teamclass == 0 ? "" : config.team_class[team_buf.teamclass - 1].full_name );
197
 
197
 
198
            print( " %-*s",     config.num_countries == 0 ? 1 : LEN_CNTRY_NAME,
198
            print( " %-*s",     config.num_countries == 0 ? 1 : LEN_CNTRY_NAME,
199
                                config.num_countries == 0
199
                                config.num_countries == 0
200
                                || team_buf.country ==
200
                                || team_buf.country ==
Line 315... Line 315...
315
    for( k = 1; k <= sort_num_data; k++, ptr++ )
315
    for( k = 1; k <= sort_num_data; k++, ptr++ )
316
    {
316
    {
317
        print( "%-*s", MAX_TM_NAME + 5, ptr->name );
317
        print( "%-*s", MAX_TM_NAME + 5, ptr->name );
318
        print( " " );
318
        print( " " );
319
        
319
        
320
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), ptr->team );
320
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "finish" ,"html")), ptr->team );
321
        print( "%*d", 6, ptr->leg + 1 );
321
        print( "%*d", 6, ptr->leg + 1 );
322
        print( " " );
322
        print( " " );
323
 
323
 
324
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), ptr->team );
324
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "name" ,"html")), ptr->team );
325
        print( "%*d", 5, ptr->team );
325
        print( "%*d", 5, ptr->team );
326
        print( " " );
326
        print( " " );
327
 
327
 
328
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">",(p_filename(filebase, config.team_class[ptr->teamclass - 1].abr ,"html")), ptr->team );
328
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(FileBase, config.team_class[ptr->teamclass - 1].abr ,"html")), ptr->team );
329
        print( "%-*s", LEN_CLASS_NAME, ptr->teamclass == 0 ? "" : config.team_class[ptr->teamclass - 1].abr );
329
        print( "%-*s", LEN_CLASS_NAME, ptr->teamclass == 0 ? "" : config.team_class[ptr->teamclass - 1].abr );
330
        print( " " );
330
        print( " " );
331
 
331
 
332
        if ( ptr->multi ) print( "* ");
332
        if ( ptr->multi ) print( "* ");
333
        print( "\n" );
333
        print( "\n" );
Line 822... Line 822...
822
        **      - Team number - with HTML reference to team file
822
        **      - Team number - with HTML reference to team file
823
        **      - Class
823
        **      - Class
824
        */
824
        */
825
        if ( report_html == printed && lcount % 5 == 4 ) print_underline( TRUE );
825
        if ( report_html == printed && lcount % 5 == 4 ) print_underline( TRUE );
826
        print( "%4.4s ", px_place( 0, team_buf.leg[0].l_place, false, true, ptr->flags ) );
826
        print( "%4.4s ", px_place( 0, team_buf.leg[0].l_place, false, true, ptr->flags ) );
827
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
827
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "name" ,"html")), team_buf.numb );
828
        print( "%4d",  team_buf.numb );
828
        print( "%4d",  team_buf.numb );
829
 
829
 
830
        print( " %-*s", 3, team_buf.teamclass == 0 ? "" : config.team_class[team_buf.teamclass - 1].abr );
830
        print( " %-*s", 3, team_buf.teamclass == 0 ? "" : config.team_class[team_buf.teamclass - 1].abr );
831
 
831
 
832
        /*
832
        /*
Line 860... Line 860...
860
        **      - Total time
860
        **      - Total time
861
        **      - Category place - with reference to category file
861
        **      - Category place - with reference to category file
862
        */
862
        */
863
        if ( config.num_legs != 1 ) print( "  %-8s ", time_a( ptr->lege[0] ) );
863
        if ( config.num_legs != 1 ) print( "  %-8s ", time_a( ptr->lege[0] ) );
864
        
864
        
865
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(filebase, config.team_class[team_buf.teamclass - 1].abr ,"html")), team_buf.numb );
865
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(FileBase, config.team_class[team_buf.teamclass - 1].abr ,"html")), team_buf.numb );
866
        print( "%4.4s", px_place( 0, team_buf.leg[0].lc_place, false, false, ptr->flags) );
866
        print( "%4.4s", px_place( 0, team_buf.leg[0].lc_place, false, false, ptr->flags) );
867
        if ( report_html == printed && lcount %5 == 4 ) print_underline( FALSE );
867
        if ( report_html == printed && lcount %5 == 4 ) print_underline( FALSE );
868
        lcount++;
868
        lcount++;
869
        print( "\n" );
869
        print( "\n" );
870
    }
870
    }
Line 972... Line 972...
972
        **      - Class
972
        **      - Class
973
        */
973
        */
974
 
974
 
975
        if ( report_html == printed && lcount %5 == 4 ) print_underline( TRUE );
975
        if ( report_html == printed && lcount %5 == 4 ) print_underline( TRUE );
976
        print( "%4.4s ", px_place( 0, team_buf.leg[0].lc_place, false, false, ptr->flags) );
976
        print( "%4.4s ", px_place( 0, team_buf.leg[0].lc_place, false, false, ptr->flags) );
977
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
977
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "name" ,"html")), team_buf.numb );
978
        print( "%4d",  team_buf.numb );
978
        print( "%4d",  team_buf.numb );
979
        print( " %-*s", 3, team_buf.teamclass == 0 ? "" : config.team_class[team_buf.teamclass - 1].abr );
979
        print( " %-*s", 3, team_buf.teamclass == 0 ? "" : config.team_class[team_buf.teamclass - 1].abr );
980
 
980
 
981
        for( j = 1; j <= config.num_legs; j++ )
981
        for( j = 1; j <= config.num_legs; j++ )
982
        {
982
        {
Line 1063... Line 1063...
1063
        **      - Total time
1063
        **      - Total time
1064
        **      - Overall place - with reference to overall place file
1064
        **      - Overall place - with reference to overall place file
1065
        */
1065
        */
1066
        if ( config.num_legs != 1 ) print( "  %-8s ", time_a( ptr->lege[0] ) );
1066
        if ( config.num_legs != 1 ) print( "  %-8s ", time_a( ptr->lege[0] ) );
1067
 
1067
 
1068
        if ( report_html == html )  setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
1068
        if ( report_html == html )  setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "finish" ,"html")), team_buf.numb );
1069
        print( "%4.4s", px_place( 0, team_buf.leg[0].l_place, false, true, ptr->flags));
1069
        print( "%4.4s", px_place( 0, team_buf.leg[0].l_place, false, true, ptr->flags));
1070
 
1070
 
1071
        if ( report_html == printed && lcount %5 == 4 ) print_underline( FALSE );
1071
        if ( report_html == printed && lcount %5 == 4 ) print_underline( FALSE );
1072
        lcount++;
1072
        lcount++;
1073
        print( "\n" );
1073
        print( "\n" );
Line 1204... Line 1204...
1204
        **      - Team number - with HTML reference to team file
1204
        **      - Team number - with HTML reference to team file
1205
        **      - Class
1205
        **      - Class
1206
        */
1206
        */
1207
        if ( report_html == printed && lcount %5 == 4 ) print_underline( TRUE );
1207
        if ( report_html == printed && lcount %5 == 4 ) print_underline( TRUE );
1208
        print( "%4.4s ", px_place( 0, team_buf.leg[0].l_place, false, true, ptr->flags ) );
1208
        print( "%4.4s ", px_place( 0, team_buf.leg[0].l_place, false, true, ptr->flags ) );
1209
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
1209
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "name" ,"html")), team_buf.numb );
1210
        print( "%4d",  team_buf.numb );
1210
        print( "%4d",  team_buf.numb );
1211
 
1211
 
1212
        print( " %-*s", 3, team_buf.teamclass == 0 ? "" : config.team_class[team_buf.teamclass - 1].abr );
1212
        print( " %-*s", 3, team_buf.teamclass == 0 ? "" : config.team_class[team_buf.teamclass - 1].abr );
1213
 
1213
 
1214
        /*
1214
        /*
Line 1242... Line 1242...
1242
        **      - Total time
1242
        **      - Total time
1243
        **      - Category place - with reference to category file
1243
        **      - Category place - with reference to category file
1244
        */
1244
        */
1245
       if ( config.num_legs != 1 ) print( "  %-8s ", time_a( ptr->lege[0] ) );
1245
       if ( config.num_legs != 1 ) print( "  %-8s ", time_a( ptr->lege[0] ) );
1246
        
1246
        
1247
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(filebase, config.team_class[team_buf.teamclass - 1].abr ,"html")), team_buf.numb );
1247
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(FileBase, config.team_class[team_buf.teamclass - 1].abr ,"html")), team_buf.numb );
1248
        print( "%4.4s", px_place( 0, team_buf.leg[0].lc_place, false, false, ptr->flags ) );
1248
        print( "%4.4s", px_place( 0, team_buf.leg[0].lc_place, false, false, ptr->flags ) );
1249
 
1249
 
1250
//print (" --");
1250
//print (" --");
1251
//print (" %4.4d", sort_aux[ptr->team].lq_place[0]);
1251
//print (" %4.4d", sort_aux[ptr->team].lq_place[0]);
1252
//print (" %4.4d", sort_aux[ptr->team].leq_place[0]);
1252
//print (" %4.4d", sort_aux[ptr->team].leq_place[0]);
Line 1540... Line 1540...
1540
        else
1540
        else
1541
        {
1541
        {
1542
            print( "%s\n", solid_line);
1542
            print( "%s\n", solid_line);
1543
        }
1543
        }
1544
        print( "Category: ");
1544
        print( "Category: ");
1545
        if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(filebase, config.team_class[j - 1].abr ,"html")));
1545
        if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(FileBase, config.team_class[j - 1].abr ,"html")));
1546
        print( "%s",  config.team_class[j-1].full_name );
1546
        print( "%s",  config.team_class[j-1].full_name );
1547
 
1547
 
1548
        if ( config.class_winners[j-1] <= 0 )
1548
        if ( config.class_winners[j-1] <= 0 )
1549
        {
1549
        {
1550
            print( "\n");
1550
            print( "\n");
Line 1606... Line 1606...
1606
                **      - Full categoray name
1606
                **      - Full categoray name
1607
                */
1607
                */
1608
                print( "%s", placing(windex) );
1608
                print( "%s", placing(windex) );
1609
 
1609
 
1610
                print( "  Team Name: ");
1610
                print( "  Team Name: ");
1611
                if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
1611
                if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "name" ,"html")), team_buf.numb );
1612
                print( "%-*s ",     MAX_TM_NAME, team_buf.name );
1612
                print( "%-*s ",     MAX_TM_NAME, team_buf.name );
1613
 
1613
 
1614
                print( "  Number: ");
1614
                print( "  Number: ");
1615
                if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
1615
                if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "finish" ,"html")), team_buf.numb );
1616
                print( "%4d",       team_buf.numb );
1616
                print( "%4d",       team_buf.numb );
1617
 
1617
 
1618
 
1618
 
1619
                for( k = 0; k < MAX_MEMB; k++ )
1619
                for( k = 0; k < MAX_MEMB; k++ )
1620
                {
1620
                {
Line 1714... Line 1714...
1714
            else
1714
            else
1715
            {
1715
            {
1716
                print( "%s\n", solid_line);
1716
                print( "%s\n", solid_line);
1717
            }
1717
            }
1718
            print( "Category: ");
1718
            print( "Category: ");
1719
            if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(filebase, config.team_class[config.nonequestrian_class - 1].abr ,"html")));
1719
            if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(FileBase, config.team_class[config.nonequestrian_class - 1].abr ,"html")));
1720
            print( "%s",  config.team_class[config.nonequestrian_class-1].full_name );
1720
            print( "%s",  config.team_class[config.nonequestrian_class-1].full_name );
1721
 
1721
 
1722
            print (" :: ");
1722
            print (" :: ");
1723
 
1723
 
1724
            if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(filebase, config.team_class[j - 1].abr ,"html")));
1724
            if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(FileBase, config.team_class[j - 1].abr ,"html")));
1725
            print( "%s",  config.team_class[j-1].full_name );
1725
            print( "%s",  config.team_class[j-1].full_name );
1726
 
1726
 
1727
            if ( config.class_ne_winners[j-1] <= 0 )
1727
            if ( config.class_ne_winners[j-1] <= 0 )
1728
            {
1728
            {
1729
                print( "\n");
1729
                print( "\n");
Line 1788... Line 1788...
1788
                    **      - Full categoray name
1788
                    **      - Full categoray name
1789
                    */
1789
                    */
1790
                    print( "%s", placing(windex) );
1790
                    print( "%s", placing(windex) );
1791
 
1791
 
1792
                    print( "  Team Name: ");
1792
                    print( "  Team Name: ");
1793
                    if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
1793
                    if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "name" ,"html")), team_buf.numb );
1794
                    print( "%-*s ",     MAX_TM_NAME, team_buf.name );
1794
                    print( "%-*s ",     MAX_TM_NAME, team_buf.name );
1795
 
1795
 
1796
                    print( "  Number: ");
1796
                    print( "  Number: ");
1797
                    if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
1797
                    if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "finish" ,"html")), team_buf.numb );
1798
                    print( "%4d",       team_buf.numb );
1798
                    print( "%4d",       team_buf.numb );
1799
 
1799
 
1800
 
1800
 
1801
                    for( k = 0; k < MAX_MEMB; k++ )
1801
                    for( k = 0; k < MAX_MEMB; k++ )
1802
                    {
1802
                    {
Line 1947... Line 1947...
1947
        g_record( stats.fast.team[i][0], &team_buf );
1947
        g_record( stats.fast.team[i][0], &team_buf );
1948
 
1948
 
1949
        print( "\n");
1949
        print( "\n");
1950
        print( "    %-13s ", config.leg_name[i - 1] );
1950
        print( "    %-13s ", config.leg_name[i - 1] );
1951
        print( "  Name: ");
1951
        print( "  Name: ");
1952
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
1952
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "name" ,"html")), team_buf.numb );
1953
        print( "%-*s", MAX_PERSON_NAME, team_buf.members[i-1].name );
1953
        print( "%-*s", MAX_PERSON_NAME, team_buf.members[i-1].name );
1954
        print( "  Team:");
1954
        print( "  Team:");
1955
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
1955
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "finish" ,"html")), team_buf.numb );
1956
        print( "%4d" , stats.fast.team[i][0] );
1956
        print( "%4d" , stats.fast.team[i][0] );
1957
        print( "  Time:%s ", time_a( stats.fast.time[i][0] ) );
1957
        print( "  Time:%s ", time_a( stats.fast.time[i][0] ) );
1958
 
1958
 
1959
    }
1959
    }
1960
 
1960
 
Line 1982... Line 1982...
1982
 *
1982
 *
1983
 *========================================================================*/
1983
 *========================================================================*/
1984
void pri_master_index_entry(const char *name, const char *text)
1984
void pri_master_index_entry(const char *name, const char *text)
1985
{
1985
{
1986
    print( "<tr><td>");
1986
    print( "<tr><td>");
1987
    print ("<A HREF=\"%s\">%s</A>\n", url_encode(p_filename(filebase, name ,"html")), text );
1987
    print ("<A HREF=\"%s\">%s</A>\n", url_encode(p_filename(FileBase, name ,"html")), text );
1988
}
1988
}
1989
 
1989
 
1990
 
1990
 
1991
void pri_master_index(void)
1991
void pri_master_index(void)
1992
{
1992
{
Line 2636... Line 2636...
2636
                j = 0;                           /* Leg-0 last */
2636
                j = 0;                           /* Leg-0 last */
2637
            else
2637
            else
2638
                break;
2638
                break;
2639
        }
2639
        }
2640
 
2640
 
2641
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), stats.fast.team[j][c] );
2641
        if ( report_html == html ) setHref( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(FileBase, "name" ,"html")), stats.fast.team[j][c] );
2642
        print( "%4d",  stats.fast.team[j][c] );
2642
        print( "%4d",  stats.fast.team[j][c] );
2643
        print( " %s  ", time_a( stats.fast.time[j][c] ) );
2643
        print( " %s  ", time_a( stats.fast.time[j][c] ) );
2644
        if ( config.num_legs == 1 ) break;
2644
        if ( config.num_legs == 1 ) break;
2645
    }
2645
    }
2646
    print( "\n" );
2646
    print( "\n" );
Line 2701... Line 2701...
2701
    for( i = 1, count = 0; i <= config.num_class; i++ )
2701
    for( i = 1, count = 0; i <= config.num_class; i++ )
2702
    {
2702
    {
2703
        if (!config.team_class[i - 1].abr[0])
2703
        if (!config.team_class[i - 1].abr[0])
2704
            continue;
2704
            continue;
2705
 
2705
 
2706
        if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(filebase, config.team_class[i - 1].abr ,"html")) );
2706
        if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(FileBase, config.team_class[i - 1].abr ,"html")) );
2707
        print( "%-*s", 3, config.team_class[i - 1].abr );
2707
        print( "%-*s", 3, config.team_class[i - 1].abr );
2708
        print( " : %-*s  ", LEN_CLASS_NAME, config.team_class[i - 1].full_name );
2708
        print( " : %-*s  ", LEN_CLASS_NAME, config.team_class[i - 1].full_name );
2709
 
2709
 
2710
        if( !( ++count % 5 ) )
2710
        if( !( ++count % 5 ) )
2711
            print( "\n" );
2711
            print( "\n" );
Line 2714... Line 2714...
2714
    /*
2714
    /*
2715
    **  Add link to the finish order report
2715
    **  Add link to the finish order report
2716
    */
2716
    */
2717
    if ( report_html == html )
2717
    if ( report_html == html )
2718
    {
2718
    {
2719
        setHref( "<A HREF=\"%s\">", url_encode(p_filename(filebase, "finish" ,"html")) );
2719
        setHref( "<A HREF=\"%s\">", url_encode(p_filename(FileBase, "finish" ,"html")) );
2720
        print( "%-*s", 3, "All" );
2720
        print( "%-*s", 3, "All" );
2721
        print( " : %-*s  ", LEN_CLASS_NAME, "Finishing Order" );
2721
        print( " : %-*s  ", LEN_CLASS_NAME, "Finishing Order" );
2722
    }
2722
    }
2723
 
2723
 
2724
    /*
2724
    /*
Line 3159... Line 3159...
3159
        **  Suppress the display
3159
        **  Suppress the display
3160
        */
3160
        */
3161
        if ( config.nonequestrian_class == i+1  )
3161
        if ( config.nonequestrian_class == i+1  )
3162
            continue;
3162
            continue;
3163
 
3163
 
3164
        if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(filebase, config.team_class[i].abr ,"html")) );
3164
        if ( report_html == html ) setHref( "<A HREF=\"%s\">",url_encode(p_filename(FileBase, config.team_class[i].abr ,"html")) );
3165
        print( "%*s ", LEN_CLASS_NAME, config.team_class[i].full_name );
3165
        print( "%*s ", LEN_CLASS_NAME, config.team_class[i].full_name );
3166
 
3166
 
3167
        print( ": %-7d %-7d %-7d %-7d %-7d %-7d %-7d\n",
3167
        print( ": %-7d %-7d %-7d %-7d %-7d %-7d %-7d\n",
3168
                                          data.teamclass[i+1].total,
3168
                                          data.teamclass[i+1].total,
3169
                                          data.teamclass[i+1].valid,
3169
                                          data.teamclass[i+1].valid,