<?php
session_start();
if ($finame>=1){
echo "Prego effettuare il login <a href=\"/admin/index.php\"> Qui<br>
&copy;Bloghosteria.com<br>
</a>";
}
 elseif  ( empty( $finame ) ) {
?> Prego effettuare il login <a href="/admin/index.php"> Qui<br>
&copy;Bloghosteria.com<br>
</a>
<?php
} elseif ($finame==$_SESSION['finame']) {  
include ("italiano.php");
include ("headnavadmin.php");
echo "<p class=style2>$lang0003, 
". $_SESSION['laname'] ."  <a href=logout.php> Logout</a> <span class=style3>**leave blank if not Italian company/person</span> </p>

<html>
<head>
<title></title>
<meta http-equiv=Content-Type content=text/html; charset=iso-8859-1>
<style type=text/css>
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
}

a:link, a:visited {
	color: #009933; text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #ff6600;	text-decoration: none;
	font-weight: bold;	
}
.style2 {
color: #009933;
font-weight: bold;
}
.style3 {
color: #FF0000;
font-weight: bold;
}

-->
</style></head>
<body>

<form name=form1 method=post action=register.php>
  <table width=48% border=0 cellpadding=4 cellspacing=0>
    <tr>
      <td width=18% align=left valign=top>$lang0108</td>
      <td width=82%>
        <div align=left>
          <select name=first_name size=2 id=first_name2>
            <option value=For>$lang0109</option>
            <option value=Cli>$lang0110</option>
          </select>
        </div></td>
    </tr>
    <tr>
      <td align=left valign=top>$lang0035</td>
      <td><input name=last_name type=text id=\"last_name\" maxlength=100 size=50></td>
    </tr>
	<tr>
      <td align=left valign=top>$lang0036</td>
      <td><input name=cogn type=text id=\"cogn\" maxlength=30 size=30></td>
    </tr>
	<tr>
      <td align=left valign=top>$lang0037</td>
      <td><input name=nome type=text id=\"nome\" maxlength=30 size=30></td>
    </tr>
	<tr>
      <td align=left valign=top>Cod. Fisc. **</td>
      <td><input name=codfisc type=text id=codfisc maxlength=16 size=16></td>
    </tr>
	<tr>
	<tr>
      <td align=left valign=top>P. Iva **</td>
      <td><input name=piva type=text id=piva maxlength=16 size=12></td>
    </tr>
	<tr>
      <td align=left valign=top>$lang0038</td>
      <td><input name=\"via\" type=text id=via maxlength=60 size=50></td>
    </tr>
	<tr>
      <td align=left valign=top>$lang0039</td>
      <td><input name=\"citta\" type=text id=citta maxlength=60 size=50></td>
    </tr>
	<tr>
      <td align=left valign=top>$lang0040</td>
      <td><input name=prov type=text id=prov maxlength=2 size=2></td>
    </tr>
	<tr>
      <td align=left valign=top>$lang0041</td>
      <td><input name=cap type=text id=cap maxlength=5 size=5></td>
    </tr>
	<tr>
      <td align=left valign=top>Tel.</td>
      <td><input name=telef type=text id=telef maxlength=20 size=20></td>
    </tr>
	<tr>
      <td align=left valign=top>Fax</td>
      <td><input name=fax type=text id=fax maxlength=20 size=20></td>
    </tr>
	 <tr>
      <td align=left valign=top>$lang0042</td>
      <td><input name=web type=text id=web maxlength=50 size=50></td>
    </tr>
    <tr>
      <td align=left valign=top>Email</td>
      <td><input name=email_address type=text id=email_address maxlength=100 size=50></td>
    </tr>
    <tr>
      <td align=left valign=top>$lang0043</td>
      <td><input name=username type=text id=username></td>
    </tr>
    <tr>
      <td align=left valign=top>$lang0111</td>
      <td><textarea name=info id=info></textarea></td>    </tr>
    <tr>
      <td align=left valign=top>&nbsp;</td>
      <td><input type=submit name=Submit value=$lang0056></td>
    </tr>
  </table>

</form>

</body>
</html>
"; 
} else {
echo "Prego effettuare il login <a href=\"/admin/index.php\"> Qui<br>
&copy;Bloghosteria.com<br>
</a>";
} 


?>
