<%temp_vote_result=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_vote_result -->
<%
if request("vote_id")="" then 
	site.error.info="此投票不存在！"
	site.error.location="close"
	site.error.err()
end if

site.object(site.object_p).rs.open"select * from jins_vote_list where vote_id="&request("vote_id")&" ",conn,1,1
if site.object(site.object_p).rs.eof then
	site.error.info="此投票不存在！"
	site.error.location="close"
	site.error.err()
else
	vote_option=split(site.object(site.object_p).rs("vote_option"),",")
	vote_select=split(site.object(site.object_p).rs("vote_select"),",")
	vote_option_num=ubound(vote_option)

   response.write "<table border='0' style='border:1px dashed #808080;' width='80%' cellspacing='2' cellpadding='2' "&site.object(site.object_p).style&" >"
   response.write "<tr>"
   response.write "<td colspan=2 height=40 width='100%'style='padding-left: 10px;' valign=top><img hspace=5 align=bottom border='0' src='"&site.object(site.object_p).image&"/007.gif' >调查题目: "
   response.write site.object(site.object_p).rs("vote_title")
   response.write "</td>"
   response.write "</tr>"

	for vote_option_n=0 to vote_option_num
		if vote_option(vote_option_n)<>"" then
            response.write "<tr><td width='50%'style='padding-left: 10px;'>"
			response.write "<img hspace=5 align=absmiddle border='0' src='"&site.object(site.object_p).image&"/icon1.gif' >选项"&vote_option_n+1&"："&vote_option(vote_option_n)&"</td>"
            response.write "<td width='50%'style='padding-left: 10px;'>"
			response.write "<img hspace=5 align=absmiddle border='0' src='"&site.object(site.object_p).image&"/all_article_icon.gif' >已选：<font color=red>"&vote_select(vote_option_n)&"</font>"
            response.write "</td></tr>"
		end if
	next
	
   response.write "</table><br>"
	
end if
site.object(site.object_p).rs.close
		
%>
