Ukraińskie władze: Rosyjskie oddziały specjalne atakują lotnisko w …

Ukraińskie władze: Rosyjskie oddziały specjalne atakują lotnisko w Doniecku

Ukraińskie władze: Rosyjskie oddziały specjalne atakują lotnisko w Doniecku (fot. sxc.hu)Ukraińskie władze: Rosyjskie oddziały specjalne atakują lotnisko w Doniecku (fot. sxc.hu)

Łysenko powiedział też, że trzech wojskowych zginęło w ciągu ostatnich 24 godzin intensywnego ostrzału artyleryjskiego, którego dokonują separatyści. Rzecznik dodał, że ta nagła intensyfikacja ataków może być związana z przybyciem dużego konwoju od Rosji, który dotarł do separatystów w niedzielę.

– Nowy konwój humanitarny dotarł i terroryści dostali amunicję dla ciężkiej artylerii… Dzięki temu są zdolni do zwiększania intensywności (ataków – mówił Łysenko.

reuters.com

(niezalogowany)Nickzenek 72.219.207.*Data dodania2014-12-01 19:10:15
(niezalogowany)NickEuro-pejczyk 77.254.31.*Data dodania2014-12-01 18:47:10
(niezalogowany)Nickadere 31.182.81.*Data dodania2014-12-01 18:45:45
(niezalogowany)Nickpolak 213.195.148.*Data dodania2014-12-01 18:41:42
(niezalogowany)Nickdarth Data dodania2014-12-01 18:26:35
(niezalogowany)Nickmarow Data dodania2014-12-01 17:41:40
(niezalogowany)Nickanonim 83.29.9.*Data dodania2014-12-01 17:18:56
(niezalogowany)Nicko.S.. 46.204.167.*Data dodania2014-12-01 17:15:07
(niezalogowany)Nickratatuj 83.22.74.*Data dodania2014-12-01 15:50:39
(niezalogowany)NickLogik 159.205.253.*Data dodania2014-12-01 15:37:07

‘;
}
}
if (!expand_pos)
var destObj = ‘#comments-container-‘+id_element+’-‘+id_parent;
else
var destObj = ‘#comments-container-‘+id_element+’-‘+id_parent+’-‘+expand_pos;

if (oJsonObject.large_votes_buttons)
$(‘#comment-large-votes-‘+id_element+’-‘+id_parent).html(oJsonObject.large_votes_buttons);

$(destObj).html(returnHTML);
if (first_level)
{
coments_textCollapse(destObj);
$(‘#lista-komentarzy-combobox-order’).val(oJsonObject.orderIndex);
}
$(‘#comments-container-‘+id_element+’-‘+id_parent).animate({opacity:1});

}
},
error: function() {
$(‘#comments-container-‘+id_element+’-‘+id_parent).animate({opacity:1});
$(‘body’).css(‘cursor’, ‘default’);
}
});
}
function comment_toggleAnswers(id_element, id_parent)
{
var answbtn = $(‘#comment-answers-‘+id_element+’-‘+id_parent);
var answcntr = $(‘#comments-container-‘+id_element+’-‘+id_parent);
if (answbtn.hasClass(‘answers-link-down’))
{
answbtn.addClass(‘answers-link-up’);
answbtn.removeClass(‘answers-link-down’);
if (answcntr.text()==”)
{
comments_get(id_element, id_parent, false, false, false);
}
answcntr.slideDown();
setTimeout(function() {
coments_textCollapse(‘#comments-container-‘+id_element+’-‘+id_parent, true);
}, 500);
}
else
{
answbtn.removeClass(‘answers-link-up’);
answbtn.addClass(‘answers-link-down’);
answcntr.slideUp();
}
}

function comments_showAlertForm(id_element, id_parent)
{
$(‘.comments-newcomment’).hide();
$(‘.comment-item’).removeClass(‘comment-item-added’);
$(‘.comment-item’).removeClass(‘comment-item-addform’);
$(‘body’).css(‘cursor’, ‘wait’);
$.ajax({
type: ‘POST’,
url: ‘/F/ajax/comments.php’,
data: {
‘alert-form’: 1,
‘id_element’: id_element,
‘id_parent’: id_parent,
‘url’: comments_geturl(),
‘curl’: comments_geturl()
},
dataType: ‘json’,
success: function(oJsonObject) {
$(‘body’).css(‘cursor’, ‘default’);
if (oJsonObject)
{
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent).html(oJsonObject.html);
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent).fadeIn();
$(‘#allertcomment-text-‘+id_element+’-‘+id_parent).hide();
$(‘#komentarz’+id_parent).addClass(‘comment-item-addform’);
}
},
error: function() {
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent).html(‘Wystąpił blad’);
$(‘body’).css(‘cursor’, ‘default’);
}
});
}

function comments_showAddForm(id_element, id_parent)
{
$(‘.comments-newcomment’).hide();
$(‘.comment-item’).removeClass(‘comment-item-added’);
$(‘.comment-item’).removeClass(‘comment-item-addform’);
$(‘body’).css(‘cursor’, ‘wait’);
$.ajax({
type: ‘POST’,
url: ‘/F/ajax/comments.php’,
data: {
‘add-form’: 1,
‘id_element’: id_element,
‘id_parent’: id_parent,
‘url’: comments_geturl(),
‘curl’: comments_geturl()
},
dataType: ‘json’,
success: function(oJsonObject) {
$(‘body’).css(‘cursor’, ‘default’);
if (oJsonObject)
{
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent).fadeOut(20);
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent).html(oJsonObject.html);
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent).fadeIn();
$(‘#komentarz’+id_parent).addClass(‘comment-item-addform’);
}
},
error: function() {
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent).html(‘Wystąpił blad’);
$(‘body’).css(‘cursor’, ‘default’);
}
});
}
function comments_hideAddForm(id_element, id_parent)
{
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent).slideUp();
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent).fadeIn();
$(‘.comment-item’).removeClass(‘comment-item-addform’);
}
function comments_submitAddForm(id_element, id_parent)
{
$(‘body’).css(‘cursor’, ‘wait’);
$(‘#newcomment-wait-‘+id_element+’-‘+id_parent).show();
$(‘#newcomment-wait-‘+id_element+’-‘+id_parent).html(‘Wysyłanie danych…’);
$(‘#newcomment-error-‘+id_element+’-‘+id_parent).html(”);
$(‘#newcomment-text-‘+id_element+’-‘+id_parent).css(‘opacity’, 0.3);
$(‘#newcomment-moreinfo-‘+id_element+’-‘+id_parent).css(‘opacity’, 0.3);
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent+’ .newcomment-buttons’).hide();
$.ajax({
type: ‘POST’,
url: ‘/F/ajax/comments.php’,
data: {
‘send-comment’: 1,
‘id_element’: id_element,
‘id_parent’: id_parent,
‘text’: $(‘#newcomment-text-‘+id_element+’-‘+id_parent).val(),
‘nick’: $(‘#newcomment-nick-‘+id_element+’-‘+id_parent).val(),
‘uid’: $(‘#newcomment-user-id-‘+id_element+’-‘+id_parent).val(),
‘fbuid’: $(‘#newcomment-user-fb-id-‘+id_element+’-‘+id_parent).val(),
‘type_1’: ($(‘#newcomment-type-1-‘+id_element+’-‘+id_parent).is(‘:checked’)?1:0),
‘type_2’: ($(‘#newcomment-type-2-‘+id_element+’-‘+id_parent).is(‘:checked’)?1:0),
‘type_3’: ($(‘#newcomment-type-3-‘+id_element+’-‘+id_parent).is(‘:checked’)?1:0),
//’id_parent’: id_parent,
‘url’: comments_geturl(),
‘curl’: comments_geturl()
},
dataType: ‘json’,
success: function(oJsonObject) {
$(‘body’).css(‘cursor’, ‘default’);
$(‘#newcomment-wait-‘+id_element+’-‘+id_parent).hide();
$(‘#newcomment-text-‘+id_element+’-‘+id_parent).css(‘opacity’, 1);
$(‘#newcomment-moreinfo-‘+id_element+’-‘+id_parent).css(‘opacity’, 1);
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent+’ .newcomment-buttons’).fadeIn();
if (oJsonObject)
{
if (oJsonObject.error)
{
$(‘#newcomment-error-‘+id_element+’-‘+id_parent).html(oJsonObject.error);
}
else
{
$(‘.comments-newcomment’).hide();
$(‘.comment-item’).removeClass(‘comment-item-addform’);
if (oJsonObject.html)
{
$(‘#comments-container-‘+id_element+’-‘+id_parent).html(oJsonObject.html + $(‘#comments-container-‘+id_element+’-‘+id_parent).html() );
$(‘#comments-container-‘+id_element+’-‘+id_parent).fadeIn();
}
}
}
else
$(‘#newcomment-error-‘+id_element+’-‘+id_parent).html(‘Wystąpił błąd. Brak obiektu.’);
},
error: function() {
$(‘#newcomment-wait-‘+id_element+’-‘+id_parent).hide();
$(‘#newcomment-error-‘+id_element+’-‘+id_parent).html(‘Wystąpił błąd’);
$(‘body’).css(‘cursor’, ‘default’);
$(‘#newcomment-text-‘+id_element+’-‘+id_parent).css(‘opacity’, 1);
$(‘#newcomment-moreinfo-‘+id_element+’-‘+id_parent).css(‘opacity’, 1);
$(‘#comments-newcomment-‘+id_element+’-‘+id_parent+’ .newcomment-buttons’).fadeIn();
}
});
}

function comments_submitAlertForm(id_element, id_parent)
{
$(‘body’).css(‘cursor’, ‘wait’);
$(‘#allertcomment-wait-‘+id_element+’-‘+id_parent).show();
$(‘#allertcomment-wait-‘+id_element+’-‘+id_parent).html(‘Wysyłanie danych…’);
$(‘#allertcomment-error-‘+id_element+’-‘+id_parent).html(”);
$(‘#allertcomment-text-‘+id_element+’-‘+id_parent).css(‘opacity’, 0.3);
$(‘#comments-alertcomment-‘+id_element+’-‘+id_parent+’ .newcomment-buttons’).hide();

$.ajax({
type: ‘POST’,
url: ‘/F/ajax/comments.php’,
data: {
‘alert-comment’: 1,
‘id_element’: id_element,
‘id_parent’: id_parent,
‘text’: $(‘#allertcomment-text-‘+id_element+’-‘+id_parent).val(),
‘type_1’: ($(‘#comment-alert-type-1-‘+id_element+’-‘+id_parent).is(‘:checked’)?1:0),
‘type_2’: ($(‘#comment-alert-type-2-‘+id_element+’-‘+id_parent).is(‘:checked’)?1:0),
‘type_3’: ($(‘#comment-alert-type-3-‘+id_element+’-‘+id_parent).is(‘:checked’)?1:0),
‘type_4’: ($(‘#comment-alert-type-4-‘+id_element+’-‘+id_parent).is(‘:checked’)?1:0),
‘url’: comments_geturl(),
‘curl’: comments_geturl()
},
dataType: ‘json’,
success: function(oJsonObject) {
$(‘body’).css(‘cursor’, ‘default’);
$(‘#allertcomment-wait-‘+id_element+’-‘+id_parent).hide();
$(‘#allertcomment-text-‘+id_element+’-‘+id_parent).css(‘opacity’, 1);
$(‘#allertcomment-moreinfo-‘+id_element+’-‘+id_parent).css(‘opacity’, 1);
$(‘#comments-alertcomment-‘+id_element+’-‘+id_parent+’ .newcomment-buttons’).fadeIn();
if (oJsonObject)
{
if (oJsonObject.error)
{
$(‘#newcomment-error-‘+id_element+’-‘+id_parent).html(oJsonObject.error);
}
else
{
$(‘.comments-newcomment’).hide();
$(‘.comment-item-text-‘+id_parent+’ b.clRed’).remove();
$(‘.comment-item-text-‘+id_parent).html(‘Zgłoszenie zostało wysłane!‘+$(‘.comment-item-text-‘+id_parent).html());
$(‘.comment-button-alert-‘+id_parent).attr(‘disabled’,’disabled’);
}
}
else
$(‘#allertcomment-error-‘+id_element+’-‘+id_parent).html(‘Wystąpił błąd. Brak obiektu.’);
},
error: function() {
$(‘#allertcomment-wait-‘+id_element+’-‘+id_parent).hide();
$(‘#allertcomment-error-‘+id_element+’-‘+id_parent).html(‘Wystąpił błąd’);
$(‘body’).css(‘cursor’, ‘default’);
$(‘#allertcomment-text-‘+id_element+’-‘+id_parent).css(‘opacity’, 1);
$(‘#allertcomment-moreinfo-‘+id_element+’-‘+id_parent).css(‘opacity’, 1);
$(‘#comments-alertcomment-‘+id_element+’-‘+id_parent+’ .newcomment-buttons’).fadeIn();
}
});
}

function comment_zoomIn(id_comment)
{
$(‘#komentarz’+id_comment+’ .comment-item-text-‘+id_comment).addClass(‘comment-item-text-zoom’);
$(‘#komentarz’+id_comment+’ .comment-button-zoom-in-‘+id_comment).hide();
$(‘#komentarz’+id_comment+’ .comment-button-zoom-out-‘+id_comment).show();
}
function comment_zoomOut(id_comment)
{
$(‘#komentarz’+id_comment+’ .comment-item-text-‘+id_comment).removeClass(‘comment-item-text-zoom’);
$(‘#komentarz’+id_comment+’ .comment-button-zoom-in-‘+id_comment).show();
$(‘#komentarz’+id_comment+’ .comment-button-zoom-out-‘+id_comment).hide();
}

function comment_showAllUserBox(id_element, id_parent)
{
$(‘.newcomment-user-box-‘+id_element+’-‘+id_parent).hide();
$(‘#newcomment-all-user-box-‘+id_element+’-‘+id_parent).show();
$(‘#newcomment-type-1-‘+id_element+’-‘+id_parent).attr(‘checked’,’checked’);
comment_canSendComment(id_element, id_parent);
}
function comment_showLoginUserBox(id_element, id_parent)
{
$(‘.newcomment-user-box-‘+id_element+’-‘+id_parent).hide();
$(‘#newcomment-login-user-box-‘+id_element+’-‘+id_parent).show();
$(‘#newcomment-type-2-‘+id_element+’-‘+id_parent).attr(‘checked’,’checked’);
comment_canSendComment(id_element, id_parent);
}
function comment_unsetFBprofile(id_element, id_parent)
{
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘alt’, ”);
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘title’, ”);
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘src’, ‘http://kyiv.where-el.se/wp-content/images/cache/0/21/58/8d552_face_blog_default.jpg’);
$(‘#newcomment-moreinfo-fb-‘+id_element+’-‘+id_parent).hide();
$(‘#newcomment-infobar-4fb-‘+id_element+’-‘+id_parent).show();
$(‘#newcomment-user-fb-id-‘+id_element+’-‘+id_parent).val(”);
$(‘#newcomment-type-1-‘+id_element+’-‘+id_parent).attr(‘checked’,’checked’);
$.ajax({
type: ‘POST’,
url: ‘/F/ajax/profil.php’,
data: {unsetFBprofile:1},
dataType: ‘json’,
success: function(oJsonObject) {
},
error: function() {
}
});
comment_canSendComment(id_element, id_parent);
}
function comment_assignFBprofile(id_element, id_parent)
{
$(‘#assignFBprofile-error-‘+id_element+’-‘+id_parent).html(”);
FBConnectInit(function (_FBuser) {
if (!_FBuser)
{
$(‘#assignFBprofile-error-‘+id_element+’-‘+id_parent).html(‘Wystąpił błąd. Brak połączenia z serwisem Facebook.’);
}
else
if (!_FBuser.id !_FBuser.name !_FBuser.link)
{
$(‘#assignFBprofile-error-‘+id_element+’-‘+id_parent).html(‘Wystąpił błąd. Brak połączenia z serwisem Facebook lub nie wszystkie dane zostały przekazane.’);
}
else
{
$(‘.newcomment-user-box-‘+id_element+’-‘+id_parent).remove();
$(‘#newcomment-user-fb-id-‘+id_element+’-‘+id_parent).val(_FBuser.id);
$(‘#newcomment-infobar-‘+id_element+’-‘+id_parent).html(”);
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘alt’, _FBuser.name);
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘title’, _FBuser.name);
$(‘#newcomment-type-3-‘+id_element+’-‘+id_parent).attr(‘checked’,’checked’);
if (_FBuser.link)
{
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).addClass(‘pointer’);
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).click(function() {
window.open(_FBuser.link, ‘facebook’);;
});
}
if (_FBuser.image)
{
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘src’, _FBuser.image);
}
comment_canSendComment(id_element, id_parent);
}
});
}

function comments_vote(id_element, id_parent, id_vote,vote, is_large)
{
$(‘body’).css(‘cursor’, ‘wait’);
if (is_large)
{
$(‘#comment-large-votes-‘+id_element+’-‘+id_parent+’ a’).click(function () {
return false;
});
$(‘#comment-large-votes-‘+id_element+’-‘+id_parent).animate({‘opacity’: 0.3});
}
else
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote’).animate({‘opacity’: 0.3});
$.ajax({
type: ‘POST’,
url: ‘/F/ajax/comments.php’,
data: {
‘set-vote’: 1,
‘id_element’: id_element,
‘id_parent’: id_parent,
‘id_vote’: id_vote,
‘is_large’: (is_large?1:0),
‘vote’: vote,
‘url’: comments_geturl(),
‘curl’: comments_geturl()
},
dataType: ‘json’,
success: function(oJsonObject) {
$(‘body’).css(‘cursor’, ‘default’);
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote’).animate({‘opacity’: 1});
if (oJsonObject)
{
if (oJsonObject.error)
{
if (oJsonObject.voted==1)
{
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote’).attr(‘disabled’, ‘disabled’);
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote’).addClass(‘form-button-vote-voted’);
}
}
else
{
if (is_large oJsonObject.large_votes_buttons)
{
$(‘#comment-large-votes-‘+id_element+’-‘+id_parent).html(oJsonObject.large_votes_buttons);
$(‘#comment-large-votes-‘+id_element+’-‘+id_parent).animate({‘opacity’: 1});
}
else
{
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote’).attr(‘disabled’, ‘disabled’);
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote’).addClass(‘form-button-vote-voted’);
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote-yes’).val(oJsonObject.votes_yes);
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote-no’).val(oJsonObject.votes_no);
}
}
}
},
error: function() {
$(‘body’).css(‘cursor’, ‘default’);
$(‘#comments-toolbar2-‘+id_element+’-‘+id_parent+’ .form-button-vote’).animate({‘opacity’: 1});
if (is_large)
{
$(‘#comment-large-votes-‘+id_element+’-‘+id_parent).html(”);
$(‘#comment-large-votes-‘+id_element+’-‘+id_parent).animate({‘opacity’: 1});
}
}
});
}
function comment_canSendAlert(id_element, id_parent)
{
var txt1 = $.trim($(‘#allertcomment-text-‘+id_element+’-‘+id_parent).val());
var ret = false;
if ($(‘#comment-alert-type-1-‘+id_element+’-‘+id_parent).is(‘:checked’))
{
$(‘#allertcomment-text-‘+id_element+’-‘+id_parent).hide();
ret = true;
}
else
if ($(‘#comment-alert-type-2-‘+id_element+’-‘+id_parent).is(‘:checked’))
{
$(‘#allertcomment-text-‘+id_element+’-‘+id_parent).hide();
ret = true;
}
else
if ($(‘#comment-alert-type-3-‘+id_element+’-‘+id_parent).is(‘:checked’))
{
$(‘#allertcomment-text-‘+id_element+’-‘+id_parent).hide();
ret = true;
}
else
if ($(‘#comment-alert-type-4-‘+id_element+’-‘+id_parent).is(‘:checked’))
{
$(‘#allertcomment-text-‘+id_element+’-‘+id_parent).show();
ret = ((txt1 != ”) (txt1.length 20));
}
if (ret)
$(‘#comment-alert-send-‘+id_element+’-‘+id_parent).removeAttr(‘disabled’);
else
$(‘#comment-alert-send-‘+id_element+’-‘+id_parent).attr(‘disabled’,’disabled’);

}
function comment_canSendComment(id_element, id_parent)
{
var txt1 = $.trim($(‘#newcomment-text-‘+id_element+’-‘+id_parent).val());
var txt2 = $.trim($(‘#newcomment-nick-‘+id_element+’-‘+id_parent).val());
var idu = $.trim($(‘#newcomment-user-id-‘+id_element+’-‘+id_parent).val());
var iduf = $.trim($(‘#newcomment-user-fb-id-‘+id_element+’-‘+id_parent).val());
var ret = false;

if ((txt1 != ”) (txt1.length = 3) (!$(‘#newcomment-moreinfo-‘+id_element+’-‘+id_parent).is(‘:visible’)))
{
if ($(‘#newcomment-type-3-‘+id_element+’-‘+id_parent).is(‘:checked’))
{
$(‘#newcomment-moreinfo-‘+id_element+’-‘+id_parent).show();
$(‘#newcomment-moreinfo-‘+id_element+’-‘+id_parent).removeAttr(‘disabled’);
}
else
{
$(‘#newcomment-moreinfo-‘+id_element+’-‘+id_parent).slideDown(function () {
$(‘#newcomment-moreinfo-‘+id_element+’-‘+id_parent).removeAttr(‘disabled’)
});
}
}
if ($(‘#newcomment-type-1-‘+id_element+’-‘+id_parent).is(‘:checked’))
{
ret = ((txt1 != ”) (txt2 != ”) (txt1.length = 3) (txt2.length = 5));
}
else
if ($(‘#newcomment-type-2-‘+id_element+’-‘+id_parent).is(‘:checked’))
{
ret = ((txt1 != ”) (idu 0) (txt1.length = 3));
}
else
if ($(‘#newcomment-type-3-‘+id_element+’-‘+id_parent).is(‘:checked’))
{
ret = ((txt1 != ”) (iduf 0) (txt1.length = 3));
}
if (ret)
$(‘#newcomment-send-‘+id_element+’-‘+id_parent).removeAttr(‘disabled’);
else
$(‘#newcomment-send-‘+id_element+’-‘+id_parent).attr(‘disabled’,’disabled’);

}
function comment_loginUser(id_element, id_parent)
{
var txt1 = $.trim($(‘#newcomment-user-nick-‘+id_element+’-‘+id_parent).val());
var txt2 = $.trim($(‘#newcomment-user-pwd-‘+id_element+’-‘+id_parent).val());
$(‘body’).css(‘cursor’, ‘wait’);
$.ajax({
type: ‘POST’,
url: ‘/F/ajax/comments.php’,
data: {
‘login-user’: 1,
‘l’: txt1,
‘p’: txt2,
‘url’: comments_geturl(),
‘curl’: comments_geturl()
},
dataType: ‘json’,
success: function(oJsonObject) {
$(‘body’).css(‘cursor’, ‘default’);
if (oJsonObject)
{
if (oJsonObject.error)
{
$(‘#newcomment-user-err-‘+id_element+’-‘+id_parent).html(oJsonObject.error);
}
else
if (oJsonObject.id_user 0)
{
$(‘.newcomment-user-box-‘+id_element+’-‘+id_parent).remove();
$(‘#newcomment-user-id-‘+id_element+’-‘+id_parent).val(oJsonObject.id_user);
$(‘#newcomment-infobar-‘+id_element+’-‘+id_parent).html(”);
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘alt’, oJsonObject.username);
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘title’, oJsonObject.username);
$(‘#newcomment-type-2-‘+id_element+’-‘+id_parent).attr(‘checked’,’checked’);
if (oJsonObject.userurl)
{
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).addClass(‘pointer’);
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).click(function() {
location = oJsonObject.userurl;
});
}
if (oJsonObject.userthumb)
{
$(‘.comment-newcomment-form-‘+id_element+’-‘+id_parent+’ .comment-newcomment-thumb img’).attr(‘src’, oJsonObject.userthumb);
}
comment_canSendComment(id_element, id_parent);
}
else
{
$(‘#newcomment-user-err-‘+id_element+’-‘+id_parent).html(‘Wystąpił blad’);
}
}
else
$(‘#newcomment-user-err-‘+id_element+’-‘+id_parent).html(‘Wystąpił blad’);
},
error: function() {
$(‘#newcomment-user-err-‘+id_element+’-‘+id_parent).html(‘Wystąpił blad’);
$(‘body’).css(‘cursor’, ‘default’);
}
});
}

function comment_textareaAutoHeight(textarea)
{
/*
if ($.browser.mozilla)
{
var tah = $(textarea).height();
if (tah —

<!–

Czytaj rwnie

–>