<% select case n_w case 1 ' n_f=7 nsw2=nsw*1.2 case 2 ' n_f=6 nsw2=nsw end select p_name=rs("name") '標題顯示設定 c_s_title="" & c_title & "" if l_hid_title then c_s_title="" end if c_s_title="" c_src="" '不顯示標誌 %> <% nsw2=nsw*0.7 n_two=-1 '二跳 p_total=rs("total") if nz(p_total)=0 then p_total=rs("sum") end if if (isnull(rs("sca_1A")) or rs("sca_1A")="" or rs("sca_1A")="NaN" or rs("sca_1A")=0) then nsw2=nsw * 1.4 n_two=0 end if %> <% 'if nsw=nsw2/0.7 then '有二跳的成績 if n_two then '有二跳的成績 %> <% else %> <% end if %>
<%=c_src%><%=c_s_title%>
<% set fs = CreateObject("Scripting.FileSystemObject") src_file="images/" & a_event( a_event_n(rs("g_id")) , rs("e_id") ) & ".gif" realpath = server.mappath(src_file) if fs.FileExists(realpath) then %> <% end if %> <%=a_event( a_event_n(rs("g_id")) , rs("e_id") )%> <%=a_group(rs("g_id"))%>
<% n_name_fs=nsw/15 if len(p_name)>8 then n_name_fs=nsw/25 end if %>  <%=rs("n_id")%>  <%=Convert_ASCII_Unicode(p_name)%>   <% set fs = CreateObject("Scripting.FileSystemObject") src_file="images/" & a_country_f(rs("c_id")) & ".gif" realpath = server.mappath(src_file) if fs.FileExists(realpath) then %> <% end if %> <%=a_country_s(rs("c_id"))%>
<% if a_sum_t(rs("g_id"),rs("e_id"))=5 then %> 平均 <%=sp3((rs("sum")+rs("sum_1"))/2)%> <% else %> TOTAL <%=sp3(rs("total"))%> <% end if %>
TOTAL <%=sp3(p_total)%>
<% 'if nsw=nsw2/0.7 then '有二跳的成績 if n_two then '有二跳的成績 %> <% else %>
D <%=sp1(rs("scaA"))%>
<%=rs("note_2")%>
E <%=sp3(rs("sca")-rs("scb"))%> P <%=sp2(rs("scer"))%>
<%=rs("note")%>
<%=sp3(rs("sum"))%>
D <%=sp1(rs("sca_1A"))%>
<%=rs("note_3")%>
E <%=sp3(rs("sca_1")-rs("scb_1"))%> P <%=sp2(rs("scer_1"))%>
<%=rs("note_1")%>
<%=sp3(rs("sum_1"))%>
<% end if %>
D <%=sp1(rs("scaA"))%>
<%=rs("note_2")%>
E <%=sp3(rs("sca")-rs("scb"))%> P <%=sp2(rs("scer"))%>
<%=rs("note")%>
<% rs.close() %>