<?php

if (file_exists("_install.php")) {
	header("Location: _install.php");
	exit;
}

$tm=microtime(true);

require_once "include/config.php";
require_once CLASSES_PATH."globals.php";
require_once CLASSES_PATH."url.php";
require_once CLASSES_PATH."db.php";
require_once CLASSES_PATH."http.php";
require_once CLASSES_PATH."webpage.php";

$html=new _webpage();

$html->print_html();

echo "<!-- "._db::$queries." ".(microtime(true)-$tm)."-->";