<?php
header('Content-Type: text/html; charset=utf-8');
$id = intval($_GET['id']);
include "../cfg.php";
include "../ini.php";
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php print $lng['stat']; ?></title>
<link href="/files/styles.css" type="text/css" rel="stylesheet" />
<link href="/files/b_all.css" type="text/css" rel="stylesheet"/>
<link href="/files/b_buy.css" type="text/css" rel="stylesheet"/>
</head>
<body leftmargin="3" topmargin="3" marginheight="3" rightmargin="3" bottommargin="3">
</br>
<div id="container">
<table border="0" cellpadding="2" cellspacing="6" style="border-collapse: separate;">
<tr>
<td>
<b><?php print $lng['show_date']; ?>:</b>
</td>
<td>
<a href="iframe.php?id=<?php print $id; ?>&sort=1" target="log" class="buttonbuy"><em><?php print $lng['today']; ?></em></a>
</td>
<td>
<a href="iframe.php?id=<?php print $id; ?>&sort=2" target="log" class="buttonbuy"><em><?php print $lng['week']; ?></em></a>
</td>
<td>
<a href="iframe.php?id=<?php print $id; ?>&sort=3" target="log" class="buttonbuy"><em><?php print $lng['month']; ?></em></a>
</td>
<td>
<a href="full_log.php?id=<?php print $id; ?>" target="log" class="buttonbuy"><em><?php print $lng['full_log_today']; ?></em></a>
</td>
</tr>
</table>
</div>
<iframe style="width: 100%; height: 100%;" name="log" width="100%" height="100%" src="iframe.php?id=<?php print $id; ?>&sort=1" frameborder="0"></iframe>
</body>
</html>