|
|
|
|
|
|
|
|
 |
|
|
|
<%if keyword<>"" or kind<>"" then%>
<%if keyword<>"" then
sql_count="select count(idx) from eyesearch where title like '%"&keyword&"%'"
set rs_count = db.execute(sql_count)
count1=rs_count(0)
rs_count.close
end if
if kind<>"" then
sql_count="select count(idx) from eyesearch where kind="&kind&""
set rs_count=db.execute(sql_count)
count1=rs_count(0)
rs_count.close
end if
%>
<%if keyword<>"" then%>
Àüü : "<%=keyword%>"(À¸)·Î °Ë»öÇÏ¿© ÃÑ <%=count1%>°³¸¦ ã¾Ò½À´Ï´Ù.
<%end if%>
<%if kind<>"" then%>
Àüü : "<%=kind1%>" °è¿¿¡¼ ÃÑ <%=count1%>°³¸¦ ã¾Ò½À´Ï´Ù.
<%end if%>
<%
if keyword<>"" then
sql="select idx,title from eyesearch where title like '%"&keyword&"%' order by 2 asc"
end if
if kind<>"" then
sql="select idx,title from eyesearch where kind="&kind&" order by 2 asc"
end if
set rs = db.execute(sql)
if rs.bof or rs.eof then
%>
°Ë»öµÈ
ÀÚ·á°¡ ¾ø½À´Ï´Ù
<%
else
do until rs.eof
idx=rs(0)
title=rs(1)
%>
<%
rs.movenext
loop
rs.close
end if
%>
|
<%end if%>
|
|
|
|
|