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

<?php
session_start();

?>
<?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 = '';


$idclub = (isset($_GET['idclub'])) ? $_GET['idclub'] : '0';

?>
<!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 href="style.css" rel="stylesheet" type="text/css">

<SCRIPT LANGUAGE="JavaScript">
function verifica(form) {
  if (form.nome.value == "") {
    alert("Occorre riempire il campo Nome");
    return false;
} else if (form.cognome.value== "") {
    alert("Occorre riempire il campo Cognome");
    return false;
} else if (form.tel.value== "") {
    alert("Occorre riempire il campo telefono");
    return false;
} else if (form.mail.value== "") {
    alert("Occorre riempire il campo email");
    return false;
}
    return true;
}
// --> </SCRIPT>



</head>

<body>
<table 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>
<div id="main">
 <FORM name="form" METHOD="POST" onSubmit="return verifica(this);" action="lista_referenti.php?inSospeso=1">
<table width="40%" class="table3">


<thead>
		<tr>
		  <th height="22" colspan="2">DATI REFERENTE </th>
  </tr></thead>
  <tr>
    <td height="22" colspan="2" valign="top">Nuovo Inserimento - Club <?=$user["username"];?></td>
    </tr>
  <tr valign="middle">
    <td height="26"><div align="justify" >Nome</div></td>
    <td ><input name="nome" type="text" id="nome" size="70">
      <span class="form">*</span></td>
    </tr>
	<tr valign="middle">
	  <td height="26" >Cognome</td>
	  <td><input name="cognome" type="text" id="cognome" size="70">
	    *</td>
	  </tr>
	  	<tr valign="middle">
	  <td height="26" >Indirizzo</td>
	  <td><input name="indirizzo" type="text" id="indirizzo" size="70">
	    *</td>
	  </tr>
	<tr valign="middle">
	  <td height="26" >Progetto</td>
	  <td><input name="progetto" type="text" id="progetto" size="70">
	    *</td>
	  </tr>

    <tr valign="middle"><td height="26">Telefono</td>
    <td ><input name="tel" type="text" id="tel" size="70" maxlength="20">
      *</td>
    </tr>
  <tr valign="middle">
    <td height="26">Email</td>
    <td ><input name="mail" type="text" id="mail" size="70">
      *</td>
    </tr>
  <tr valign="middle">
    <td height="26">Note</td>
    <td ><textarea name="note" cols="70" rows="5" wrap="virtual" id="note"></textarea></td>
  </tr>
  <tr>
    <td height="30" colspan="2" valign="baseline" ><input name="idclub" type="hidden" id="idclub" size="2" value="<?php echo $idclub; ?>"></td>
    </tr>
  <tr>
    <td height="28" colspan="2" valign="top"><div align="right">
          <input type="submit" name="addreferente" value="Aggiungi">
    </div></td>
</tr>
</table>
</form>
</div>
</body>
</html>