Wednesday, February 24, 2016

Check before you attack. How do cybercriminals? – On 24

with the development of new technologies is increasing the number of potential areas that cybercriminals can use to break into the organization. For large and medium-sized companies such so-called. access points 190-200 can be, and in less than 20 to 50. The result? Almost every day worldwide media inform the public about the attacks, which make cybercriminals.

– The larger the company approx. 200 points that can be used by the hacker to get access to the infrastructure company. We are not talking here about the main Internet link and the website. This of course also located in this number, but it also applies to additional information that are placed eg. Social media, or take the form of surveys for employees, job candidates. This information may be exchanged by the finance department of the contractors sent the offer. There, in the annexes can be hidden disturbing content – newsrm.tv says James Bojanowski, a partner in Deloitte’s Risk Management Department in Central Europe. – At the risk of unauthorized access expose our HR departments, accounting, finance, purchasing, marketing, because they use the Internet channels to communicate with the outside world.


Check before you attack. How do cybercriminals?

Source – Newsrm.TV

The victims of cybercriminals are falling, banks, insurance companies, telecommunications companies, auction services, and government agencies. – Cases that come to light are the tip of the iceberg. Therefore, you should appreciate these institutions and companies that have publicly admitted that they became the target of a cyber attack. It testifies to the maturity of their markets and on which they operate – says James Bojanowski.

The problem of hiding hacking refers to companies worldwide. They act so out of fear of losing customer and investor confidence. However, more often it happens that organizations in the event of a cyber attack adopt a strategy of full transparency towards their stakeholders. One such example is the British telecommunications operator Talk Talk, which in the face of cyber attack in October last year, informed clients up to date on the action taken. The strategy was successful not only because of the apparent improvement in the perception of the company among clients, but also due to the increase in revenue growth recorded in the last financial report.

How do cybercriminals?

Please note, that every hacker attack is carefully planned. Preparing professional attack lasts several months. Most often it begins with the collection of publicly available information about the company, recognition systems. Cybercriminals follow the staff, check the time and with what tools used by workers. Check, employees who frequently use the Internet. Then decide which systems and employees who will become the target of attack. Then install software that allows them to gradually gain knowledge about the IT infrastructure. The attack occurs later.

– From the point of view of managing IT security to keep in mind about this flow chart. As servers do not operate it for attack prevention it is too late. A detection that hackers “roam” on our network using tools possible – advises James Bojanowski.

Potential hazards also pose providers, who themselves may become the target of a cyber attack. – So, the management and decision-makers must answer the question, who and why it may be potentially interested in an attack on their business, and how it can carry out the attack. The way its implementation is largely determined by the company’s exposure to threats, which often is not fully known or properly managed. Understanding the attacker and entry points to the company, show us the priorities for protection, and also tell us whether we are equipped with the necessary competence and tools that will allow us to effectively protect themselves or efficiently respond to the attack – says Marcin Ludwiszewski, the leader in the area of ​​cybersecurity in Deloitte .

Quickly changing reality, the technological means that companies in this moment are connected with the world of multiple channels. Therefore, the scale of the potential impact of the attack on the IT infrastructure that makes the problem of cybersecurity becomes a matter of strategic companies, and the responsibility for this area moves gradually from IT departments in the direction of the board members. Past practice shows that the responsibility for made cyber attacks are often burdened IT directors.

One of the key elements that can protect your company against security threats is to understand the strategy of the attacker. Every hacker has different tactics and purpose, so the reaction of the company should be adapted to the type of individual hacker.

Newsrm.tv

‘; }} 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_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 (); }} 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 (); $ (‘ # comment ‘+ id_parent) .addClass (‘ comment-item-addform ‘);}}, error: function () {$ ( ‘# comments-newComment -’ + id_element + ‘-’ + id_parent) .html ( ‘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’ 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’);}}); } 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 ( ‘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 (), ‘nick’: $ ( ‘# newComment-nickname -’ + 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 ( ‘error has occurred. 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’ 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 ( ‘ 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 ( ‘error has occurred. 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) {$ ( ‘# 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 (); } Function comment_zoomOut (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 (); } 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://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-fb-user-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 ( ‘error has occurred. No connection to Facebook.’);} Else if ( ! _FBuser.id & amp; & amp;! _FBuser.name & amp; & amp;! _FBuser.link) {$ ( ‘# assignFBprofile-error -’ + id_element + ‘-’ + id_parent) .html ( ‘error has occurred. No connection to service Facebook or not all the 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 (‘ ‘); $ (‘ .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 & 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’); $ ( ‘# 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 txt2 .trim = $ ($ ( ‘# newComment-nickname -’ + id_element + ‘-’ + id_parent) .val ()); var IDU = $ .trim ($ ( ‘# newComment-user-id -’ + id_element + ‘-’ + id_parent) .val ()); var iduf .trim = $ ($ ( ‘# newComment-fb-user-id -’ + id_element + ‘-’ + 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 ( ‘: checked’)) {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; (IDU & 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 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 & 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 ( ‘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’); }}); } Function comment_textareaAutoHeight (textarea) {/ * if ($ .browser.mozilla) {var tah = $ (textarea) .height (); if (tah – & gt;

  •  Gap year fashion is a way of career? video Gap year fashion is a way of career? Among students and graduates schools increasingly popular is the idea of ​​a gap year. Students suspend studies, and students immediately after passing the exam of maturity do not choose to universities to gain valuable experience … Added: 2016-02-24 7:02
  • Kopacz PiS deceived parents and children  united Poles, who took to the streets Minister: Law and Justice deceived parents and children united Poles, who took to the streets former Prime Minister Ewa Kopacz said on TVN24 commented 100 days of the government Beata Awl. She stressed that “the government fears fulfilled and unfulfilled promises.” She added that the only thing the government did this to unite the Poles, who took to the streets. Added: 2016-02-23 21:55
  • Walesa publishes further entries. I've  never seen people, which he allegedly reported Walesa publishes further entries. He had never seen of people who had allegedly reported The former president and Nobel Peace Prize winner Lech Walesa once again took the voice on the disclosures by the Institute of National Remembrance, which include, among others, personal portfolio and portfolio work secret collaborator of the Security Service … Added: 2016-02-23 21:20
  •  Petru of the Act on the sale of land: I'll fall  for the idea to prohibit the sale of flats Petru about the law on the sale of the land: I’ll fall for the idea to prohibit the sale of flats Ryszard Petru asked to comment on the draft of the Act on trading land , stated that “it is absurd.” Added: 2016-02-23 19:17
  •  PiS wants a referendum on. change the patron of  the Gdansk Airport PiS wants a referendum on. change the patron of the Gdansk Airport PiS activists want to change the patron of the Gdansk Airport them. Lech Walesa. The owners of the port say a firm “no.” Added: 2016-02-23 19:02
  •  PiS raise taxes? Duda: I hope it will not be  necessary PiS raise taxes? Duda: I hope it will not be necessary Andrzej Duda expressed the hope that in the face of increasing budget expenditure, not You will need to increase taxes.
    LikeTweet

No comments:

Post a Comment