gobrien | 11105c3 | 2008-02-01 22:58:11 +0000 | [diff] [blame] | 1 | <?php |
| 2 | /******************************************************************************* |
droy | 5bb8117 | 2008-04-04 19:25:24 +0000 | [diff] [blame] | 3 | * Copyright (c) 2008 Eclipse Foundation and others. |
gobrien | 11105c3 | 2008-02-01 22:58:11 +0000 | [diff] [blame] | 4 | * All rights reserved. This program and the accompanying materials |
| 5 | * are made available under the terms of the Eclipse Public License v1.0 |
| 6 | * which accompanies this distribution, and is available at |
| 7 | * http://www.eclipse.org/legal/epl-v10.html |
| 8 | * |
| 9 | * Contributors: |
| 10 | * Paul Colton (Aptana)- initial API and implementation |
| 11 | * Eclipse Foundation |
| 12 | *******************************************************************************/ |
| 13 | |
| 14 | |
| 15 | require_once("frag_global.php"); |
| 16 | |
droy | 5bb8117 | 2008-04-04 19:25:24 +0000 | [diff] [blame] | 17 | $query = "SELECT value, quantity FROM scoreboard WHERE itemid = 'LANGPR' ORDER BY quantity DESC"; |
gobrien | 11105c3 | 2008-02-01 22:58:11 +0000 | [diff] [blame] | 18 | |
| 19 | $res = mysql_query($query); |
| 20 | |
| 21 | ?> |
| 22 | <div id="trans-progress-area"> |
| 23 | <h2>Translation Progress</h2> |
| 24 | <dl> |
| 25 | <? |
| 26 | while($row = mysql_fetch_assoc($res)){ |
droy | 5bb8117 | 2008-04-04 19:25:24 +0000 | [diff] [blame] | 27 | ?><dt><?=$row['value'] ?></dt> |
| 28 | <dd><?=$row['quantity'];?></dd><? |
gobrien | 11105c3 | 2008-02-01 22:58:11 +0000 | [diff] [blame] | 29 | } |
| 30 | ?> |
| 31 | </dl> |
| 32 | </div> |