<% if Session("LoginStatus")<>"yes" then response.Redirect("noauthority.asp") end if %>
SMALL CYCLADES MANAGER >WEATHER MANAGER>VIEW/MODIFY ENTRIES
<% pg=trim(request("pg")) if pg="" then pg=1 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 ets=server.CreateObject("adodb.recordset") ets.activeconnection=myconnection ets.CursorType=3 ets.CursorLocation = 3 ets.Pagesize=10 rowcount=0 sql="SELECT * FROM `newweather` " ets.open sql,myconnection ets.Absolutepage=pg do while not ets.eof and rowcount <% ets.movenext loop %>
ID CITY THERMO PICTURE
<% response.write ets.fields("id") %> <% response.write " "& ets.fields("city") & " " %> <% response.write ets.fields("thermo") %> <% response.write (ets.fields("image")) %>
 
Pages : <% for i=1 to ets.Pagecount response.write" "& i & " " next %>
>>MAIN MENU