%
action=request.QueryString("type")
if action="" then
img="22.jpg"
else
select case action
case 3:
img="22.jpg"
case 4:
img="22.jpg"
case 20:
img="22.jpg"
case 21:
img="22.jpg"
case 19:
img="27.jpg"
end select
end if%>
กก
<%
iid=request.QueryString("id")
sql="select * from products where id="&iid
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof then
id=rs("id")
name=rs("name")
pic=rs("pic")
info=rs("info")
t_date=rs("date")
tt_type=rs("type")
specification=rs("especification")
rs.close
set rs=nothing
end if
%>