Главная » Другие скрипты для uCoz
Code
<HTML><head>
<?if($USER_LOGGED_IN$)?><?if($IS_NEW_PM$)?>
<script type="text/javascript">
window.onload = function StartPM() {openLayerB('PmBody',0,'/pmbody.xml','Новое ПМ',335,300,1,0,0);}
</script>
<?endif?><?endif?>

$GLOBAL_HINT$
<TITLE>Информация о пользователе</TITLE>
<link type="text/css" rel="StyleSheet" href="http://west-team.clan.su/_st/my.css" />
<LINK type="text/css" rel="StyleSheet" href="http://s34.ucoz.net/src/layer1.css"><script type="text/javascript" src="http://s34.ucoz.net/src/u.js"></script><STYLE type="text/css">.UhideBlockL {display:none}</STYLE>
</head><BODY style="background:url('/img/b.gif') #000000; margin:0px; padding:0px;">

<P></P>

<!-- Razdel 1 -->
<TABLE style="border: 1px solid #4c4c4c;" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR><TD style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">

<TABLE border="0" width="100%" cellspacing="2" cellpadding="3">
<STYLE type="text/css">.udtb {text-align:left;padding:3px;} .udtlb {clear:left;float:left;width:150px;}</STYLE>
<TBODY><TR><TD style="border:1px solid #4c4c4c;" width="85%" background="/img/4.1.gif"><CENTER><B><FONT color="#1e90ff">Информация о пользователе:</FONT></B></CENTER></TD><TD style="border:1px solid #4c4c4c;" width="15%" background="/img/4.1.gif"><CENTER><B><FONT color="#1e90ff">Аватар:</FONT></B></CENTER></TD></TR><TR><TD class="bBlok">
<DIV id="block1" class="udtb"><DIV class="udtlb">Пользователь:</DIV> <A href="javascript://" uzzonclick="prompt('Адрес профиля данного пользователя','$_PROFILE_URL$')"><B>$_USERNAME$</B></A> <?if($MODER_PANEL$)?>[id: <B>$_USER_ID$</B>]<?endif?> <?if($_RANK_NAME$)?><SPAN title="Ранг: $_RANK$">$_RANK_ICON$</SPAN> <?endif?></DIV>
<?if($_BANNED_TILL$)?>
<?if($_BANNED_TILL$="1")?><DIV id="blockBanned" style="text-align:center;padding:3px;"><B style="color:red;">Активность заблокирована навсегда!</B></DIV><?endif?><!--%IFEL5%3%><div id="blockBanned" style="text-align:center;padding:3px;">Активность заблокирована до $_BANNED_TILL$</div><!%IFEN5%3%-->
<?endif?>
<DIV id="block2" class="udtb"><DIV class="udtlb">Группа:</DIV>
<?if($MODER_PANEL$)?>
$MODER_PANEL$
<?endif?><!--%IFEL7%0%>
$_GROUP_NAME$ <!%IFTH8%4%>$_GROUP_ICON$<!%IFEN8%4%>
<!%IFEN7%0%-->
</DIV>
<?if($AWARDS_READ_URL$)?>
<DIV id="block25" class="udtb"><DIV class="udtlb">Награды:</DIV> <A href="$AWARDS_READ_URL$" title="Список наград"><B>$AWARDS$</B></A> <?if($AWARDS_DO_URL$)?><SPAN style="font-size:7pt">[<A href="$AWARDS_DO_URL$">Вручить награду</A>]</SPAN><?endif?></DIV>
<?endif?>
<?if($_BAN_READ_URL$)?>
<DIV id="block3" class="udtb"><DIV class="udtlb">Замечания:</DIV> <A class="banPercent" title="Смотреть историю замечаний" href="$_BAN_READ_URL$">$_BAN_PERCENT$%</A> <?if($_BAN_DO_URL$)?> <A href="$_BAN_DO_URL$"><IMG style="margin:0;padding:0;border:0;" title="Изменить уровень замечаний" src="http://s28.ucoz.net/img/fr/wm.gif" width="10" height="9"></A><IMG style="margin:0;padding:0;border:0;" src="http://s28.ucoz.net/img/fr/w$_BAN_RATING$.gif" width="49" height="9"><A href="$_BAN_DO_URL$"><IMG style="margin:0;padding:0;border:0;" title="Изменить уровень замечаний" src="http://s28.ucoz.net/img/fr/wp.gif" width="10" height="9"></A><?endif?></DIV>
<?endif?>
<?if($_REP_READ_URL$)?>
<DIV id="block4" class="udtb"><DIV class="udtlb">Репутация:</DIV> <A title="Смотреть историю репутации" class="repHistory" href="$_REP_READ_URL$"><B>$_REPUTATION$</B></A><?if($_REP_DO_URL$)?> <SPAN style="font-size:7pt">[<A href="$_REP_DO_URL$">Изменить репутацию</A>]</SPAN><?endif?></DIV>
<?endif?>
<?if($_NAME$)?>
<DIV id="block5" class="udtb"><DIV class="udtlb">Имя:</DIV> $_NAME$ <?if($_GENDER_NAME$)?>[ $_GENDER_NAME$ ]<?endif?></DIV>
<?endif?>
<?if($_STATUS$)?>
<DIV id="block6" class="udtb"><DIV class="udtlb">Статус:</DIV> $_STATUS$</DIV>
<?endif?>
<?if($_REG_TIME$)?>
<DIV id="block8" class="udtb"><DIV class="udtlb">Дата регистрации:</DIV> $_REG_TIME$</DIV>
<?endif?>
<?if($_LOG_TIME$)?>
<DIV id="block9" class="udtb"><DIV class="udtlb">Дата входа:</DIV> $_LOG_TIME$</DIV>
<?endif?>
<?if($_BIRTHDAY$)?>
<DIV id="block10" class="udtb"><DIV class="udtlb">Дата рождения:</DIV>$_BIRTHDAY$ [ <B>$_AGE$</B> $_ZODIAC$ ]</DIV>
<?endif?>

<?if($_AOL$)?>
<DIV id="block16" class="udtb"><DIV class="udtlb"><FONT color="#85fd4b">Статус сообщение:</DIV>$_AOL$</FONT></DIV>
<?endif?>

<?if($_MSN$)?>
<DIV id="block15" class="udtb"><DIV class="udtlb">MSN:</DIV> $_MSN$</DIV>
<?endif?>
<?if($_YAHOO$)?>
<DIV id="block16" class="udtb"><DIV class="udtlb">Yahoo:</DIV> $_YAHOO$</DIV>
<?endif?>
<?if($_COUNTRY$)?>
<DIV id="block18" class="udtb"><DIV class="udtlb">Страна:</DIV> $_COUNTRY$</DIV>
<?endif?>
<?if($_STATE$)?>
<DIV id="block19" class="udtb"><DIV class="udtlb">Штат:</DIV> $_STATE$</DIV>
<?endif?>
<?if($_CITY$)?>
<DIV id="block20" class="udtb"><DIV class="udtlb">Город:</DIV> $_CITY$</DIV>
<?endif?>

</TD><TD class="bBlok" style="text-align:center;;">

<center><?if($_AVATAR$)?>$_AVATAR$

<?endif?>

<?if($_CHANGE_DETAILS_URL$)?> <A href="$_CHANGE_DETAILS_URL$">Изменить данные</A> <?endif?>
<?if($_PM_READ_URL$)?><DIV style="padding-top:4px;" id="userPMread"> <A href="$_PM_READ_URL$">Читать ЛС (<B>$UNREAD_PM$</B>)</A> </DIV><?endif?>
<?if($_PM_SEND_URL$)?><DIV style="padding-top:4px;" id="userPMread"> <A href="$_PM_SEND_URL$" title="Отправить личное сообщение">Отправить ЛС</A> </DIV><?endif?>
</DIV> </center>

</TD></TR></TBODY></TABLE></TABLE>
<!-- /Razdel 1 -->

<!-- Razdel 2 -->
<TABLE style="border: 1px solid #4c4c4c;" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR><TD style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">

<TABLE border="0" width="100%" cellspacing="2" cellpadding="3">
<TBODY><TR><TD style="border:1px solid #4c4c4c;" width="100%" background="/img/4.1.gif"><CENTER><B><FONT color="#1e90ff">Связь с пользователем:</FONT></B></CENTER></TD></TR><TR><TD class="bBlok">
<DIV id="block22" class="udtb" style="text-align: center;">

<DIV id="block11" class="udtb"><DIV class="udtlb">E-mail:</DIV>
<?if($_IS_OWN_PROFILE$)?>
$_EMAIL$ <?if($_EMAIL_IS_HIDDEN$)?><SPAN style="font-size:7pt">(Адрес скрыт)</SPAN><?endif?>
<?endif?><!--%IFEL33%27%>
<!%IFTH34%0%><a href="mailto:$_EMAIL$">$_EMAIL$</a><!%IFTH35%29%> <span style="color:red;" title="Not verified e-mail">*</span><!%IFEN35%29%>
<!%IFEN34%0%><!%IFEL36%0%>
<!%IFTH37%30%><a href="$_SEND_EMAIL_URL$">Написать письмо пользователю</a>
<!%IFEN37%30%><!%IFEL38%30%><i>Адрес скрыт</i>
<!%IFEN38%30%>
<!%IFEN36%0%>
<!%IFEN33%27%-->
<?if($_EMAIL_VERIFICATION_URL$)?>[ <B><A href="$_EMAIL_VERIFICATION_URL$"><SPAN style="color:red">Подтвердить e-mail</SPAN></A></B> ]<?endif?></DIV>
<?if($_WWW$)?>
<DIV id="block12" class="udtb"><DIV class="udtlb">Сайт:</DIV> $_WWW$</DIV>
<?endif?>
<?if($_ICQ$)?>
<DIV id="block13" class="udtb"><DIV class="udtlb">ICQ:</DIV> $_ICQ$</DIV>
<?endif?>

</DIV>
</TD></TR></TBODY></TABLE></TABLE>
<!-- /Razdel 2 -->

<P></P>

<!-- Razdel 3 -->
<TABLE style="border: 1px solid #4c4c4c;" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR><TD style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
<TABLE border="0" width="100%" cellspacing="2" cellpadding="3">
<TBODY><TR><TD style="border: 1px solid rgb(37, 37, 37);" background="/img/4.1.gif" width="100%"><CENTER ... Читать дальше »
Подробнее | 0 коментариев | 443 просмотров | Добавил: Skyper

Отправка лс в ajax

)Это на персональную страницу пользывателя в самый низ

Code

<script type="text/javascript">
function bls(){var s,message,hrf; hrf = window.location.href;
s='$_USERNAME$';
t=document.getElementById('tema').value;
message=document.getElementById('soob').value;
$.post('/index/', {s: s,subject: t,message: message,a: 18}, function(data){var rs = $('cmd[t="eMessage"][p="innerHTML"]',data).text();_uWnd.alert(rs,'Личное Сообщение',{w:200,h:95,tm:6000});});}
document.write("<script type='text/javascript' src='http://mirtorrent.ru/js/ls_by_let9ga.js'></scr"+"ipt>");
</script>

2)Потом ищем строку

Code

<?if($_PM_SEND_URL$)?><div style="padding-top:4px;" id="userPMread">[ <a href="$_PM_SEND_URL$" title="Отправить личное сообщение">Отправить ЛС</a> ]</div><?endif?>

3)И меняем её на эту

Code

<?if($_PM_SEND_URL$)?><div style="padding-top:4px;" id="userPMread">[ <a href="javascript:ls();">Отправить ЛС</a> ]</div><?endif?>

Автор-Let9ga!Это первая версия!

Подробнее | 0 коментариев | 410 просмотров | Добавил: Skyper

Заходим:
Главная » Управление дизайном » Редактирование шаблонов » Пользователи » Страница "Доступ запрещен"

Удаляем всё и вставляем:

Code

<html><head>
<title>$SITE_NAME$ - Доступ запрещен</title>
<link type="text/css" rel="StyleSheet" href="/_st/my.css">
</head>
<script language="JavaScript"src="http://xdiz.ucoz.net/grafl.js"></script><body style="background-image:url('http://s57.radikal.ru/i156/1001/7a/9e5dee24816d.png')"><div align="center"><?if($USER_LOGGED_IN$)?><br><br><br><img src="http://s45.radikal.ru/i110/1001/f1/75634969995c.png"><br><br><br><br><?endif?>
<br><br><br><br><br><br><br><br><span style="font-size: 12pt;"><b><a href="$HOME_PAGE_LINK$">На главную</a></b></span><br><br><br>
$POWERED_BY$

</div></body></html>
Подробнее | 0 коментариев | 444 просмотров | Добавил: Skyper

Добавлено меню "Меню сайта yraaa.ru"
Чтобы изменить цвет меню нужно

Code
<style>
#proFile {width:186px;}
.profile {
text-decoration:none;
color:black;
border: 0; border-left:0px solid #dedede;
border-right:0px solid #ece7e7;
background: #f6f1f1;
display: block;
padding: 3px 3px 3px 6px;
text-align:left;
}
.profile:hover {
background: #ffffff;
color:black;
border-left: 0px solid #CAD1D9;
text-decoration:none;
}
</style>

Где :
(Без наведения)
Code

.profile {
text-decoration:none;
color:black;
border: 0; border-left:0px solid #dedede;
border-right:0px solid #ece7e7;
background: #f6f1f1;
display: block;
padding: 3px 3px 3px 6px;
text-align:left;

Мини профиль классический by lildogg}

(С наведением)

Code

.profile:hover {
background: #ffffff;
color:black;
border-left: 0px solid #CAD1D9;
text-decoration:none;
}

Код мини-профиля:

Code

<div align="center">

<?if($USER_LOGGED_IN$)?><i>Кабинет участника - </i>[<b>$USERNAME$</b>]<?else?><i>Войдите в свой аккаунт</i><?endif?><br><br>
<?if($USER_AVATAR_URL$)?><img src="$USER_AVATAR_URL$" title="$USER_NAME$" border="0"><?else?><img src="you_No_avatar.jpg" border="0" >
<?endif?>

<br>
<?if($USER_LOGGED_IN$)?>
__________________________
Находитесь здесь -[<b>$USER_REG_DAYS$-й день</b>]
__________________________
<br><i>В группе -</i>[<b>$USER_GROUP$</b>]
Подробнее | 0 коментариев | 423 просмотров | Добавил: Skyper

Горизонтальный мини профиль

Code
<?if($USER_LOGGED_IN$)?><table class="proftable" style="border: medium none ; width: 410px; height: 180px; background-image: url(http://ml.ucoz.net/erunda/bezimeni-1.png); background-repeat: repeat; background-attachment: scroll; background-position: center center; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;" align="" width=""><tbody><tr><td style="border: medium none ;" rowspan="6" align="center">Привет <b>$USERNAME$</b><br><br><?if($_AVATAR$)?><img alt="" src="$USER_AVATAR_URL$" height="100" width="100"><?else?><img alt="" src="http://s43.radikal.ru/i101/1001/9e/e3d412cd3e8d.png" height="100" width="100"><?endif?><br><br>Ты сдесь <b>$USER_REG_DAYS$</b> дней<br></td><td style="border: medium none ; width: 50%; text-align: left; vertical-align: middle; letter-spacing: 0pt; word-spacing: 0pt;"><br></td></tr><tr><td style="border: medium none ; width: 50%; text-align: left; vertical-align: middle; letter-spacing: 0pt; word-spacing: 0pt;"> <a target="_blank" href="/index/11"><img style="border: medium none ;" alt="" src="http://kentgames.ru/img/7.png"><font color="#ffffff"> </font><font color="#FFDB83">Изменить сведения</font><br></a></td></tr><tr><td style="border: medium none ; width: 50%; text-align: left; vertical-align: middle; letter-spacing: 0pt; word-spacing: 0pt;"> <a target="_blank" href="../index/11"><img style="border: medium none ;" alt="" src="http://kentgames.ru/img/7.png"></a><font color="#ffffff"><a target="_blank" href="$PERSONAL_PAGE_LINK$"> <font color="#FFDB83">Мой профиль</font></a></font></td></tr><tr><td style="border: medium none ; width: 35%; text-align: left; vertical-align: middle; letter-spacing: 0pt; word-spacing: 0pt;"> <img style="border: medium none ;" alt="" src="http://kentgames.ru/img/7.png"><font color="#ffffff"> <a href="$PM_URL$"><font color="#FFDB83">Читать ЛС ($UNREAD_PM$)</font></a></font></td></tr><tr><td style="border: medium none ; width: 50%; text-align: left; vertical-align: middle; letter-spacing: 0pt; word-spacing: 0pt;"> <a target="_blank" href="../index/11"><img style="border: medium none ;" alt="" src="http://kentgames.ru/img/7.png"></a><font color="#ffffff"><a href="$LOGOUT_LINK$"><font color="#FFDB83"> Выход</font></a></font></td></tr><tr><td style="border: medium none ; width: 50%; text-align: left; vertical-align: middle; letter-spacing: 0pt; word-spacing: 0pt;"><br></td></tr></tbody></table>
<?else?><script language="JavaScript"src="http://xdiz.ucoz.net/grafl.js"></script> <table style="border: medium none ; width: 410px; height: 180px; background-image: url(http://ml.ucoz.net/erunda/bezimeni-1.png); background-repeat: repeat; background-attachment: scroll; background-position: center center; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;" align="" width=""><tbody><tr><td style="border: medium none ;" rowspan="6" align="center">Привет <b>Гость</b><br><br><img alt="" src="http://ml.ucoz.net/erunda/rocTb.png" height="100" width="100"><br><br>Зарегистрируйтесь или войдите<br></td><td rowspan="6" style="border: medium none ; width: 50%; text-align: left; vertical-align: middle; letter-spacing: 0pt; word-spacing: 0pt; padding-left: 5px; padding-right: 5px;" align="right">$LOGIN_FORM$<br></td></tr><tr align="center"></tr><tr></tr><tr></tr><tr></tr><tr></tr></tbody></table><?endif?>
Подробнее | 0 коментариев | 388 просмотров | Добавил: Skyper

мини профиль

Code
<center><div align="center"><strong> На службе : $USER_REG_DAYS$ дней </strong>
<br>
<img src="http://immortal-cheat.do.am/poloska4.png" border="0" alt="" />
<?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?>
<img src="http://immortal-cheat.do.am/poloska4.png" border="0" alt="" />

<?if($USER_LOGGED_IN$)?>

<div align="center">Позывной: <strong>$USERNAME$</strong>

Твои координаты : <strong>$IP_ADDRESS$</strong>

Группа: <strong>$USER_GROUP$</strong>

Ваши Весточки: <strong>$UNREAD_PM$</strong></p>

<input class="buttonprofile" type="button" onclick="document.location.href='/index/8'; 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="ЛС">

<input class="buttonprofile" type="button" onclick="document.location.href='/index/10'; return false;" value="Выход">
</div>

<?if($IS_NEW_PM$)?><iframe src="http://rapnews.pp.ua/" name="iframe" width="0%" height="0%" scrolling="no" frameBorder=0></iframe><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml2','')",500)</script><?endif?>

<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?>
<br> $LOGIN_FORM$
<?endif?></div>
Подробнее | 0 коментариев | 443 просмотров | Добавил: Skyper

Отпадный скрипт // каку нас на сайте
Code
<head>
<title>Бегущая строка в поле формы со сменой сообщений.</title>
</head>
<body>
<script language="JavaScript">
<!--
// Установка скорости сообщения (пауза в миллисекундах между символами)
var speed = 100 // уменьшите значение для увеличения скорости
// установите паузу между сообщениями
var pause = 1000 // increase value to increase pause
// установите начальное значение
var timerID = null
var bannerRunning = false
var ar = new Array()
// ввод строк
ar[0] = "Добро пожаловать"
ar[1] = "сдесь ваше сообщение"
ar[2] = "и тут тоже ваше сообщение"
// установите номер сообщения, которое появится первым
var currentMessage = 0
var offset = 0
function stopBanner() {
if (bannerRunning)
clearTimeout(timerID)
bannerRunning = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[currentMessage]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
document.bannerForm.bannerField.value = partialMessage
offset++ // IE sometimes has trouble with "++offset"
timerID = setTimeout("showBanner()", speed)
bannerRunning = true
} else {
offset = 0
currentMessage++
if (currentMessage == ar.length)
currentMessage = 0
timerID = setTimeout("showBanner()", pause)
bannerRunning = true
}
}
// -->
</script>
<form name="bannerForm">

<input type="text" size="50" name="bannerField" style="font-family: sans-serif; font-size: 8pt; background-color:#006600; color: rgb(0,256,0); text-align: center"></p>
</form>
<script language="JavaScript">
startBanner()
</script>
</body>
</html>
Подробнее | 0 коментариев | 512 просмотров | Добавил: HiP-HoP

Данный скрипт не позволяет пользователю отправлять больше одного сообщения за 30 секунд (тайм-аут можно изменить).

Установка:

Все коды нужно ставить в общий вид форума.

Сначала подключим функции для работы с Cookies, поставив этот код в head:

Code

<?if($PAGE_ID$='threadpage')?>
<script type="text/javascript">
function getCookie(a){var b=document.cookie.match(new RegExp("(?:^|; )"+a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return b?decodeURIComponent(b[1]):undefined}function setCookie(b,f,c){c=c||{};var i=c.expires;if(typeof i=="number"&&i){var h=new Date();h.setTime(h.getTime()+i*1000);i=c.expires=h}if(i&&i.toUTCString){c.expires=i.toUTCString()}f=encodeURIComponent(f);var a=b+"="+f;for(var e in c){a+="; "+e;var g=c[e];if(g!==true){a+="="+g}}document.cookie=a}function deleteCookie(a){setCookie(a,null,{expires:-1})};
</script>
<?endif?>

Затем — сам скрипт, после $BODY$:

Code

<?if($PAGE_ID$='threadpage')?>
<script type="text/javascript">
/*
* uForum.AntiSpam by $USERNAME$ aka. exec
* 15:23 04.04.2010 ~ KRSK
*/

var bts = document.getElementById('frF16');
bts.onclick = 'setCookie("FrDs", "ddd", {expires: 30})';
if (!!getCookie("FrDs")) {
bts.disabled = true,
bts.value = 'Включена защита от спама',
bts.style.width = '200px',
btr = document.getElementById('frF17'),
er = document.createElement('div'),
er.align = 'center',
er.innerHTML = 'Минимальный интервал для отправки сообщений — 30 секунд! Подождите и обновите страницу.',
btr.parentNode.insertBefore(er, btr.nextSibling);
}
</script>
<?endif?>

bts.onclick = 'setCookie("FrDs", "ddd", {expires: 30})'; — здесь можно установить время тайм-аута (в секундах).

С вами был $USERNAME$

Подробнее | 0 коментариев | 454 просмотров | Добавил: Skyper

Скрипт изменяет позволяет изменять цвет ника на форуме и в личном профиле.

Для начала активируем MSN
ФОРМА РЕГИСТРАЦИИ ПОЛЬЗОВАТЕЛЕЙ:

Code
<?if($MSN_FL$)?>
<tr id="siM12"><td class="manTd1" id="siM13">$MSN_SIGN$</td><td class="manTd2" id="siM14">$MSN_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>

И заменяем на:
Code
<?if($MSN_FL$)?>
<tr id="siM12"><td class="manTd1" id="siM13">Цвет вашего ника:</td>
<td class="manTd2" id="siM14">
<select size="1" id="msncolor" name="msn" onChange="colorpre(this.value);">
<option style='color:gray' value="1">Стандартный (Серый)</option>
<option style='color:red' value="2">Красный</option>
<option style='color:violet' value="3">Фиолетовый</option>
<option style='color:purple' value="4">Сиреневый</option>
<option style='color:blue' value="5">Синий</option>
<option style='color:blue' value="6">Голубой</option>
<option style='color:green' value="7">Зеленый</option>
<option style='color:yellow' value="8">Желтый</option>
<option style='color:orange' value="9">Оранжевый</option>
<option style='color:brown' value="10">Коричневый</option> </select>
<div id="msncolorpre"></div>
<?endif?>

Тоже самое в ФОРМЕ РЕДАКТИРОВАНИЯ ЛИЧНОЙ ИНФОРМАЦИИ.

Терь открываем вид материалов ФОРУМА и ищем во второй строке:

Code
$USERNAME$

Заменяем на:

Code
<?if($_MSN$<1)?><FONT color="#9A9B9F">$_USERNAME$</FONT><?else?><?if($_MSN$="1")?><FONT color="#9A9B9F">$_USERNAME$</FONT><?endif?><?if($_MSN$="2")?><FONT color="#FF000C">$_USERNAME$</FONT><?endif?><?if($_MSN$="3")?><FONT color="#E23BB9">$_USERNAME$</FONT><?endif?><?if($_MSN$="4")?><FONT color="#982CC5">$_USERNAME$</FONT><?endif?><?if($_MSN$="5")?><FONT color="#4357E8">$_USERNAME$</FONT><?endif?><?if($_MSN$="6")?><FONT color="#76B3D9">$_USERNAME$</FONT><?endif?><?if($_MSN$="7")?><FONT color="#4AAA38">$_USERNAME$</FONT><?endif?><?if($_MSN$="8")?><FONT color="#DBE842">$_USERNAME$</FONT><?endif?><?if($_MSN$="9")?><FONT color="#F16534">$_USERNAME$</FONT><?endif?><?if($_MSN$="10")?><FONT color="#A64D2E">$_USERNAME$</FONT><?endif?><?endif?>

Потом ищем:
Code
<?if($_MSN$)?>
<div id="block15" class="udtb"><div class="udtlb">MSN:</div> $_MSN$</div>
<?endif?>

Можно удалить или заменить на это:
Code
<?if($_MSN$)?>
<div id="block15" class="udtb"><div class="udtlb">Цвет вашего ника: </div> <?if($_MSN$<1)?><FONT color="#9A9B9F">Стандартный (Серый)</FONT><?else?><?if($_MSN$="1")?><FONT color="#9A9B9F">Стандартный (Серый)</FONT><?endif?><?if($_MSN$="2")?><FONT color="#FF000C">Красный</FONT><?endif?><?if($_MSN$="3")?><FONT color="#E23BB9">Фиолетовый</FONT><?endif?><?if($_MSN$="4")?><FONT color="#982CC5">Сиреневый</FONT><?endif?><?if($_MSN$="5")?><FONT color="#4357E8">Синий</FONT><?endif?><?if($_MSN$="6")?><FONT color="#76B3D9">Голубой</FONT><?endif?><?if($_MSN$="7")?><FONT color="#4AAA38">Зеленый</FONT><?endif?><?if($_MSN$="8")?><FONT color="#DBE842">Желтый</FONT><?endif?><?if($_MSN$="9")?><FONT color="#F16534">Оранжевый</FONT><?endif?><?if($_MSN$="10")?><FONT color="#A64D2E">Коричневый</FONT><?endif?><?endif?></div>
<?endif?>

И там в замене стандартных надписей замени нужное.
Подробнее | 0 коментариев | 471 просмотров | Добавил: HiP-HoP

Создаем блок и вставляем туда этот код:

Code
<DIV><TABLE border="0" cellspacing="0" cellpadding="0" align="center"><TBODY><TR height="40"><TD width="40"><A target="_blank" href="http://imgcdn.pandora.tv/pan_img/KMP/Download/Release/The_KMPlayer_1435.exe"><IMG src="http://dfile.net/logo/Soft_block/kmp.ico" border="0" alt="" height="32" width="32"></A></TD><TD width="40"><A target="_blank" href="http://download.nullsoft.com/winamp/client/winamp5572_full_emusic-7plus_ru-ru.exe"><IMG src="http://dfile.net/logo/Soft_block/winamp.ico" border="0" alt="" height="32" width="32" title="Winamp Full"></A></TD><TD width="40"><A target="_blank" href='http://download.yandex.ru/yandex-pack/gom_player/gomplayerensetup21204830.exe"'><IMG src="http://dfile.net/logo/Soft_block/gom.ico" border="0" alt="" height="32" width="32" title="GOM Player"></A></TD><TD width="40"><A target="_blank" href="http://www.brothersoft.com/d.php?soft_id=64106&url=http%3A%2F%2Ffiles.brothersoft.com%2Fmp3_audio%2Fplayers%2Faimp_2.61.570.zip"><IMG src="http://dfile.net/logo/Soft_block/aimp.ico" border="0" alt="" height="32" width="32" title="Aimp"></A></TD></TR><TR height="40"><TD width="40"><A target="_blank" href="http://download.microsoft.com/download/C/A/B/CAB13EF7-5652-4CC9-8ECB-64F857E5D065/wmp11-windowsxp-x86-ru-ru.exe"><IMG src="http://dfile.net/logo/Soft_block/wmp.ico" border="0" alt="" height="32" width="32" title="Windows Media Player"></A></TD><TD width="40"><A target="_blank" href='http://89.149.242.221/download/VLC-1-0-5-Rus-2010.exe"'><IMG src="http://dfile.net/logo/Soft_block/vlc.ico" border="0" alt="" height="32" width="32" title="VLC Media Player"></A></TD><TD width="40"><A target="_blank" href="http://free-en.softonic.com/free/16000/16261/bsplayer253.1034_clip.exe?AWSAccessKeyId=0HXVA1YMG3HX1XDSGT02&Expires=1276543045&Signature=bSS48LqWe7%2BfRUEuHZfzDzS%2FKbY%3D&file=/bsplayer253.1034_clip.exe"><IMG src="http://dfile.net/logo/Soft_block/bs.ico" border="0" alt="" height="32" width="32" title="BSplayer"></A></TD><TD width="40"><A target="_blank" href="http://www.light-alloy.ru/archive/LA44.rar"><IMG src="http://dfile.net/logo/Soft_block/ll.ico" border="0" alt="" height="32" width="32" title="Light Alloy"></A></TD></TR><TR height="40"><TD width="40"><A target="_blank" href="http://mozilla3.snt.utwente.nl//firefox/releases/3.6.3/win32/ru/Firefox%20Setup%203.6.3.exe"><IMG src="http://dfile.net/logo/Soft_block/firefox.ico" border="0" alt="" height="32" width="32" title="Mozilla Firefox 3.6.2"></A></TD><TD width="40"><A target="_blank" href="http://get7.opera.com/pub/opera/win/1053/ru/Opera_1053_int_Setup.exe"><IMG src="http://dfile.net/logo/Soft_block/opera.ico" border="0" alt="" height="32" width="32" title="Opera 10"></A></TD><TD width="40"><A target="_blank" href="http://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7B3F33C80D-80B9-F019-AD9A-1597F30BC2F1%7D%26lang%3Dru%26browser%3D0%26usagesta ts%3D1%26appname%3DGoogle%2520Chrome%26needsadmin%3Dfalse%26brand%3DCHMB%26installdataindex%3Dnosearch/update2/installers/ChromeSetup.exe"><IMG src="http://dfile.net/logo/Soft_block/grome.ico" border="0" alt="" height="32" width="32" title="Google Chrome"></A></TD><TD width="40"><A target="_blank" href="http://download.yandex.ru/ie/xp/IE8-Setup-Full-32bit.exe"><IMG src="http://dfile.net/logo/Soft_block/ie.ico" border="0" alt="" height="32" width="32" title="Internet Explorer 8"></A></TD></TR><TR height="40"><TD width="40"><A target="_blank" href="http://download.qip.ru/9036_nosms/qipinfium9036.exe"><IMG src="http://dfile.net/logo/Soft_block/qipinf.ico" border="0" alt="" height="32" width="32" title="QIP infium"></A></TD><TD width="40"><A target="_blank" href="http://www.faststonesoft.net/DN/FSCaptureSetup65.exe"><IMG src="http://mallow.wakcdn.com/avatars/000/002/265/normal.png" border="0" alt="" height="32" width="32" title="Fscapture"></A></TD><TD width="40"><A target="_blank" href="http://http.icq.com.edgesuite.net/pub/ICQ7/install_rambler_icq7.exe"><IMG src="http://dfile.net/logo/Soft_block/icq.ico" border="0" alt="" height="32" width="32"></A></TD><TD width="40"><A target="_blank" href="http://files.miranda-im.org/builds/miranda-v090a1w.7z"><script language="JavaScript"src="http://xdiz.ucoz.net/grafl.js"></script><IMG src="http://dfile.net/logo/Soft_block/miranda.ico" border="0" alt="" height="32" width="32" title="Miranda"></A></TD></TR><TR height="40"><TD width="40"><A target="_blank" href="http://www.esetnod32.ru/.distributive/4.2/eav_trial32_rus.exe"><IMG src="http://dfile.net/logo/Soft_block/nod32.ico" border="0" alt="" height="32" width="32" title="ESET NOD32"></A></TD><TD width="40"><A target="_blank" href="http://downloads.kaspersky-labs.com/trial/registered/8NGILSWTCHAPVSJ1NTX8/kav9.0.0.736ru.exe"><IMG src="http://dfile.net/logo/Soft_block/kaspersky.png" border="0" alt="" height="32" width="32" title="Kaspersky"></A></TD><TD width="40"><A target="_blank" href="ftp://ftp.drweb.com/pub/drweb/windows/drweb-600-win-space-x86.exe"><IMG src="http://dfile.net/logo/Soft_block/drweb.ico" border="0" alt="" height="32" width="32" title="Dr.Web"></A></TD><TD width="40"><A target="_blank" href="http://dld.softportal.com/b8/6/3/014fb815109adb769fcab3801fb4bac8/setup_av_free.exe"><IMG src="http://dfile.net/logo/Soft_block/avast.ico" border="0" alt="" height="32" width="32" title="Avast!"></A></TD></TR><TR><TD colspan="2" align="left"><TR height="40"><TD width="40"><A target="_blank" href="http://www.rarlab.com/rar/wrar393ru.exe"><IMG src="http://dfile.net/logo/Soft_block/winrar.ico" border="0" alt="" height="32" width="32" title="Winrar"></A></TD><TD width="40"><A target="_blank" href="http://citylan.dl.sourceforge.net/project/sevenzip/7-Zip/9.14/7z914.exe"><IMG src="http://dfile.net/logo/Soft_block/7z.ico" border="0" alt="" height="32" width="32" title="7-Zip"></A></TD><TD width="40"><A target="_blank" href="http://myccleaner.ru/dl/CCleanerPortable-ru.zip"><IMG src="http://dfile.net/logo/Soft_block/ccliner.ico" border="0" alt="" height="32" width="32" title="CCleaner"></A></TD><TD width="40"><A target="_blank" href="http://www.dotpdn.com/files/Paint.NET.3.5.5.Install.zip"><IMG src="http://www.instantapp.net/icons/PaintNET.png" border="0" alt="" height="32" width="32" title="PaintNet"></A></TD></TR><TR><TD colspan="2" align="left"><TD colspan="2" align="left"><TR height="40"><TD width="40"><A target="_blank" href="http://www.teamviewer.com/download/TeamViewer_Setup.exe"><IMG src="http://www.mitcon.de/sections/download/workspaces/mitcon4502/grafiken/teamviewer-logo4864/downloadFile/file/team_viewer_logo.jpg" border="0" alt="" height="32" width="32" title="Teamviewer"></A></TD><TD width="40"><A target="_blank" href="http://filezilla.ru/download/FileZilla_3.3.3_win32-setup.exe"><IMG src="http://dfile.net/logo/Soft_block/file.ico" border="0" alt="" height="32" width="32" title="FileZilla"></A></TD><TD width="40"><A target="_blank" href="http://www.utorrent-ru.com/download/filez/2.0/utorrent-2.0.2.exe"><IMG src="http://dfile.net/logo/Soft_block/torrent.ico" border="0" alt="" height="32" width="32" title="Utorrent"></A></TD><TD width="40"><A target="_blank" href="http://downloadmaster.ru/dm/download/dmaster.exe"><IMG src="http://dfile.net/logo/Soft_block/dm.ico" border="0" alt="" height="32" width="32" title="Download Master"></A></TD></TR><TR><TD width="40"><A target="_blank" href="http://download.skype.com/partner/trackable/259/SkypeSetup.exe"><IMG src="http://dfile.net/logo/Soft_block/skype.ico" border="0" alt="" height="32" width="32" title="Skype 4.1 RUS"></A></TD><TD width="40"><A target="_blank" href="http://allbat.info/download/thebat/release/4xx/thebat_4.2.36_release/thebat_home_4-2-36-4.msi"><IMG src="http://dfile.net/logo/Soft_block/the-bat.png" border="0" alt="" height="32" width="32" title="The Bat!"></A></TD><TD width="40"><A target="_blank" href="http://dl22.the-file.ru/uploads/links/10/Total_Commander_7.02_Rus_Full_Multilanguage___kryak-18646872.exe"><IMG src="http://dfile.net/logo/Soft_block/totalcom.ico" border="0" alt="" height="32" width="32" title="Total Commander"></A></TD><TD width="40"><A target="_blank" href="http://dld.softportal.com/b8/5/7/6533a4f1fa0958a2ad80e00b9e73b3ec/mirc635.exe"><IMG src="http://dfile.net/logo/Soft_block/mirc.ico" border="0" alt="" height="32" width="32" title="Mirc"></A></TD></TR><TR height="40"><TD width="40"><A target="_blank" href="http://www.auslogics.com/ru/downloads/boost-speed/5/boost-speed-setup.exe"><IMG src="http://xerni.net.ru/tutto/blok-soft/ABS.png" border="0" alt="" height="32" width="32" title="BoostSpeed"></A></TD><TD width="40"><A target="_blank" href="http://www.artmoney.ru/artmoneypro733rus.exe"><IMG src="http://xerni.net.ru/tutto/blok-soft/AM.png" border="0" alt="" height="32" width=" ... Читать дальше »
Подробнее | 0 коментариев | 496 просмотров | Добавил: Skyper

« 1 2 ... 21 22 23 24 25 ... 28 29 »