Subversion Repositories svn1

Rev

Rev 66 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 66 Rev 68
Line 256... Line 256...
256
            **      - Team number - with Xref back to full result
256
            **      - Team number - with Xref back to full result
257
            **      - Full team name
257
            **      - Full team name
258
            **      - Full categoray name - with Xref to category results
258
            **      - Full categoray name - with Xref to category results
259
            **      - Country name
259
            **      - Country name
260
            */
260
            */
261
            if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "finish" ,"html"), team_buf.numb );
261
            if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
262
            print( "%4d",       team_buf.numb );
262
            print( "%4d",       team_buf.numb );
263
            if ( report_html ) print( "</A>" );
263
            if ( report_html ) print( "</A>" );
264
 
264
 
265
            print( " %-*s ",     MAX_TM_NAME, team_buf.name );
265
            print( " %-*s ",     MAX_TM_NAME, team_buf.name );
266
 
266
 
267
            if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">",p_filename(filebase, config.team_class[team_buf.class - 1].abr ,"html"), team_buf.numb );
267
            if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(filebase, config.team_class[team_buf.class - 1].abr ,"html")), team_buf.numb );
268
            print( "%-*s",     LEN_CLASS_NAME, team_buf.class == 0 ? "" : config.team_class[team_buf.class - 1].full_name );
268
            print( "%-*s",     LEN_CLASS_NAME, team_buf.class == 0 ? "" : config.team_class[team_buf.class - 1].full_name );
269
            if ( report_html ) print( "</A>" );
269
            if ( report_html ) print( "</A>" );
270
 
270
 
271
            print( " %-*s",     config.num_countries == 0 ? 1 : LEN_CNTRY_NAME,
271
            print( " %-*s",     config.num_countries == 0 ? 1 : LEN_CNTRY_NAME,
272
                                config.num_countries == 0
272
                                config.num_countries == 0
Line 415... Line 415...
415
    for( k = 1; k <= sort_num_data; k++, ptr++ )
415
    for( k = 1; k <= sort_num_data; k++, ptr++ )
416
    {
416
    {
417
        print( "%-*s", MAX_TM_NAME + 5, ptr->name );
417
        print( "%-*s", MAX_TM_NAME + 5, ptr->name );
418
        print( " " );
418
        print( " " );
419
        
419
        
420
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "finish" ,"html"), ptr->team );
420
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), ptr->team );
421
        print( "%-*d", 6, ptr->leg + 1 );
421
        print( "%-*d", 6, ptr->leg + 1 );
422
        if ( report_html ) print( "</A>" );
422
        if ( report_html ) print( "</A>" );
423
        print( " " );
423
        print( " " );
424
 
424
 
425
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "name" ,"html"), ptr->team );
425
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), ptr->team );
426
        print( "%-*d", 5, ptr->team );
426
        print( "%-*d", 5, ptr->team );
427
        if ( report_html ) print( "</A>" );
427
        if ( report_html ) print( "</A>" );
428
        print( " " );
428
        print( " " );
429
 
429
 
430
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">",p_filename(filebase, config.team_class[ptr->class - 1].abr ,"html"), ptr->team );
430
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">",(p_filename(filebase, config.team_class[ptr->class - 1].abr ,"html")), ptr->team );
431
        print( "%-*s", LEN_CLASS_NAME, ptr->class == 0 ? "" : config.team_class[ptr->class - 1].abr );
431
        print( "%-*s", LEN_CLASS_NAME, ptr->class == 0 ? "" : config.team_class[ptr->class - 1].abr );
432
        if ( report_html ) print( "</A>" );
432
        if ( report_html ) print( "</A>" );
433
        print( " " );
433
        print( " " );
434
 
434
 
435
        if ( ptr->multi ) print( "* ");
435
        if ( ptr->multi ) print( "* ");
Line 992... Line 992...
992
        **      - Place within complete field
992
        **      - Place within complete field
993
        **      - Team number - with HTML reference to team file
993
        **      - Team number - with HTML reference to team file
994
        **      - Class
994
        **      - Class
995
        */
995
        */
996
        print( "%4.4s ", pr_place( team_buf.leg[0].l_place, ptr->flags.bad_times ) );
996
        print( "%4.4s ", pr_place( team_buf.leg[0].l_place, ptr->flags.bad_times ) );
997
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "name" ,"html"), team_buf.numb );
997
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
998
        print( "%4d",  team_buf.numb );
998
        print( "%4d",  team_buf.numb );
999
        if ( report_html ) print( "</A>" );
999
        if ( report_html ) print( "</A>" );
1000
 
1000
 
1001
        print( " %-*s", 3, team_buf.class == 0 ? "" : config.team_class[team_buf.class - 1].abr );
1001
        print( " %-*s", 3, team_buf.class == 0 ? "" : config.team_class[team_buf.class - 1].abr );
1002
 
1002
 
Line 1031... Line 1031...
1031
        **      - Category place - with reference to category file
1031
        **      - Category place - with reference to category file
1032
        */
1032
        */
1033
//        print( "  %-8s ",  time_a( team_buf.leg[0].elapsed ) );
1033
//        print( "  %-8s ",  time_a( team_buf.leg[0].elapsed ) );
1034
        print( "  %-8s ", time_a( ptr->lege[0] ) );
1034
        print( "  %-8s ", time_a( ptr->lege[0] ) );
1035
        
1035
        
1036
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">",p_filename(filebase, config.team_class[team_buf.class - 1].abr ,"html"), team_buf.numb );
1036
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">",url_encode(p_filename(filebase, config.team_class[team_buf.class - 1].abr ,"html")), team_buf.numb );
1037
        print( "%-4.4s", pr_place_ne( team_buf.leg[0].lc_place, ptr->flags.bad_times, ptr->flags.non_equestrian ) );
1037
        print( "%-4.4s", pr_place_ne( team_buf.leg[0].lc_place, ptr->flags.bad_times, ptr->flags.non_equestrian ) );
1038
        if ( report_html ) print( "</A>" );
1038
        if ( report_html ) print( "</A>" );
1039
 
1039
 
1040
        print( "\n" );
1040
        print( "\n" );
1041
    }
1041
    }
Line 1107... Line 1107...
1107
        **      - Team number - with HTML reference to team file
1107
        **      - Team number - with HTML reference to team file
1108
        **      - Class
1108
        **      - Class
1109
        */
1109
        */
1110
 
1110
 
1111
        print( "%4.4s ", pr_place( team_buf.leg[0].lc_place, ptr->flags.bad_times ) );
1111
        print( "%4.4s ", pr_place( team_buf.leg[0].lc_place, ptr->flags.bad_times ) );
1112
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "name" ,"html"), team_buf.numb );
1112
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
1113
        print( "%4d",  team_buf.numb );
1113
        print( "%4d",  team_buf.numb );
1114
        if ( report_html ) print( "</A>" );
1114
        if ( report_html ) print( "</A>" );
1115
        print( " %-*s", 3, team_buf.class == 0 ? "" : config.team_class[team_buf.class - 1].abr );
1115
        print( " %-*s", 3, team_buf.class == 0 ? "" : config.team_class[team_buf.class - 1].abr );
1116
 
1116
 
1117
        for( j = 1; j <= config.num_legs; j++ )
1117
        for( j = 1; j <= config.num_legs; j++ )
Line 1137... Line 1137...
1137
        **      - Overall place - with reference to overall place file
1137
        **      - Overall place - with reference to overall place file
1138
        */
1138
        */
1139
        /* print( "  %-8s ", time_a( team_buf.leg[0].elapsed ) ); */
1139
        /* print( "  %-8s ", time_a( team_buf.leg[0].elapsed ) ); */
1140
        print( "  %-8s ", time_a( ptr->lege[0] ) );
1140
        print( "  %-8s ", time_a( ptr->lege[0] ) );
1141
 
1141
 
1142
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "finish" ,"html"), team_buf.numb );
1142
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
1143
        print( "%4.4s", pr_place( team_buf.leg[0].l_place, ptr->flags.bad_times || (ptr->class == config.nonequestrian_class)));
1143
        print( "%4.4s", pr_place( team_buf.leg[0].l_place, ptr->flags.bad_times || (ptr->class == config.nonequestrian_class)));
1144
        if ( report_html ) print( "</A>" );
1144
        if ( report_html ) print( "</A>" );
1145
 
1145
 
1146
        print( "\n" );
1146
        print( "\n" );
1147
    }
1147
    }
Line 1284... Line 1284...
1284
    */
1284
    */
1285
    print( "\n");
1285
    print( "\n");
1286
    if ( report_html )
1286
    if ( report_html )
1287
    {
1287
    {
1288
        print( "<hr>" );
1288
        print( "<hr>" );
1289
        print( "<A NAME=\"%s\"></A>","INDEX");
1289
        print( "<A NAME=\"%s\"></A>",url_encode("INDEX"));
1290
    }
1290
    }
1291
    print( "Award Categories");
1291
    print( "Award Categories");
1292
 
1292
 
1293
    for( j = 1; j <= config.num_class; j++ )
1293
    for( j = 1; j <= config.num_class; j++ )
1294
    {
1294
    {
Line 1298... Line 1298...
1298
        if ( config.class_winners[j-1] <= 0 )
1298
        if ( config.class_winners[j-1] <= 0 )
1299
            continue;
1299
            continue;
1300
 
1300
 
1301
        print( "\n");
1301
        print( "\n");
1302
        print( "    ");
1302
        print( "    ");
1303
        if ( report_html ) print( "<A HREF=\"#%s\">",config.team_class[j-1].full_name);
1303
        if ( report_html ) print( "<A HREF=\"#%s\">",url_encode(config.team_class[j-1].full_name));
1304
        print( "%s",  config.team_class[j-1].full_name );
1304
        print( "%s",  config.team_class[j-1].full_name );
1305
        if ( report_html ) print( "</A>" );
1305
        if ( report_html ) print( "</A>" );
1306
    }
1306
    }
1307
 
1307
 
1308
    /*
1308
    /*
1309
    **  Manual entries
1309
    **  Manual entries
1310
    */
1310
    */
1311
    print( "\n");
1311
    print( "\n");
1312
    print( "    ");
1312
    print( "    ");
1313
    if ( report_html ) print( "<A HREF=\"#%s\">","Hall Of Fame");
1313
    if ( report_html ) print( "<A HREF=\"#%s\">",url_encode("Hall Of Fame"));
1314
    print( "%s",  "Hall Of Fame" );
1314
    print( "%s",  "Hall Of Fame" );
1315
    if ( report_html ) print( "</A>" );
1315
    if ( report_html ) print( "</A>" );
1316
 
1316
 
1317
    print( "\n");
1317
    print( "\n");
1318
    print( "    ");
1318
    print( "    ");
1319
    if ( report_html ) print( "<A HREF=\"#%s\">","FASTEST");
1319
    if ( report_html ) print( "<A HREF=\"#%s\">",url_encode("FASTEST"));
1320
    print( "%s",  "FASTEST" );
1320
    print( "%s",  "FASTEST" );
1321
    if ( report_html ) print( "</A>" );
1321
    if ( report_html ) print( "</A>" );
1322
 
1322
 
1323
    /*
1323
    /*
1324
    **  Sort the data by class
1324
    **  Sort the data by class
Line 1333... Line 1333...
1333
    {
1333
    {
1334
        /*
1334
        /*
1335
        **  Tail for previous entry
1335
        **  Tail for previous entry
1336
        */
1336
        */
1337
        if ( j != 1 )
1337
        if ( j != 1 )
1338
            if ( report_html ) print( "<A HREF=\"#%s\">Awards Index</A>","INDEX");
1338
            if ( report_html ) print( "<A HREF=\"#%s\">Awards Index</A>",url_encode("INDEX"));
1339
 
1339
 
1340
        if ( j > config.num_class  )
1340
        if ( j > config.num_class  )
1341
            break;
1341
            break;
1342
 
1342
 
1343
        /*
1343
        /*
Line 1345... Line 1345...
1345
        */
1345
        */
1346
        print( "\n");
1346
        print( "\n");
1347
        if ( report_html )
1347
        if ( report_html )
1348
        {
1348
        {
1349
            print( "<hr>" );
1349
            print( "<hr>" );
1350
            print( "<A name=\"%s\"></A>",config.team_class[j-1].full_name);
1350
            print( "<A name=\"%s\"></A>",url_encode(config.team_class[j-1].full_name));
1351
        }
1351
        }
1352
        else
1352
        else
1353
        {
1353
        {
1354
            print( "\n");
1354
            print( "\n");
1355
        }
1355
        }
1356
        print( "Category: ");
1356
        print( "Category: ");
1357
        if ( report_html ) print( "<A HREF=\"%s\">",p_filename(filebase, config.team_class[j - 1].abr ,"html"));
1357
        if ( report_html ) print( "<A HREF=\"%s\">",url_encode(p_filename(filebase, config.team_class[j - 1].abr ,"html")));
1358
        print( "%s",  config.team_class[j-1].full_name );
1358
        print( "%s",  config.team_class[j-1].full_name );
1359
        if ( report_html ) print( "</A>" );
1359
        if ( report_html ) print( "</A>" );
1360
 
1360
 
1361
        if ( config.class_winners[j-1] <= 0 )
1361
        if ( config.class_winners[j-1] <= 0 )
1362
        {
1362
        {
Line 1401... Line 1401...
1401
                **      - Full categoray name
1401
                **      - Full categoray name
1402
                */
1402
                */
1403
                print( "%s", placing(windex) );
1403
                print( "%s", placing(windex) );
1404
 
1404
 
1405
                print( "  Team Name: ");
1405
                print( "  Team Name: ");
1406
                if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "name" ,"html"), team_buf.numb );
1406
                if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
1407
                print( "%-*s ",     MAX_TM_NAME, team_buf.name );
1407
                print( "%-*s ",     MAX_TM_NAME, team_buf.name );
1408
                    if ( report_html ) print( "</A>" );
1408
                    if ( report_html ) print( "</A>" );
1409
 
1409
 
1410
                print( "  Number: ");
1410
                print( "  Number: ");
1411
                if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "finish" ,"html"), team_buf.numb );
1411
                if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
1412
                print( "%4d",       team_buf.numb );
1412
                print( "%4d",       team_buf.numb );
1413
                if ( report_html ) print( "</A>" );
1413
                if ( report_html ) print( "</A>" );
1414
 
1414
 
1415
 
1415
 
1416
                for( k = 0; k < MAX_MEMB; k++ )
1416
                for( k = 0; k < MAX_MEMB; k++ )
Line 1454... Line 1454...
1454
    */
1454
    */
1455
    print( "\n");
1455
    print( "\n");
1456
    if ( report_html )
1456
    if ( report_html )
1457
    {
1457
    {
1458
        print( "<hr>" );
1458
        print( "<hr>" );
1459
        print( "<A name=\"%s\"></A>","Hall Of Fame");
1459
        print( "<A name=\"%s\"></A>",url_encode("Hall Of Fame"));
1460
    }
1460
    }
1461
    print( "%s",  "Hall of Fame" );
1461
    print( "%s",  "Hall of Fame" );
1462
 
1462
 
1463
    if ( config.num_fame  )
1463
    if ( config.num_fame  )
1464
    {
1464
    {
Line 1470... Line 1470...
1470
    }
1470
    }
1471
    else
1471
    else
1472
    {
1472
    {
1473
        printf( "\n    There are no new stars for the Hall of Fame");
1473
        printf( "\n    There are no new stars for the Hall of Fame");
1474
    }
1474
    }
-
 
1475
    if ( report_html ) print( "\n");
1475
    if ( report_html ) print( "<p><A HREF=\"#%s\">Awards Index</A>","INDEX");
1476
    if ( report_html ) print( "<A HREF=\"#%s\">Awards Index</A>",url_encode("INDEX"));
1476
 
1477
 
1477
    /*
1478
    /*
1478
    **  Generate the FASTEST information
1479
    **  Generate the FASTEST information
1479
    */
1480
    */
1480
    print( "\n" );
1481
    print( "\n" );
1481
    if ( report_html )
1482
    if ( report_html )
1482
    {
1483
    {
1483
        print( "<hr>" );
1484
        print( "<hr>" );
1484
        print( "<A name=\"%s\"></A>","FASTEST");
1485
        print( "<A name=\"%s\"></A>",url_encode("FASTEST"));
1485
    }
1486
    }
1486
    else
1487
    else
1487
    {
1488
    {
1488
        print( "\n" );
1489
        print( "\n" );
1489
    }
1490
    }
Line 1500... Line 1501...
1500
        g_record( stats.fast.team[i][0], &team_buf );
1501
        g_record( stats.fast.team[i][0], &team_buf );
1501
 
1502
 
1502
        print( "\n");
1503
        print( "\n");
1503
        print( "    %-13s ", config.leg_name[i - 1] );
1504
        print( "    %-13s ", config.leg_name[i - 1] );
1504
        print( "  Name: ");
1505
        print( "  Name: ");
1505
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "name" ,"html"), team_buf.numb );
1506
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), team_buf.numb );
1506
        print( "%-*s", MAX_PERSON_NAME, team_buf.members[i-1].name );
1507
        print( "%-*s", MAX_PERSON_NAME, team_buf.members[i-1].name );
1507
        if ( report_html ) print( "</A>" );
1508
        if ( report_html ) print( "</A>" );
1508
        print( "  Team :");
1509
        print( "  Team :");
1509
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "finish" ,"html"), team_buf.numb );
1510
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "finish" ,"html")), team_buf.numb );
1510
        print( "%4d" , stats.fast.team[i][0] );
1511
        print( "%4d" , stats.fast.team[i][0] );
1511
        if ( report_html ) print( "</A> " );
1512
        if ( report_html ) print( "</A> " );
1512
        print( "Time:%s ", time_a( stats.fast.time[i][0] ) );
1513
        print( "Time:%s ", time_a( stats.fast.time[i][0] ) );
1513
 
1514
 
1514
    }
1515
    }
1515
 
1516
 
-
 
1517
    if ( report_html ) print( "\n");
1516
    if ( report_html ) print( "<p><A HREF=\"#%s\">Awards Index</A>","INDEX");
1518
    if ( report_html ) print( "<A HREF=\"#%s\">Awards Index</A>",url_encode("INDEX"));
1517
    print( "\n");
1519
    print( "\n");
1518
    close_printer();
1520
    close_printer();
1519
}
1521
}
1520
 
1522
 
1521
/*========================================================================
1523
/*========================================================================
Line 1536... Line 1538...
1536
 *
1538
 *
1537
 *========================================================================*/
1539
 *========================================================================*/
1538
void pri_master_index_entry(char *name, char *text)
1540
void pri_master_index_entry(char *name, char *text)
1539
{
1541
{
1540
    print( "<tr><td>");
1542
    print( "<tr><td>");
1541
    print ("<A HREF=\"%s\">%s</A>\n", p_filename(filebase, name ,"html"), text );
1543
    print ("<A HREF=\"%s\">%s</A>\n", url_encode(p_filename(filebase, name ,"html")), text );
1542
}
1544
}
1543
 
1545
 
1544
 
1546
 
1545
void pri_master_index(void)
1547
void pri_master_index(void)
1546
{
1548
{
Line 2127... Line 2129...
2127
                j = 0;                           /* Leg-0 last */
2129
                j = 0;                           /* Leg-0 last */
2128
            else
2130
            else
2129
                break;
2131
                break;
2130
        }
2132
        }
2131
 
2133
 
2132
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", p_filename(filebase, "name" ,"html"), stats.fast.team[j][c] );
2134
        if ( report_html ) print( "<A HREF=\"%s#Team_%04d\">", url_encode(p_filename(filebase, "name" ,"html")), stats.fast.team[j][c] );
2133
        print( "%4d",  stats.fast.team[j][c] );
2135
        print( "%4d",  stats.fast.team[j][c] );
2134
        if ( report_html ) print( "</A>" );
2136
        if ( report_html ) print( "</A>" );
2135
        print( " %s  ", time_a( stats.fast.time[j][c] ) );
2137
        print( " %s  ", time_a( stats.fast.time[j][c] ) );
2136
    }
2138
    }
2137
    print( "\n" );
2139
    print( "\n" );
Line 2197... Line 2199...
2197
        **  creating the non-equestrian report.
2199
        **  creating the non-equestrian report.
2198
        */
2200
        */
2199
        if ( class != config.nonequestrian_class  && i == config.nonequestrian_class )
2201
        if ( class != config.nonequestrian_class  && i == config.nonequestrian_class )
2200
            continue;
2202
            continue;
2201
#endif
2203
#endif
2202
        if ( report_html ) print( "<A HREF=\"%s\">",p_filename(filebase, config.team_class[i - 1].abr ,"html") );
2204
        if ( report_html ) print( "<A HREF=\"%s\">",url_encode(p_filename(filebase, config.team_class[i - 1].abr ,"html")) );
2203
        print( "%-*s", 3, config.team_class[i - 1].abr );
2205
        print( "%-*s", 3, config.team_class[i - 1].abr );
2204
        if ( report_html ) print( "</A>" );
2206
        if ( report_html ) print( "</A>" );
2205
        print( " : %-*s  ", LEN_CLASS_NAME, config.team_class[i - 1].full_name );
2207
        print( " : %-*s  ", LEN_CLASS_NAME, config.team_class[i - 1].full_name );
2206
 
2208
 
2207
        if( !( ++count % 5 ) )
2209
        if( !( ++count % 5 ) )
Line 2211... Line 2213...
2211
    /*
2213
    /*
2212
    **  Add link to the finish order report
2214
    **  Add link to the finish order report
2213
    */
2215
    */
2214
    if ( report_html )
2216
    if ( report_html )
2215
    {
2217
    {
2216
        print( "<A HREF=\"%s\">", p_filename(filebase, "finish" ,"html") );
2218
        print( "<A HREF=\"%s\">", url_encode(p_filename(filebase, "finish" ,"html")) );
2217
        print( "%-*s", 3, "All" );
2219
        print( "%-*s", 3, "All" );
2218
        print( "</A>" );
2220
        print( "</A>" );
2219
        print( " : %-*s  ", LEN_CLASS_NAME, "Finishing Order" );
2221
        print( " : %-*s  ", LEN_CLASS_NAME, "Finishing Order" );
2220
    }
2222
    }
2221
 
2223