Code
<center>
<script language="JavaScript">
var down,cmin2,csec2;
function Minutes(data) {
for(var i=0;i<data.length;i++)
if(data.substring(i,i+1)==':')
break;
return(data.substring(0,i));
}
function Seconds(data) {
for(var i=0;i<data.length;i++)
if(data.substring(i,i+1)==':')
break;
return(data.substring(i+1,data.length));
}
function Display(min,sec) {
var disp;
if(min<=9) disp=' 0';
else disp=' ';
disp+=min+':';
if(sec<=9) disp+='0'+sec;
else disp+=sec;
return(disp);
}
function Down() {
document.all.addcBut.style.display = 'none'; //Прячем кнопку
cmin2='0'; //Минуты
csec2='15'; //секунды
DownRepeat(); //Запускаем таймер
}
function DownRepeat() {
csec2--;
if(csec2==-1) {
csec2=59; cmin2--;
}
document.all.timeNumer.innerHTML='<h1>'+Display(cmin2,csec2)+'</h1><font color="red">Анти-Флуд защита</font>'; //Показывает сколько осталось
if((cmin2==0)&&(csec2==0))
{
document.all.addcBut.style.display = 'block'; //Показываем кнопку снова
document.all.timeNumer.innerHTML='<font color="green">Вы можете добавлять сообщения</font>'; //Выводим сообщения по окончанию
}
else down=setTimeout('DownRepeat()',1000);
}
</script>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="commTable">
<tr><td class="commTd2" colspan="2">$ERROR$</td></tr>
<?if(!$USER_LOGGED_IN$)?>
<tr><td width="15%" class="commTd1" nowrap>Имя *:</td><td class="commTd2"><input class="commFl" type="text" name="name" value="$NAME$" size="30" maxlength="60"></td></tr>
<tr><td class="commTd1">Email:</td><td class="commTd2"><input class="commFl" type="text" name="email" value="$EMAIL$" size="30" maxlength="60"></td></tr>
<?endif?>
<tr><td class="commTd2" colspan="2"><div style="padding-bottom:2px" align="center">
<script type='text/javascript' src='http://s15.ucoz.net/src/bbcodes.js'></script><img src="http://apocalypse.ucoz.kz/bbcodes/bold.gif" value="b" onclick="simpletag('b','','','message','')" class="codeButtons" id="b" alt="Жирный" border="0"><img src="http://apocalypse.ucoz.kz/bbcodes/italic.gif" value="i" onclick="simpletag('i','','','message','')" class="codeButtons" id="i" alt="Курсив" border="0"><img src="http://apocalypse.ucoz.kz/bbcodes/underline.gif" value="u" onclick="simpletag('u','','','message','')" class="codeButtons" id="u" alt="Подчёркнутый" border="0"> <img src="/bbcodes/code.gif" border="0" title="Код" class="codeButtons" onclick="simpletag('code')"><img src="http://apocalypse.ucoz.kz/bbcodes/link.gif" value="http://" onclick="tag_url('message','')" class="codeButtons" id="url" alt="Ссылка" border="0"><img src="http://apocalypse.ucoz.kz/bbcodes/email.gif" value="@" onclick="tag_email('message','')" class="codeButtons" id="email" alt="Е-майл" border="0"> <img src="/bbcodes/mp3.gif" title="Аудио" class="codeButtons" onclick="simpletag('audio')" border="0"><img src="http://apocalypse.ucoz.kz/bbcodes/translit.gif" title="Перепутали раскладку? Выделите текст и нажмите эту кнопку" onclick="ReverseKeyPad()" class="codeButtons" border="0"><img src="/bbcodes/mp.gif" title="Видео" class="codeButtons" onclick="simpletag('video')" border="0"> <img src="http://apocalypse.ucoz.kz/bbcodes/leech.gif" value="img" onclick="tag_image('message','')" class="codeButtons" id="img" alt="Картинка" border="0"><img src="http://apocalypse.ucoz.kz/bbcodes/hide.gif" value="hide" onclick="simpletag('hide','','','message','')" class="codeButtons" id="hide" alt="Скрытый текст" border="0"><img src="/bbcodes/quote.gif" border="0" title="Цитата" class="codeButtons" onclick="simpletag('quote')"> <img src="http://apocalypse.ucoz.kz/bbcodes/left.gif" value='···' onclick="simpletag('l','cdl','···','message')" class="codeButtons" id="cdl" alt="По левому краю" border="0"><img src="http://apocalypse.ucoz.kz/bbcodes/center.gif" value='···' onclick="simpletag('c','cdc','···','message')" class="codeButtons" id="cdc" alt="По центру" border="0"><img src="http://apocalypse.ucoz.kz/bbcodes/right.gif" value='···' onclick="simpletag('r','cdr','···','message')" class="codeButtons" id="cdr" alt="По правому краю" border="0">
<br>
<select name="fsize" onchange="alterfont(this.options[this.selectedIndex].value,'size','message','');this.selectedIndex=0; " style="background-color: rgb(240, 240, 240); width: 150px; font-weight:bold;height:20px;"><option value="0" style="font-weight:bold;">Размер</option><option value="8" style="font-weight:bold;font-size:8pt;">8</option><option value="9" style="font-weight:bold;font-size:9pt;">9</option><option value="10" style="font-weight:bold;font-size:10pt;">10</option><option value="11" style="font-weight:bold;font-size:11pt;">11</option><option value="12" style="font-weight:bold;font-size:12pt;">12</option><option value="13" style="font-weight:bold;font-size:13pt;">13</option><option value="14" style="font-weight:bold;font-size:14pt;">14</option><option value="15" style="font-weight:bold;font-size:15pt;">15</option><option value="16" style="font-weight:bold;font-size:16pt;">16</option><option value="17" style="font-weight:bold;font-size:17pt;">17</option><option value="18" style="font-weight:bold;font-size:18pt;">18</option></select><select name="fcolor" onchange="alterfont(this.options[this.selectedIndex].value, 'color','message','');this.selectedIndex=0;" style="background-color: rgb(240, 240, 240); width: 150px; font-weight:bold;height:20px;"><option value="0" style="font-weight:bold;">Цвет</option><option value="blue" style="color: blue;font-weight:bold;">Синий</option><option value="red" style="color: red;font-weight:bold;">Красный</option><option value="purple" style="color: purple;font-weight:bold;">Фиолетовый</option><option value="orange" style="color: orange;font-weight:bold;">Оранжевый</option><option value="yellow" style="color: yellow;font-weight:bold;">Желтый</option><option value="gray" style="color: gray;font-weight:bold;">Серый</option><option value="green" style="color: green;font-weight:bold;">Зелёный</option></select><select name="ffont" onchange="alterfont(this.options[this.selectedIndex].value,'font','message','');this.selectedIndex=0; "style="background-color: rgb(240, 240, 240); width: 150px; font-weight:bold;height:20px;"><option value="0" style="font-weight:bold;">Шрифт</option><option value="Arial" style="font-weight:bold;font-family:Arial;">Arial</option><option value="Times" style="font-weight:bold;font-family:Times;">Times</option><option value="Courier" style="font-weight:bold;font-family:Courier;">Courier</option><option value="Impact" style="font-weight:bold;font-family:Impact;>Impact</option><option value="Geneva" style="font-weight:bold;font-family:Geneva;">Geneva</option><option value="Optima" style="font-weight:bold;font-family:Optima;">Optima</option></select>
<br>
<script type="text/javascript" src="/keypadreverser.js"></script><textarea class="commFl" style="height:135px;" rows="8" name="message" id="message" cols="50">$MESSAGE$
</textarea><br>
<center>
<a title="Прикрепить файл или картинку" href="javascript:openLayerA('obsv','http://hosting.ucoz.kz','Профиль','800','600','auto');"><img src="http://apocalypse.ucoz.kz/Se/uploadfile.png"></a>
<br>
</center>
<input type="button" value="Показать смайлы" onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = '';this.innerText = ''; this.value = 'Скрыть смайлы'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = 'none'; this.innerText = ''; this.value = 'Показать смайлы'; }"><div style="display: none;">
<center>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_ab.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_ab.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_bs.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_bs.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_be.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_be.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_ai.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_ai.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_ac.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_ac.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon('>(','message');return false;"><img style="margin:0;padding:0;border:0;" src="http://s15.ucoz.net/sm/23/angry.gif" /></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_af.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_af.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_bl.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_bl.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_ae.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_ae.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_ag.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_ag.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_bj.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_bj.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_bw.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_bw.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_cb.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_cb.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_am.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_am.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_bb.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_bb.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_bz.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_bz.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_br.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_br.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_ay.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_ay.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_bi.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_bi.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_ao.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_ao.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_bg.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_bg.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_by.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_by.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_ca.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_ca.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' [img]http://apocalypse.ucoz.kz/sml/qippda_az.gif[/IMG] ','message');return false;"><img src="http://apocalypse.ucoz.kz/sml/qippda_az.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/friends.gif" border="0" align="absmiddle" alt="friends"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/friends.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/bye.gif" border="0" align="absmiddle" alt="bye"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/bye.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/loony.gif" border="0" align="absmiddle" alt="loony"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/loony.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/devil.gif" border="0" align="absmiddle" alt="devil"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/devil.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/moil.gif" border="0" align="absmiddle" alt="moil"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/moil.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/fie.gif" border="0" align="absmiddle" alt="fie"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/fie.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/huh.gif" border="0" align="absmiddle" alt="huh"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/huh.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/king.gif" border="0" align="absmiddle" alt="king"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/king.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/ninja.gif" border="0" align="absmiddle" alt="ninja"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/ninja.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/smile2.gif" border="0" align="absmiddle" alt="smile2"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/smile2.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/umnik.gif" border="0" align="absmiddle" alt="umnik"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/umnik.gif" border="0"></a>
<a href="javascript://" rel="nofollow" onclick="emoticon(' <img src="http://s15.ucoz.net/sm/23/victory.gif" border="0" align="absmiddle" alt="victory"> ','message');return false;"><img src="http://s15.ucoz.net/sm/23/victory.gif" border="0"></a>
</center>
</div>
<script type="text/javascript">function emoticon(code,nm){if (code != ""){var txtarea=document.getElementById(nm);code = ' ' + code + ' ';if (document.selection) {txtarea.focus();var txtContent = txtarea.value;var str = document.selection.createRange();if (str.text == ""){str.text = code;} else if (txtContent.indexOf(str.text) != -1){str.text = code + str.text;} else {txtarea.value = txtContent + code;}}else{txtarea.value = txtarea.value + code;}}}</script>
<tr><td class="commTd2" colspan="2" align="center">
<input type="button" value=" Предпросмотр" onclick="precomment()" />
<script type="text/javascript">
function precomment(){
document.preform.message.value=$('#message').val();
<?if($SMILES$)?>document.preform.sm.value='1';<?endif?>
window.open('','commprev','scrollbars=1,width=600,height=250,left=0,top=0');
document.preform.submit();}
</script><br><hr><div id="timeNumer"></div>
<?if($SUBSCRIBE$)?><center>Подписка:<br>$SUBSCRIBE$</center><?endif?>
<?if($SECURITY_CODE$)?>
<center>
<b>[Код безопасности]</b><br><img style="margin:0;padding:0;border:0;cursor:pointer;" id="secuImg" align="absmiddle" title="Обновить код безопасности" onclick="this.src='/secure/?k=1027723495;s=load;tm='+Math.random();" src="/secure/?k=1027723495;s=load;tm=1258232751" /><br><b>--> <input class="securityCode" type="text" name="code" size="5" maxlength="4" border="1"/><input type="hidden" name="seckey" value="1027723495" border="1" /> <--</b>
</center>
<?endif?>
<center><font color="ff0000" size="4"><b>Запрещается</b></font><br>
<script src="http://apocalypse.ucoz.kz/media/?t=video;w=425;h=120;f=http%3A%2F%2Fapocalypse.ucoz.kz%2Fcomments_rules.swf" type="text/javascript"></script></center><br>
<input type="submit" onClick="Down()" class="commSbmFl" id="addcBut" name="submit" value="- Добавить комментарий -">
</td></tr></table></center>