L'index è strutturata in questo modo:
codice:
<%@LANGUAGE="VBSCRIPT"%>
<%
Set rs = Server.CreateObject( "ADODB.Recordset" )
SQL="select * from elenco"
rs.Open SQL,Con, 2,2
%>
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.Stile12 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: bold;
color: #FF0000;
}
.Stile13 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000066;
font-weight: bold;
}
-->
</style>
</head>
<body>
<table width="80%" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<% while not rs.eof %>
<td><span class="Stile12"><%= rs("titolo") %></span></td>
</tr>
<tr>
<td><span class="Stile13"><%= rs("articolo") %></span></td>
</tr>
<tr>
<td bgcolor="#990000"><hr width="400"></td>
</tr>
<%
rs.movenext
wend
%>
</table>
admin</p>
<%
rs.close
set rs = nothing
con.close
set con = nothing
%>
</p>
</body>
</html>