<script type="text/javascript">
$('#navlogout').click(function() {
if(prompt('Вы действительно хотите выйти?','Да')=='Да')return;
return false;
});
</script>
<!-- Часы -->
<div align=center>
<script language="JavaScript">
a = new Array(10);
a[0] = '<IMG border=0 src="Адрес картинки №1">';
a[1] = '<IMG border=0 src="Адрес картинки №2">';
a[2] = '<IMG border=0 src="Адрес картинки №3">';
a[3] = '<IMG border=0 src="Адрес картинки №4">';
h = Math.round((Math.random()*3));
document.write(a[h]);
</script>
</div>
<script language='javascript' type='text/javascript'>
function fulltime () {
var time=new Date();
var newYear=new Date("jan,01,2011,00:00:00");
var totalRemains=(newYear.getTime()-time.getTime());
if (totalRemains>1){
var RemainsSec = (parseInt(totalRemains/1000));
var RemainsFullDays=(parseInt(RemainsSec/(24*60*60)));
var secInLastDay=RemainsSec-RemainsFullDays*24*3600;
var RemainsFullHours=(parseInt(secInLastDay/3600));
if (RemainsFullHours<10){RemainsFullHours="0"+RemainsFullHours};
var secInLastHour=secInLastDay-RemainsFullHours*3600;
var RemainsMinutes=(parseInt(secInLastHour/60));
if (RemainsMinutes<10){RemainsMinutes="0"+RemainsMinutes};
var lastSec=secInLastHour-RemainsMinutes*60;
if (lastSec<10){lastSec="0"+lastSec};
document.getElementById("RemainsFullDays").innerHTML=RemainsFullDays+"<span id='Rem'> дн.</span>";
document.getElementById("RemainsFullHours").innerHTML=RemainsFullHours+"<span id='Rem'> час.</span>";
document.getElementById("RemainsMinutes").innerHTML=RemainsMinutes+"<span id='Rem'> мин.</span>";
document.getElementById("lastSec").innerHTML=lastSec+"<span id='Rem'> сек.</span>";
setTimeout('fulltime()',10)
}
else{
document.getElementById("clock").innerHTML="<b>C НОВЫМ 2011 ГОДОМ!!!</b>";
}
}
</script>
<style type='text/css'>
#clou_xs {position:relative;width:160px;background:no-repeat}
#clock {position:relative;bottom:130px;text-align:center;color:#1d65a8;font-size:10px;}
#RemainsFullDays {position:absolute;bottom:-127px;left:5px;font-size:11px;color: #ff0000;}
#RemainsFullHours {position:absolute;bottom:-127px;left:40px;font-size:11px;color: #ff0000;}
#RemainsMinutes {position:absolute;bottom:-127px;left:80px;font-size:11px;color: #ff0000;}
#lastSec {position:absolute;bottom:-127px;left:120px;font-size:11px;color: #ff0000;}
#Rem {font-size:9px;font-weight:normal;color:#1d65a8;}
</style>
<div id='clou_xs'>
<div id='clock'><b>До Нового Года осталось:</b><br>
<span id='RemainsFullDays'></span>
<span id='RemainsFullHours'></span>
<span id='RemainsMinutes'></span>
<span id='lastSec'></span>
</div>
</div>
<script language='javascript'>fulltime();</script>
<!-- END Часы -->
<script type="text/javascript">
var arr=document.links
var arrn=new Array("anutik","Дымкина","Mysenka","zdrabyonok","Zhirafka","NATALIA","mamaMaksa","Shirra","мамаЛёши","АРИШКИНА МАМА")
var arrc=new Array("#FF0000","#FF0000","#FF0000","#D02090","#D02090","#D02090","#D02090","#D02090","#D02090","#D02090")
for(x in arr)
{
for(i=0;i<20;i++)
{
if (arr[x].innerHTML==arrn[i])
{
var b=arr[x].innerHTML
arr[x].innerHTML="<span style='color: "+arrc[i]+"'>"+b+"</span>"
}}}
</script>
<a href="http://forum.uti-puti.com.ua/lines.php"><img src="http://forum.uti-puti.com.ua/lines/line_222758.png" width="400" height="27" alt="line_222758.png" border="0" /></a>
<script type="text/javascript" src="//yandex.st/share/share.js"
charset="utf-8"></script>
<div class="yashare-auto-init" data-yashareL10n="ru"
data-yashareType="button" data-yashareQuickServices="yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,lj"
></div>
<script type="text/javascript">
function addSpoiler()
{
var elm = document.getElementById("pun-main").getElementsByTagName("div");
for (x in elm)
if (elm[x].className == "post-content")
elm[x].innerHTML = elm[x].innerHTML.replace(/\[spoiler\]/g, "<div class='quote-box'><cite onclick='hideSpoiler(this)' style='cursor:pointer;cursor:hand;'><b><u>» Нажмите, для отображения текста «</u></b></cite><blockquote style='display:none'>").replace(/\[\/spoiler\]/g, "</blockquote></div>");
if(form = document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(14).innerHTML = "<img style='width:37px;height:21px;' onclick=\"bbcode('[spoiler]', '[/spoiler]')\" src='http://forumupload.ru/uploads/0003/41/8c/1728-1.gif' alt='Спойлер' />";
}
function hideSpoiler(sp)
{
if (spoiler = sp.parentNode.getElementsByTagName("blockquote")[0])
{
if (spoiler.style.display == "none") spoiler.style.display = "inline";
else spoiler.style.display = "none";
}
}
addSpoiler();
</script>
<script language="JavaScript">
if((document.getElementById("navpm").innerHTML.indexOf("(") != -1) && (document.URL.indexOf("messages.php") == -1)) {
document.write("<div id='messanger' class='section' style='position: fixed; right: 40%; top: 35%; z-index: 1000; width: 320px; height: 110px;'><h2 style='background-color: #08440c; color: #000; text-align: center;'>Оповещение</h2><div class='container' style='padding: 15px; text-align: center; background-color: #ebeaf0;'><span>Вам пришло новое личное сообщение</span><br /><br /> <span style='color: green;'>Чтобы прочесть его, нажмите на эту кнопку.</span><br /><br /><br /><a class='mess' onclick=\"window.open(href='/messages.php'); return false\" style='background-color: rgb(125, 158, 112); border-style: none; cursor: pointer; font-size: 20px;' > OK </a></div><embed height='1' width='1' type='application/x-shockwave-flash' wmode='transparent' quality='high' src='http://promobil.kiev.ua/engine/classes/flashplayer/media_player.swf?MediaLink=http://promobil.kiev.ua/uploads/files/1188937250_icq.mp3&defaultMedia=1&showPlayButton=false&playOnStart=true'></div>");}
$(function(){$('.mess').click(function(){
$('#messanger').toggle();}); });
</script>
<!-- Поисковые боты (расширенный список)-->
<div class=botlist style='display:none'>
<p>Yandex,#9E8DA7,95.108.,77.88.,93.158.</p>
<p>Google,#9E8DA7,66.249.</p>
<p>Mail,#9E8DA7,94.100.,217.69.134.,217.69.136.</p>
<p>Rambler,#9E8DA7,81.19.</p>
<p>Yahoo!,#9E8DA7,67.195.,72.30.,74.6.,202.160.</p>
<p>Bing,#9E8DA7,207.46.,65.52.,65.55.,157.55.</p>
<p>Baidu,#9E8DA7,119.63.,123.125.,220.181.</p>
<p>Ask,#9E8DA7,66.235.</p>
<p>Ezooms,#9E8DA7,208.115.111.</p>
<p>Aport,#9E8DA7,194.67.</p>
</div>
<script>var L0=$("#navlogout").html(),L=$(".punbb").attr("id");if((L0!=null)&&(GroupID<3)&&(L=="pun-index"||L=="pun-online")){var Botlist={},L=[];$(".botlist p").each(function(j){L[j]=$(this).text().split(",");Botlist[L[j][0]]=L[j]});$.ajax({type:'GET',url:'online.php',success:function(data){$(data).find('div#pun-online td.tcl:first-child').map(function(){var OnlineIP=$(this).find('a').attr('title');Str='<a href="/online.php" class="bot" title="';for(var key in Botlist){for(i=2;i<Botlist[key].length;i++){var pattern="^"+Botlist[key][i],regexp=new RegExp(pattern,"ig");if(OnlineIP.search(regexp)!=-1){var L=Str+OnlineIP+'"><span style="color:'+Botlist[key][1]+';" > , '+Botlist[key][0]+'[bot]</span></a>';$('li#onlinelist.item5 span:first').append(L);}}}})}});$('div#pun-online td.tcl a:contains("Гость")').map(function(){OnIP=$(this).attr('title');for(var key in Botlist){for(i=2;i<Botlist[key].length;i++){var pattern="^"+Botlist[key][i],regexp=new RegExp(pattern,"ig");if(OnIP.search(regexp)!=-1){$(this).html(Botlist[key][0]+'[bot]').css({'color':Botlist[key][1]})}}}})}</script>
<script>
if ($("#pun-register").html()!=null){
KapchaArray=new Array(
//Ссылки на рисунок //дешифровка надписи
"http://savepic.ru/2538043.jpg","7664",
"http://savepic.ru/2516539.jpg","2688",
"http://savepic.ru/2510395.jpg","9905",
"http://savepic.ru/2499131.jpg","29892",
"http://savepic.ru/2503227.jpg","98075",
"http://savepic.ru/2492987.jpg","6394",
"http://savepic.ru/2550330.jpg","8877",
"http://savepic.ru/2555450.jpg","77546",
"http://savepic.ru/2546234.jpg","4668",
"http://savepic.ru/2538042.jpg","45788" //End myarray_!!Последний элемент без Запятой!!!
)
var vv1=Math.floor(Math.floor(Math.random()*(KapchaArray.length-1)/2)) //KapchaArray[];
var link=KapchaArray[2*vv1];
var req_username="";
var timezone="";
$("p.formsubmit input[name='register']").before('<div id="000"><input style="display:none;" id="register-reset" type="reset" value="Очистить"><b>P O Б O T - А Н Т И Б О Т</b><br/><br/><p id="LL" align=right style="width:156px;margin:6px 0;">Введите цифры и буквы,<br/> видимые на картинке</p><p style="padding:2px 0;margin:6px 0;"><img id="ImgKapcha" src="'+link+'" /> <input type="text" id="kapcha" name="kapcha" size="10" maxlength="10"/></p></div>')
$("p.formsubmit input[name='register']").replaceWith('<input type="button" class="button" name="register" value="Регистрация"/>')
function KapchaChange(){
vv1=Math.floor(Math.floor(Math.random()*(KapchaArray.length-1)/2));link=KapchaArray[2*vv1];
$("#ImgKapcha").attr("src",""+link+"");$("#ImgKapcha").attr("src",""+link+"");
$("#kapcha").val('');
}
function TestKapcha(){
var timezone=$("#ctl_tzselect option:selected").val()
req_username=$("input[name='req_username']").val(); //запомнили имя
if($("#kapcha").val()!=KapchaArray[2*vv1+1]){
KapchaChange();$("#register-reset").click();
$("input[name='req_username']").val(req_username);
$("#ctl_tzselect option[value='"+timezone+"']").attr("selected","selected");
$("#LL").html($("#LL").html().replace("видимые на картинке","Повторите ввод"));return false;
}else KapchaChange(); return true; // Совпало!;
}
$("input[value='Регистрация']").click(function (){
if($("input[name='req_email2']").val()!="" && $("input[name='req_email1']").val()!="" && $("input[name='req_username']").val()!=""){
if (TestKapcha()==true) {
$("p.formsubmit input[name='register']").replaceWith('<input type="submit" class="button" name="register" value="Отправить"/>');$("p.formsubmit [name='register']").click();
} else KapchaChange();return false;
} else KapchaChange();$("p.formsubmit [name='register']").submit();
});
} //конец пров-ки стр. регистрации
</script>
<!--Openstat-->
<span id="openstat2319829"></span>
<script type="text/javascript">
var openstat = { counter: 2319829, image: 5081, color: "c0f890", next: openstat };
(function(d, t, p) {
var j = d.createElement(t); j.async = true; j.type = "text/javascript";
j.src = ("https:" == p ? "https:" : "http:") + "//openstat.net/cnt.js";
var s = d.getElementsByTagName(t)[0]; s.parentNode.insertBefore(j, s);
})(document, "script", document.location.protocol);
</script>
<!--/Openstat-->
<!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t14.6;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet: показано число просмотров за 24"+
" часа, посетителей за 24 часа и за сегодня' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet-->
<!-- Автоматическое поздравление именинников-->
<script type="text/javascript">
function setcookie(a,b,c) {if(c){var d = new Date();d.setDate(d.getDate()+c);}if(a && b) document.cookie = a+'='+b+(c ? '; expires='+d.toUTCString() : '');else return false;}
function getcookie(a) {var b = new RegExp(a+'=([^;]){1,}');var c = b.exec(document.cookie);if(c) c = c[0].split('=');else return false;return c[1] ? c[1] : false;}
$('li#onlinelist.item6 span').before('<img src="http://images.findicons.com/files/icons/2023/standard_smile/48/flowers.png"/> ');
$('li#onlinelist.item6 span').map(function () {
var Imenin=$(this).find('a').attr('href');
var ImeninID = Imenin.slice(Imenin.indexOf('?id=')+4);
if(UserID == ImeninID) {document.write('<div id="pozdr"><strong><font size="5" face="Comic Sans Ms">'+UserLogin+'</font></strong>,<br>поздравляем Вас с Днём рождения!!!<br><img src="http://forumupload.ru/uploads/000e/8b/b7/112-1.gif" alt="" /><br><br><input id="closed" style="width:auto;cursor:pointer;font-weight:bold" type="button" value="Спасибо" ></div>')};
if(getcookie('#pozdr')=='remove')$('#pozdr').remove();
$('#closed').click(function(){
$('#pozdr').remove();
setcookie('#pozdr','remove',1) }); });
</script>
<script type="text/javascript">
var arr=document.getElementsByTagName("li")
i=0
while(arr[i] ){
if(arr[i].className=="pl-quote"){
name=arr[i].innerHTML
name=name.substring(0)
arr[i].innerHTML=""+name+"    <a href=\"#pun-main\">Вверх</a> "
}
i++
}
</script>
<!--Кнопки в верх в низ-->
<div style="position:fixed; right:0.5%; bottom:45%;">
<a href=#top onClick="scrollTo(0,0); return false;" title="В верх страницы"><img src="http://savepic.ru/2423764.png" alt="В верх страницы" border="0"></a>
<br/><br/>
<a href=#top onClick="scrollTo(0, document.body.scrollHeight); return false;" title="В низ страницы"><img src="http://savepic.ru/2368469.png" alt="В низ страницы" border="0"></a>
</div>
<script type="text/javascript">forums_and_topic()</script>
<!-- Награды v3.1 by kozhilya -->
<div class="AwardAllWindow" style="display: none"><div class="AwardWindow"><div id="closeBtn"></div>
<h3>Награды пользователя</h3><div id="AwardContent"></div></div></div>
<script>
function GetOuterHTML(el)
{ var Result = '<' + el.localName; for (var i=0; i<el.attributes.length; i++) Result += ' ' + el.attributes[i].nodeName + '="' + el.attributes[i].nodeValue + '"'; Result += '>' + el.innerHTML + '</' + el.localName + '>'; return Result; }
function OpenAwards(t) { $('div.AwardAllWindow').fadeIn(1000); $('div.AwardWindow div#AwardContent').html($(t).parent().parent().find('div').html()); $('div.AwardWindow h3').html('Награды пользователя <span>'+ $(t).parent().parent().parent().parent().find('li.pa-author a').text()+'</span>'); }
$('div.AwardWindow #closeBtn').click(function() { $('div.AwardAllWindow').fadeOut(1000); });
$('.post li.pa-fld2').each(function() {
Result = '<table>';
$(this).find('img').each(function() { var alt = $(this).attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); Result += '<tr><td id="title"><strong>'+name+'</strong></td><td id="img">'+GetOuterHTML(this)+'</td><td id="desc">'+desc+'</td></tr>'; }); Result += '</table>'; $(this).html('<span><a href="#" onclick="OpenAwards(this); return false;"><img src="http://s53.radikal.ru/i141/0908/0b/61ac6b40bf16.gif" tiile="Награды" alt="Награды"/></a></span><div style="display: none">'+Result+'</div>'); });
$('#pun-profile fieldset').each(function() { if ($(this).find('legend span').text() == 'Награды') { var h = '<table style="display: inline;">'; $(this).find('p.checkfield').each(function() { var alt = $(this).find('img').attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); h += '<tr><td><p class="checkfield">' + $(this).html() + '</p></td><td>Награда: <strong>'+name+'</strong><br>Описание: <strong>'+desc+'</strong></td></tr>' }); $(this).find('div.fs-box').html(h); $(this).find('div.fs-box').css({'display':'none'}); $(this).find('legend').after('<span onclick="$(this).parent().find(\'div.fs-box\').toggle(1000);">Выставить награды</span>'); }});
</script>
<style>
div.AwardAllWindow {
width: 100%; height: 100%;
background-color: rgba(0,0,0,0.5);
position: fixed; top: 0px; left: 0px;
}
div.AwardWindow {
z-index: 9999; position: fixed;
top: 10% !important; left: 50% !important;
width: 700px; padding: 10px;
background: #F0FFF0;
margin-left: -350px !important;
vertical-align: middle;
border: 1px solid #E3BB55;
border-radius: 5px;
color: #CD6090;
}
div.AwardWindow div#closeBtn {
cursor: pointer;
background: url(http://uploads.ru/i/P/A/l/PAlLS.png) no-repeat center;
width: 16px; height: 16px;
position: relative;
top: -5px; left: 690px;
}
div.AwardWindow h3 {
font-variant: small-caps;
font-weight: bold;
font-size: 15px;
margin-top: -20px;
}
div.AwardWindow div#AwardContent {
width: auto; height: auto;
min-height: 100px;
max-height: 300px !important;
overflow-y:auto;
}
div.AwardWindow div#AwardContent td#title {
font-variant: small-caps;
font-weight: bold;
font-size: 15px;
width: 200px;
text-align: center;
}
div.AwardWindow div#AwardContent td#desc {
font-size: 10px;
}
#pun-profile fieldset > span {
cursor: pointer;
padding: 5px;
border: 1px solid black;
position: relative;
top: -30px;
margin-bottom: 10px;
left: 150px;
background-color: white;
}
</style>