<?xml-stylesheet href='index.xsl'?>
<%@ page import="java.io.*" contentType="text/html; charset=windows-1251" %>

<%-- страница не должна запоминаться в кэше --%>
<nocache/>
<title>&nbsp; Greenbox.ru | Скачиваемые файлы</title>
<body>

<%-- выводим заголовок --%>
<headerbox/>

<main><%--Главная таблица--%>
<br>

<table border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td>
      <img src="/images/folder2.gif" width="40" height="31" border="0"/>
    </td>
    <td width="100%">
      <font face="tahoma" size="2"><a href="/">GreenBox.ru</a>&nbsp;\&nbsp;Обновление&nbsp;базы&nbsp;\&nbsp;..</font>
    </td>
  </tr>
</table>
<br>


<%
  ru.khakasia.db.DbList dblist2 = new ru.khakasia.db.DbList();
  String squ = "";
  try{
    File file = new File("d:/hosting/greenbox/web-inf/update/new/new.txt");
    BufferedReader in = new BufferedReader( new FileReader( file ) );
    while ( in.ready() ){
      String line = in.readLine(); if ( line == null ) continue;
      dblist2.update(line);
      squ += "<li>&nbsp;"+line+"<br><br>";
    }
    file.delete();
  }catch (IOException eio) {out.print("файл не найден.");}
%>
<%=squ%>


</main><%--Главная таблица--%>

<%--Подвал--%>
<footerbox/>
</body>
