Convertion PHP vers HTML aide au code !
Z3ko
Messages postés
2
Date d'inscription
Statut
Membre
Dernière intervention
-
mpmp93 Messages postés 6648 Date d'inscription Statut Membre Dernière intervention -
mpmp93 Messages postés 6648 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
J'ai créer un site en PHP mais mon hébergeur fait payer plus cher pour le prendre (trop cher pour moi...)
J'ai donc essayé de retravailler un peu le code pour essayer de le convertir en html mais il reste des bugs (le header et le menu ne s'affiche pas). Je vous joint le code source de la page :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ice="http://ns.adobe.com/incontextediting">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Accueil</title>
<link href="css/header.css" rel="stylesheet" type="text/css" />
<link href="css/menu.css" rel="stylesheet" type="text/css" />
<link href="css/corps.css" rel="stylesheet" type="text/css" />
<link href="css/footer.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script src="includes/ice/ice.js" type="text/javascript"></script>
<style type="text/css">
#container #form1 div strong {
color: #2B8BD0;
}
#container #container3 #petit #form2 div strong {
color: #0188CC;
}
.containair3 {
color: #2B8BD0;
}
#container #container3 #petit div .accueil tr td {
color: #000;
}
#container #container3 #petit div #form2 strong {
color: #000;
font-weight: bold;
font-size: 11px;
}
</style>
</head>
<body topmargin="0">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16796723-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<div id="container">
<div align="left">
<!--#include virtual="header.htm" -->
<!--#include virtual="menu.htm" -->
</div>
<form id="form1" name="form1" method="post" action="">
<div align="center"><strong>MH<i> MediaPrint</i></strong><em><strong> votre fournisseurs média CD & DVD</strong></em>
</div>
</form>
<div id="container3">
<div id="petit" ice:editable="*">
<div align="center">
<table bgcolor="white" cellpadding="0" cellspacing="10" class="accueil">
<tr>
<td valign="top" align="justify"><strong>MH<i> MediaPrint</i></strong> Fort d'une grande complicité avec notre partenaire Primera nous distribuons maintenant pour eux leurs média CD, DVD en exclusivité pour la France.Nous réunissons ainsi leur force d'achat ainsi qu'une gestion de stock rigoureuse, avec notre logistique de livraison, de suivit des commandes ainsi que notre sens du service. Notre partenariat avec les plus grands fabricants n'est pas un hasard mais une volonté de vous vendre des robots de qualité à des coûts trés attractifs.</td>
<td valign="top" align="justify"> </td></tr></table>
<a href="Taiyopage1.php"><img src="image/autre/Taiyo produit.jpg" width="148" height="68" align="left" border=0/></a><a href="JVC page 1.php"><img src="image/autre/JVC logo produit.jpg" width="154" height="68" align="left" border=0/></a><a href="MPO page 1.php"><img src="image/autre/MPO logo produit.jpg" width="139" height="68" vspace="0" border=0 align="left"/></a><img src="image/autre/Produit 2.jpg" width="628" height="93" />
<table width="631" height="112" cellpadding="0" cellspacing="10" bgcolor="white" class="accueil">
<tr>
<td height="58" align="justify" valign="top"><p> </p>
<p><strong>MH<i> MediaPrint</i></strong> Vous propose aussi toute la gamme Primera en matériel de duplication et/ou d'impression CD/DVD</p></td>
<td valign="top" align="justify"> </td>
</tr>
</table>
</div>
<div align="center"><a href="stations.php"><img src="image/autre/produi imprimantet.jpg" width="628" height="157" align="bottom" / border="0"></a></div>
</div>
</div>
</div>
<div align="center"></div>
</body>
</html>
Voila, si vous trouvez des erreurs, rapportez les moi et si possible aidez moi à les résoudres ;)
J'ai créer un site en PHP mais mon hébergeur fait payer plus cher pour le prendre (trop cher pour moi...)
J'ai donc essayé de retravailler un peu le code pour essayer de le convertir en html mais il reste des bugs (le header et le menu ne s'affiche pas). Je vous joint le code source de la page :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ice="http://ns.adobe.com/incontextediting">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Accueil</title>
<link href="css/header.css" rel="stylesheet" type="text/css" />
<link href="css/menu.css" rel="stylesheet" type="text/css" />
<link href="css/corps.css" rel="stylesheet" type="text/css" />
<link href="css/footer.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script src="includes/ice/ice.js" type="text/javascript"></script>
<style type="text/css">
#container #form1 div strong {
color: #2B8BD0;
}
#container #container3 #petit #form2 div strong {
color: #0188CC;
}
.containair3 {
color: #2B8BD0;
}
#container #container3 #petit div .accueil tr td {
color: #000;
}
#container #container3 #petit div #form2 strong {
color: #000;
font-weight: bold;
font-size: 11px;
}
</style>
</head>
<body topmargin="0">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16796723-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<div id="container">
<div align="left">
<!--#include virtual="header.htm" -->
<!--#include virtual="menu.htm" -->
</div>
<form id="form1" name="form1" method="post" action="">
<div align="center"><strong>MH<i> MediaPrint</i></strong><em><strong> votre fournisseurs média CD & DVD</strong></em>
</div>
</form>
<div id="container3">
<div id="petit" ice:editable="*">
<div align="center">
<table bgcolor="white" cellpadding="0" cellspacing="10" class="accueil">
<tr>
<td valign="top" align="justify"><strong>MH<i> MediaPrint</i></strong> Fort d'une grande complicité avec notre partenaire Primera nous distribuons maintenant pour eux leurs média CD, DVD en exclusivité pour la France.Nous réunissons ainsi leur force d'achat ainsi qu'une gestion de stock rigoureuse, avec notre logistique de livraison, de suivit des commandes ainsi que notre sens du service. Notre partenariat avec les plus grands fabricants n'est pas un hasard mais une volonté de vous vendre des robots de qualité à des coûts trés attractifs.</td>
<td valign="top" align="justify"> </td></tr></table>
<a href="Taiyopage1.php"><img src="image/autre/Taiyo produit.jpg" width="148" height="68" align="left" border=0/></a><a href="JVC page 1.php"><img src="image/autre/JVC logo produit.jpg" width="154" height="68" align="left" border=0/></a><a href="MPO page 1.php"><img src="image/autre/MPO logo produit.jpg" width="139" height="68" vspace="0" border=0 align="left"/></a><img src="image/autre/Produit 2.jpg" width="628" height="93" />
<table width="631" height="112" cellpadding="0" cellspacing="10" bgcolor="white" class="accueil">
<tr>
<td height="58" align="justify" valign="top"><p> </p>
<p><strong>MH<i> MediaPrint</i></strong> Vous propose aussi toute la gamme Primera en matériel de duplication et/ou d'impression CD/DVD</p></td>
<td valign="top" align="justify"> </td>
</tr>
</table>
</div>
<div align="center"><a href="stations.php"><img src="image/autre/produi imprimantet.jpg" width="628" height="157" align="bottom" / border="0"></a></div>
</div>
</div>
</div>
<div align="center"></div>
</body>
</html>
Voila, si vous trouvez des erreurs, rapportez les moi et si possible aidez moi à les résoudres ;)
A voir également:
- Convertion PHP vers HTML aide au code !
- Code ascii - Guide
- Code puk bloqué - Guide
- Comment déverrouiller un téléphone quand on a oublié le code - Guide
- Code activation windows 10 - Guide
- Editeur html - Télécharger - HTML