I've written the script to parse into a table and will let it run for a while, then I'll do the php code. Yours are in already
Code:
mysql> select project,app,running0,pending0 from wuprop_hours where id = 797;
| project | app | running0 | pending0 |
+---------+------------------------------------------------------------------------------------+------------+----------+
| | ABC sieving finder | 3511.6667 | 0 |
| | ABC Eval Tool | 8833.5667 | 0 |
| | Binary Radio Pulsar Search (Arecibo) | 5098.6 | 0 |
| | Binary Radio Pulsar Search (Perseus Arm Survey) | 228.1167 | 0 |
| | Gamma-ray pulsar search #2 | 1850.0333 | 0 |
| | Gravitational Wave S6 LineVeto search (extended) | 1560.0167 | 0 |
| | BioMedial Genome Correlations for Research and Healt Care | 5269.9667 | 0 |
| | BioMedial Genome Correlations for Research and Healt Care | 1499.7833 | 0 |
| | Statistical correlization analysis for genome research | 1523.7 | 0 |
| | Period Search Application | 8722.2833 | 4.3 |
| | The Attic Proxy | 5123.15 | 0 |
| | Crawl Internet New Media Infomation | 66.6333 | 0 |
| | Spider Application | 107.0333 | 0 |
| | Bitcoin Utopia Project 0 | 591.75 | 0 |
| | Bitcoin Vault for Energy and Environment Awards (longer workunits: 100 shares) | 103.4 | 0 |
| | Bitcoin Vault for Energy and Environment Awards (shorter workunits: 20 shares) | 19.1833 | 0 |
| | Bitcoin Vault for Exploration Awards (longer workunits: 100 shares) | 52.15 | 0 |
| | Bitcoin Vault for Exploration Awards (shorter workunits: 20 shares) | 16.75 | 0 |
| | Bitcoin Vault for Global Development Awards (longer workunits: 100 shares) | 16.5333 | 0 |
| | Bitcoin Vault for Learning Awards (longer workunits: 100 shares) | 57 | 0 |
| | Bitcoin Vault for Life Sciences Awards (longer workunits: 100 shares) | 111.65 | 0 |
| | BOINCSIMAP simap application | 6922.4667 | 0 |
| | Blender | 1012.45 | 13.2 |
| | SunflowerBlender | 973.9667 | 70.9167 |
| | SunflowerBlender (Linux) | 1825.1333 | 860.4 |
| | ICT Protein Structure Prediction(2nd Generation) | 5158.1833 | 0 |
| | Tsinghua Nano Tech Research | 373.45 | 0 |
| | Mr.Wilson | 522.95 | 0 |
| | modeE of Climate at Home | 618.5333 | 0 |
| | UK Met Office Coupled Model Full Resolution Ocean | 7945.0167 | 0 |
| | UK Met Office HADAM3P European Region | 2705.2167 | 0 |
| | UK Met Office HADAM3P Pacific North West | 1355.4333 | 219.6 |
| | collatz | 5203.3167 | 0 |
| | mini_collatz | 5021.9667 | 0 |
| | solo_collatz | 4800.6 | 18.8833 |
| | TrackJack | 13537.5667 | 7.3833 |
| | Tycho | 6513.3167 | 0 |
| | Tycho Betatest | 48.0167 | 0 |
<snip> because it's too big to list here :)
186 rows in set (0.00 sec)