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

<?php

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

$club = $_GET['club'];

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

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

if($status == AUTH_LOGGED){

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Database ACSI Comitato Provinciale di Padova</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="css/dashboard.css" media="screen" />

<link href="style.css" rel="stylesheet" type="text/css">

</head>

<body>
<table width="100%" class="table1">
  <!--DWLayoutTable-->
  <tr >
    <td height="20" colspan="9" ><div align="center">Database ACSI Comitato Provinciale di Padova</div></td>
  </tr>
  <tr>
    <td height="20"></td>
  </tr>
  <tr >
    <td height="20" colspan="9"><div align="center"><?php include('in.php'); ?></div></td>
  </tr>
</table>
<p></p>

<div id="main">
<?php 
if ($user["admin"] == 1) {

$query = "SELECT * FROM utenti WHERE username = '$club'";


$risultato = mysql_query($query) or die("Query 1 failed");
$array = mysql_fetch_array($risultato, MYSQL_BOTH);

} 
?>
<div id="box-1">
<table width="100%" align="left" class="table3">
	<thead>
		<tr><th height="22" colspan="3"><div align="center">CLUB <?php echo "$club <a href=\"modclub.php?club=$club\">[Modifica]</a>"; ?></div></th>
  </tr></thead>
	  <tr>
		<td colspan="2" height="26"><!--DWLayoutEmptyCell-->&nbsp;</td>
	  </tr>
  <tr >
    <td height="26" valign="baseline">Dati di accesso</td>
    <td class="desc"><?php echo "U: $array[username] - P: $array[pwd]";?></td>
  </tr>
  <tr >
    <td height="26" valign="baseline">Indirizzo sede</td>
    <td class="desc"><?php echo "$array[indirizzo]" ;?></td>
  </tr>
  <tr>
    <td height="26" valign="baseline">Telefono</td>
    <td class="desc"><?php echo "$array[tel]" ;?></td>
  </tr>
  <tr >
    <td height="26" valign="baseline"><span >Cellulare</span></td>
    <td class="desc"><?php echo "$array[cel]" ;?></td>
  </tr>
  <tr>
    <td height="26" valign="baseline">Fax</td>
    <td class="desc"><?php echo "$array[fax]" ;?></td>
  </tr>
  <tr>
    <td height="26" valign="baseline">Email</td>
    <td class="desc"><?php echo "$array[email]" ;?></td>
  </tr>
  <tr >
    <td height="26" valign="baseline">Sito Web</td>
    <td class="desc"><?php echo "$array[web]" ;?></a></td>
  </tr>
    <tr >
    <td height="26" valign="baseline">Partita IVA</td>
    <td class="desc"><?php echo "$array[piva]" ;?></a></td>
  </tr>
      <tr >
    <td height="26" valign="baseline">Cod. Fiscale</td>
    <td class="desc"><?php echo "$array[cf]" ;?></a></td>
  </tr>
  <tr >
    <td height="26" valign="baseline">Prima affil.</td>
    <td class="desc"><?php echo "$array[primaff]" ;?></a></td>
  </tr>
  <tr >
    <td height="26" valign="baseline">Ente Preced.</td>
    <td class="desc"><?php echo "$array[enteprec]" ;?></a></td>
  </tr>
  <tr >
    <td height="26" valign="baseline">Note</td>
    <td class="desc"><?php echo "$array[note]" ;?></a></td>
  </tr>
    <tr >
    <td height="26" valign="baseline">Tipo Attivit&agrave;</td>
    <td class="desc"><?php echo "$array[tipoatt]" ;?></a></td>
  </tr>
      <tr >
    <td height="26" valign="baseline">Durata Attivit&agrave; </td>
    <td class="desc"><?php echo "$array[duratt]" ;?></a></td>
  </tr>
    <tr >
    <td height="26" valign="baseline">Note</td>
    <td class="desc"><?php echo "$array[note]" ;?></a></td>
  </tr>
  </table>
</div>

<div id="box-2">
	  <form name="addreport" method="post" action="schedaclub.php?club=<?php print "$club"; ?>">
	  <table id="addticket"  width="100%" class="table3">
		<!--DWLayoutTable-->
	  
	<thead>
		<tr><th height="22" colspan="3"><div align="center">DATI DEL REPORT </div></th>
  </tr></thead>
	  <tr>
		<td colspan="2" height="26" valign="baseline"><!--DWLayoutEmptyCell-->&nbsp;</td>
	  </tr>
	  <tr >
		<td width="286" height="26" valign="baseline">Collaboratore</td>
		<td width="464">		  <select name="collaboratore">
		  <option value="0">Seleziona &raquo;</option>
            <option value="albertoz">Alberto Z</option>
            <option value="albertoc">Alberto C</option>
            <option value="aurora">Aurora</option>
            <option value="ernesto">Ernesto</option>
			<option value="mirella">Mirella</option>
			<option value="oana">Oana</option>
            <option value="eleonora">Eleonora</option>
            <option value="sonia">Sonia</option>
          </select></td>
	  </tr>
	<tbody>
	</tbody>
	  <tr >
	    <td height="26" valign="middle">Descrizione</td>
	    <td valign="middle"><textarea name="descrizione" cols="60" rows="5"></textarea></td>
	  </tr>
		<!--DWLayoutTable-->
	  <tr >
	    <td height="26" valign="baseline"><!--DWLayoutEmptyCell-->&nbsp;</td>
	    <td><!--DWLayoutEmptyCell-->&nbsp;</td>
	  </tr>

	  <tr>
		<td height="28" colspan="2" valign="top"><div align="right">
			  <input type="submit" name="addreport" value="Prosegui">
		</div></td>
	  </tr>
	</table>
    </form>
</div>

</div> 

</body>
</html>
<?php }else echo "Non hai i diritti per visualizzare la pagina"; ?>