File "titre.php"

Full Path: /home/asmplong/www/ancien-site-2019/poc/titre.php
File size: 3.06 KB
MIME-type: text/html
Charset: utf-8

<HTML>

<HEAD>
<script language="javascript">
<!--



function actualite_over()
{
document.images["actualite"].src='site/images/actualiteb.jpg'
}

function actualite_out()
{
document.images["actualite"].src='site/images/actualitea.jpg'
}



function presentation_over()
{
document.images["presentation"].src='site/images/presentationb.jpg'
}

function presentation_out()
{
document.images["presentation"].src='site/images/presentationa.jpg'
}


function contact_over()
{
document.images["contact"].src='site/images/contactb.jpg'
}

function contact_out()
{
document.images["contact"].src='site/images/contacta.jpg'
}


-->
</script>

</HEAD>



<BODY>

<TABLE border=0 width=100%>
   <TR>
      <TD width=5% align="center" valign='top'>
	&nbsp;	
      </TD>
      <TD align="left">
	<img name="titre" src="site/images/titre.jpg" border=0 width=650> 
      </TD>
      <TD width=20% align="center" valign='top'>
	&nbsp;	
      </TD>
      <TD width=10% align=center>
	<img src="site/images/logoFFESSM.jpg" border=0 width=100> 
	<img src="site/images/logoMAIRIE.jpg" border=0 width=100> 
	<img src="site/images/logoCG.gif" border=0 width=50> 
	<img src="site/images/logoCR.gif" border=0  width=40> 
	<img src="site/images/logoMinistere.gif" border=0> 
      </TD>
      <TD width=5% align="center" valign='top'>
	&nbsp;	
      </TD>
   </TR>
</TABLE>
<TABLE border=0 width=100%>
   <TR>
      <TD width=30% align="center" valign='top'>
	&nbsp;	
      </TD>

<?php

if(!empty($_GET['t']))
{
	$titre = $_GET['t'];
}
else
{
	$titre='g';
}



if ($titre != 'g')


{

echo "      <TD width=25% align=\"center\" valign=\"top\">";


if ($titre == 'p')
{
	echo "	<A href=\"index.php?t=p\" class=\"lien3\">";
	echo "	<img name=\"presentation\" src=\"site/images/presentationb.jpg\" border=0 width=200></A>";
}
else
{
	echo "	<A href=\"index.php?t=p&m=p&c=p\" class=\"lien3\" onmouseover=\"presentation_over()\" onmouseout=\"presentation_out()\">";
	echo "	<img name=\"presentation\" src=\"site/images/presentationa.jpg\" border=0 width=200></A>";
}


echo "	</A>";
echo "	</TD>";
echo "	<TD width=30% align=\"center\" valign=\"top\">";


if ($titre == 'a')
{
	echo "	<A href=\"index.php?t=a\" class=\"lien3\">";
	echo "	<img name=\"actualite\" src=\"site/images/actualiteb.jpg\" border=0 width=200></A>";
}
else
{
	echo "	<A href=\"index.php?t=a\" class=\"lien3\" onmouseover=\"actualite_over()\" onmouseout=\"actualite_out()\">";
	echo "	<img name=\"actualite\" src=\"site/images/actualitea.jpg\" border=0 width=200></A>";
}

echo "	</A>";
echo "	</TD>";
echo "	<TD width=25% align=\"center\" valign=\"bottom\">";


if ($titre == 'c')
{
	echo "	<A href=\"index.php?t=c\" class=\"lien3\">";
	echo "	<img name=\"contact\" src=\"site/images/contactb.jpg\" border=0 width=200></A>";
}
else
{
	echo "	<A href=\"index.php?t=c&m=c&c=c\" class=\"lien3\" onmouseover=\"contact_over()\" onmouseout =\"contact_out()\">";
	echo "<img name=\"contact\" src=\"site/images/contacta.jpg\" border=0 width=200></A>";
}
echo "	</A>";
echo "      </TD>";


}

?>

      <TD width=10% align="center" valign="top">
	&nbsp;	
      </TD>
   </TR>
</TABLE>





</BODY>