Changeset 1960


Ignore:
Timestamp:
4/25/2010 10:07:30 AM (4 years ago)
Author:
lowjoel
Message:

Implemented display of SourceForge? download statistics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/website/download.php

    r1924 r1960  
    22require('scripts/Download.php'); 
    33require('scripts/Build.php'); 
     4require('scripts/SourceForge.php'); 
    45 
    56if (!empty($_GET['id'])) 
     
    2021    catch (Exception $e) 
    2122    { 
    22         $error =$e->getMessage(); 
     23        $error = $e->getMessage(); 
    2324    } 
    2425} 
     
    6768                        <th>Version</th> 
    6869                        <th>Release Date</th> 
    69                         <th>&nbsp;</th> 
     70                        <th>Downloads</th> 
    7071                    </tr> 
    7172                    <tr> 
     
    7374                        <td>6.0.7.1893</td> 
    7475                        <td>14/4/2010 8:00am</td> 
    75                         <td>&nbsp;</td> 
     76                        <td><?php echo SourceForge::GetDownloads('http://sourceforge.net/projects/eraser/files/Eraser 6/6.0.7/Eraser 6.0.7.1893.exe/download'); ?></td> 
    7677                    </tr> 
    7778                    <tr> 
Note: See TracChangeset for help on using the changeset viewer.