mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 11:49:56 +09:00
50 lines
1.6 KiB
HTML
50 lines
1.6 KiB
HTML
<!--%import("filter/poll.xml")-->
|
|
<!--%import("js/poll.js")-->
|
|
<!--%import("css/poll.css")-->
|
|
|
|
<div class="poll_box" style="{$poll->style}">
|
|
|
|
<form action="./" method="get" onsubmit="return doPoll(this)">
|
|
|
|
<div class="poll_title_box">
|
|
<div class="poll_total_count">
|
|
{$lang->poll_total_count} : {number_format($poll->poll_count)}
|
|
</div>
|
|
<div class="poll_stop_date">
|
|
{$lang->poll_stop_date} : {zdate($poll->stop_date, "Y-m-d H:i")}
|
|
</div>
|
|
</div>
|
|
|
|
<!--@foreach($poll->poll as $poll_srl_index => $val)-->
|
|
|
|
<div class="poll_detail_box">
|
|
<div class="title">{$poll_srl_index}. {$val->title} ({$val->poll_count})</div>
|
|
<!--@foreach($val->item as $item_srl => $item)-->
|
|
{@$_idx = $poll->poll_srl.'_'.$poll_srl_index.'_'.$item_srl}
|
|
|
|
<div class="item">
|
|
<!--@if($val->checkcount>1)-->
|
|
<input type="checkbox" name="item_{$poll->poll_srl}_{$poll_srl_index}" value="{$item_srl}" id="poll_item_{$_idx}" />
|
|
<!--@else-->
|
|
<input type="radio" name="item_{$poll->poll_srl}_{$poll_srl_index}" value="{$item_srl}" id="poll_item_{$_idx}" />
|
|
<!--@end-->
|
|
<label for="poll_item_{$_idx}">{$item->title} ({$item->poll_count})</label>
|
|
</div>
|
|
<!--@end-->
|
|
|
|
<!--@if($val->checkcount>1)-->
|
|
<div class="checkcount">
|
|
{$lang->poll_check_count} : {$val->checkcount}
|
|
</div>
|
|
<!--@end-->
|
|
</div>
|
|
|
|
<!--@end-->
|
|
|
|
<div class="poll_button_area">
|
|
<input type="submit" value="{$lang->cmd_apply_poll}" class="poll_button" />
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|