<?php
include_once("include/config.php");
include_once("include/auth.lib.php");
$club = $_GET['club'];
$query = "SELECT * FROM utenti WHERE username = '$club'";
$risultato = mysql_query($query) or die("Query 1 failed");
$array = mysql_fetch_array($risultato, MYSQL_BOTH);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ACCESSO DATABASE ACSI PADOVA</title>
</head>
<body>
<img src="http://www.entinoprofit.org/database/images/intestazione%20acsi-senzarif.jpg" />
<h2>ACCESSO DATABASE ACSI PADOVA</h2>
<p>Per accedere al database ACSI Padova utilizzare le seguenti credenziali:</p>
<b>Indirizzo web:</b> http://www.entinoprofit.org/database<br />
<?php
echo '<b>Username:</b> '.$array['username'].'<br><b>Password:</b> '.$array['pwd'].'';
?>
</body>
</html>