=$list[poll_question]?>
(투표기간 : =date("Y-m-d H:i",$list[start_date])?> 부터 ~ =date("Y-m-d H:i",$list[end_date])?> 까지)
for($i=1 ; $i<=$list[poll_num] ; $i++) {
$temp_pa = "poll_answer".$i;
$temp_ps = "statistics_answer".$i;
if($list[$temp_ps] > 0) $temp_per = round(($list[$temp_ps] / $sum_poll) * 100); else $temp_per = 0;
?>
=$i?>. =$list[$temp_pa]?> |
=$list[$temp_ps]?> |
=$temp_per?>% |
|
} ?>
$query = "select * from $morning_pcomment_table where puid = '$ps_poid' order by uid desc";
$result = hd_query($query);
$i=0;
while($co_list = hd_fetch($result)) {
$i++;
$co_list[comment_body] = make_br(del_teg($co_list[comment_body]));
$co_list[comment_name] = make_br(del_teg($co_list[comment_name]));
if($g_check_rank > 6) {
$show_del = "삭제";
} else {
$show_del = "";
}
?>
}
?>
if(!$i){ ?>
작성된 덧글이 없습니다.
} ?>
|