Установка:
1. В шаблоне Общий вид страниц форума ставим перед </head>:
Code
<style>.mini_prof_out {background-color: #f4f4f4; border:1px solid #9db0bf; padding: 4px 10px; position: fixed; bottom: 4px; right: 4px; opacity: 0.5; text-align: center;} .mini_prof_on {background-color: #f4f4f4; border:1px solid #9db0bf; padding: 4px 10px; position: fixed; bottom: 4px; right: 4px; opacity: 1; text-align: center;} #mini_prof #close_miniprof {color: #810000; text-decoration: underline; cursor: pointer;} #mini_prof #open_miniprof {color: #3e8144; text-decoration: underline; cursor: pointer;}</style>
Code
<div class="gDivBottomLeft"></div><div class="gDivBottomCenter"></div><div class="gDivBottomRight"></div>
<div class="mini_prof_out" onmouseover="this.className='mini_prof_on'" onmouseout="this.className='mini_prof_out'" id="mini_prof"><div id="sam_profil" style="display:none">
<img src="http://forever-web.ru/templates/profile/hi.png" border="0"> <script language="JavaScript">
[img]http://s005.radikal.ru/i212/1001/bb/e9274686c0c6.jpg [/img]
function process(){}
today = new Date()
if((today.getHours() < 12) && (today.getHours() >= 6))
{ document.write("Доброе утро, ")}
if((today.getHours() >= 12) && (today.getHours() < 18))
{ document.write("Добрый день, ")}
if((today.getHours() >= 18) && (today.getHours() <= 23))
{ document.write("Добрый вечер, ")}
if((today.getHours() >= 0) && (today.getHours() < 4))
{ document.write("Вы сегодня поздновато, ")}
if((today.getHours() >= 4) && (today.getHours() <= 6))
{ document.write("Вы сегодня рановато, ")}