%
set count=db.execute("Select count(*) as count from product where subgroupid='"&request("sid")&"'")
counter=count("count")
if not count.eof then
%>
<%end if%>
Sennheiser Admin Module
<%
path="../admin/"
set count=db.execute("Select count (*) as count from product where subgroupid='"&request("sid")&"'")
if (count("count") > 7) then
%>
<%else%>
<%end if%>
<%
set pic=db.execute("Select * from product where subgroupid='"&request("sid")&"'")
if not pic.eof then
while not pic.eof
counter=counter+1
%>
" src="<%=path%>images/thumbnail/<%=pic("tnPath")%>" id="PImage_<%=counter%>" onclick="SelectImage(this);" value="productView.asp?sid=<%=pic("subgroupid")%>&pid=<%=Server.URLEncode(pic("productID"))%>&sname=<%=sname%>#1"/>
<%
pic.movenext
wend
end if
%>