Meine Hunde

Klicken Sie hier, um zur Galerie zu gelangen.

Sonstiges

$p2deadline && $p2usedeadline) { $p2onlyresult=1; } if ($p2myshowresults || $p2onlyresult) { // Gesamtzahl berechnen $p2total=0; $p2maxcount=0; for($p2i=0;$p2i<$p2answercount;$p2i++) { $p2total+=$p2answer[$p2i]["count"]; if ($p2answer[$p2i]["count"]>$p2maxcount) { $p2maxcount=$p2answer[$p2i]["count"]; } } if ($p2maxcount==0) {$p2maxcount=1;} if ($p2total==0) {$p2total=1;} if ($p2mysort) { usort($p2answer,"w2dvotecmpp2"); } // Ergebnis ausgeben echo("

Ergebnis: Was trägt dein Hund???

"); if ($p2mysidebarmode) { echo(""); } else { echo("
"); } for($p2i=0;$p2i<$p2answercount;$p2i++) { echo(""); if ($p2mysidebarmode) { echo(""); } else { if ($p2answer[$p2i]["psmall"]!="") { if ($p2answer[$p2i]["pbig"]=="") { echo (""); } else { echo (""); } } else { echo (""); } } $p2bar=$p2answer[$p2i]["count"]/$p2maxcount*$p2maxwidth; if ($p2myshowbars) { echo(""); } if ($p2mysidebarmode) { echo(""); echo(""); } else { if ($p2myshowcount) { echo(""); } if ($p2myshowpercent) { echo(""); } } echo(""); } echo("
"); echo($p2answer[$p2i]["caption"])."\n"; echo("
"); echo (""); echo(""); echo(""); echo(""); echo("
"); if ($p2myshowcount) { echo($p2answer[$p2i]["count"]); } if ($p2myshowpercent) { echo(" (".number_format($p2answer[$p2i]["count"]/$p2total*100,1))."%)"; } echo(""); echo($p2answer[$p2i]["count"]); echo(""); echo(" (".number_format($p2answer[$p2i]["count"]/$p2total*100,1))."%)"; echo("
"); if ($p2myshowtotals) { echo("


Insgesamt abgegebene Stimmen: $p2total

"); } } else { // Formular ausgeben echo("

Was trägt dein Hund???

"); echo("
"); echo(""); for($p2i=0;$p2i<$p2answercount;$p2i++) { echo (""); echo (""); if ($p2answer[$p2i]["psmall"]!="") { if ($p2answer[$p2i]["pbig"]=="") { echo (""); } else { echo (""); } } echo (""); } if ($p2mysidebarmode) { echo(""); } else { echo(""); } echo(""); echo("
".$p2answer[$p2i]["caption"].""); echo (""); echo ("


"); } ?>

Tiere

Klicken Sie hier, um zur Galerie zu gelangen.