Следите за новостями любимого конструктора сайтов uCoz в социальных сетях!
Вот код страницы ЛС
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>$TITLE$ - $SITE_NAME$</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link type="text/css" rel="StyleSheet" href="/_st/my.css" /> </head> <body> <div class="wrapper"> </head> <body> <div class="wrapper"> <script type="text/javascript"> $(document).ready(function(){ var HeaderTop = $('#menu').offset().top; $(window).scroll(function(){ if( $(window).scrollTop() > HeaderTop ) { $('#menu').css({position: 'fixed', top: '0px'}); } else { $('#menu').css({position: 'static'}); } }); }); </script> <div class="header2"> $GLOBAL_AHEADER$ </div><!-- .header--> <div class="middle"> <!-- <middle> --> <div class="container"> <div class="content"> <div class="mid-cont"> <div style="padding:10px; font-family:"HelveticaNeueCyr"; color:#333;"> $BODY$ </div> <div style="float:left; width:100%; height:5px;"> </div> </div> </div> </div> <div class="left-sidebar"> $GLOBAL_CLEFTER$ </div><!-- .left-sidebar --> <!-- </middle> --> </div><!-- .middle--> </div><!-- .wrapper --> <div style="clear:both"> </div> <div class="footer"> $GLOBAL_BFOOTER$ </div><!-- .footer --> </body> </html>
А вот хейдер
<script type="text/javascript" src="//vk.com/js/api/openapi.js?127"></script> <script type="text/javascript" src="http://igromain.my1.ru/js/okno.js"></script> <div class="popup_overlay"></div> <?if($USER_LOGGED_IN$)?> <div class="popup"> <div class="popup_title"> Профиль пользователя $USERNAME$<span class="closer">X</span> </div> <div class="popup_content"> <div class="profil-block1"> <div style="float:left; width:50px; height:50px; border-radius:27px; background:url($USER_AVATAR_URL$) top; background-size:cover; border:4px #b4b4b4 solid;"> </div> <div class="t34"> $USERNAME$ </div> </div> <div class="profil-block-top"> <a href="$PM_URL$" style="text-decoration:none;"> <div class="t35"> Личные сообщения </div> </a> <a href="/index/11" style="text-decoration:none;"> <div class="t35"> Изменить информацию профиля </div> </a> <a href="$LOGOUT_LINK$" style="text-decoration:none;"> <div class="t35"> Выход </div> </a> </div> </div> </div> <?else?> <div class="popup"> <div class="popup_title"> Вход <span class="closer">X</span> </div> <div class="popup_content"> <div class="t32"> Вход через социальные сети </div> $LOG_FORM$ <a href="$REGISTER_LINK$"> <div class="buttom-reg-top"> <div class="t33"> Регистрация </div> </div> </a> </div> </div> <?endif?> <div id="menu"> <div class="logo-top"> <div style="float:left; width:70px; height:70px; background:url(/img-new/logo2.png);"> </div> </div> <a href="/"> <div class="logo-top2"> <div class="t6"> IGROВОЙ </div> </div> </a> <a href="/video"> <div class="menu-punkt"> <div class="t7-1"> Видео </div> </div> </a> <a href="/news"> <div class="menu-punkt"> <div class="t7-2"> Новости </div> </div> </a> <a href="/publ"> <div class="menu-punkt"> <div class="t7-2"> Статьи </div> </div> </a> <a href="/index/transljacii/0-24"> <div class="menu-punkt"> <div class="t7-2"> Трансляции </div> </div> </a> <div class="menu-punkt"> <div class="contacts"> <a href="https://www.youtube.com/channel/UCaP2kiHLYmO5AwNqVWbJWiw"> <div class="contacts-mini"> <div style="float:left; width:36px; height:36px; background:url(/img-new/yt.png) top; background-size:cover; border-radius:18px;"> </div> </div> </a> <a href="https://vk.com/igro_voi"> <div class="contacts-mini"> <div style="float:left; width:36px; height:36px; background:url(/img-new/vk.png) top; background-size:cover; border-radius:18px;"> </div> </div> </a> <a href="https://www.twitch.tv/igrovoi"> <div class="contacts-mini"> <div style="float:left; width:36px; height:36px; background:url(/img-new/twithc.png) top; background-size:cover; border-radius:18px;"> </div> </div> </a> </div> </div> <div class="menu-punkt-reg"> <?if($USER_LOGGED_IN$)?> <div class="button-open"> <div style="float:left; width:30px; height:30px; margin-top:20px; border-radius:15px; background:url($USER_AVATAR_URL$) center; background-size:cover;"> </div> <div class="t7-3"> <?if(len($USERNAME$)>12)?><?substr($USERNAME$,0,12)?>...<?else?>$USERNAME$<?endif?> </div> </div> <?else?> <div class="button-open"> <div style="float:left; width:30px; height:30px; margin-top:20px; border-radius:15px; background:url(/img-new/profil-icon.png);"> </div> <div class="t7-3"> Вход </div> </div> <?endif?> </div> </div>