<% dim oRS,oRS1 , SQL, title, remark SQL = "SELECT top 6 company,type,url from hosting_insert order by seq desc" Set oRS = Server.CreateObject("ADODB.RecordSet") oRS.Open SQL,Dbcon,0,3 do while not oRS.eof remark = oRS(1) if remark = "a" then remark = "사이트기획중" elseif remark = "b" then remark = "메인디자인중" elseif remark = "c" then remark = "서브디자인중" elseif remark = "d" then remark = "작업완료" elseif remark = "e" then remark = "제작문의" elseif remark = "f" then remark = "견적서발송" elseif remark = "g" then remark = "<보기>" end if %> <% oRS.movenext loop oRS.close Set oRS = nothing %> <%if request.Cookies("hub")("id")="hubweb" then%> <%end if%>
<%=oRS(0)%> <%=remark%>
[등록]
<% SQL = "SELECT top 6 * from hompi_faq" Set oRS1 = Server.CreateObject("ADODB.RecordSet") oRS1.Open SQL,Dbcon do while not oRS1.eof %> <% oRS1.movenext loop oRS1.close Set oRS1 = nothing Dbcon.close Set Dbcon = nothing %> <%if request.Cookies("hub")("id")="hubweb" then%> <%end if%>
<%=oRS1(1)%>
[등록]