Location: PHPKode > projects > H-tracker > error.php
<?
//
//  H-Tracker v0.2
//    http://h-tracker.org
//    Based on TorrentTrader (http://www.torrenttrader.org)
//
//
require_once("backend/functions.php");
dbconn();

if ($error == 401) {
stdhead("Authorization Required");
begin_frame("Authorization Required");
print("<BR><div align=center><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/error/401-error.png\"><div>");
print("<BR><div align=center><p>This server could not verify that you are authorized to access the document requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.</p><div>");
end_frame();
stdfoot();
}
if ($error == 403) {
stdhead("Forbidden");
begin_frame("Forbidden");
print("<BR><div align=center><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/error/403-error.png\"><div>");
print("<BR><div align=center><p>You don't have permission to access this page on this server..</p><div>");
end_frame();
stdfoot();
}
if ($error == 404) {
stdhead("Page Not Found");
begin_frame("Page Not Found");
print("<BR><div align=center><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/error/404-error.png\"><div>");
print("<BR><div align=center><p>The requested page was not found on this server.</p><div>");
end_frame();
stdfoot();
}
if ($error == 500) {
stdhead("Internal server error");
begin_frame("Internal server error");
print("<BR><div align=center><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/error/500-error.png\"><div>");
print("<BR><div align=center>This error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the operators of your Web server site to locate and analyse the logs which should give further information about the error<div>");
end_frame();
stdfoot();
}
?>
Return current item: H-tracker