rhymix/modules/poll/tpl/result.html
khongchi 3581db5932 remove cdn feature
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13187 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 06:04:28 +00:00

22 lines
872 B
HTML

<load target="css/poll.css" />
<h1 class="h1">{$lang->poll_stop_date} : {zdate($poll->stop_date, "Y-m-d H:i")} {$lang->poll_join_count} : {number_format($poll->poll_count)}</h1>
<!--@foreach($poll->poll as $poll_srl_index => $val)-->
<div class="poll_detail_box">
<div class="title">{$val->title} ({$val->poll_count})</div>
<!--@foreach($val->item as $item_srl => $item)-->
{@$per = (int)(( $item->poll_count / $val->poll_count)*100) }
<div class="text">
{$item_srl+1}. {$item->title} : {$item->poll_count} ({$per}%)
</div>
<div class="bar_box">
<!--@if($per)-->
<div class="bar" style="width:{$per}%;"><img src="./images/blank.gif" alt="bar" width="1" height="5" /></div>
<!--@else-->
<div class="bar" style="width:2px;"><img src="./images/blank.gif" alt="bar" width="1" height="5" /></div>
<!--@end-->
</div>
<!--@end-->
</div>
<!--@end-->