<% if session("iparxei")="yes" then myDSN="DRIVER={MySQL ODBC 3.51 Driver}; SERVER=smallcycl.ipowermysql.com; DATABASE=ferrari_default; UID=ferrari;PASSWORD=!antihack!; OPTION=3" set myconnection=server.createobject("adodb.connection") myconnection.open myDSN set ets8=server.CreateObject("adodb.recordset") if request("ider") <>"" then sql8="SELECT * FROM `photocar" & session("imager") & "` where id = " & request("ider") else sql8="SELECT * FROM `photocar" & session("imager") & "`" end if ets8.open sql8,myconnection %>
<% if not ets8.eof then if ets8.fields("pic")="yes" then response.write "
" else response.write "
" end if else response.write "
" end if else response.write "
" end if %>