<? include ("config.php"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><? echo "$nomesito"; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
	background: #F7F7FF;
	margin-left: 0px;
	margin-top: 0px;
}
a:link, a:visited {
	color: #990033; text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #6666FF;	text-decoration: none;
	font-weight: bold;	
}
.style2 {
color: #009933;
font-weight: bold;
}
.style3 {
color: #000000;

}
.style5 {
	color: #CC0000;
	font-size: 48px;
	font-family: Eurostile;
}
.style7 {font-size: 12px
}
-->
</style></head>

<body>
<?
include ("langselect.php");

include ("contpub.php"); 
echo"<table width=800 align=center   border=1 cellpadding=0 cellspacing=0 >
  <tr>
    <td><div align=center><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"800\" height=\"150\">
            <param name=\"movie\" value=\"Movie1457.swf\">
            <param name=\"quality\" value=\"high\">
            <embed src=\"Movie1457.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"800\" height=\"150\"></embed>
    </object></div></td>
  </tr>
  <tr>
    <td height=409><div align=center>
      <table width=800 height=415 align=center  border=1 cellpadding=0 cellspacing=0 bgcolor=#FFFFFF >
        <tr>
          <td width=14% valign=top><div align=center>
		  <table width=100% border=1 align=center cellpadding=1 cellspacing=0 bgcolor=#E6E6E6 >";
 		
mysql_connect("$hhost","$login","$pass") or die ("Problem connecting to DataBase"); 
$query = "SELECT * FROM content"; 
$result = mysql_db_query("$dbname", $query);
 
if ($result) { 

 

while ($r = mysql_fetch_array($result)) { 


$page = $r["page"];



echo "<tr><td align=center bgcolor=#ABABFF><a href=contenutinp.php?page=$page>$page</a></td></tr>"; 
} 
 
}

echo"</table><p><form action=checkuser.php method=post name=form1>
<table width=50% border=0 align=center cellpadding=4 cellspacing=0>
		<tr>
      <td class=style7>$lang0061</td>
    </tr>
          <form action=checkuser.php method=post name=form1>

     <tr>
      <td class=style7>Login</td>
    </tr>
	<tr>
      <td width=78%><input name=username type=text id=username></td>
    </tr>
	<tr>
      <td class=style7>Password</td>
    </tr>
    <tr>
    <td><input name=password type=password id=password></td>
    </tr>
    <tr>
     
      <td><input type=submit name=Submit value=$lang0056></td>
    </tr>
  </table>
 
</form>

<div align=center>
  <p class=style7>$lang0062 <a href=autoregcli.php>$lang0063 </a>$lang0064 <a href=dimpass.php>Password</a></p>
   <form method=POST action=contenutisearchresult.php>
    <p>
  <input type=Text size=20 maxlength=100 name=\"keywords\">&nbsp;</p>
    <p><input type=Submit name=search value=Search> </p>
    </form>
<table width=100% height=54  border=0 cellpadding=0 cellspacing=0>
  <tr>
   
    <td width=33%><div align=center><form action=changelang2.php method=post>
	<input name=nolg type=hidden value=lingua>
	<input name=aglg type=hidden value=italiano>
	<input name=submit type=image value=submit src=images/italiano.jpg alt= align=middle width=51 height=31>
	
	</form></div></td>
    <td width=34%><div align=center><form action=changelang2.php method=post>
	<input name=nolg type=hidden value=lingua>
	<input name=aglg type=hidden value=english>
	<input name=submit type=image value=submit src=images/english.png alt= align=middle width=51 height=31>
	
	</form></div></td>
	<td width=33% height=54><div align=center><form action=changelang2.php method=post>
	<input name=nolg type=hidden value=lingua>
	<input name=aglg type=hidden value=chinese>
	<input name=submit type=image value=submit src=images/chinese.jpg alt= align=middle width=51 height=31>
	
	</form></div></td>
  </tr>
    <tr>
   
    <td width=33%><div align=center><form action=changelang2.php method=post>
	<input name=nolg type=hidden value=lingua>
	<input name=aglg type=hidden value=french>
	<input name=submit type=image value=submit src=images/french.jpg alt= align=middle width=51 height=31>
	
	</form></div></td>
    <td width=34%><div align=center><form action=changelang2.php method=post>
	<input name=nolg type=hidden value=lingua>
	<input name=aglg type=hidden value=brazilian_portuguese>
	<input name=submit type=image value=submit src=images/brazilian.jpg alt= align=middle width=51 height=31>
	
	</form></div></td>
	<td width=33% ><div align=center><form action=changelang2.php method=post>
    <input name=nolg type=hidden value=lingua>
    <input name=aglg type=hidden value=spanish>
    <input name=submit type=image value=submit src=images/spanish.jpg alt=spagnolo align=middle width=51 height=31>
    </form></div></td>
  </tr>
</table></div></p></div></td>
          <td width=2% valign=top>&nbsp;</td>
          <td width=76% valign=top>$agggr</td>
        </tr>
      </table>  
    </div></td>
  </tr>
</table>";
?>
</body>
</html>
