|
INSTRUCTIONS
First select your pet from the pulldown menu in the middle. Once
selected, the business that your pet owns is located in the box to
the right. To browse through the certain types of businesses, just click on the image or link for each type. Each pet can only own one business. Additional businesses of the same type can be purchased by each company.
Check back often as new Mucho Businesses are added
regularly!!!
|
|
|
|
|
|
<%
if not session("petitemid")="" then
set rsp =Server.CreateObject("adodb.recordset")
rsp.open "SELECT UserPetTable.userpetName,UserPetTable.companyname, PetTable.petName, UserPetTable.energylevel, PetTable.smallimg FROM PetTable INNER JOIN UserPetTable ON PetTable.petId = UserPetTable.petId WHERE (((UserPetTable.userPetId)=" & session("petitemid") & "));",conn
if not rsp.eof then
%>
" width="34" height="34"> |
| Pet Name |
<%=rsp("userpetname")%> |
| Pet Type |
<%=rsp("petname")%> |
| Company Name |
<%if len(rsp("companyname")) > 1 then%>
"><%=rsp("companyname")%>
<%else
Response.Write("-")
end if
%>
|
| Business Type |
<%set rsppt=Server.CreateObject("ADODB.RECORDSET")
rsppt.open "SELECT businesstable.BusinessName FROM businesstable INNER JOIN userBusinessTable ON businesstable.businessID = userBusinessTable.BID WHERE (((userBusinessTable.userpetID)="& session("petitemid")&"));",conn
if not rsppt.eof then
Response.Write(rsppt("BusinessName"))
else
Response.Write("-")
end if
%>
|
| Energy Level |
<%=rsp("energylevel")%> |
|
<%end if
end if
%>
|
|