Monday, July 28, 2014

NIK: Children in schools becoming more aggressive – On 24

NIK: Children in schools becoming more aggressive – On 24

According to the audit by the SCC, more and more schoolchildren are exposed to violence, verbal and physical. This also applies to activities in cyberspace. This phenomenon can not cope schools that do not prepare appropriate preventive measures.

U 8.8 percent. middle school students are pathological behavior, which consists of verbal aggression (pointed to her 74 percent. surveyed from 2359) and physical (58 percent.). There has been a significant increase in such behaviors as compared to studies from previous years – about 22 percentage points more than in 2005/2006 and by 8 percentage points more than in 2007/2008.

One of intensifying phenomena is also cyberbullying. According to the report one-fifth of students talking about sending nasty text messages or e-mails, as well as threatening messages.

NIK The report also noted that schools do not deal with the prevention of such phenomena. School directors often rely on public programs, data or duplicate the same actions over several years, rather than react to actual problems. In clinical staff members also admit that they can not cope with pathological phenomena in schools. There is also no support from the local authorities, and more than half of the municipalities does not lead school clubs. While others are not properly monitor the implementation of the duty of science to 18 years of age.

Polish Radio

‘; }} If (! Expand_pos) destObj var = ‘# 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); $ (‘# List-comments-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’); }}); Comment_toggleAnswers} function (id_element, id_parent) {var answbtn = $ (‘# comment-answers-’ + id_element + ‘-’ + id_parent); answcntr var = $ (‘# 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 (); Comments_showAlertForm}} function (id_element, id_parent) {$ (‘. NewComment comments-’). 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-forms’: 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 () $ (‘ # comment ‘+ id_parent). addClass (‘ comment-item-AddForm ‘);}}, error: function () {$ (‘# comments-newComment-’ + id_element + ‘-’ + id_parent). html (‘An error’); $ (‘body’). css (‘cursor’, ‘default’);}}); Comments_showAddForm} function (id_element, id_parent) {$ (‘. NewComment comments-’). 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 (); $ (‘# comment’ + id_parent). addClass (‘comment-item-AddForm’);}}, error: function () { $ (‘# comments-newComment-’ + id_element + ‘-’ + id_parent). html (‘An error’); $ (‘body’). css (‘cursor’, ‘default’);}}); Comments_hideAddForm} function (id_element, id_parent) {$ (‘# comments-newComment-’ + id_element + ‘-’ + id_parent). SlideUp (); $ (‘# Comments-toolbar2-’ + id_element + ‘-’ + id_parent). FadeIn (); $ (‘. Comment-item’). RemoveClass (‘comment-item-AddForm’); Comments_submitAddForm} function (id_element, id_parent) {$ (‘body’). Css (‘cursor’, ‘wait’); $ (‘# NewComment-wait-’ + id_element + ‘-’ + id_parent.) Show (); $ (‘# NewComment-wait-’ + id_element + ‘-’ + id_parent). Html (‘Sending data …’); $ (‘# 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 (), ‘name’: $ (‘# 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 {$ (‘. NewComment comments-’). 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 (‘An error occurred. No object.’); }, Error: function () {$ (‘# newComment-wait-’ + id_element + ‘-’ + id_parent). Hide (); $ (‘# NewComment-error-’ + id_element + ‘-’ + id_parent). Html (‘Error’); $ (‘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 (); }}); Comments_submitAlertForm} function (id_element, id_parent) {$ (‘body’). Css (‘cursor’, ‘wait’); $ (‘# Allertcomment-wait-’ + id_element + ‘-’ + id_parent.) Show (); $ (‘# Allertcomment-wait-’ + id_element + ‘-’ + id_parent). Html (‘Sending data …’); $ (‘# 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 {$ (‘. NewComment comments-’). Hide (); $ (‘. Comment-item-text-’ + id_parent + ‘b.clRed’). Remove (); $ (‘. Comment-item-text-’ + id_parent). Html (‘ report has been sent! ‘ + $ (‘. Comment-item-text-’ + id_parent) . html ()); $ (‘. Comment-button-alert-’ + id_parent). Attr (‘disabled’, ‘disabled’); }} Else $ (‘# allertcomment-error-’ + id_element + ‘-’ + id_parent). Html (‘An error occurred. No object.’); }, Error: function () {$ (‘# allertcomment-wait-’ + id_element + ‘-’ + id_parent). Hide (); $ (‘# Allertcomment-error-’ + id_element + ‘-’ + id_parent). Html (‘Error’); $ (‘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 (); }}); Comment_zoomIn} function (id_comment) {$ (‘# comment’ + + id_comment. ‘Comment-item-text-’ + id_comment). AddClass (‘comment-item-text-zoom’); $ (‘# Comment’ + + id_comment. ‘Comment-button-zoom-in-’ + id_comment). Hide (); $ (‘# Comment’ + + id_comment. ‘Comment-button-zoom-out-’ + id_comment.) Show (); Comment_zoomOut} function (id_comment) {$ (‘# comment’ + + id_comment. ‘Comment-item-text-’ + id_comment). RemoveClass (‘comment-item-text-zoom’); $ (‘# Comment’ + + id_comment. ‘Comment-button-zoom-in-’ + id_comment.) Show (); $ (‘# Comment’ + + id_comment. ‘Comment-button-zoom-out-’ + id_comment). Hide (); Comment_showAllUserBox} function (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); Comment_showLoginUserBox} function (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); Comment_unsetFBprofile} function (id_element, id_parent) {$ (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Attr (‘alt’,”); $ (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Attr (‘title’,”); $ (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Attr (‘src’, ‘http://www.wprost.pl/G/blogi/ 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); Comment_assignFBprofile} function (id_element, id_parent) {$ (‘# assignFBprofile-error-’ + id_element + ‘-’ + id_parent). Html (”); FBConnectInit (function (_FBuser) {if (! _FBuser) {$ (‘# AssignFBprofile-error-’ + id_element + ‘-’ + id_parent). Html (‘An error occurred. Could not connect to Facebook.’);} Else if ( ! _FBuser.id &&! _FBuser.name &&! _FBuser.link) {$ (‘# assignFBprofile-error-’ + id_element + ‘-’ + id_parent). html (‘An error occurred. Lack of connection to the service Facebook or not all data has been transferred. ‘);} 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 (”); $ (‘. newComment-comment-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) {$ (‘. newComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘comment-newComment-thumb img’). addClass (‘pointer’); $ (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Click (function () {window.open (_FBuser.link, ‘facebook’);} ); } If (_FBuser.image) {$ (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Attr (‘src’, _FBuser.image); Comment_canSendComment} (id_element, id_parent); }}); Comments_vote} function (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}); }}}); Comment_canSendAlert} function (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’); Comment_canSendComment} function (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 = $ nicotinamide. 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! =”) && (Nicotinamide> , 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’); Comment_loginUser} function (id_element, id_parent) {var txt1 = $ . Trim ($ (‘# newComment-user-nickname-’ + 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) $ (‘. newComment-comment-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) {$ (‘. newComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘comment-newComment-thumb img’). addClass (‘pointer’); $ (‘. NewComment-comment-form-’ + id_element + ‘-’ + + id_parent. ‘Comment-newComment-thumb img’). Click (function () {location = oJsonObject.userurl;}); } If (oJsonObject.userthumb) {$ (‘. NewComment-comment-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 (‘An error’); }} Else $ (‘# newComment-user-err-’ + id_element + ‘-’ + id_parent). Html (‘An error’); }, Error: function () {$ (‘# newComment-user-err-’ + id_element + ‘-’ + id_parent). Html (‘An error’); $ (‘Body’). Css (‘cursor’, ‘default’); }}); Comment_textareaAutoHeight} function (textarea) {/ * if ($ . Browser.mozilla) {var tah = $ (textarea). Height (); if (tah ->

Read also

->

LikeTweet

No comments:

Post a Comment