Zeile 29 | Zeile 29 |
---|
} else {
|
} else {
|
| $username = '';
|
eval("\$loginbox = \"".$templates->get("loginbox")."\";"); }
| eval("\$loginbox = \"".$templates->get("loginbox")."\";"); }
|
Zeile 779 | Zeile 780 |
---|
add_breadcrumb(htmlspecialchars_uni($thread['subject']), get_thread_link($thread['tid'])); add_breadcrumb($lang->nav_pollresults);
|
add_breadcrumb(htmlspecialchars_uni($thread['subject']), get_thread_link($thread['tid'])); add_breadcrumb($lang->nav_pollresults);
|
$voters = $votedfor = array();
| $voters = $votedfor = $guest_voters = array();
|
// Calculate votes $query = $db->query("
| // Calculate votes $query = $db->query("
|
Zeile 801 | Zeile 802 |
---|
if($voter['uid'] == 0 || $voter['username'] == '') { // Add one to the number of voters for guests
|
if($voter['uid'] == 0 || $voter['username'] == '') { // Add one to the number of voters for guests
|
++$guest_voters[$voter['voteoption']];
| if(isset($guest_voters[$voter['voteoption']])) { ++$guest_voters[$voter['voteoption']]; } else { $guest_voters[$voter['voteoption']] = 1; }
|
} else {
| } else {
|
Zeile 1150 | Zeile 1158 |
---|
$votesarray = explode("||~|~||", $poll['votes']); if(count($votesarray) > $poll['numoptions']) {
|
$votesarray = explode("||~|~||", $poll['votes']); if(count($votesarray) > $poll['numoptions']) {
|
$votesarray = array_slice(0, $poll['numoptions']);
| $votesarray = array_slice($votesarray, 0, $poll['numoptions']);
|
}
if($poll['multiple'] == 1)
| }
if($poll['multiple'] == 1)
|