<?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 ("headnavadmin.php");
echo "<style type=\"text/css\">

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;
}
.style5 {
	color: #ff0000;
	font-size: 24px;
}
</style>
<p class=style2>Salve, 
". $_SESSION['laname'] ."  <a href=logout.php> Logout</a></p>
<h1 class=style5>Gestisci Flash Template </h1>
<form action=instempflash.php method=post>
<input name=nome type=hidden value=flash>
<table width=30%  border=0 cellspacing=0 cellpadding=0>
  <tr>
    <td width=28%><div align=center><strong>RZ01</strong></div></td>
    <td width=47%><div align=center><a href=/RZ01.swf target=_blank>Anteprima</a></div></td>
    <td width=25%><div align=center>
      <input name=agggr type=radio value=RZ01 checked>
    </div></td>
  </tr>
    <tr>
    <td><div align=center><strong>RZ03</strong></div></td>
    <td><div align=center><a href=/RZ03.swf target=_blank>Anteprima</a></div></td>
    <td><div align=center>
      <input type=radio name=agggr value=RZ03>
    </div></td>
  </tr>
  <tr>
    <td><div align=center><strong>RZ04</strong></div></td>
    <td><div align=center><a href=/RZ04.swf target=_blank>Anteprima</a></div></td>
    <td><div align=center>
      <input type=radio name=agggr value=RZ04>
    </div></td>
  </tr>
  <tr>
    <td><div align=center><strong>RZ05</strong></div></td>
    <td><div align=center><a href=/RZ05.swf target=_blank>Anteprima</a></div></td>
    <td><div align=center>
      <input type=radio name=agggr value=RZ05>
    </div></td>
  </tr>
  <tr>
    <td><div align=center><strong>RZ06</strong></div></td>
    <td><div align=center><a href=/RZ06.swf target=_blank>Anteprima</a></div></td>
    <td><div align=center>
      <input type=radio name=agggr value=RZ06>
    </div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><div align=center>
      <input type=submit name=Submit value=Invia>
    </div></td>
    <td>&nbsp;</td>
  </tr>
</table>
</form>";
} else {
echo "Prego effettuare il login <a href=\"/admin/index.php\"> Qui<br>
&copy;Bloghosteria.com<br>
</a>";
}
?>