Рекламное место:


  • Страница 1 из 1
  • 1
Форум » Скрипты для uCoz » Скрипты Amx-Play.Ru » Мини-Профиль (Amx-Play.Ru)
Мини-Профиль
KappaДата: Вторник, 30.08.2011, 15.44.59 | Сообщение # 1
Пользователи
Сообщений: 78
Репутация: 3
Награды: 0


CSS
Code

.linep {background:url('http://amx-play.ru/img/menu_b_link.png') no-repeat center;height:2px;margin:4px 0px;}
.menu_b a:link, .menu_b a:visited {text-align:left;display:block;background:url('http://amx-play.ru/img/menu_b_link.png') no-repeat bottom center;height:19px;padding-left:25px;padding-top:4px;color:#045607;}
.menu_b a:hover {text-align:left;display:block;background:url('http://amx-play.ru/img/menu_b_hover.png') no-repeat bottom center;text-decoration:none;color:#fff;font:bold 8pt Tahoma;}

.loginField {background:url('http://amx-play.ru/img/loginForm.png');width:107px;height:20px;padding:0px;margin:0px;border:0px;padding:0px 5px;color:#fff;}
.loginButton {background:url('http://amx-play.ru/img/loginButton_link.png');width:52px;height:20px;padding:0px;margin:0px;border:0px;cursor:pointer;cursor:hand}
.loginButton:hover {background:url('http://amx-play.ru/img/loginButton_hover.png');width:52px;height:20px;padding:0px;margin:0px;border:0px;cursor:pointer;cursor:hand;}


В блок
Code
<?if($USER_LOGGED_IN$)?>
   
<div style="text-align:center">Добро пожаловать <b>$USERNAME$</b></div>  
<div class="linep"></div>  
<div align="center">  
  <?if($USER_AVATAR_URL$)?><img style="border: 1px solid rgb(169, 169, 169);" alt="" class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" align=""><?else?><script src="http://amx-play.ru/js/1.js" type="text/javascript"></script><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://amx-play.ru/img/noava.png" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://amx-play.ru/img/noava.png" border="0"><?endif?><?endif?>  
</div>  
<div class="linep"></div>  
<SPAN class="menu_b">  
<a href="javascript://" rel="nofollow" onclick="window.open('/index/8','upp','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;" style="text-align:center;padding-right:20px;">Профиль</a>  
<a style="text-align:center;padding-right:20px;" href="/index/14" target="_blank">Личные сообщение ($UNREAD_PM$)</a>  
<a style="text-align:center;padding-right:20px;" href="/index/10">Выход</a>  
</SPAN>  
  <?else?><script type="text/javascript">  
sendFrm549396=function(){
  var o=$('#frmLg549396')[0],pos=_uGetOffset(o),o2=$('#blk549396')[0];
  document.body.insertBefore(o2,document.body.firstChild);
  $(o2).css({top:(pos['top'])+'px',left:(pos['left'])+'px',width:o.offsetWidth+'px',height:o.offsetHeight+'px',display:''}).html('<div align="left" style="padding:5px;"><div class="myWinLoad"></div></div>');
  _uPostForm('frmLg549396',{type:'POST',url:'/index/sub/',error:function() {
  $('#blk549396').html('<div align="left" style="padding:10px;"><div class="myWinLoadSF" title="Невозможно выполнить запрос, попробуйте позже"></div></div>');
  _uWnd.alert('<div class="myWinError">Невозможно выполнить запрос, попробуйте позже</div>','',{w:250,h:90,tm:3000,pad:'15px'});
  setTimeout("$('#blk549396').css('display','none');",'1500');
  }
  });
}
</script>  
<div id="blk549396" style="border:1px solid #CCCCCC;position:absolute;z-index:82;background:url('http://s104.ucoz.net/img/fr/g.gif');display:none;"></div><form id="frmLg549396" action="/index/sub/" method="post" style="margin:0" onsubmit="sendFrm549396();return false;"><div style="text-align:center">Добро пожаловать <b>Гость</b></div>  
   
<div class="linep"></div>  
   
<div style="padding:0px 13px">  
<table border="0" cellspacing="1" cellpadding="0" width="100%">  
<tr><td>Логин:</td><td><input class="loginField" type="text" name="user" value="" size="20" maxlength="50"/></td></tr>  
<tr><td>Пароль:</td><td><input class="loginField" type="password" name="password" size="20" maxlength="15"/></td></tr>  
</table>  
</div>  
   
<div class="linep"></div>  
   
<table border="0" cellspacing="1" cellpadding="0" width="100%">  
<tr><td><div class="reg"><a href="javascript://" rel="nofollow" onclick="new _uWnd('Prm','Напоминание пароля',300,130,{autosize:1,closeonesc:1},{url:'/index/5'});return false;">Забыл пароль</a> | <a href="/index/3">Регистрация</a></div></td>  
<td><input class="loginButton" name="sbm" type="submit" value=""/></td></tr>  
</table><input type="hidden" name="a" value="2" /><input type="hidden" name="ajax" value="1" /><input type="hidden" name="rnd" value="396" /></form><?endif?>


New Diseng Amx-Play.Ru
Российская Федерация
Форум » Скрипты для uCoz » Скрипты Amx-Play.Ru » Мини-Профиль (Amx-Play.Ru)
  • Страница 1 из 1
  • 1
Поиск: