AHuKeY | Дата: Суббота, 30.07.2011, 8.11.10 PM | Сообщение # 1 |
 AHuKeY
Группа: Администраторы
Сообщений: 66
Награды: 7
Статус: 
|
Ставим в новый блок это:
Code <DIV align="center"><script language="JavaScript"> function process(){} today = new Date() if((today.getHours() < 12) && (today.getHours() >= 6)) { document.write("[b]Доброе утро $USER_FULL_NAME$.[/b]")} if((today.getHours() >= 12) && (today.getHours() < 18)) { document.write("[b]Добрый день $USER_FULL_NAME$[/b]")} if((today.getHours() >= 18) && (today.getHours() <= 23)) { document.write("[b]Добрый вечер $USER_FULL_NAME$[/b]")} if((today.getHours() >= 0) && (today.getHours() < 4)) { document.write("[b]Здравствуйте $USER_FULL_NAME$. Не спится?[/b]")} if((today.getHours() >= 4) && (today.getHours() <= 6)) { document.write("[b]Здравствуйте $USER_FULL_NAME$. Мы рады вас видеть в столь ранний час.[/b]")} </script>
<?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://i029.radikal.ru/0804/cb/8cc27a1c0e73.gif" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://i021.radikal.ru/0804/53/f5b4265aa726.gif" border="0"><?endif?><?endif?>
<?if($USER_LOGGED_IN$)?>
Вы вошли как: $USERNAME$
Вы $USER_GROUP$ кинотеатра
Ваш IP адрес: $IP_ADDRESS$
Вы здесь: <font color="#ff0000">[b]$USER_REG_DAYS$[/b]</font>-й день <input class="buttonprofile" type="button" onclick="window.open('/index/15-1','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Список пользователей"> <input class="buttonprofile" type="button" onclick="window.open('/index/11','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Изменить сведения"> <input class="buttonprofile" type="button" onclick="window.open('/index/14-999-0-1','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Отправить ЛС"> <input class="buttonprofile" type="button" onclick="window.open('/index/14','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Читать ЛС ($UNREAD_PM$)">
<input class="buttonprofile" type="button" onclick="window.open('/index/8','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Профиль">
<input class="buttonprofile" type="button" onclick="document.location.href='/index/10'; return false;" value="Выход">
<center> <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("Отключите блокировку всплывающих окон!"); if(client_type=="rules")clientWindow = window.open("/rules.html","rules","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!"); } </script> <?else?>
Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь! <a href="http://ahukey.3dn.ru/404.htm">~>|Посетите эту страницу|<~</a>
$LOGIN_FORM$ <?endif?></center>
|
|
| |