Wednesday, February 18, 2015

Poles working abroad do not want to go back to the country – On 24

Poles working abroad do not want to go back to the country – On 24

There is a growing scale of return migration, but still they are not massive, and the balance and return trips is still negative. The vast majority of working abroad wants to stay there. 90 per cent. of them indicated that their financial situation has improved considerably after the departure of the Polish. This is important because the main reason for emigration is by no means the lack of jobs in the country, but too low wages – according to the report “A one way ticket? Migration in Europe from the perspective of the countries of Central and Eastern Europe “prepared by CEED Institute in cooperation with the Work Service.

– Millions of immigrants who ventured into the world of the higher wages, education and a chance for a better life, is the driving force of the global economy. Their courage and entrepreneurship make the world is growing faster and faster. We must do everything to keep their enthusiasm and their knowledge to use in Poland, or do something they wanted and had nothing to return to. It was from them in the future depends largely on the Polish economy and its competitiveness in the world – says Jan Kulczyk, founder CEED Institute.

According to the report, “One way ticket? Migration in Europe from the perspective of the countries of Central and Eastern Europe “prepared by CEED Institute in cooperation with the Work Service shows that the scale of return migration is increasing, albeit with massive returns can not yet speak. Encourage Poles to return would improve the competitiveness of the domestic labor market, increasing wages, investing in people and creating opportunities for development.

– The good news is that we increased the number of returns, and the number of Poles who live abroad, increases much more slowly than in recent years. On the other hand continues to exceed the number of outgoing – though few – the number of returnees – says dr. Maciej Duszczyk expert CEED Institute, deputy director of the Institute of Social Policy, University of Warsaw.

Working in the more developed EU countries willing to seek not only Poles, but also citizens of other countries of Central and Eastern Europe. However, the scale mobility unabated for three years. The report shows that in 2013 the total number of nationals working abroad increased slightly – up to 5.737 million from 5.623 million in 2012. At that time, came 85 thousand. Polish emigrants (total 1.88 million). Still in the group of new Member States, Poland is the second, after Romania, in terms of the number of emigrants.

– For the past 10 years, many Estonians left the country. A similar trend was observed in all the countries of Central and Eastern Europe, maybe except the Czech Republic – Business Newseria agency says Indrek Neivelt, a member of the Program Council CEED Institute. – The main reason is, of course, a large emigration of earnings. People go to Western Europe, because their salaries are too low, they want to have a higher standard of living.

The most frequently mentioned reason for departure is by no means a lack of work. Depending on the sector indicates that only 12 percent. (Eg. In the construction sector) to 34 percent. (In the industrial sector) of respondents. As many as three-quarters of the respondents as the main reason for emigration indicated very low wages in Poland. This ratio is even higher in the services sector (84.1 percent)..

More than 90 per cent. immigrants are satisfied with the decision to leave, and their financial situation has improved thanks to the work abroad (91 per cent. in the construction industry and 98.6 per cent. in production). Many respondents also indicated that increased self-esteem (in services – half of the respondents).

– It is clear that overlap trends associated with the growth of wages and a decrease in the number of economic migration. Poland must do everything in order to be more competitive in the job market. Otherwise there is not enough skilled workers, and migration will not stop, because the European Union is a natural phenomenon – says Tomasz Misiak, President of the Supervisory Board Work Service.

Those who return to the country, most often as the reason shall issue Family (30 per cent. in services and nearly 70 per cent. in the building sector). Many from the beginning was to pull away to work only for a few years. Experts point out that bodes well for the future that Poles working abroad do not have a negative opinion about Poland.

– The level of job satisfaction in the EU countries is high. It is also related to the free movement of people, or Poles working abroad have the same rights as the local population. This is a factor that is absolutely a condition sine qua non for the integration, I am talking about equal rights and equal responsibilities – says Anna Rostock, director of the International Organization for. Migration in Poland.

It is interesting that among the countries of the region Central and Eastern Europe, Poland is the country with the lowest presence of foreigners. Lithuania and Estonia in 2012-2013 the figure was 16 per cent., In Poland – 0.15 percent. The report CEED Institute published a ranking that indicates that countries in the region could compete with the old fifteen EU for skilled migrants. The top three – based on socio-economic criteria – were the Czech Republic, Slovakia and Estonia. Poland is just behind the podium. Among the other countries most attractive for immigrants are Sweden, Luxembourg and Denmark. Ranking close Spain, Portugal and Greece.

Newseria.pl

‘; }} If (! Expand_pos) destObj var = ‘# comments-container -’ + id_element + ‘-’ + id_parent; destObj else var = ‘# 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’); }}); } Function comment_toggleAnswers (id_element, id_pa rent) {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 (); }} Function comments_showAlertForm (id_element, id_parent) {$ (‘.comments-newComment’). Hide (); $ (‘.comment-Item’). RemoveClass (‘comment-item-added’); $ (‘.c omment-Item’). RemoveClass (‘comment-item-addform’); $ (‘Body’). Css (‘cursor’, ‘wait’); $ .ajax ({Type: “POST”, url: ‘/F/ajax/comments.php’, date: {‘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 (); $ (‘ # comments’ + id_parent) .addClass (‘comment-item-addform̵ 7;);}}, error: function () {$ (‘# comments-newComment -’ + id_element + ‘-’ + id_parent) .html (‘There was an error’); $ (‘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’, date: {‘add-forms’: 1, ‘id_element’: id_element, ‘id_parent’: id_parent, ‘url’ : comments_geturl (), ‘curl’: comments_geturl ()}, dataType: ‘json’, success: function (oJsonObject) {$ (‘body’). css (‘cursor’, ‘d efault’); 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 (); $ (‘# comments’ + id_parent) .addClass (‘comment-item-addform’);}}, error: function () { $ (‘# comments-newComment -’ + id_element + ‘-’ + id_parent) .html (‘There was an error’); $ (‘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 (̵ 6;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 (‘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’, date: {‘send-comment’: 1, ̵ 6;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 (); $ (‘.commen t-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 (‘There was an error. No object.’); }, Error: function () {$ (‘# newComment-wait -’ + id_element + ‘-’ + id_parent) .hide (); $ (‘# NewComment-error -’ + id_element + ‘-’ + id_parent) .html (‘An 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 (); }}); } 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 (‘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’, date: {‘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 (),̵ 7; 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 (‘ The 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 (‘There was an error. No object.’); }, Error: function () {$ (‘# allertcomment-wait -’ + id_element + ‘-’ + id_parent) .hide (); $ (‘# Allertcomment-error -’ + id_element + ‘-’ + id_parent) .html (‘An 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 (); }}); } Function comment_zoomIn (id_comment) {$ (‘# comments’ + 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 (); } Function comment_zoomOut (id_comment) {$ (‘# comments’ + 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 (); } Funct ion 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 -&# 8217; + 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://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’, date: {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 (‘There was an error. No connection to Facebook.’);} Else if ( ! _FBuser.id & amp; & amp;! _FBuser.name & amp; & amp;! _FBuser.link) {$ (‘# assignFBprofile-error -’ + id_element + ‘-’ + id_parent) .html (‘There was an error. No connection to the service Facebook or not all the data has been transferred. ‘);} else {$ (‘ .newcomment-user-box – ‘+ id_element +&# 8217; – ‘+ 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 $ (R 16;# comments-toolbar2 -’ + id_element + ‘-’ + id_parent + ‘.form-button-vote’). Animate ({‘opacity’: 0.3}); $ .ajax ({Type: “POST”, url: ‘/F/ajax/comments.php’, date: {‘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 & amp; & amp; 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’); $ (̵ 6;# 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! = ”) & amp; & amp; (txt1.length & gt; 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 .trim txt2 = $ ($ (‘# newComment-nick -’ + id_element + ‘-’ + id_parent) .val ()); acetamide var = $ .trim ($ (‘# newComment-user-id -’ + id_element + ‘-’ + id_parent) .val ()); iduf var = $ .trim ($ (‘# newComment-user-fb-id -’ + id_element + R 16;-’ + id_parent) .val ()); var ret = false; if ((txt1! = ”) & amp; & amp; (txt1.length & gt; = 3) & amp; & amp; (! $ (‘# 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 (‘: checkedR 17;)) {ret = ((txt1! = ”) & Amp; & amp; (txt2! = ”) & amp; & amp; (txt1.length & gt; = 3) & amp; & amp; (txt2.length & gt; = 5)); } Else if ($ (‘# newComment-type-2 -’ + id_element + ‘-’ + id_parent) is (‘: checked’)) {ret = ((txt1! = ”) & Amp; & amp; (acetamide & gt ; 0) & amp; & amp; (txt1.length & gt; = 3)); } Else if ($ (‘# newComment-type-3 -’ + id_element + ‘-’ + id_parent) is (‘: checked’)) {ret = ((txt1! = ”) & Amp; & amp; (iduf & gt ; 0) & amp; & amp; (txt1.length & gt; = 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- nickname -’ + id_element + ‘-’ + id_parent) .val ()); var .trim txt2 = $ ($ (‘# newComment-user-pwd -’ + id_element + ‘-’ + id_parent) .val ()); $ (‘Body’). Css (‘cursor’, ‘wait’); $ .ajax ({Type: “POST”, url: ‘/F/ajax/comments.php’, date: {‘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 & gt; 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 (‘There was an error’); }} Else $ (‘# newComment-user-err -’ + id_element + ‘-’ + id_parent) .html (‘There was an error’); }, Error: function () {$ (‘# newComment-user-err -’ + id_element + ‘-’ + id_parent) .html (‘There was an error’); $ (‘Body’). Css (‘cursor’, ‘default’); }}); } Function comment_textareaAutoHeight (textarea) {/ * if ($ .browser.mozilla) {var tah = $ (textarea) .height (); if (tah – & gt;

Read R & oacute; wnież

->

LikeTweet

No comments:

Post a Comment