Code
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><style>
.cross1 {padding-top:2px; display:inline-block; padding-bottom:3px; color:#fff; text-align:center; text-shadow:0px 1px 0px rgba(0,0,0,0.25)}
.cross2 {padding-top:2px; display:inline-block; padding-bottom:3px; color:#ссс; text-align:center; text-shadow:0px 1px 0px rgba(0,0,0,0.25)}
</style>
</p>
<div class='cross1' style='background:#40AC1D; width:180;'> Последняя просмотренная вами страница сайта: </div>
<div class='cross2' style='text-align:left; width:180;'><span class='lastpage'>loading...</span></div>
<div class='cross1' style='background:#40AC1D; width:180;'>Адрес страницы, с которой вы пришли сюда:</div>
<SCRIPT language=JavaScript>
var where = document.referrer;
if(where==0){document.write("Вы загрузились с пустой страницы")}
else {document.write("<div class='cross2' width:180; style='text-align:left; width:180;'>"+where)}
</SCRIPT></div>
</p>
<script type="text/javascript" src="http://webforucoz.ru/js/65_u.LastPage.js"></script>
</td>
</tr>
</table>