<% if Session("LoginStatus")<>"yes" then response.Redirect("noauthority.asp") end if %>
SMALL CYCLADES MANAGER >HOTELS (EN) MANAGER>VIEW/MODIFY ENTRIES
<% pg=trim(request("pg")) if pg="" then pg=1 objDB="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 ets=server.CreateObject("adodb.recordset") ets.activeconnection=myconnection ets.CursorType=adOpenStatic ets.Pagesize=10 rowcount=0 sql="SELECT * FROM `hotelsen2` ORDER BY `priority`" ets.open sql,myconnection ets.Absolutepage=pg do while not ets.eof and rowcount <% ets.movenext loop %>
ID ISLAND TITLE DESCRIPTION TELEPHONE TYPE PICTURE ALT PRIORITY DELETE
<% response.write ets.fields("id") %> <% select case ets.fields("island") case 1 response.write "donousa" case 2 response.write "koufonissia" case 3 response.write "schinoussa" case 4 response.write "iraklia" end select %> <% response.write ets.fields("title") %> <% response.write ets.fields("description") %> <% response.write ets.fields("telephone") %> <% response.write ets.fields("type") %> <% response.write "" & ets.fields("photo") & " " %> <% response.write ets.fields("alt") %> <% response.write ets.fields("priority") %> <%response.write "" %>
 
Pages : <% for i=1 to ets.Pagecount response.write" "& i & " " next %>
>>HOTELS (EN) MANAGER
>>MAIN MENU