blob: f2bf28017c1dff0ab1cb44c8546b164a2e4e99a4 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2008-2019 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Paul Colton (Aptana)- initial API and implementation
* Eclipse Foundation
*******************************************************************************/
require_once("frag_global.php");
$query = "SELECT value, quantity FROM scoreboard WHERE itemid = 'LANGPR' ORDER BY quantity DESC";
$res = mysqli_query($dbh, $query);
?>
<div id="trans-progress-area">
<h2>Translation Progress %</h2>
<dl>
<?php
while($row = mysqli_fetch_assoc($res)){
echo "<dt>" . $row['value'] . "</dt>";
echo "<dd>" . $row['quantity'] . "</dd>";
}
?>
</dl>
</div>