salut tout le monde,
ayant déja un site web, qui est franchement pouri, je voudrai le mettre a jours.
en effet dans mon site j'utilise des frames pour séparer mon menu et ma page principale, ce qui n'est pas du plus belle effet.
j'ai donc fait une mise a jour de mon site avec une seule pages avec un tableau a 2 colone (1er: mon menu, 2e:page principale) c'est dans le même genre que codes-sources.com.
donc puisque j'ai environ 25pages j'ai creer mon menu avec un include en php, pour éviter de modifier a chaque fois mes 25pages.
et c'est la que le problème arrive :
mon index marche très bien (le menu s'affiche grace au code php)
quand je clique sur un liens de mon menu, la page attendu arrive, mais quand je clique sur un 2e liens dans le menu la page est introuvable, alors je cmprens pas.
organisation de mon site :
dans la racine il n'y a que l'index
le menu est dans un docier menu qui est lui même dans la racine
la page "graver_un_dvd" est dans un docier video qui est lui même dans la racine
mes codes sources :
//-----------------------------------------------------------------------------------
index:
<html>
<head>
<title>Aspik.fr.st</title>
<meta name="generator" content="Namo WebEditor v5.0">
<meta name="author" content="Aspik.fr.st">
<style>
<!--BODY{ cursor:url("cursor.cur"); }-->
</style>
</head>
<body bgcolor="black" text="#009900" link="blue" vlink="purple" alink="red">
<TABLE cellSpacing=0 cellPadding=0 width="812" align=center border=0>
<TBODY>
<TR>
<TD class=menu2 vAlign=top width="812" height="52">
<p align="left" style="line-height:100%; margin-top:0; margin-bottom:0;"> <img src="aspik1.jpg" width="193" height="74" border="0"><BR></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="815" align=center border=0>
<TBODY>
<TR>
<TD vAlign=top width="150" height="1082">
<p><? include("menu/menu.php"); ?></p>
</TD>
<TD vAlign=top width="665" bgColor="black" height="1082">
<div align="left">
....
....
.....
//---------------------------------------------------------------------------------------
menu
<html>
<head>
<title>Hack</title>
<meta name="generator" content="Namo WebEditor v5.0">
</head>
<body bgcolor="black" text="#006600" link="blue" vlink="purple" alink="red">
<TABLE cellSpacing=0 cellPadding=0 width="142" border=0>
<TBODY>
<TR>
<TD height="860" width="142">
<div align="left">
<TABLE cellSpacing=0 cellPadding=0 width="140" border=0 style="line-height:100%; margin-top:0; margin-bottom:0;">
<TBODY>
<TR vAlign=center align=middle>
<TD class=menu1
background="barre2.jpg"
height="20" width="140">
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="center"><FONT color="black"><b><span style="font-size:10pt;">Vidéo</span></b></FONT> </TD></TR>
<TR>
<TD bgColor="black" width="140">
<div align="left">
<TABLE cellSpacing=0 cellPadding=8 width="140"
border=0 style="line-height:100%; margin-top:0; margin-bottom:0;"><TBODY>
<TR>
<TD class=menu2
background="zerobg.JPG"
bgColor="black" width="124">
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left"><a href="video/graver_un_dvd.php"><span style="font-size:10pt;"><font color="red">Graver
un DVD</font></span></a></p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left"><a href="video/dvd_sans_bonus.php"><span style="font-size:10pt;"><font color="red">DVD
sans bonus</font></span></a></p>
<p style="line-height:100%; margin-top:0; margin-bottom:0;" align="left"><a href="video/divx_sous_titres.php"><span style="font-size:10pt;"><font color="red">Divx
+ sous-titres</font></span></a></p>
...
...
...
//--------------------------------------------------------------------------------------
graver_un_dvd.php
<html>
<head>
<title>Aspik.fr.st</title>
<meta name="generator" content="Namo WebEditor v5.0">
<meta name="author" content="Aspik.fr.st">
<style>
<!--BODY{ cursor:url("cursor.cur"); }-->
</style>
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
</head>
<body bgcolor="black" text="#009900" link="blue" vlink="purple" alink="red">
<TABLE cellSpacing=0 cellPadding=0 width="812" align=center border=0>
<TBODY>
<TR>
<TD class=menu2 vAlign=top width="812" height="52">
<p align="left" style="line-height:100%; margin-top:0; margin-bottom:0;"> <img src="aspik1.jpg" width="193" height="74" border="0"><BR></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="815" align=center border=0>
<TBODY>
<TR>
<TD vAlign=top width="150" height="1082">
<p><? include("menu/menu.php"); ?></p>
</TD>
<TD vAlign=top width="665" bgColor="black" height="1082">
<div align="left">
<TABLE cellSpacing=0 cellPadding=0 width="648" border=0>
<TBODY>
<TR align=middle>
<TD class=menu1 width="648"
background="barre1.jpg"
bgColor=#000000 height="19">
<p align="center"><a href="../acceuil/accueil.htm"><b><span style="font-size:10pt;"><FONT color="black">Accueil</FONT></span></b></a><FONT color="black"><b><span style="font-size:10pt;"> -
</span></b></FONT><a href="../livre_or/livre_or.htm"><b><span style="font-size:10pt;"><FONT color="black">Livre d'or</FONT></span></b></a><FONT color="black"><b><span style="font-size:10pt;"> - </span></b></FONT><a href="../forum/forum.htm"><b><span style="font-size:10pt;"><FONT color="black">Forum</FONT></span></b></a><FONT color="black"><b><span style="font-size:10pt;">
- </span></b></FONT><a href="../email/email.htm"><b><span style="font-size:10pt;"><FONT color="black">E-mail</FONT></span></b></a></TD></TR></TBODY></TABLE>
</div>
<p style="line-height:100%; margin-top:0; margin-bottom:0;"> </p>
<TABLE height=894 width="642" align=center
border="1" bgcolor="black" bordercolor="#666666" bordercolorlight="#666666">
<TBODY>
<TR vAlign=top bgColor="black">
<TD width="632" bgColor=#000000 height="996">
<div class=Section1>
<p align=center style='text-align:center'><b><u><span style='font-size:22.0pt;
color:red'><font color="blue">GRAVER UN DVD</font></span></u></b></p>
....
....
....