Subversion Repositories svn1-original

Rev

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

Rev 72 Rev 75
Line 1273... Line 1273...
1273
    int i;
1273
    int i;
1274
    int k;
1274
    int k;
1275
    int windex;
1275
    int windex;
1276
    ty_s_data  *ptr;
1276
    ty_s_data  *ptr;
1277
    int         last_class;
1277
    int         last_class;
-
 
1278
    char    solid_line[100];
1278
 
1279
 
1279
    if( !open_printer( "", "awards", 80, report_html, "Prizes and Awards" ) )
1280
    if( !open_printer( "", "awards", 80, report_html, "Prizes and Awards" ) )
1280
        return;
1281
        return;
1281
 
1282
 
-
 
1283
    memset ( solid_line, 0, sizeof( solid_line ));
-
 
1284
    memset ( solid_line, '-', 80 );
-
 
1285
 
1282
    /*
1286
    /*
1283
    **  Generate an index for this page
1287
    **  Generate an index for this page
1284
    */
1288
    */
1285
    print( "\n");
1289
    print( "\n");
1286
    if ( report_html )
1290
    if ( report_html )
Line 1327... Line 1331...
1327
    last_class = -1;                /* Invalid class to start with */
1331
    last_class = -1;                /* Invalid class to start with */
1328
 
1332
 
1329
    /*
1333
    /*
1330
    **  Process each category
1334
    **  Process each category
1331
    */
1335
    */
-
 
1336
    print( "\n");
1332
    for( j = 1; ; j++ )
1337
    for( j = 1; ; j++ )
1333
    {
1338
    {
1334
        /*
1339
        /*
1335
        **  Tail for previous entry
1340
        **  Tail for previous entry
1336
        */
1341
        */
Line 1349... Line 1354...
1349
            print( "<hr>" );
1354
            print( "<hr>" );
1350
            print( "<A name=\"%s\"></A>",url_encode(config.team_class[j-1].full_name));
1355
            print( "<A name=\"%s\"></A>",url_encode(config.team_class[j-1].full_name));
1351
        }
1356
        }
1352
        else
1357
        else
1353
        {
1358
        {
1354
            print( "\n");
1359
            print( "%s\n", solid_line);
1355
        }
1360
        }
1356
        print( "Category: ");
1361
        print( "Category: ");
1357
        if ( report_html ) print( "<A HREF=\"%s\">",url_encode(p_filename(filebase, config.team_class[j - 1].abr ,"html")));
1362
        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 );
1363
        print( "%s",  config.team_class[j-1].full_name );
1359
        if ( report_html ) print( "</A>" );
1364
        if ( report_html ) print( "</A>" );
Line 1456... Line 1461...
1456
    if ( report_html )
1461
    if ( report_html )
1457
    {
1462
    {
1458
        print( "<hr>" );
1463
        print( "<hr>" );
1459
        print( "<A name=\"%s\"></A>",url_encode("Hall Of Fame"));
1464
        print( "<A name=\"%s\"></A>",url_encode("Hall Of Fame"));
1460
    }
1465
    }
-
 
1466
    else
-
 
1467
    {
-
 
1468
        print( "%s\n", solid_line);
-
 
1469
    }
1461
    print( "%s",  "Hall of Fame" );
1470
    print( "%s",  "Hall of Fame" );
1462
 
1471
 
1463
    if ( config.num_fame  )
1472
    if ( config.num_fame  )
1464
    {
1473
    {
1465
        for( i = 1; i <= config.num_fame; i++ )
1474
        for( i = 1; i <= config.num_fame; i++ )
Line 1477... Line 1486...
1477
 
1486
 
1478
    /*
1487
    /*
1479
    **  Generate the FASTEST information
1488
    **  Generate the FASTEST information
1480
    */
1489
    */
1481
    print( "\n" );
1490
    print( "\n" );
-
 
1491
    print( "\n");
1482
    if ( report_html )
1492
    if ( report_html )
1483
    {
1493
    {
1484
        print( "<hr>" );
1494
        print( "<hr>" );
1485
        print( "<A name=\"%s\"></A>",url_encode("FASTEST"));
1495
        print( "<A name=\"%s\"></A>",url_encode("FASTEST"));
1486
    }
1496
    }
1487
    else
1497
    else
1488
    {
1498
    {
1489
        print( "\n" );
1499
        print( "%s\n", solid_line);
1490
    }
1500
    }
1491
    print( "%s",  "FASTEST" );
1501
    print( "%s",  "FASTEST" );
1492
 
1502
 
1493
    /*
1503
    /*
1494
    **  Sort the data and then generate the stats - again
1504
    **  Sort the data and then generate the stats - again