prima parte
Codice PHP:
<?php
session_start();
include('config.php');
include('opendb.php');
$query = "SELECT idutente, punteggio, avanzamento
FROM Utenti
WHERE NOT (avanzamento = 0)
ORDER BY punteggio DESC";
$result = mysql_query($query);
include('closedb.php');
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Win Win Manager</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Win Win Manager</title>
<meta name="Author" content="Marco Greco">
<meta name="Keyword" content="win win manager, wwm, wwmanager, negoziazione, business game, gioco, MMORPG, ingegneria, gestionale, forum, tor vergata ">
<meta name="description" content="Business game online finalizzato alla formazione di negoziatori">
<link href="stile.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Stile3 {
font-size: 16px;
font-style: italic;
font-weight: bold;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" rightmargin="0" bottommargin="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="CCCC99">
<tr>
<td height="100%" align="center" valign="middle">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10" align="center" valign="top"> </td>
<td height="10" align="center" valign="top"> </td>
<td height="10"> </td>
<td height="10" align="center" valign="top"> </td>
</tr>
<tr>
<td height="100%" align="center" valign="top"><table width="100%" height="45" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td height="5" background="img/barra.jpg"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="10"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
</table></td>
<td width="212" height="100%" align="center" valign="top"><table width="212" height="374" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" height="45" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td width="100%" height="5" background="img/barra.jpg"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="10"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="329" align="center" valign="middle"><table width="212" height="329" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"><img src="img/pix.gif" width="1" height="1"></td>
<td align="center" valign="middle" background="img/menu.jpg"><table width="192" height="329" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="40" align="center" valign="bottom"><a href="index.htm" class="menu">Home</a></td>
</tr>
<tr>
<td height="30" align="center" valign="bottom"><a href="classifiche.php" class="menu">Classifiche</a></td>
</tr>
<tr>
<td height="30" align="center" valign="bottom"><a href="guida.htm" class="menu">Guida</a></td>
</tr>
<tr>
<td height="30" align="center" valign="bottom"><a href="tutorial.htm" class="menu">Faq & Tutorial</a></td>
</tr>
<tr>
<td height="30" align="center" valign="bottom"><a href="partners.htm" class="menu">Partners</a></td>
</tr>
<tr>
<td height="30" align="center" valign="bottom"><a href="staff.htm" class="menu">Staff</a></td>
</tr>
<tr>
<td height="30" align="center" valign="bottom"><a href="link.htm" class="menu">Link</a></td>
</tr>
<tr>
<td height="30" align="center" valign="bottom"><a href="newsletter.htm" class="menu">Newsletter</a></td>
</tr>
<tr>
<td height="28" align="center" valign="bottom"><a href="http://wwmanager.altervista.org/phpBB2/index.php" class="menu">Forum</a></td>
</tr>
<tr>
<td height="50" align="center" valign="center"><a href="areautenti.php" class="menu">AREA
UTENTI</a></td>
</tr>
</table></td>
<td width="10"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
</table></td>
</tr>
</table>
<table width="212" height="85" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="32" align="center" valign="middle"><a href="mailto:giovanni.bianco@kaoszone.it" class="firma">design
by Giovanni Bianco</a></td>
</tr>
<tr>
<td height="53" align="center" valign="middle">
<!-- _____________ START 0Stats.com _____________ -->
<script language="JavaScript">
var stringa='<a href="http://www.0st.com/?sid=19036" target="_blank">';var stringa2= stringa.replace('0st','0stats');
document.write(stringa2);</script>
<script type="text/javascript" language="JavaScript" SRC="http://www.0stats.com/js4.php?sid=19036&laf=it&imf=0&qimg=4&gmt=13">
</script><noscript><a target="_blank" href="http://www.0stats.net">contatore visite gratis</a></noscript>
<script language="JavaScript">
var fine='<\/a>';
document.write(fine);
</script>
<!-- _____________ END 0Stats.com _____________ -->
</td>
</tr>
</table></td>
<td width="548" height="100%"align="center" valign="top"><table width="548" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="62"><table width="548" height="62" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><table width="100%" height="45" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td width="100%" height="5" background="img/barra.jpg"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="10"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
</table></td>
<td width="360" align="center" valign="middle"><img src="img/logo.jpg" width="360" height="62"></td>
<td align="center" valign="top"><table width="100%" height="45" border="0" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
<tr>
<td width="100%" height="5" background="img/barra.jpg"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="10"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="10"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="100%"> <table width="548" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" height="10" bgcolor="#FFFFFF"><img src="img/pix.gif" width="1" height="1"></td>
<td height="10" bgcolor="#FFFFFF"><img src="img/pix.gif" width="1" height="1"></td>
<td width="10" bgcolor="#FFFFFF"><img src="img/pix.gif" width="1" height="1"></td>
<td width="10" height="10" background="img/bianco_nord_est.jpg"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="10" bgcolor="#FFFFFF"><img src="img/pix.gif" width="1" height="1"></td>