BEHESHT
Well-Known Member
سلام خسته نباشید خدا قوت
دوستان یه کنورتور پیدا کردم که توش این امکان رو داشت که تبدیل HTML به PHP این یه نمونه تبدیل شدش هست آیا عملکردش درست بوده.
من که از PHP هیچی نمی دونم ولی امیدوارم که پاسخ گو باشه این کنورتور و برای انجمن بذارم:
کد نمونه HTML :
و نمونه ی تبدیل شدش به PHP :
امیدوارم که سوال رو جای مناسبی بیان کرده باشم چون از این جا بهتر پیدا نکردم
یاحق
باحق
تاحق
دوستان یه کنورتور پیدا کردم که توش این امکان رو داشت که تبدیل HTML به PHP این یه نمونه تبدیل شدش هست آیا عملکردش درست بوده.
من که از PHP هیچی نمی دونم ولی امیدوارم که پاسخ گو باشه این کنورتور و برای انجمن بذارم:
کد نمونه HTML :
HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>:: CLAIM JUMPER RESTAURANTS</title>
<style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #B17537;
}
body {
background-color: #000000;
}
a {
font-size: 12px;
color: #FFFFFF;
}
a:visited {
color: #B17537;
}
a:hover {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
.style1 {color: #CCCCCC}
-->
</style>
</head>
<body>
<div align="center"><img src="images/webhome2.jpg" alt="web home" width="800" height="600" border="0" usemap="#Map">
<map name="Map"><area shape="rect" coords="335,410,425,446" href="hypertext/home.htm" alt="enter site">
<area shape="rect" coords="70,474,387,551" href="hypertext/joinresponse.htm" target="_self" alt="join e-club">
<area shape="rect" coords="472,477,754,544" href="hypertext/reservations_intro.htm" target="_self" alt="reswervations">
</map>
</div>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><div align="center">
<p> </p>
<p><br>
</p>
</div></td>
</tr>
</table>
<div align="center">
<p align="center"><span class="style1">Copyright © 2008 Claim Jumper Restaurants LLC. All rights reserved</span> <br>
</p>
<p> </p>
<p> </p>
</div>
</body>
</html>
PHP:
<?php
// - Generated with HtmltoPhp Code converter Ver.2.0 Build 16
// - (C)Copyright 2003, By. Adam Y.Edwin - Arigola Software Division
// - Get our new version and product update only at
// - http://www.arigola.com
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n";
echo "\"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html>\n";
echo "<head>\n";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n";
echo "<title>:: CLAIM JUMPER RESTAURANTS</title>\n";
echo "<style type=\"text/css\">\n";
echo "<!--\n";
echo "body,td,th {\n";
echo " font-family: Arial, Helvetica, sans-serif;\n";
echo " font-size: 12px;\n";
echo " color: #B17537;\n";
echo "}\n";
echo "body {\n";
echo " background-color: #000000;\n";
echo "}\n";
echo "a {\n";
echo " font-size: 12px;\n";
echo " color: #FFFFFF;\n";
echo "}\n";
echo "a:visited {\n";
echo " color: #B17537;\n";
echo "}\n";
echo "a:hover {\n";
echo " color: #FFFFFF;\n";
echo "}\n";
echo "a:active {\n";
echo " color: #FFFFFF;\n";
echo "}\n";
echo ".style1 {color: #CCCCCC}\n";
echo "-->\n";
echo "</style>\n";
echo "</head>\n";
echo "\n";
echo "<body>\n";
echo "<div align=\"center\"><img src=\"images/webhome2.jpg\" alt=\"web home\" width=\"800\" height=\"600\" border=\"0\" usemap=\"#Map\">\n";
echo "<map name=\"Map\"><area shape=\"rect\" coords=\"335,410,425,446\" href=\"hypertext/home.htm\" alt=\"enter site\">\n";
echo "<area shape=\"rect\" coords=\"70,474,387,551\" href=\"hypertext/joinresponse.htm\" target=\"_self\" alt=\"join e-club\">\n";
echo "<area shape=\"rect\" coords=\"472,477,754,544\" href=\"hypertext/reservations_intro.htm\" target=\"_self\" alt=\"reswervations\">\n";
echo "</map>\n";
echo "</div>\n";
echo "<table width=\"770\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo " <tr>\n";
echo " <td align=\"center\" valign=\"middle\"><div align=\"center\"> \n";
echo " <p> </p>\n";
echo " <p><br>\n";
echo " </p>\n";
echo " </div></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "\n";
echo "<div align=\"center\">\n";
echo " <p align=\"center\"><span class=\"style1\">Copyright © 2008 Claim Jumper Restaurants LLC. All rights reserved</span> <br>\n";
echo " </p>\n";
echo " <p> </p>\n";
echo " <p> </p>\n";
echo "</div>\n";
echo "\n";
echo "</body>\n";
echo "</html>\n";
echo "";
?>
یاحق
باحق
تاحق