Vergleich polls.php - 1.8.23 - 1.8.33

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 29Zeile 29
}
else
{

}
else
{

 
	$username = '';

	eval("\$loginbox = \"".$templates->get("loginbox")."\";");
}


	eval("\$loginbox = \"".$templates->get("loginbox")."\";");
}


Zeile 690Zeile 691
			{
$votes[$i] = "0";
}

			{
$votes[$i] = "0";
}

			$voteslist .= $votes[$i];

			$voteslist .= (int)$votes[$i];

			$numvotes = (int)$numvotes + (int)$votes[$i];
}
}

			$numvotes = (int)$numvotes + (int)$votes[$i];
}
}

Zeile 779Zeile 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 801Zeile 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 1150Zeile 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)