Friday, February 26, 2016

Prime Minister purchasing platform Arena.pl – On 24

Gallery (6)

Polish startupowcy once again prove that they have a lot to say on the internet market and exhibit a unique innovation. Premiered a purchasing platform Arena.pl.

The world’s first program of joint ownership in the community, created by a company listed on the Stock Exchange in Warsaw company Arena. pl SA The owners offered half of his shares in the buyer and the seller in exchange for the activity on the site. This means that any user can become a co-owner of the portal, to decide on the directions of development and participate in the profit distribution. Purchasing platform Arena.pl right from the start offers over 2 million products from 300 professional dealers in 56 categories. The project is supported by MasterCard and fund LMB Capital, half-owned bank to SGB.

Arena.pl is an innovative, safe shopping platform, where a key added value is a social idea of ​​co-ownership. The project is funded entirely by the Polish capital. A majority stake in arena.pl indirectly holds LMB Capital – a fund belonging to the SGB Bank, the second largest bank association of cooperative banks in Poland. Ultimately, half of the company’s shares Arena.pl SA has hit the audience – every buyer and the seller will receive an offer of coverage in the ratio of their commitment arena.pl.

“People will be gathered on an ongoing basis points for each sale, purchase or recommendation to arena.pl. Everyone will decide whether the collected points will keep exchanged for attractive prizes, like a loyalty program, or wait and replace them the right to acquire shares arena.pl, “said Michael Kowalski, CEO Arena.pl SA “It’s a very simple mechanism that does not require users any involvement. Just use arena.pl – to buy or sell, and all this will be yours “- explains Michal Kowalski.



Security and payment MasterPass

Unlike other shopping portals on the arena Forums can sell only professional, verified seller – companies and individuals that do business, making shopping for arena.pl are safe. There is no charge for the issuance of the subject, and commissions on sales are currently the lowest in the market. Arena.pl rewards users for payments by electronic wallet MasterPass – a service provided by MasterCard.

“From the point of view of the buyer, wallet MasterPass enables safe and comfortable shopping online. Just one-time store data of any payment card, which allows the use of portfolio in all places where payments are accepted MasterPass – not only in Poland but also in many countries abroad. It is extremely convenient and safe payment method for e-commerce and m-commerce “- says Bartosz Tsiolkovsky, general director of the Polish branch of MasterCard Europe. Owner arena.pl intends to purchasing platform on selected foreign markets at the beginning of 2017 years.



Co-ownership and an additional sales channel

“Arena.pl is an additional sales channel for stores that want to develop your business. You can simultaneously display products arena.pl, conduct its own website on the Internet and sell advertising on other platforms and auction. Arena.pl gets a commission fee only in the case of sales made “- says Michal Kowalski.

The integration of new sellers is very simple, and most importantly, free. It features a functional and intuitive control panel for manual operation and the ability to connect via XML and API. Another pleasant surprise is the fact that Arena.pl the only one in Poland so large entity, offers retailers and telephone support hotline.

“Arena.pl is simply great, intuitive shopping center on the Internet, which half will belong to its customers. I believe that others will imitate us. Soon it will be very difficult to build a massive business in a highly competitive market, which is a network, without sharing the profits with the community. The idea of ​​co-ownership and co-decision on the project by the users is our key differentiator that gives us a competitive advantage and puts us in a position innovators in the world “- says Paul Osowski, a board member Arena.pl SA

The development strategy in the market e-commerce

Arena.pl hopes to acquire one million active users, who will do shopping for around 0.5 billion by the end of 2016 years. “We estimate that the market for e-commerce in Poland is worth 33 billion dollars and will grow over the next three years at a rate of 20 to 25% per annum – the fastest in Europe. Our business plan assumes that we will grow dynamically, but we’re not going to chase the market leader in e-commerce in Poland. More than 90% of the Polish market belongs to one player and it is difficult to break this monopoly. Activity arena.pl may change the current balance of power in the next few years “- says Michal Kowalski.



The current picture of the market

On behalf Arena.pl SA research company Ipsos conducted a survey of buyers and sellers on the Internet. Interviewers asked about issues relating to online purchases, waiting for the new purchasing platform and the differentiators that could lead surfers to change the purchasing platform, which currently use.

“Portal Allegro.pl absolutely dominates the market portals transaction – they use it almost all companies selling on the Polish Internet (97 per cent. of responses) and 88 per cent. buyers. At the same time as much as 78 percent. user wants to platform was owned by Polish capital. For every fourth of the test is a very important issue, while less than one in ten say that this has no meaning for him “- says Krzysztof Chmielewski, Senior Research Manager at Ipsos Loyalty. For sellers origin capital platform also it matters – for which the third is a very important issue, and almost 80 per cent. retailers believe that this asset is important for buyers.

“50 percent. online shoppers expect from the new purchasing platform implementation of secure payments, 49 percent. of respondents expected the introduction of an attractive program for regular customers – says Krzysztof Chmielewski. Respondents expressed a desire to have a large impact on the platform – he wants this as much as 85 percent. of which 30 per cent. This is very interested, “- explains Krzysztof Chmielewski.

arena.pl advertising campaign involving celebrities

Arena.pl at the start very much set on promoting listings of companies selling on the platform. The first stage of advertising campaign includes television, internet and cinema. The project is supported by: Tomasz Kuchar, multiple champion and runner-Polish rally, leading the television programs of the automotive industry and Mariusz Czerkawski – the first Pole in the American NHL, Olympic athlete, golfer, sports promoter. Arena.pl lends voice actress Anna Kerth.

“I embarked on arena.pl, because I believe that is a very interesting project that has a chance to change for the better Polish e-commerce, allowing users to co-decide about the future of their purchasing platform “- says Tomasz Kuchar.

” Arena.pl is undoubtedly the product of an innovative, socially responsible, with an interesting history. It’s nice that I can observe from close this unique initiative in the world “- adds Mariusz Czerkawski.

‘; }} 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;

LikeTweet

No comments:

Post a Comment