Diff for Metafox/db.inc.php between version 1.11 and 1.12
| version 1.11, 2005/11/28 23:04:47 |
version 1.12, 2005/11/28 23:24:29 |
| Line 1192 function ezin_get_poll_answer_list($poll |
|
| Line 1192 function ezin_get_poll_answer_list($poll |
|
| } |
} |
| unset($array[$k]); |
unset($array[$k]); |
| for ($k = 0; $k < count($array); $k++) { |
for ($k = 0; $k < count($array); $k++) { |
| |
$array[$k]['poll_answer_ord'] = $k + 1; |
| $array[$k]['poll_answer_pct'] = round( |
$array[$k]['poll_answer_pct'] = round( |
| ($array[$k]['poll_answer_votes'] / max(1, $total_votes)) * 100); |
($array[$k]['poll_answer_votes'] / max(1, $total_votes)) * 100); |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|