<?php
include_once("include/config.php");
include_once("include/auth.lib.php");
list($status, $user) = auth_get_status();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Inserimento news Entinoprofit.org - Rivs.it - Aesnazionale.it</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="testata">
<table width="760" border="0" cellpadding="0" cellspacing="0" align="center">
<!--DWLayoutTable-->
<tr>
<td height="105" colspan="2" valign="top"><img src="images/testata.jpg" width="760" height="105" border="0"></td>
</tr>
<tr><td height="37" colspan="2" valign="center" background="images/navbar.gif">
<div align="center" class="titolo"><b>Calendario Collaboratori ACSI-AES_RIVS</b></div>
</td>
</tr>
</table>
</div>
<div>
<?php
switch($status){
case AUTH_LOGGED:
?>
<iframe src="http://www.google.com/calendar/embed?height=600&wkst=2&hl=it&bgcolor=%23FFFFFF&src=erny.ipc%40gmail.com&color=%23A32929&ctz=Europe%2FRome" style=" border-width:0 " width="80%" height="600" frameborder="0" scrolling="no"></iframe></iframe>
<?php
break;
case AUTH_NOT_LOGGED:
?>
<div id="main">
<div id="news">
<table width="760" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td >Login Club </td>
</tr>
<tr>
<td >
<form action="login.php<?=$link?>" method="post">
<table cellspacing="2">
<!--DWLayoutTable-->
<tr>
<td >Username :</td>
<td ><input name="uname" type="text" size="10"></td>
</tr>
<tr>
<td class="text1">Password :</td>
<td><input name="passw" type="password" size="10"></td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="action" value="entra">
</td>
</tr>
<tr><td height="21" colspan="2" valign="top" ><!--DWLayoutEmptyCell--> </td>
</tr>
</table>
</form>
</table>
<?php
break; }
?>
</div></div>
</body>
</html>