[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Вебмастеру » Ucoz скрипты » Рип нового мини профиля extm
Рип нового мини профиля extm
hatabДата: Среда, 09.01.2013, 21:31 | Сообщение # 1
Испытательный срок до 19.01.2013
 Сообщений: 23
  Награды: 1
 Репутация: 4
 Замечания: ±
 
Offline


Установка:

В CSS вставляем

Код
.green-supo-profile-main {border: 1px solid #d1d1d1;border-radius:3px;text-align:center;}  
.green-supo-profile-main-sup {background-image:url(http://www.cs-original.ru/designs_105/green-profile-bg.png);height:111px;border: 1px solid #f1f1f1;border-radius:3px;}  
.green-supo-profile-line {color:#636363;text-shadow: 1px 1px 1px #efefef;}  
.green-supo-profile-line span {color:#0D6DBA;font-weight:bold;}  
.green-supo-profile-date {color:#0D6DBA;text-shadow: 1px 1px 1px #efefef;margin:5px 0 0 0;}  
.green-supo-profile-date span {color:#636363;font-weight:bold;}  
.green-supo-profile-hr {background-image:url(http://www.cs-original.ru/designs_105/green-profile-hr.png);height:6px;margin: 0 0 0 1px;width: 172px;}  
.green-supo-profile-buttons {margin: 8px 0 0 1px;}  
.green-supo-profile-buttons a {background-image:url(http://www.cs-original.ru/designs_105/green-profile-sprite.png);display:block;height:20px;float:left;}  
.green-supo-profile-buttons a#first-button {width:63px;background-position:0px 0px;}  
.green-supo-profile-buttons a#second-button {width:42px;background-position:-63px 0px;margin: 0 2px;}  
.green-supo-profile-buttons a#third-button {width:63px;background-position:-105px 0px;}  
.green-supo-profile-buttons a#first-button:hover {background-position:0px -20px;}
.green-supo-profile-buttons a#second-button:hover {background-position:-63px -20px;}  
.green-supo-profile-buttons a#third-button:hover {background-position:-105px -20px;}


В блок вставляем:

Код
<?if($USER_LOGGED_IN$)?> <div class="bprofile">  
   <div class="bprofile_avatar">  
     
   <?if<img src="$USER_AVATAR_URL$">?><?else?><img src="http://www.cs-original.ru/avars/no_avatar.gif"><?endif?>  
     
   </div>  
     
   <div class="green-supo-profile-main">  
   <div class="green-supo-profile-main-sup">  
   <div class="green-supo-profile-date">$WDAY$ - <span>$DATE$</span> - $TIME$</div>  
   <div class="green-supo-profile-hr"></div>  
   <div class="green-supo-profile-line">Вы вошли как: <span>$USERNAME$</span></div>  
   <div class="green-supo-profile-line">Группа: <span>$USER_GROUP$ <?if($GROUP_ID$=1)?><a href="javascript://" onclick="new _uWnd('user','Вы - пользователь',350,100,{autosize:0,maxh:300,minh:100,modal:1},'Вы находитесь в группе " ><a href="Ссылка на то как перейти в группу проверянные" target="_blank">[<strong>?</strong>]<?endif?></a></span></div>  
   <div class="green-supo-profile-line">Ваш IP: <span>$IP_ADDRESS$</span></div>  
   <div class="green-supo-profile-line">Вы с нами: <span>$USER_REG_DAYS$ дней</span></div>  
   <div class="green-supo-profile-line"><font style="font-size:7pt;">[<span><a href="http://www.cs-original.ru">FAQ</a></span> <span><a href="http://www.cs-original.ru">Смена ника</a></span> <span><a href="http://www.cs-original.ru1">Смена титула</a></span>]</font></div>  
<div class="green-supo-profile-buttons">  
   <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;" id="first-button"></a>  
   <a onclick="window.open('$PM_URL$','upp','scrollbars=1,top=0,left=0,resizable=1,width=770,height=350');return false;" rel="nofollow" href="javascript://" title="Непрочитанных: $UNREAD_PM$" id="second-button"></a>  
   <a href="$LOGOUT_LINK$" id="third-button"></a>  
   </div>  
   </div>  
   </div>  
     
</div> <?else?> <div class="bprofile">  
   <div class="bprofile_avatar">  
     
   <img src="http://www.cs-original.ru/avars/no_avatar.gif">  
     
   </div>  
     
   <div class="bprofile_date">$WDAY$ - $DATE$ - $TIME$</div>  
     
<script type="text/javascript">  
sendFrm549152=function(){  
   var o=$('#frmLg549152')[0],pos=_uGetOffset(o),o2=$('#blk549152')[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('frmLg549152',{type:'POST',url:'/index/sub/',error:function() {  
   $('#blk549152').html('<div align="" style="padding:10px;"><div class="myWinLoadSF" title="Невозможно выполнить запрос, попробуйте позже"></div></div>');  
   _uWnd.alert('<div class="myWinError">Невозможно выполнить запрос, попробуйте позже</div>','',{w:250,h:90,tm:3000,pad:'15px'});  
   setTimeout("$('#blk549152').css('display','none');",'1500');  
   }  
   });  
}  
</script>  
<div id="blk549152" style="border:1px solid #CCCCCC;position:absolute;z-index:82;background:url('http://s3.ucoz.net/img/fr/g.gif');display:none;"></div><form id="frmLg549152" action="/index/sub/" method="post" style="margin:0" onsubmit="sendFrm549152();return false;">  

<table border="0" cellspacing="1" cellpadding="0" width="100%">  

<tr><td width="20%" nowrap="nowrap">Email:</td><td><input class="loginField" type="text" name="user" value="" size="20" style="width:100%;" maxlength="50"/></td></tr>  
<tr><td>Пароль:</td><td><input class="loginField" type="password" name="password" size="20" style="width:100%" maxlength="15"/></td></tr>  
</table>  
<table border="0" cellspacing="1" cellpadding="0" width="100%">  
<tr><td nowrap><input id="remmain" type="checkbox" name="rem" value="1" checked="checked"/><label for="remmain">запомнить</label> </td><td align="right" valign="top"><input class="loginButton" name="sbm" type="submit" value="Вход"/></td></tr>  
<tr><td colspan="2"><div style="font-size:7pt;text-align:center;"><a href="javascript://" rel="nofollow" onclick="new _uWnd('Prm','Напоминание пароля',300,130,{autosize:1,closeonesc:1},{url:'/index/5'});return false;">Забыл пароль</a> | <a href="$REGISTER_LINK$">Регистрация</a></div></td></tr>  
</table>  

<input type="hidden" name="a" value="2" /><input type="hidden" name="ajax" value="1" /><input type="hidden" name="rnd" value="152" /></form>  
     
</div> <?endif?>
BlueДата: Воскресенье, 13.01.2013, 13:03 | Сообщение # 2
 Сообщений: 20
  Награды: 0
 Репутация: 0
 Замечания: ±
 
Offline
То что мне было нужно СПАСИБО
Форум » Вебмастеру » Ucoz скрипты » Рип нового мини профиля extm
  • Страница 1 из 1
  • 1
Поиск: