Subversion Repositories svn1-original

Rev

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

Rev 355 Rev 356
Line 1402... Line 1402...
1402
    print( "    ");
1402
    print( "    ");
1403
    if ( report_html == html ) print( "<A HREF=\"#%s\">",url_encode("Hall Of Fame"));
1403
    if ( report_html == html ) print( "<A HREF=\"#%s\">",url_encode("Hall Of Fame"));
1404
    print( "%s",  "Hall Of Fame" );
1404
    print( "%s",  "Hall Of Fame" );
1405
    if ( report_html == html ) print( "</A>" );
1405
    if ( report_html == html ) print( "</A>" );
1406
 
1406
 
-
 
1407
    if (config.awardsfilename[0])
-
 
1408
    {
-
 
1409
        print( "\n");
-
 
1410
        print( "    ");
-
 
1411
        if ( report_html == html ) print( "<A HREF=\"#%s\">",url_encode("Additional Awards"));
-
 
1412
        print( "%s",  "Additional Awards" );
-
 
1413
        if ( report_html == html ) print( "</A>" );
-
 
1414
    }
-
 
1415
 
1407
    print( "\n");
1416
    print( "\n");
1408
    print( "    ");
1417
    print( "    ");
1409
    if ( report_html == html ) print( "<A HREF=\"#%s\">",url_encode("FASTEST"));
1418
    if ( report_html == html ) print( "<A HREF=\"#%s\">",url_encode("FASTEST"));
1410
    print( "%s",  "FASTEST" );
1419
    print( "%s",  "FASTEST" );
1411
    if ( report_html == html ) print( "</A>" );
1420
    if ( report_html == html ) print( "</A>" );
Line 1775... Line 1784...
1775
        qDebug( "There are no new stars for the Hall of Fame");
1784
        qDebug( "There are no new stars for the Hall of Fame");
1776
    }
1785
    }
1777
    if ( report_html == html ) print( "\n");
1786
    if ( report_html == html ) print( "\n");
1778
    if ( report_html == html ) print( "<A HREF=\"#%s\">Awards Index</A>",url_encode("INDEX"));
1787
    if ( report_html == html ) print( "<A HREF=\"#%s\">Awards Index</A>",url_encode("INDEX"));
1779
 
1788
 
-
 
1789
 
-
 
1790
 
-
 
1791
 
-
 
1792
    /*
-
 
1793
    **  Insert additional Awards information
-
 
1794
    */
-
 
1795
    if (config.awardsfilename[0])
-
 
1796
    {
-
 
1797
        print( "\n");
-
 
1798
        if ( report_html == html )
-
 
1799
        {
-
 
1800
            print( "<hr>" );
-
 
1801
            print( "<A name=\"%s\"></A>",url_encode("Additional Awards"));
-
 
1802
        }
-
 
1803
        else
-
 
1804
        {
-
 
1805
            print( "%s\n", solid_line);
-
 
1806
        }
-
 
1807
        print( "%s",  "Additional Awards" );
-
 
1808
        print ("\n");
-
 
1809
 
-
 
1810
        /*
-
 
1811
        **  Read and process the named awards file
-
 
1812
        */
-
 
1813
        FILE       *adfile = NULL;
-
 
1814
        char        line[201];
-
 
1815
 
-
 
1816
        QString name = QmConfig::getAddendemFile(config.awardsfilename);
-
 
1817
        if (! name.isEmpty())
-
 
1818
        {
-
 
1819
            adfile = fopen( qPrintable(name), "rt" );  /* Open the file for reading */
-
 
1820
        }
-
 
1821
 
-
 
1822
 
-
 
1823
        if( adfile )
-
 
1824
        {
-
 
1825
            while( fgets( line, sizeof(line)-1, adfile ) ) {
-
 
1826
                //  Process each line
-
 
1827
                //  Attempt to perform some smart text replacements
-
 
1828
                //  ie: <TeamNumber:63> <TeamName:63><TeamLegName:1:63>
-
 
1829
                print( "%s", line );
-
 
1830
            }
-
 
1831
            fclose(adfile);
-
 
1832
        }
-
 
1833
        else
-
 
1834
        {
-
 
1835
            if ( report_html == html )  print ("<br>");
-
 
1836
            print( "\nThe awards file could not be found: %s\n",  adfile);
-
 
1837
        }
-
 
1838
 
-
 
1839
 
-
 
1840
        if ( report_html == html ) print( "\n");
-
 
1841
        if ( report_html == html ) print( "<A HREF=\"#%s\">Awards Index</A>",url_encode("INDEX"));
-
 
1842
    }
-
 
1843
 
1780
    /*
1844
    /*
1781
    **  Generate the FASTEST information
1845
    **  Generate the FASTEST information
1782
    */
1846
    */
1783
    print( "\n" );
1847
    print( "\n" );
1784
    print( "\n");
1848
    print( "\n");
Line 2576... Line 2640...
2576
 
2640
 
2577
    if( adfile )
2641
    if( adfile )
2578
    {
2642
    {
2579
        while( fgets( line, sizeof(line)-1, adfile ) )
2643
        while( fgets( line, sizeof(line)-1, adfile ) )
2580
            print( "%s", line );
2644
            print( "%s", line );
-
 
2645
        fclose (adfile);
2581
    }
2646
    }
2582
    else
2647
    else
2583
    {
2648
    {
2584
        print( "\nTiming and Results by\n" );
2649
        print( "\nTiming and Results by\n" );
2585
        print( "Embedded Solutions\n" );
2650
        print( "Embedded Solutions\n" );