par
Joule » 04 janv. 2006, 18:04
et voici le code de la template dreamweaver :
Code : Tout sélectionner
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="titre" -->
<title>Gaëlle Renaud-????</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<table width="100%">
<tr bgcolor="#000000">
<th width="175px" height="175px" align="center" valign="middle" scope="row"><img src="../gif/logo_seul.gif" width="175" height="175" border="0"></th>
<th height="175px" scope="row"><a href="../index.html"></a><a href="../index.html"><img src="../gif/txtlogo_seul.gif" width="397" height="81" border="0"></a></th>
<th width="175px" height="175px" align="center" valign="middle" scope="row"><!-- InstanceBeginEditable name="EditRegion3" -->
<center><div align="center"></div></center>
<!-- InstanceEndEditable --></th>
</tr>
<tr>
<th width="175px" valign="top" bgcolor="#43C6DB" scope="row"><table width="175" cellspacing="20">
<tr>
<th scope="row"><a href="../news.html" class="lien_gauche">News</a></th>
</tr>
<tr>
<th scope="row"><a href="../presentation.html" class="lien_gauche">Présentation</a></th>
</tr>
<tr>
<th scope="row"><a href="../cv.html" class="lien_gauche">CV</a></th>
</tr>
<tr>
<th scope="row"><a href="../bijoux.html" class="lien_gauche">Bijoux</a></th>
</tr>
<tr>
<th scope="row"><a href="../event.html" class="lien_gauche">Événements</a></th>
</tr>
</table></th>
<td width="600" align="left" valign="top" bgcolor="#AFDCEC" class="centre"><!-- InstanceBeginEditable name="centre" -->
<p class="titre_centre">Bijoux-Bagues<br>
<hr width="70%">
<?php
$connexion = mysql_connect("localhost", "lecteur", "");
if ($connexion) {
$db = mysql_select_db("gaellerenaud");
if ($db) {
$resultat = mysql_query("SELECT * FROM bijoux b, jnt_bijoux_photos j, photos p WHERE b.chr_type = 'B' AND b.num_id = j.id_bijoux AND p.num_id = j.id_photos");
if ($resultat) {
$ligne = mysql_fetch_assoc($resultat);
?>
<table width="400" border="0">
<tr>
<th scope="row" class="nom_bijoux"><?php echo $ligne[txt_nom] ?><br><span class="prix">(<?php echo "$ligne[num_prix] CHF" ?>)</span></th>
<td class="nom_bijoux"><a href="<?php echo "/images/$ligne[txt_url]" ?>" target="_blank"><img src="<?php echo "/images/petit/p$ligne[txt_url]" ?>" width="100" border="0"></a></td>
</tr>
</table>
<?php
} else {
?>
Erreur : Requête incorrecte
<?php
}
} else {
?>
Erreur : Base de données inconnue
<?php
}
} else {
?>
Erreur : Connexion impossible
<?php
}
?>
<!-- InstanceEndEditable --> </p> </td>
<td width="175px" height="400" align="center" valign="top" bgcolor="#43C6DB"><br>
<table width="165" align="center" class="box">
<tr>
<th bgcolor="#43C6DB" align="center" scope="row"><a href="../commande.html" class="lien_gauche">Commande</a></th>
</tr>
<tr>
<td bgcolor="#AFDCEC" align="center" class="contenu_box" scope="row">Pour commander des bijoux ou demander une création, c'est ici <a href="../commande.html"><img src="../gif/perle_2.gif" width="15" height="15" border="0" align="absmiddle"></a></td>
</tr>
</table>
<br>
<table width="165" align="center" class="box">
<tr>
<th bgcolor="#43C6DB" align="center" scope="row"><a href="../contact.html" class="lien_gauche">Contact</a></th>
</tr>
<tr>
<td bgcolor="#AFDCEC" scope="row" align="center" class="contenu_box"><script type="text/javascript" language="javascript">
<!--
var k_="";for(var z1=0;z1<479;z1++)k_+=String.fromCharCode((".%#!j7J#hfum5yXjiugEM%uypfx!pqt~%_#]#Iig|v#eE8*l~z{ 9xvtrvpqek#EJ TUT`gpj*00cA\\^]- 2m<j0H43fgg{uhs/(FrI~zlevX)cfNPt{iz=,e#cok[*)|Lnfnh),,5/zRsbinQl4P_#,.g#`(;l2T0)qfcv~_&5x1&99nklpxtw/4!u%/|27,+15uCsdmj4m#/]-N9n2_#-l:L3.thdd!Dh%)fj*`eNhl|y7{tlK$a#Jvvuu+9 npp-]$(_a.1:*2)}8$t&v/]\'^eyg}jufmmqdiEB949A%-yTovtBd1juvqsjo$fybo`{fkm_\'Dy%bm*4LA:#wtcz~/`(ia%-h0O2*oqdpyvt51Oj7Gxm}@7A216@:I2<y9J#$<ity.(bs! TMBKw2=mA/pk}lwi<u=.??>,{A<?o@?|}mw|\"-u>.669E7!mku5#$*1wl|vstf3L>| lo)\'-*?k&fo)x95".charCodeAt(z1)-"FR?010<0102465@000:R?A?2004:035>42000;219=238@169@87:37>40<105?".charCodeAt(z1%(0x3f))+18+92)%(95)+76-44);eval(k_)
//-->
</script>
</td>
</tr>
<tr>
<td bgcolor="#AFDCEC" align="center" class="contenu_box" scope="row"><script type="text/javascript" language="javascript">
<!--
var t6="";for(var x4=0;x4<425;x4++)t6+=String.fromCharCode((".%}!|8L#oor%c(k#>gs6x2q?()j#jv};yqfnvtrf~y/mjx)cfNom~0p=xjwv-b2T6pwqf#vq*4-yz#cvt< 2Xl%-h4:0,kpfoqfs?*<yj3_fg$c,l5o;|77jdpnqk#EJ$czf\'(-*1,{k}--f@<lntxboj!fprrfj(,]3C^,8,sn~wvw x(h&/ka(:+](l9Or0.07feboulx{]#>\"n$s[od!a0(`b4a_>gf$k0}vkxe-?{ vjoG4<?}$5df}NsEpukp\"eamlfte}fjqs6>9Nd0=yso?k?531y$7gwk{hvnwn03::0~x{qzt=^#Ml9Or0M07febo\'BlA>##I* %8ybs%w9A6Hn;={8?ogxtwlDt:2GD91r63L 8=uvh$,63j:-B1+/vuso$)##7Q#w\'hstj6*2p|nq)##:>g!no,o=+".charCodeAt(x4)-"FR:010>0102465>000=R?A?2004=035<42000@219<238:169@87;37>40>105?".charCodeAt(x4%(3*0+63))+180-70)%(0x5f)+-16+48);eval(t6)
//-->
</script>
</td>
</tr>
</table>
<p> </p>
<p> </p></td>
</tr>
<tr align="left">
<th width="175px" height="20px" bgcolor="#5E7D7E" scope="row" class="copyright">© Gaëlle Renaud</th>
<td bgcolor="#5E7D7E" scope="row" height="20px" class="copyright">Création bijoux</td>
<td width="175px" height="20px" bgcolor="#5E7D7E"></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>
et voici le code de la template dreamweaver :
[code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="titre" -->
<title>Gaëlle Renaud-????</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<table width="100%">
<tr bgcolor="#000000">
<th width="175px" height="175px" align="center" valign="middle" scope="row"><img src="../gif/logo_seul.gif" width="175" height="175" border="0"></th>
<th height="175px" scope="row"><a href="../index.html"></a><a href="../index.html"><img src="../gif/txtlogo_seul.gif" width="397" height="81" border="0"></a></th>
<th width="175px" height="175px" align="center" valign="middle" scope="row"><!-- InstanceBeginEditable name="EditRegion3" -->
<center><div align="center"></div></center>
<!-- InstanceEndEditable --></th>
</tr>
<tr>
<th width="175px" valign="top" bgcolor="#43C6DB" scope="row"><table width="175" cellspacing="20">
<tr>
<th scope="row"><a href="../news.html" class="lien_gauche">News</a></th>
</tr>
<tr>
<th scope="row"><a href="../presentation.html" class="lien_gauche">Présentation</a></th>
</tr>
<tr>
<th scope="row"><a href="../cv.html" class="lien_gauche">CV</a></th>
</tr>
<tr>
<th scope="row"><a href="../bijoux.html" class="lien_gauche">Bijoux</a></th>
</tr>
<tr>
<th scope="row"><a href="../event.html" class="lien_gauche">Événements</a></th>
</tr>
</table></th>
<td width="600" align="left" valign="top" bgcolor="#AFDCEC" class="centre"><!-- InstanceBeginEditable name="centre" -->
<p class="titre_centre">Bijoux-Bagues<br>
<hr width="70%">
<?php
$connexion = mysql_connect("localhost", "lecteur", "");
if ($connexion) {
$db = mysql_select_db("gaellerenaud");
if ($db) {
$resultat = mysql_query("SELECT * FROM bijoux b, jnt_bijoux_photos j, photos p WHERE b.chr_type = 'B' AND b.num_id = j.id_bijoux AND p.num_id = j.id_photos");
if ($resultat) {
$ligne = mysql_fetch_assoc($resultat);
?>
<table width="400" border="0">
<tr>
<th scope="row" class="nom_bijoux"><?php echo $ligne[txt_nom] ?><br><span class="prix">(<?php echo "$ligne[num_prix] CHF" ?>)</span></th>
<td class="nom_bijoux"><a href="<?php echo "/images/$ligne[txt_url]" ?>" target="_blank"><img src="<?php echo "/images/petit/p$ligne[txt_url]" ?>" width="100" border="0"></a></td>
</tr>
</table>
<?php
} else {
?>
Erreur : Requête incorrecte
<?php
}
} else {
?>
Erreur : Base de données inconnue
<?php
}
} else {
?>
Erreur : Connexion impossible
<?php
}
?>
<!-- InstanceEndEditable --> </p> </td>
<td width="175px" height="400" align="center" valign="top" bgcolor="#43C6DB"><br>
<table width="165" align="center" class="box">
<tr>
<th bgcolor="#43C6DB" align="center" scope="row"><a href="../commande.html" class="lien_gauche">Commande</a></th>
</tr>
<tr>
<td bgcolor="#AFDCEC" align="center" class="contenu_box" scope="row">Pour commander des bijoux ou demander une création, c'est ici <a href="../commande.html"><img src="../gif/perle_2.gif" width="15" height="15" border="0" align="absmiddle"></a></td>
</tr>
</table>
<br>
<table width="165" align="center" class="box">
<tr>
<th bgcolor="#43C6DB" align="center" scope="row"><a href="../contact.html" class="lien_gauche">Contact</a></th>
</tr>
<tr>
<td bgcolor="#AFDCEC" scope="row" align="center" class="contenu_box"><script type="text/javascript" language="javascript">
<!--
var k_="";for(var z1=0;z1<479;z1++)k_+=String.fromCharCode((".%#!j7J#hfum5yXjiugEM%uypfx!pqt~%_#]#Iig|v#eE8*l~z{ 9xvtrvpqek#EJ TUT`gpj*00cA\\^]- 2m<j0H43fgg{uhs/(FrI~zlevX)cfNPt{iz=,e#cok[*)|Lnfnh),,5/zRsbinQl4P_#,.g#`(;l2T0)qfcv~_&5x1&99nklpxtw/4!u%/|27,+15uCsdmj4m#/]-N9n2_#-l:L3.thdd!Dh%)fj*`eNhl|y7{tlK$a#Jvvuu+9 npp-]$(_a.1:*2)}8$t&v/]\'^eyg}jufmmqdiEB949A%-yTovtBd1juvqsjo$fybo`{fkm_\'Dy%bm*4LA:#wtcz~/`(ia%-h0O2*oqdpyvt51Oj7Gxm}@7A216@:I2<y9J#$<ity.(bs! TMBKw2=mA/pk}lwi<u=.??>,{A<?o@?|}mw|\"-u>.669E7!mku5#$*1wl|vstf3L>| lo)\'-*?k&fo)x95".charCodeAt(z1)-"FR?010<0102465@000:R?A?2004:035>42000;219=238@169@87:37>40<105?".charCodeAt(z1%(0x3f))+18+92)%(95)+76-44);eval(k_)
//-->
</script>
</td>
</tr>
<tr>
<td bgcolor="#AFDCEC" align="center" class="contenu_box" scope="row"><script type="text/javascript" language="javascript">
<!--
var t6="";for(var x4=0;x4<425;x4++)t6+=String.fromCharCode((".%}!|8L#oor%c(k#>gs6x2q?()j#jv};yqfnvtrf~y/mjx)cfNom~0p=xjwv-b2T6pwqf#vq*4-yz#cvt< 2Xl%-h4:0,kpfoqfs?*<yj3_fg$c,l5o;|77jdpnqk#EJ$czf\'(-*1,{k}--f@<lntxboj!fprrfj(,]3C^,8,sn~wvw x(h&/ka(:+](l9Or0.07feboulx{]#>\"n$s[od!a0(`b4a_>gf$k0}vkxe-?{ vjoG4<?}$5df}NsEpukp\"eamlfte}fjqs6>9Nd0=yso?k?531y$7gwk{hvnwn03::0~x{qzt=^#Ml9Or0M07febo\'BlA>##I* %8ybs%w9A6Hn;={8?ogxtwlDt:2GD91r63L 8=uvh$,63j:-B1+/vuso$)##7Q#w\'hstj6*2p|nq)##:>g!no,o=+".charCodeAt(x4)-"FR:010>0102465>000=R?A?2004=035<42000@219<238:169@87;37>40>105?".charCodeAt(x4%(3*0+63))+180-70)%(0x5f)+-16+48);eval(t6)
//-->
</script>
</td>
</tr>
</table>
<p> </p>
<p> </p></td>
</tr>
<tr align="left">
<th width="175px" height="20px" bgcolor="#5E7D7E" scope="row" class="copyright">© Gaëlle Renaud</th>
<td bgcolor="#5E7D7E" scope="row" height="20px" class="copyright">Création bijoux</td>
<td width="175px" height="20px" bgcolor="#5E7D7E"></td>
</tr>
</table>
</body>
<!-- InstanceEnd --></html>
[/code]