|
<B>Stasik</B>
я просек где теряются данные : в функции load_page () , а если использовать require - то все ОК :
function load_page($page)
{
if ( file_exists($page))
{
require($page);
} else {
echo "<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><div align=\"center\">
<h1>404</h1>
</div></td>
</tr>
<tr>
<td><div align=\"center\">We couldn't find the page you were looking for. <br>
We are continually redesigning and re organizing our site.<br>
Chances are the page you are looking for is here, it has just been moved!<br>
<a href=\"javascript: history.back()\">Go Back</a></div></td>
</tr>
</table>
</tr>
</table>";
}
}
подскажи из-за чего теряется ??
|