<% if Session("LoginStatus")<>"yes" then response.Redirect("noauthority.asp") end if %>
SMALL CYCLADES MANAGER >GALLERY (GR) MANAGER>INSERT NEW ENTRY
<% FUNCTION fixme(theString) fixme=REPLACE(theString,"'","`") END FUNCTION island=request.Form("island") title=request.Form("title") desc=request.form("description") priority=request.form("priority") myDSN="DRIVER={MySQL ODBC 3.51 Driver}; SERVER=smallcycl.ipowermysql.com; DATABASE=ferrari_default; UID=ferrari;PASSWORD=VXJjMXwm; OPTION=3" set myconnection=server.createobject("adodb.connection") myconnection.open myDSN sql="INSERT INTO `gallery` ( `id` , `islands` , `title` , `description` , `photo` , `priority`) VALUES ('', '" & fixme(island) & "', '" & fixme(title) &"', '" & fixme(desc) & "', 'no" & "', '" & fixme(priority) & "');" myconnection.execute sql %> NEW ENTRY COMPLETED
>>GALLERY (GR) MANAGER
>>MAIN MENU