<?

include_once "./setting.php";

include_once $global["root"] . "/include/handle.php";
include_once $global["root"] . "/include/print_time.php";
include_once $global["root"] . "/include/print_array.php";

include_once $global["root"] . "/lib/Site.php";
include_once $global["root"] . "/lib/Template.php";
include_once $global["root"] . "/lib/Item.php";

$Site = new Site;
$Site->init("mail");

include_once $global["lang"] . "/" . $_SESSION["config_lang"] . ".php";

extract($_GET);

if (! $no or $no == "") goprev();

//-------------------------------------------------------------------------------
$Template = new Template();
$Item = new Item($no);

$main["content"] = $Item->print_view();
$main["date"] = print_time(mktime(), "simple");

if (! $main["content"]) {
	goprev();
} else {
	echo $Template->generate("/module/item/template/print_view", $main);
}

$Site->end1();

/*
Description
-----------

Author
------
 Spike^ekipS <spike@spikeekips.net>

Changelog
---------

Usage
-----

*/

?>
