| |
|
 |
|
| |
 |
<%
if rows_Menu >= 0 then
for i = 0 to rows_Menu
ID = rs_Menu(0,i)
ItemID = rs_Menu(1,i)
ItemName = rs_Menu(2,i)
%>
| 4 |
<%=ItemName%> |
<%
if z >= 1 then
if StrComp(apIDStr(1),ID,1) = 0 then
call ListSubMenu(1)
end if
end if
next
end if
%>
| |
|
|
 |
|
| |
|
Touch
the latest modern technologies and innovations
in processing machines to make your industry progress
& succeed |
|
|
<%
if rows_Item >= 0 then
%> <%
for i = sItem to eItem step 2
%>
<%
for j = i to i+1
%>
<%
if j <= eItem then
ID = rs_Item(0,j)
ItemID = rs_Item(1,j)
ItemName = rs_Item(2,j)
ItemPic = rs_Item(3,j)
ItemType = rs_Item(4,j)
ItemDesc = sFText(rs_Item(5,j))
if (ItemName = empty or IsNull(ItemName)) then
ItemName = ItemID
ItemID = empty
end if
if not(ItemID = empty or IsNull(ItemID)) then
ItemID = " " & ItemID
end if
if ItemPic = empty or IsNull(ItemPic) then ItemPic = "spacer.gif"
if ItemType = "z" then 'ถ้า item เป็น product จะแสดงในรูปแบบที่เป็น product
%>
|
|
| <%=ItemName%> |
| |
| |
| |
 |
|
|
<%
else 'ถ้า item เป็น category จะแสดงในรูปแบบที่เป็น category
%>
 |
|
| <%=ItemName%> |
 |
|
<%
end if
else 'ถ้ามี item ไม่พอจนครบแถว จะใส่ช่องว่างลงไปแทน
%> <%
end if
%> |
<%
next
%>
|
|
<%
next
%> <%
end if
%>
|
|
| Found : <%=strFound%>
item(s) |
<%=strPpP%> |
|
|