Мини профиль в шапке New
03.01.2011, 15:36
Вид для гостей:
Вид для зарегистрированных:
При нажатии добавить новость:
При нажатии на аватар:
Ставим код туда, где хотим видеть минипрофиль:
<table class="infTable" cellSpacing="0" cellPadding="0" width="80%" align="center" border="0"> <td> <table class="svetliy" border="0" height="110" width="100%"> <tr> <td> <div align="center">
<div class="temniy" style="border: #000000
1px solid;"><img src="/new_design/no_avatar.png" alt="Пройдите
регистрацию и станьте пользователем!!!" width="100" height="100"
border="0" /></div>
<div align="center"
class="temniy"><font size="1"
face="Visitor_Rus"><b><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><br>$USERNAME$</b></font></div>
<div class="temniy"
align="center"><img
src="http://maxisoft.net.ru/new_design/iconki_grupp/polsovatel.png"
border="0">
<img
src="http://maxisoft.net.ru/new_design/iconki_grupp/proverenniy.png"
border="0">
<img
src="http://maxisoft.net.ru/new_design/iconki_grupp/moderator.png"
border="0">
<img
src="http://maxisoft.net.ru/new_design/iconki_grupp/g_administrator.png"
border="0"> <img src="" border="0">
<img
src="http://maxisoft.net.ru/new_design/iconki_grupp/faylovik.png"
border="0"> <img src="" border="0"> <img src="http://maxisoft.net.ru/new_design/skripter.png" border="0"> <img src="http://maxisoft.net.ru/new_design/zhurnalist.png" border="0">
<img
src="http://maxisoft.net.ru/new_design/iconki_grupp/administrator.png"
border="0">
<img
src="http://maxisoft.net.ru/new_design/iconki_grupp/g_moderator.png"
border="0">
<img
src="http://maxisoft.net.ru/new_design/iconki_grupp/postoyanniy.png"
border="0">
<img
src="http://maxisoft.net.ru/Raznoe/iconki_grupp/banned.gif"
border="0"></div> <div class="temniy">
<a onclick="$('#avatar').toggle('slow');"
href="javascript://"><div class="vtablic"
style="padding-top:3px;padding-bottom:3px;">
<center>Аватар <img
src="http://maxisoft.net.ru/new_design/strelka.png" border="0"
alt="Развернуть / Свернуть"
/></a></center></div></a></center> <div class="svetliy" id="avatar" style="position:absolute;display:none;"> <div class="temniy"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="5" background="http://maxisoft.net.ru/new_design/ramka_avi/ugol_leviy_verhniy.png" height="5"> </td> <td background="http://maxisoft.net.ru/new_design/ramka_avi/polosa_1.png" height="5"> </td> <td width="5" background="http://maxisoft.net.ru/new_design/ramka_avi/ugol_praviy_verhniy.png" height="5"> </td> </tr> <tr> <td width="5" background="http://maxisoft.net.ru/new_design/ramka_avi/polosa_2.png"> </td> <td> <img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"> </td> <td width="5" background="http://maxisoft.net.ru/new_design/ramka_avi/polosa_3.png"> </td> </tr> <tr> <td width="5" background="http://maxisoft.net.ru/new_design/ramka_avi/ugol_leviy_nizhniy.png" height="5"> </td> <td background="http://maxisoft.net.ru/new_design/ramka_avi/polosa_4.png" height="5"> </td> <td width="5" background="http://maxisoft.net.ru/new_design/ramka_avi/ugol_praviy_nizhniy.png" height="5"> </td> </tr> </table> </div></div></div> <div class="temniy">
<a onclick="$('#t').toggle('slow');" href="javascript://"><div
class="vtablic" style="padding-top:3px;padding-bottom:3px;">
<center>Добавить материалы <img
src="http://maxisoft.net.ru/new_design/strelka.png" border="0"
alt="Развернуть / Свернуть"
/></a></center></div></a></center> <div class="svetliy navig" id="t" style="position:absolute;display:none;"><div class="temniy">
<a href="/load/0-0-0-0-1">Добавить файл</a> <a
href="/news/0-0-0-0-1">Добавить новость</a> <a
href="/dir/0-0-0-0-1">Добавить сайт</a><br><br>
<a href="/board/0-0-0-0-1">Добавить онлайн-фильм</a> <a
href="/photo/0-0-0-0-1">Добавить фото</a> <a
href="/forum/40-146-1">Заказ рекламы</a> </div></div> </td> <td>
<div align="center"
class="temniy"><font size="1"
face="Visitor_Rus"><b><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>Гость</b></font></div> <div class="temniy" style="padding:1px"> <table width="100%">
<tr><td style="font-size:10.5px;" align="center"><div
style="width:150px;background:url('http://maxisoft.net.ru/new_design/menu.png');border:
#000000 1px solid; color:#515151;"><font size="1"
face="Visitor_Rus">Вы с нами: $USER_REG_DAYS$-й
день</font></div></td></tr>
<tr><td style="font-size:10.5px;" align="center"><div
style="width:150px;background:url('http://maxisoft.net.ru/new_design/menu.png');border:
#000000 1px solid; color:#515151;"><font size="1"
face="Visitor_Rus">Ваш ID:
$USER_ID$</font></div></td></tr>
<tr><td style="font-size:10.5px;" align="center"><div
style="width:150px;background:url('http://maxisoft.net.ru/new_design/menu.png');border:
#000000 1px solid; color:#515151;"><font size="1"
face="Visitor_Rus">Ваш IP: $IP_ADDRESS$
</font></div></td></tr> <tr><td
style="font-size:10.5px;" align="center"><div
style="width:150px;background:url('http://maxisoft.net.ru/new_design/menu.png');border:
#000000 1px solid; color:#515151;"><a href="javascript://"
onclick="openLayerB('PM',0,'/xml/pm.xml','Личные
сообщения',750,410,'1','','',0,'center');return false;"><font
face="Visitor_Rus" size="1" color="#515151">Личных сообщений
($UNREAD_PM$)</font></a></div></td></tr>
<tr><td style="font-size:10.5px;" align="center"><div
style="width:150px;background:url('http://maxisoft.net.ru/new_design/menu.png');border:
#000000 1px solid; color:#515151;"><a href="javascript://"
onClick="openLayerB('USearch',0,'/Raznoe/Java-table/search.xml','Поиск
по названию',370,150,'1','','',0,'justify'); return false;"><font
face="Visitor_Rus" size="1" color="#515151">Поиск по
сайту</font></a></div></td></tr>
<tr><td style="font-size:10.5px;" align="center"><div
style="width:150px;background:url('http://maxisoft.net.ru/new_design/menu.png');border:
#000000 1px solid; color:#515151;"><a
href="/forum/84-471-1"><font face="Visitor_Rus" size="1"
color="#ffff00">Стать
V.I.P.</font></a></div></td></tr>
<tr><td style="font-size:10.5px;" align="center"><div
style="width:150px;background:url('/new_design/menu.png');border:
#000000 1px solid; color:#515151;"><a
href="$LOGOUT_LINK$"><font face="Visitor_Rus" size="1"
color="#515151">Выход</font></a></div></td></tr>
</table></div> <div class="temniy" style="padding:6px">$LOGIN_FORM$</div> </td> </tr> </table> </td> </table> </td> </tr> </tbody> </table> </div>
В CSS:
.navig a {color:#0255ff;font-family:Visitor_Rus;font-size:10px;padding:0 5px 0 5px;} .navig a:link, .navig a:visited, .navig a:hover,
.navig a:active
{text-decoration:none;color:#515151;font-family:Visitor_Rus;font-size:10px;background:
url(http://maxisoft.net.ru/new_design/menu.png); border-top:1px solid
#000000;border-right:1px solid #000000;border-bottom:1px solid
#000000;border-left:1px solid #000000;padding: 2px 4px 2px 4px;}
.navig a:hover {text-shadow:0px 0px 5px
#0255ff;text-decoration:none;color:#0255ff;font-family:Visitor_Rus;font-size:10px;background:
url(http://maxisoft.net.ru/img/fon_tablic.gif); border-top:1px solid
#0255ff;border-right:1px solid #0255ff;border-bottom:1px solid
#0255ff;border-left:1px solid #0255ff;padding: 2px 4px 2px 4px;} .svetliy { margin:1px; padding:2px; background:url('/new_design/bBlock2.png') #000000; border:1px solid #000000; } .temniy { margin:2px; padding:3px; background:url('/new_design/temniy_fon.png') #000000; border:1px solid #000000; }
Всего комментариев: 1
Порядок вывода комментариев:
По умолчанию
Сначала новые
Сначала старые
1
576y
(24.04.2012 08:04)
0
http://zoom-game.org.ua/
Опрос
Оцените мой сайт
Всего ответов: 11
Статистика
Онлайн всего: 1
Гостей: 1
Пользователей: 0
На портале uCozInfo - Вы можете найти Фильмы, Эротику, Юкоз, Читы, Онлайн фильмы, Раздачи icq, Обои, Музыку, Спорт, Игры, PC, Скрипты для ucoz, Всё для ucoz и многое другое!
h