mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-28 06:53:50 +00:00
Fixed graph.
This commit is contained in:
parent
1fb41193cc
commit
34e5f5bdc8
1 changed files with 6 additions and 6 deletions
|
@ -38,22 +38,22 @@
|
|||
$j = 100 - $newPct;
|
||||
$result = '';
|
||||
for ( ; $i >= 20 ; $i -= 20 ) {
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.20.white.gif" vAlign="top" width="50" height="10" border="0" alt=" ">';
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.20.white.gif" vAlign="center" width="50" height="10" border="0" alt=" ">';
|
||||
}
|
||||
for ( ; $i >= 10 ; $i -= 10 ) {
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.10.white.gif" vAlign="top" width="25" height="10" border="0" alt=" ">';
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.10.white.gif" vAlign="center" width="25" height="10" border="0" alt=" ">';
|
||||
}
|
||||
for ( ; $i >= 2 ; $i -= 2 ) {
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.2.white.gif" vAlign="top" width="5" height="10" border="0" alt=" ">';
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.2.white.gif" vAlign="center" width="5" height="10" border="0" alt=" ">';
|
||||
}
|
||||
for ( ; $j >= 20 ; $j -= 20 ) {
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.20.gray.gif" vAlign="top" width="50" height="10" border="0" alt=" ">';
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.20.gray.gif" vAlign="center" width="50" height="10" border="0" alt=" ">';
|
||||
}
|
||||
for ( ; $j >= 10 ; $j -= 10 ) {
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.10.gray.gif" vAlign="top" width="25" height="10" border="0" alt=" ">';
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.10.gray.gif" vAlign="center" width="25" height="10" border="0" alt=" ">';
|
||||
}
|
||||
for ( ; $j >= 2 ; $j -= 2 ) {
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.2.gray.gif" vAlign="top" width="5" height="10" border="0" alt=" ">';
|
||||
$result .= '<IMG src="/img/graph/ProgressBar.2.gray.gif" vAlign="center" width="5" height="10" border="0" alt=" ">';
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue