<?php
if (!is_writable('rank.txt') or !is_writable('user_log.htm'))
{
echo "<center>Sorry but the script can not write to directory or files. Look at readme file.<br>Spiacente, non posso scrivere la directory o i files. Leggere il file readme con le istruzioni</center>";
}
echo "<table width=\"45%\" border=\"1\" align=\"center\" cellpadding=\"2\" cellspacing=\"2\">\n";
echo " <tr> \n";
echo " <td width=\"15%\">ENGLISH</td>\n";
echo " <td width=\"85%\" bgcolor=\"#CCCCCC\">\n";
echo "<div align=\"center\">Now you need to run<br>\n";
echo " the script for the first time.<br>\n";
echo "Insert the same username and password of the data file : <br>\n";
echo "<form id=\"form1\" name=\"form1\" method=\"post\" action=\"start.php\">\n";
echo " <label>username\n";
echo " <input type=\"text\" name=\"usernamees\" id=\"usernamees\" />\n";
echo " </label>\n";
echo " <p>\n";
echo " <label>password\n";
echo " <input type=\"text\" name=\"passwordes\" id=\"passwordes\" />\n";
echo " </label>\n";
echo " </p>\n";
echo " <p>\n";
echo " <input type=\"submit\" name=\"button\" id=\"button\" value=\"RUN\" />\n";
echo " </p>\n";
echo "</form>\n";
echo " </div></td>\n";
echo " </tr>\n";
echo " <tr> \n";
echo " <td>ITALIANO</td>\n";
echo " <td bgcolor=\"#CCCCCC\">\n";
echo "<div align=\"center\">Ora occorre eseguire lo script<br>\n";
echo " per la prima volta.<br>\n";
echo "Inserire la stessa username e password del file data : <br>\n";
echo "<form id=\"form1\" name=\"form1\" method=\"post\" action=\"start.php\">\n";
echo " <label>username\n";
echo " <input type=\"text\" name=\"usernamees\" id=\"usernamees\" />\n";
echo " </label>\n";
echo " <p>\n";
echo " <label>password\n";
echo " <input type=\"text\" name=\"passwordes\" id=\"passwordes\" />\n";
echo " </label>\n";
echo " </p>\n";
echo " <p>\n";
echo " <input type=\"submit\" name=\"button\" id=\"button\" value=\"Esegui\" />\n";
echo " </p>\n";
echo "</form>\n";
echo " </tr>\n";
echo "</table>\n"
?>