<% if Session("LoginStatus")<>"yes" then response.Redirect("noauthority.asp") end if %>
SMALL CYCLADES MANAGER >REAL ESTATE (EN) MANAGER>INSERT NEW ENTRY
<% FUNCTION fixme(theString) fixme=REPLACE(theString,"'","`") END FUNCTION shorty=request.Form("short") shortygr=request.Form("shortgr") lonqnews=request.Form("long") lonqnewsgr=request.Form("longgr") titlerr=request.form("titler") titlerrgr=request.form("titlergr") price=request.form("price") priority=request.form("priority") prtype=request.form("prtype") island=request.form("island") look=request.form("look") telephone=request.form("telephone") mobile=request.form("mobile") fax=request.form("fax") alt=request.form("alt") altgr=request.form("altgr") email=request.form("email") 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 sql="INSERT INTO `estateen` ( `id` , `title` , `titlegr` , `ektasi` , `ektasigr` , `descr` , `descrgr` , `price` , `pic` , `alt` , `altgr` , `priority` , `type` , `nisi` , `lookingfor` , `telephone` , `mobile` , `fax` , `email`) VALUES ('', '" & fixme(titlerr) & "', '" & fixme(titlerrgr) & "', '" & fixme(shorty) & "', '" & fixme(shortygr) & "', '" & fixme(lonqnews) & "', '" & fixme(lonqnewsgr) & "', '" & fixme(price) & "', 'no" & "', '" & fixme(alt) & "', '" & fixme(altgr) & "', '" & fixme(priority) & "', '" & fixme(prtype) & "', '" & fixme(island) & "', '" & fixme(look) & "', '" & fixme(telephone) & "', '" & fixme(mobile) & "', '" & fixme(fax) & "', '" & fixme(email) & "');" myconnection.execute sql %> NEW ENTRY COMPLETED
>>REAL ESTATE (EN) MANAGER
>>MAIN MENU