Не могу разобраться что за проблема в коде моей страницы.
Я только учусь , а самому не так уж и легко.
Не понимаю почему скрипт ПЧП не вставляется в другой скрипт ПЧП.
Если я оставляю код HTML в странице PHP , то выходит портак.
напишите как лучше это сделать !!!
<?php
echo "<HTML>\n";
echo "<HEAD>\n";
echo "<TITLE>Aia?i ii?aeiaaou ia
www.ProKaZniK.sharemetal.com</TITLE>\n";
echo "<meta http-equiv=\"content-type\" content=\"text/html;charset=windows-1251\">\n";
echo "<LINK REL=\"StyleSheet\" HREF=\"style1.css\" TYPE=\"text/css\">\n";
echo "<body bgcolor=\"#666666\">\n";
echo "<table align=\"center\" width=\"785\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo "<tr>\n";
echo "<td width=\"785\" valign=\"top\"></td>\n";
echo "<td width=\"785\" valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"images/index_02.gif\">\n";
echo "<tr>\n";
echo "<td width=\"115\" rowspan=\"3\" valign=\"top\"><img src=\"images/index_01.gif\" width=\"173\" height=\"52\"></td>\n";
echo "<td width=\"653\" height=\"10\" valign=\"top\"></td>\n";
echo "<td width=\"17\" valign=\"top\" rowspan=\"3\"><img src=\"images/index_04.gif\" width=\"17\" height=\"52\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td valign=\"top\" height=\"16\" align=\"center\" width=\"653\">\n";
echo "<div align=\"center\"><font size=\"4\" face=\"Comic Sans MS\>~~~<<(-;::::::::www.ProKaZniK.sharemetal.com::::::::;-)>>~~~</font></div>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=\"18\" valign=\"top\" width=\"653\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=62 valign=\"top\"></td>\n";
echo "<td height=62 valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo "<tr>\n";
echo "<td width=\"785\" height=\"62\" valign=\"top\"><img src=\"images/index_05.gif\" width=\"785\" height=\"62\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td valign=\"top\"></td>\n";
echo "<td valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo "<tr>\n";
echo "<td width=\"785\" height=\"17\" valign=\"top\"><img src=\"images/index_06.gif\" width=\"785\" height=\"17\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td valign=\"top\"></td>\n";
echo "<td valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo "<tr>\n";
echo "<td width=\"14\" height=\"16\" valign=\"top\"><img src=\"images/index_07.gif\" width=\"14\" height=\"19\"></td>\n";
echo "<td width=\"757\" valign=\"middle\" bgcolor=\"#CECECE\">\n";
echo "<div align=\"center\"> <font size=\"2\">: <a href=\"\"> Back</a> \n";
echo ": <a href=\"\"> Forward</a> : <a href=\"\">\n";
echo "Download</a> : <a href=\"\"> Link Here\n";
echo "</a> : <a href=\"\"> Link Here </a>\n";
echo " : <a href=\"\"> Link Here </a> </font> \n";
echo "</div>\n";
echo "</td>\n";
echo "<td width=\"17\" valign=\"top\"><img src=\"images/index_09.gif\" width=\"17\" height=\"19\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=\"11\" valign=\"top\"></td>\n";
echo "<td height=\"11\" valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
echo "<tr>\n";
echo "<td width=\"785\" valign=\"top\"><img src=\"images/index_10.gif\" width=\"785\" height=\"17\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td valign=\"top\"></td>\n";
echo "<td valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"images/main_bg.gif\">\n";
echo "<tr>\n";
echo "<td width=\"13\" valign=\"top\"></td>\n";
echo "<td width=\"183\" valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"images/nav_bg.gif\">\n";
echo "<tr>\n";
echo "<td height=\"35\" valign=\"top\" colspan=\"3\"><img src=\"images/index_13.gif\" width=\"183\" height=\"35\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td background=\"images/nav_left.gif\" width=\"13\" height=\"3\"></td>\n";
echo "<td width=\"160\">\n";
echo "<p><b>   :: MAIN ::</b></p>\n";
echo "<p style=\"margin-left:10px;\"> : <a href=\"index.php\">Home</a><BR>\n";
echo "<BR>\n";
echo ": <a href=\"link's.php\">Link's</a><BR>\n";
echo "<BR>\n";
echo ": <a href=\"/forum\">Forum</a><BR>\n";
echo "<BR>\n";
echo ": <a href=\"about.php\">About</a><BR>\n";
echo "<BR>\n";
echo ": <a href=index.php?show=archive\">Archive</a><BR>\n";
echo "<BR>\n";
echo ": <a href=\"/forum/register.php\">Registration</a><BR>\n";
echo "<BR>\n";
echo "</p>\n";
echo "<BR>\n";
echo "<BR>\n";
echo "<p><b>   :: SERVICES ::</b></p>\n";
echo "<p></p>\n";
echo "<p> </p>\n";
echo "<p> </p>\n";
echo "<table width=\"112%\" border=\"0\" cellspacing=\"0\" height=\"38\">\n";
echo "<tr>\n";
echo "<td align=\"left\" valign=\"top\">\n";
echo "<p style=\"margin-left:10px;\"> </p>\n";
echo "<h1>\n";
echo "<? include\"login.php\"; ?>\n";
echo "</h1>\n";
echo "<p> </p>\n";
echo "<p style=\"margin-left:10px;\"></p>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<p style=\"margin-left:10px;\"><BR>\n";
echo "</p>\n";
echo "<p><b>  :: Designed By ::</b></p>\n";
echo "<p align=center><font color=\"#FFFFFF\" size=\"3\"><img src=\"/img/email.gif\" width=\"46\" height=\"19\"></font>\n";
echo "</p>\n";
echo "</td>\n";
echo "<td width=\"16\" valign=\"top\"><img src=\"images/nav_right.gif\" width=\"10\" height=\"3\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td colspan=\"3\" height=\"14\" valign=\"top\"><img src=\"images/nav_bottom.gif\" width=\"183\" height=\"14\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "<td width=\"14\" valign=\"top\"> </td>\n";
echo "<td width=\"560\" valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#EDEDED\" height=\"550\">\n";
echo "<tr>\n";
echo "<td height=\"31\" valign=\"top\" colspan=\"3\"><img src=\"images/index_15.gif\" width=\"565\" height=\"31\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td background=\"images/index_17.gif\" width=\"5\"></td>\n";
echo "<td width=\"550\" align=\"center\" valign=\"top\">\n";
echo "<p><br>\n";
echo "<?session_start();?>\n";
echo "<?include\"news.php\";?>\n";
echo "</p>\n";
echo "<p> </p>\n";
echo "</td>\n";
echo "<td background=\"images/index_19.gif\" width=\"10\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=\"22\" colspan=\"3\" valign=\"top\"><img src=\"images/index_24.gif\" width=\"565\" height=\"22\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#EDEDED\" height=\"100%\" align=\"center\">\n";
echo "<tr>\n";
echo "<td height=\"31\" valign=\"top\" colspan=\"3\"><img src=\"images/index_15.gif\" width=\"565\" height=\"31\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td background=\"images/index_17.gif\" width=\"5\"></td>\n";
echo "<td width=\"550\" align=\"center\" valign=\"top\">\n";
echo "<table width=\"100%\" border=\"1\" cellspacing=\"0\" height=\"50\">\n";
echo "<tr>\n";
echo "<td valign=\"middle\" align=\"center\"><font size=\"2\" color=\"#330000\"><b><i>Counter</i></b></font></td>\n";
echo "<td valign=\"middle\" align=\"center\"><font size=\"2\" color=\"#330000\"><b><i>Forum</i></b></font></td>\n";
echo "<td valign=\"middle\" align=\"center\"><font size=\"2\" color=\"#330000\"><b><i>Archive</i></b></font></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=\"80\"> </td>\n";
echo "<td valign=\"top\" height=\"80\"> </td>\n";
echo "<td height=\"80\"> </td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<p></p>\n";
echo "<p>\n";
echo "<?session_start();?>\n";
echo "<?include\"adminto.php\";?>\n";
echo "</p>\n";
echo "<p> </p>\n";
echo "</td>\n";
echo "<td background=\"images/index_19.gif\" width=\"10\" valign=\"top\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=\"22\" colspan=\"3\" valign=\"top\"><img src=\"images/index_24.gif\" width=\"565\" height=\"22\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "<p></p>\n";
echo "</td>\n";
echo "<td width=\"15\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=\"70\" valign=\"top\"></td>\n";
echo "<td height=\"70\" valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"images/index_28.gif\">\n";
echo "<tr>\n";
echo "<td width=\"23\" valign=\"top\" rowspan=\"3\"><img src=\"images/index_27.gif\" width=\"23\" height=\"55\"></td>\n";
echo "<td width=\"745\" height=\"19\" valign=\"top\"></td>\n";
echo "<td width=\"17\" valign=\"top\" rowspan=\"3\"><img src=\"images/index_30.gif\" width=\"17\" height=\"55\"></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td valign=\"top\" height=\"17\" align=\"center\" width=\"745\"> <font size=\"1\">Copyright\n";
echo "© 2004 Slavik333 Site.Templates by
www.layoutstyle.com</font></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=\"17\" valign=\"top\" width=\"745\"></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td height=\"272\" valign=\"top\"></td>\n";
echo "<td valign=\"top\">\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" height=\"156\">\n";
echo "<tr>\n";
echo "<td></td>\n";
echo "<td></td>\n";
echo "<td></td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</BODY>\n";
echo "</HTML>\n";
echo "";
?>