Current Path : /web/htdocs/www.entinoprofit.org/home/database/
Upload File :
Current File : /web/htdocs/www.entinoprofit.org/home/database/gestionetessere2.php

<?php
include_once("include/config.php");
include_once("include/auth.lib.php");

list($status, $user) = auth_get_status();

if($status == AUTH_LOGGED & auth_get_option("TRANSICTION METHOD") == AUTH_USE_LINK){
	$link = "?uid=".$_GET['uid'];
}else	$link = '';

$club = $_POST['club'];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Database Rivs</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="1" bgcolor="#3333CC">
  <!--DWLayoutTable-->
  <tr bordercolor="#FFFFFF" bgcolor="#FF0000" class="form">
    <td height="20" colspan="9" bgcolor="#CC0000" class="form"><div align="center">Database ACSI Comitato Provinciale di Padova</div></td>
  </tr>
  <tr>
    <td height="20"></td>
  </tr>
  <tr bordercolor="#FFFFFF" bgcolor="#CC0000" class="form">
    <td height="20" colspan="9"><div align="center"><?php include('in.php'); ?></div></td>
  </tr>
 </table><p></p>
<table width="100%" border="1" bgcolor="#3333CC">

  <!--DWLayoutTable-->
  <tr bordercolor="#FFFFFF" bgcolor="#CC0000" class="form">
    <td height="23" colspan="5" valign="top" class='form1'><div align="center">Credito residuo club <?php echo "$club"; ?></div></td>
  </tr>
  <tr bordercolor="#3333CC">
 <td height="20" colspan="5" valign="top" class='form1'><div align="center"></div></td>
 </tr>
  <tr bordercolor="#3333CC">
    <td height="28" colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td colspan="2" valign="middle" class='form'>
   
      <form method="post" action="gestionetessere3.php">
		 

    <?php 
	
	$query = "SELECT credito FROM utenti where username = '$club' ";
    $risultato = mysql_query($query) or die("Query 1 failed");
	$array = mysql_fetch_array($risultato, MYSQL_BOTH)  ;
	echo "<input type='text' name='credito' value='$array[credito]'>
	<input type='hidden' name='club' value='$club'>
	";
	
	?>
	     
		  <input type="submit" value="Aggiorna credito">
      </form></td>
  <td width="379" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>

  
  <tr bordercolor="#3333CC">
    <td width="214" height="26" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td colspan="2" valign="middle" class='form'><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td colspan="2" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr bordercolor="#3333CC">
    <td height="24" colspan="5" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
  </tr>
  <tr>
    <td height="5"></td>
    <td width="137"></td>
    <td width="62"></td>
    <td width="131"></td>
    <td></td>
  </tr>
</table>
 <table width="100%">
<tr><td>
  <div align="center">  </div></td>
</tr>
</table>


</table>

</body>
</html>