<?php
echo '<div class="h1">';
$sait = Core::query("SELECT * FROM `user_sites` WHERE `id` = ?", array($_GET['get'])) -> fetch();
?>
<table width="100%"cellspacing="1">
				<tr>
					<td align="center" width="33%" style="border:1px solid #9a9a9c">Дата</td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c">Хосты</td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c">Хиты</td>
				</tr><tr>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><?echo date("d.m", strtotime("-6 day"));?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['host7'];?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['hit7'];?></td>
				</tr><tr>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><?echo date("d.m", strtotime("-5 day"));?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['host6'];?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['hit6'];?></td>
				</tr><tr>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><?echo date("d.m", strtotime("-4 day"));?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['host5'];?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['hit5'];?></td>
				</tr><tr>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><?echo date("d.m", strtotime("-3 day"));?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['host4'];?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['hit4'];?></td>
				</tr><tr>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><?echo date("d.m", strtotime("-2 day"));?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['host3'];?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['hit3'];?></td>
				</tr><tr>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><?echo date("d.m", strtotime("-1 day"));?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['host2'];?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['hit2'];?></td>
				</tr><tr>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><?echo date("d.m")?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['host'];?></td>
					<td align="center" width="33%" style="border:1px solid #9a9a9c"><? echo $sait['hit'];?></td>
				</tr>	
</table>
<?
echo '<br/>';
echo '<div style="font-size:16px"><center><b>График</b></center></div>';
echo '<center><img src="/stat/graphic/'.$sait['id'].'" alt="График" title="График"\></center>';
echo '</div>';
echo '<a href=/stat/index/'.$sait['id'].'><div class="navig">Назад к статистике</div></a>';
?>