<$ if hasvoted <> "" and action = "vote" then lb.show(CallBack(Lebi_word(28),"·"&Lebi_word(62),1,5)) else total=0 set rs = lb.sql("select * from vote where id = "& voteid &"") if not rs.eof then $>

##

{$rs("Title"& LangTxt)}

{$Lebi_word(5)}

<$ for i=1 to 8 if rs("Select"& i & LangTxt)<>"" then total=total+rs("answer"&i) if total=0 then answer=0 else answer=(rs("answer"&i)/total)*100 end if lb.show("
"& i &"."& rs("Select"& i & LangTxt) &" | "& round(answer,3) &"%
") end If Next $>
{$Lebi_word(63)}{$total}

<$ end if rs.close : set rs=nothing end if $>