Files
sms_host20170829/content/board_org/code.asp
T
2026-02-23 10:01:00 +09:00

39 lines
1.2 KiB
Plaintext

<!-- 분류 -->
<%if a_cate = "Y" then%>
<form id= "frm_code" method='get' action="/content/board/list.asp">
<input type="hidden" name="a_num" value="<%=a_num%>" />
<ul>
<li style="padding-top:1px;"><select id="b_cate_tot" name="p_cate" title="분류 선택">
<option value="" selected="selected">전체</option>
<%
R_Fields_code = "ct_idx, ct_name, ct_file"
Select Case a_num
Case "91134381", "85563030", "85125042", "49892315", "44876323", "71879802"
SQL = "Select " & R_Fields_code & " FROM board_code WHERE ct_chk = 'Y' AND a_num='71074505' ORDER BY ct_code ASC"
Case else
SQL = "Select " & R_Fields_code & " FROM board_code WHERE ct_chk = 'Y' AND a_num='" & a_num & "' ORDER BY ct_code ASC"
End Select
Set rs_code = dbcon.execute( sql )
Do Until rs_code.eof
ct_idx = rs_code("ct_idx")
ct_name = rs_code("ct_name")
%>
<option value="<%=ct_idx%>" <%=chkSelect(ct_idx, v_cate)%>><%=ct_name%></option>
<%
rs_code.movenext
loop
Set rs_code = nothing
%>
</select></li>
<li><input type="image" src="/content/board/nninc_simple/img/command_ok.gif" width="34" height="20" alt="선택한 분류 이동" /></li>
</ul>
</form>
<%End if%>
<!-- //분류 -->