<%@ LANGUAGE="VBScript" %> <% theid=Request("id") SQLStmt = "select products.* " SQLStmt = SQLStmt & "FROM products " SQLStmt = SQLStmt & "WHERE id = " & theid & " ;" Set RS = Connection.Execute(SQLStmt) dim fso Set fso = server.CreateObject("Scripting.FileSystemObject") %> Restaurant | Commercial Furniture Manufacturer - Tables, Chairs for Restaurants, Offices, Wholesale Commercial Furniture - BK Barrit

Click here for senior living chairs

<% Response.write RS("product_title") %>

<% if right(rs("picture1"),4)=".jpg" then picture= RS("picture1") else picture = RS("id") & ".jpg" end if Response.write"
" Response.write "

Request Information

" Response.write "

" Response.write "" Response.write "" Response.write "

" Response.write "
Your Name:
" Response.write "
Your Email:
" Response.write "
Your Phone:
" Response.write "
Qty:
" Response.write "

Comments/Questions

" Response.write "" Response.write "

" Response.write "

" if RS("description")<>"" then Response.write RS("description") & "
 
" end if if trim(RS("picture1"))<>"" then picturename = RS("picture1") else picturename = RS("id") & ".jpg" end if ''Response.write picturename & "
" Set jpeg = Server.CreateObject("Persits.Jpeg") jpeg.Open( "D:/websites/B/bkbarrit/public/products/" & picturename ) thewidth=jpeg.OriginalWidth theheight=jpeg.OriginalHeight ''Response.write thewidth & "x" & theheight & "
" if theheight<500 then theheight=theheight*2 end if if theheight>500 then addin =" height='500'" end if if RS("sizew")<>"" then 'only show table if width is specified Response.write "" Response.write "" Response.write "" Response.write "" Response.write "" if RS("armh")<>"" then Response.write "" end if if RS("seatd")<>"" then Response.write "" end if if RS("wbarms")<>"" then Response.write "" end if if RS("hbas")<>"" then Response.write "" end if Response.write "
Width" & RS("sizew") & """
Depth" & RS("sized") & """
Height" & RS("sizeh") & """
Seat Height" & RS("seath") & """
Arm Height" & RS("armh") & """
Seat Depth" & RS("seatd") & """
Width between Arms" & RS("wbarms") & """
Height of Back Above Seat" & RS("hbas") & """
" end if 'end only showing table if width is specified Response.write "
" Response.write "" & RS("product_title") & "
 
" Response.write "
" %>
<% rs.Close Set rs = Nothing Connection.Close set connection = nothing %>