\n"; $CNT_TMP .= headline($crow["acontent_title"], $crow["acontent_subtitle"], $template_default["article"]); if(in_array($remoteIP, $poll_form["ip"])) { $poll_total_votes = 0; foreach($poll_form["count"] as $key => $value) { $poll_total_votes += $value; } if($poll_total_votes > 0) { $poll_html .= '
";
$poll_do_br = '';
$poll_form["choice"][$key] = isset($poll_form["choice"][$key]) ? trim($poll_form["choice"][$key]) : '';
if(!empty($poll_form["choice"][$key])) {
$poll_html .= html_specialchars($poll_form["choice"][$key]);
$poll_do_br = ' '; } if(is_array($poll_image["images"][$key]) && count($poll_image["images"][$key])) { $poll_html .= $poll_do_br; $poll_html .= showPollImage($poll_image["images"][$key]); } $barWidth = round(($poll_form["count"][$key] / $poll_total_votes * 100), 0); $poll_html .= " | \n\t".''; $poll_html .= ''; $poll_html .= ''; $poll_html .= ''.$barWidth."% | \n