Webseite:35PHOTO - soziales Netzwerk für professionelle FotografenInhalt
35PHOTO-socialnetworkforprofessionalphotographersTogglenigation PhotosGenresNewInterestingPopularFriends PhotoonthemapCommunitiesAuthorsSearchforaphotographerUserratingTrelerratingCandidatesTheBestPhotoofthedaySeriesofthedayMoreEquipment Shuffle SpeacialOffers10thPHOTOAWARDSLoginSignupSocialnetworkforphotographers#35Shareyourphotos,inspiringphotosofothers.SignupforFREEor Loginonsite ВладСоколовский/35PHOTO ИванСмелов/35PHOTO ЕвдокимовМаксим/35PHOTO 35AWARDSAnnualinternationalphotoaward More35PHOTOappMobileapplication35PHOTO.Viewandshareyourbestphotoswithphotographersaroundtheworld.gradiente7e7e7{background:-webkit-linear-gradient(180deg,#e7e7e710%,#f2f2f290%);/*Chrome10+,Saf5.1+*/background:-moz-linear-gradient(180deg,#e7e7e710%,#f2f2f290%);/*FF3.6+*/background:-ms-linear-gradient(180deg,#e7e7e710%,#f2f2f290%);/*IE10*/background:-o-linear-gradient(180deg,#e7e7e710%,#f2f2f290%);/*Opera11.10+*/background:linear-gradient(180deg,#e7e7e710%,#f2f2f290%);/*W3C*/-webkit-transform:translate3d(0px,0px,0px);}PHOTOMAPIAProfessionalphotosontheworldmapFindphotosnearby .genreItemPe{-webkit-transition:all.5s;-moz-transition:all.5s;-o-transition:all.5s;transition:all.5s;position:relative;cursor:pointer;} .parentGenre:hover.genreItemPe,.parentGenre:focus.genreItemPe{ -ms-transform:scale(1.1); -moz-transform:scale(1.1); -webkit-transform:scale(1.1); -o-transform:scale(1.1); transform:scale(1.1); } @media(max-width:640px){ .genreItemPe{height:125px;} } @media(min-width:1000px){ .genreItemPe{height:180px;} } @media(min-width:1360px){ .genreItemPe{height:210px;} } @media(min-width:1400px){ .genreItemPe{height:220px;} } @media(min-width:1600px){ .genreItemPe{height:260px;} } @media(min-width:1900px){ .genreItemPe{height:300px;} } LandscapesPortraitAnimalsMacroFemaleportraitCity/ArchitectureUncategorizedStilllifeMoodportraitFashionStreet/ReporteStedphotoFamilyBlack&WhiteConceptualNightAirphotographyMaleportraitUnderwaterSportAbstractionFilm 1days 1daysleft744participantsExpressCityFacesVote Participate VladimirVasilievich/9th35AWARDS 2days 2daysleft894participantsPrimePerfectlandscapeVote Participate NicolaiBruegger/9th35AWARDS 3days 3daysleft1414participantsHornedAnimalsVote Participate OlgaRudchenko/9th35AWARDS 5days 5daysleft127participantsExpressSoccerVote Participate PRADIPTAMOYPAUL/9th35AWARDS .blockBtn.participate.btn,.whiteBtn{visibility:visible;opacity:1;background:#fff;border:1pxsolid#fff;color:#000;}.itemPhoto.blankBlock{background:rgba(0,0,0,.5);}.itemPhoto:hover.blankBlock{background:rgba(0,0,0,0);}.itemPhoto:hover.btn{border:1pxsolid#fff;color:#fff;visibility:visible;opacity:1;}.itemPhoto:hover.participate.btn,.whiteBtn{color:#000!important;}.itemPhotodiv,.itemPhotoa{transition:all0.3sease;}.contest_info{font-size:1.2em;}.contest_infoh2{font-size:2.4em;color:#fff}@media(max-width:640px){.contest_headerh2{font-size:1.8em}} CATALOGUE9TH35AWARDSBESTPHOTOSANDPHOTOGRAPHERSThecatalogcontainsmorethan1500photosfrom25nominationsfrommorethan1000authorsofthe9th35AWARDSMore .enterOnSiteBlock{padding-top:100px;padding-bottom:100px;} .awardsBlock{padding-top:80px;padding-bottom:100px;} .enterOnSiteBlock.btn-lg{font-size:3em;} .lineTopBorder{border-top:1pxsolidrgba(255,255,255,.2);} .thinFont{font-family:"HelveticaNeueCyr";letter-spacing:0.05em;} .shadowFont{text-shadow:001pxrgba(0,0,0,0.6);}.mainHeaderh1{font-size:5em}.mainHeaderh2{font-size:2.6em}.header35Block{height:100%;bottom:0;width:100%;position:absolute;top:0;right:0;left:0;padding-top:200px}#search_word_city{width:75%;float:left;} @media(max-width:640px){ .enterOnSiteBlock{padding-top:60px;padding-bottom:60px;} .awardsBlock{padding-top:40px;padding-bottom:40px;} .mainHeaderh1{font-size:2.8em} .mainHeaderh2{font-size:1.8em} .enterOnSiteBlock.btn-lg{font-size:2em;}.myCarousel_b{min-height:500px!important;}.header35Block{padding-top:100px;padding-bottom:100px}#search_word_city{width:65%;} }#awardDaysh2{color:#fff;font-size:1.8em;padding-top:10px;}#awardDaysh2small{color:#fff;}#awardDaysh5{color:#888;font-size:1.4em;font-family:'HelveticaNeueCyr',Arial;}.insideUsers{-webkit-transition:all1.5sease-in-out;-moz-transition:all1.5sease-in-out;-ms-transition:all1.5sease-in-out;-o-transition:all1.5sease-in-out;transition:all1.5sease-in-out;}Subscribeandgetthebestwork35PHOTO1timeperweekYoucanalwaysoptoutofreceivingthesubscriptionone-clickSubscribeNow!Photographycontest:HornedAnimals3daysleft23июл.5дней10ОсталосьместФототурФототур"ЛетовТериберке"Териберка31июл.6дней10Осталосьмествсегомест:12ФототурЛадожскиешхерыЛанденпохья/Койонсаари©Photosite35PHOTOPhotocontest35AWARDS(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};m[i].l=1*newDate();k=e.createElement(t),a=e.getElementsByTName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})(window,document,"script","mc.yandex.ru/metrika/t.js","ym");ym(,"init",{id:,clickmap:true,trackLinks:true,accurateTrackBounce:true}); PhotosonthemapAbout | Help18+Selectlangue:en ruSendmessetoadministrationsupport@35photo.pro-oncooperationissues/**/(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*newDate();a=s.createElement(o),m=s.getElementsByTName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','/analytics.js','ga');ga('create','UA--1','auto');ga('send','peview');Loading...Theauthorhasphotos000 Reply Remove Blockuser.table-darka{color:#d1e7ff}.followbtn{padding:.12rem.5rem!important;text-decoration:none;font-size:1.2em}.followbtn.follow{color:#fff;background:#85a45b}.followbtn.unfollow,.followbtn.unfollow:hover{color:#777;border:1pxsolid#777}.heartBtn,.starBtn,.eyeBtn{font-size:1.5em}.heartBtn{color:#ed7777;}.starBtn{color:#edd881}.closeGrid{top:0;right:0;font-size:2em;position:fixed;z-index:310;padding:15px20px;cursor:pointer}#author-info-total{min-width:315pxtransition:transform0.5sease-in-out;max-width:1200px;margin:0auto;}.pb-2{padding-bottom:20px}#lightboxPhotoAuthor{padding-bottom:5px}#lightboxPhotoAuthora{color:#fff;font-size:1.6em;text-decoration:none;}#btn_edit_photo{margin:10px010px0;border-left:1pxsolid#7d956f;padding-left:15px;}#btn_edit_photoa{text-decoration:none;color:#7d956f}.addToF,.abuseBtn{-webkit-transition:all.5s;-moz-transition:all.5s;-o-transition:all.5s;transition:all.5s;position:relative;}.addToF,.abuseBtn{color:#b38d2d;border:1pxsolidrgba(0,0,0,0);font-size:.8em;padding:4px10px;opacity:.55;}.abuseBtn{color:#fff}.addToF:hover{color:#000;background:#b38d2d;border:1pxsolid#b38d2d;opacity:1;}.abuseBtn:hover{color:#fff;border:1pxsolid#fff;opacity:1;}#contestList{border-top:1pxsolidrgba(255,255,255,.3);padding-top:20px;margin-top:10px;}#lightboxPhoto.container-fluid{width:100%;height:100vh;}#contestList.line{padding-bottom:10px;}#author_total_photos{margin-bottom:10px;opacity:.6;}.loader{width:20%;margin:10pxauto;height:3px;overflow:hidden;border-radius:4px;background:#3d3d3d;position:absolute;bottom:0;left:50%;transform:translateX(-50%);}.loader.progress{height:100%;width:0%;background:rgb(138,138,138);transition:width0.4sease;}.img-transition{transition:width0.5sease-in-out,height0.5sease-in-out;}#lightboxPhoto{background:rgba(0,0,0,1);position:fixed;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;height:100%;width:100%;z-index:1030;color:#fff;overflow-y:auto;}#lightboxPhoto.container{padding:0;max-width:100%;width:auto;}#lightboxPhoto.img-container{height:100vh;overflow-y:auto;padding:20px0;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;transition:0.3sease-in-out;}#lightboxPhoto.img-container.series{display:block;}#lightboxPhoto.img-fluid{max-width:95%;max-height:95vh;object-fit:contain;margin:auto;display:block;pointer-event":none;}#lightboxPhoto.img-fluid-series{padding:5px0;}#lightboxPhoto.info-container{max-height:100vh;overflow-y:auto;text-align:left;padding:20px;transition:width0.5sease-in-out;}#lightboxPhoto.author-info{display:flex;align-items:center;gap:15px;padding-bottom:10px;}#lightboxPhoto.atar{width:50px;height:50px;border-radius:50%;}#lightboxPhoto.stats{display:flex;gap:20px;padding-bottom:15px;}#lightboxPhoto.statsp{margin:0;color:#ddd;font-size:18px;}#lightboxPhoto.statsi{margin-right:5px;}#lightboxPhotoLoading{display:none;text-align:center;z-index:200;position:absolute;top:100px;left:0;right:0}#lightboxPhotoh3,#lightboxPhotoh4,#lightboxPhotoh5{color:#fff;}#lightboxPhoto.description{color:#ddd;font-style:italic;}#lightboxPhoto.comment-form{width:100%;display:flex;gap:10px;}#lightboxPhoto.comment-forminput,#lightboxPhoto.comment-formbutton{width:100%;padding:10px;border:none;border-radius:5px;}#lightboxPhoto.comment-formbutton{width:auto;color:#fff;}.atar{width:100px;border-radius:50%;}.user-infoh1{font-size:3em;text-transform:uppercase;margin-bottom:0;line-height:1em;}.info-container.full-width-desc.part1{width:25%;}.info-container.full-width-desc.part2{width:75%;}.grid-item{width:calc(25%-20px);margin:010px;position:relative;}@media(max-width:1500px){.grid-item{width:calc(25%-20px);}}@media(max-width:1500px){.grid-item{width:calc(33.33%-20px);}}@media(max-width:1200px){.grid-item{width:calc(50%-20px);}}@media(max-width:992px){#lightboxPhoto.mobile.part1{width:25%;}#lightboxPhoto.mobile.part2{width:75%;}#lightboxPhoto{align-items:flex-start;padding-top:0}#lightboxPhoto.statsCollapse{display:none;}#lightboxPhoto.img-fluid{max-width:100%;max-height:100vh;}#lightboxPhoto.content-info{padding:20px;}.section_padding{padding-top:10px}#lightboxPhoto.img-container{max-height:none;overflow-y:visible;padding-top:60px;padding-bottom:0;height:initial;}.grid-item{width:calc(100%-20px);}.lozadGridItem.s{display:none;}#lightboxPhoto.container-fluid{padding-right:0;padding-left:0;}#lightboxPhoto.info-container{max-height:none;overflow-y:visible;//padding-left:30px;//padding-right:30px;}}@media(max-width:768px){#lightboxPhoto.mobile.part1{width:100%;}#lightboxPhoto.mobile.part2{width:100%;}#lightboxPhoto.mobile.arrowPhoto{display:none;}}@media(max-width:400px){#lightboxPhoto.commentLine.col-xs-2{width:20%}#lightboxPhoto.commentLine.col-xs-10{width:80%}}.info-container.full-width-desc{width:100%;overflow-y:initial!important;}.info-container.full-width-desc.author-info-total{max-width:1200px;margin:0auto;}.full-width{width:100%;}#collapseButton{padding-bottom:10px;}#collapseButton.fa{font-size:2.5em;transition:transform0.5sease;}.rotate180{transform:rotate(180deg)}#mapid{width:100%;height:150px;max-width:400px;margin-top:15px;}#lightboxPhoto.statsCollapse{position:fixed;right:10px;bottom:0;}.statsCollapse{/*Убедитесь,чтоуstatsCollapseтакжеестьtransitionдляплавности*/transition:transform0.5sease-in-out;}.statsCollapse#collapseButton{/*ПлавнаяанимациядляcollapseButton*/transition:transform0.5sease-in-out,opacity0.5sease-in-out;transform:translateY(300%);}.statsCollapse.closeBtn#collapseButton{/*АнимациядляcollapseButtonпридобавленииклассаclose*/transform:translateY(0);}.statsCollapse.act{/*Повторениестилейдля.act,какописаноранее*/transition:transform0.5sease-in-out,opacity0.5sease-in-out;transform:translateY(100%);opacity:0;}.statsCollapse.closeBtn.act{transform:translateY(0);opacity:1;}#lightboxPhoto.statsCollapse.atar{margin-left:-10px;}#lightboxPhoto.swipe-indicator{display:none}#lightboxPhoto.mobile.swipe-indicator{display:block}.swipe-indicator{position:fixed;bottom:15%;left:50%;transform:translateX(-50%);font-size:5em;color:#ccc;}.swipe-indicatori{animation:swipe-animation2sease-in-outinfinite;}@keyframesswipe-animation{0%,100%{transform:translateX(0);}50%{transform:translateX(80px);}}.fa-hand-pointer-o{cursor:pointer;}#lightboxPhoto.arrowPhoto{position:fixed;top:50%;transform:translateY(-50%);cursor:pointer;font-size:3em;color:rgba(255,255,255,0.6);z-index:1000;padding:50px10px}#lightboxPhoto#left-arrow{left:0;}#lightboxPhoto#right-arrow{right:0;}#commentsPe{font-size:1em;position:relative;}#commentsPe.answers{padding-top:5px;margin-left:-20px;}#commentsPe.answerForm{padding-top:15px;}#commentsPe.atarZone{padding-right:5px;}#commentsPe.atarZone.atar{height:3em;width:3em;border-radius:50%;margin-right:5px}#commentsPe.commentZone{padding-left:0;position:static}#commentsPe.commentZone.text_comm{display:block;padding-top:3px}#commentsPe.commentLine{padding-top:10px;padding-bottom:10px;transition:background-color0.2sease;border-radius:8px}#commentsPe.commentLine:hover{background:rgba(255,255,255,.15)}#commentsPe.commentLine.actions{font-size:1.5em;opacity:0;padding-left:10px}#commentsPe.commentLine:hover.actions{opacity:1;}#commentsPe.user_name{padding-right:3px;text-decoration:none;color:#a1d0ff}35PHOTO - soziales Netzwerk für professionelle Fotografen#commentsPe.timeAdd{margin-top:4px;color:#999;font-size:.9em;white-space:nowrap;}#commentsPe.reply{display:block;margin:0}#commentsPe.commentLine.actions{display:none}varobserver;varphotoSeeCache=[];functionloadPhotoOnScreen(el,addSee){if(addSee==1&&!$(el).hasClass("addSee")){$(el).addClass("addSee");varphotoId=$(el).attr("photo-id-w");if($.inArray(photoId,photoSeeCache)==-1){photoSeeCache.push(photoId);}if(photoSeeCache.length>=15){varsrc="api.35photo.pro/?method=photo.addSee&token35="+token35+"&browser=true&photoAdd="+photoSeeCache.join(",");photoSeeCache=[];$.getJSON(src).done(function(json){}).fail(function(jqxhr,textStatus,error){})}}}$(document).ready(function(){observer=lozad(".lozadGridItem",{rootMargin:'100px0px',threshold:0.05,enableAutoReload:false,load:function(el){$(el).find(".lozadGridPhoto").each(function(){varloadIme=$(this);varime=newIme();varnewSrc=loadIme.attr("data-src");if(aske&&loadIme.hasClass("nude")){newSrc=getNudeUrl("230");}ime.onload=function(){loadIme.attr("src",newSrc);if(token35.length>0)loadPhotoOnScreen(loadIme,1);$.each($grid_a,function(index,$currentGrid){$currentGrid.masonry('layout');});}ime.src=newSrc;});$(el).find(".lozadBackground").each(function(){$(this).css("background-ime","url("+$(this).attr("background-url")+")");});}});observer.observe();});var$grid_a=[];$(document).ready(function(){$("#loadLozadGrid,.loadLozadGrid").each(function(){var$grid=$(this).find(".grid");if($grid.data("masonry")){$grid.masonry("destroy");}$grid=$grid.masonry({itemSelector:".grid-item",columnWidth:".grid-item",percentPosition:true});$grid.imesLoaded().progress(function(){$grid.masonry("layout");});$grid_a.push($grid);});});classphoto_actions_24{constructor(res,token35,option){this.res=res;this.option=option;this.token35=token35;this.setLikeDelay=false;this.setPhotoFDelay=false;this.lastTap=0;this.currentIndex=0;}showFollowBtn(followbtn,status){if(status=="follow"){followbtn.html(this.res.unfollow_btn).removeClass("follow").addClass("unfollow");}else{followbtn.html(this.res.follow_btn).removeClass("unfol35PHOTO - soziales Netzwerk für professionelle Fotografenlow").addClass("follow");}}showFollowBtnDom(user_id,status){if(status==true){return''+this.res.unfollow_btn+'';}else{return''+this.res.follow_btn+'';}}clickFollowBtn(btn){btn=$(btn);varuser_id=btn.attr("user_id");varsrc="";if($(btn).hasClass('follow')){this.showFollowBtn(btn,'follow');src="api.35photo.pro/?method=user.follow&ver="+ver+"&userId="+user_id+"&token35="+this.token35;}else{this.showFollowBtn(btn,'unfollow');src="api.35photo.pro/?method=user.follow&ver="+ver+"&userId="+user_id+"&unfollow=true"+"&token35="+this.token35;}//console.log(src);$.getJSON(src).done(function(json){//console.log("JSONDataFollow:"+json['response']+',method:'+json['data']['method']);}).fail(function(jqxhr,textStatus,error){varerr=textStatus+","+error;console.log("RequestFailedFollowBtn:"+err);})}markLike(parent,var_vote){varheartBtn=parent.find('.heartBtn');$(heartBtn).removeClass("fa-heart-ofa-heart");if(var_vote&&var_vote!=0)$(heartBtn).addClass("fa-heart");else$(heartBtn).addClass("fa-heart-o");}activeDblclick(){$(".img-fluid").on("touchendclick",function(e){varcurrentTime=newDate().getTime();vartapLength=currentTime-this.lastTap;if(tapLength100){photo_actions.setLike($(".img-container"));}this.lastTap=currentTime;});}setLike(thisBlock){if(!this.option["allow_vote"]){loadModalWindow("/show_block.php?type=voteClass&type2=cantVote");returnfalse;}varparent=$(thisBlock).closest('.parentPhoto');varphoto_id=parent.attr('photo-id');varheartBtn=parent.find('.heartBtn');varcountLikes=parent.find('.countLikes');if(this.setLikeDelay==true){returnfalse;}if(heartBtn.hasClass('fa-heart-o')){heartBtn.removeClass('fa-heart-o');//heartBtn.addClass('fa-heartanimate__animatedanimate__heartBeat');heartBtn.addClass('fa-heartanimate__animatedanimate__heartBeatanimate__repeat-1').on('animationend',function(){$(this).removeClass('animate__animatedanimate__heartBeatanimate__repeat-1');});countLikes.html(parseInt(countLikes.html())+1);this.setLikeDelay=true;varsrc="api.35photo.pro/?method=photo.setLike&photoId="+photo_id+"&ver="+ver+"&vote=1&awards=true&token35="+token35;$.getJSON(src).done(function(json){if(json.data&&json.data.err){alert('Err:'+data.data.err);}}).fail(function(jqxhr,textStatus,error){console.log("RequestFailed:"+err);})setTimeout(()=>{this.setLikeDelay=false;},1000);}else{heartBtn.removeClass('fa-heart');heartBtn.addClass('fa-heart-o');countLikes.html(parseInt(countLikes.html())-1);this.setLikeDelay=true;varsrc="api.35photo.pro/?method=photo.removeLike&photoId="+photo_id+"&ver="+ver+"&awards=true&token35="+token35;$.getJSON(src).done(function(json){console.log('-likeremoved:'+photo_id);this.setLikeDelay=false;});setTimeout(()=>{this.setLikeDelay=false;},1000);}}markPhotoF(parent,var_f){varstarBtn=parent.find('.starBtn');$(starBtn).removeClass("fa-starfa-star-o");if(var_f&&var_f!=0)$(starBtn).addClass("fa-star");else$(starBtn).addClass("fa-star-o");}showPhotoTs(ts){vartList=$("#lightboxPhoto").find(".tList");tList.html("");if(ts){$.each(ts,function(index,value){varli=$(""+value+"").appendTo(tList);});}}preloadPhotos(){if((this.currentIndex-1)>=0){this.preloadIme($(".openPhoto").eq((this.currentIndex-1)));}if((this.currentIndex+1){this.setPhotoFDelay=false;},1000);}else{starBtn.removeClass('fa-star');starBtn.addClass('fa-star-o');countPhotoF.html(parseInt(countPhotoF.html())-1);this.setPhotoFDelay=true;varsrc="api.35photo.pro/?method=photo.removeF&photoId="+photo_id+"&ver="+ver+"&token35="+token35;$.getJSON(src).done(function(json){console.log('-likeremoved:'+photo_id);});setTimeout(()=>{this.setPhotoFDelay=false;},1000);}}blockUser(el){varuser_id=$(el).closest("#actionDropdownComm").attr("user-id");$("#actionDropdownComm").removeClass("open");varuserConfirmed=confirm("Areyousure?");if(!userConfirmed){return;}varuser_comments=$('.row.commentLine[user-id="'+user_id+'"]');$(user_comments).addClass("animate__animatedanimate__fadeOutLeft");setTimeout(function(){$(user_comments).remove();},500);varsrc="api.35photo.pro/?method=user.blockUser&user_id_block="+user_id+"&ver="+ver+"&token35="+token35;$.getJSON(src).done(function(json){//showAlert(self.res.alertMesse);//if(json.data&&json.data.err){//alert('Err:'+data.data.err);//}}).fail(function(jqxhr,textStatus,error){console.log("RequestFailed:"+err);})}getatar(user_id){return"c1.35photo.pro/profile/photos/"+user_id+"_48.jpg";}delComm(del_el){varcomm_id=$(del_el).closest("#actionDropdownComm").attr("comm-id");$("#actionDropdownComm").removeClass("open");varuserConfirmed=confirm("Areyousure?");if(!userConfirmed){return;}varsrc="api.35photo.pro/?method=photo.delComment&commId="+comm_id+"&ver="+ver+"&token35="+token35;$.getJSON(src).done(function(json){//console.log("JSONDatadelComm:");//console.log(json);});$("#comm"+comm_id).addClass("animate__animatedanimate__fadeOutLeft");setTimeout(function(){$("#comm"+comm_id).remove();},500);}replyComm(reply_el){varcomm_id=$("#actionDropdownComm").attr("comm-id");varcommElement=$("#comm"+comm_id);varfirst_el=$(commElement).closest(".answers").closest(".commentLine");if(first_el.length>0){commElement=first_el;//console.log(comm_id+"--"+$(commElement).attr("comm-id"))comm_id=$(commElement).attr("comm-id")}varanswersDiv=commElement.find(".answers");if(answersDiv.length===0){answersDiv=$("");commElement.find(".commentZone:first").append(answersDiv);}varnewAnswerForm=answersDiv.find(".answerForm:first")if(answersDiv.find(".answerForm").length===0){varnewAnswerForm=this.createAnswerForm(myData);answersDiv.append(newAnswerForm);}newAnswerForm.attr("reply-id",comm_id)$(".answers.answerForm").hide();$(newAnswerForm).show();$("#actionDropdownComm").removeClass("open");}actionDropdownComm(element){var$element=$(element);varcommentLine=$element.closest(".commentLine");varposition=$(commentLine).position();varleft=$element.position().left+$(".atarZone").outerWidth()-$("#actionDropdownComm.dropdown-menu").outerWidth()+20if(left0){comment_html+="";$.each(answers,function(key,answer){comment_html+=self.showCommentsPe_item(answer.comm_id,answer.user_id,answer.user_login,answer.user_name,answer.text,answer.timeAdd,can_del);});comment_html+="";}comment_html+=""+"";returncomment_html;}createAnswerForm(myData){constself=this;varanswerForm=$("#commentsPe.answerForm").first().clone();answerForm.find(".atarZoneimg").attr("src",self.getatar(myData.user_id));answerForm.find(".comment_to_send").attr("placeholder",this.res.lee_comment);answerForm.find(".btn-success").val(this.res.send_btn);answerForm.show();answerForm.css("display","flex");answerForm.find(".btn-success").on("click",function(){self.sendComment(this);returnfalse;});returnanswerForm;}activateCommActions(){if(this.option["allow_comment"]){$(".commentLine.actions:not(.activated)").on("click",function(e){e.stopPropation();$(this).addClass("activated");self.actionDropdownComm(this);}).addClass("activated");}}showCommentsPe(photo_id){$("#commentsPeList").attr("photo-id",photo_id);varsrc="api.35photo.pro/?method=photo.getComments&ver="+ver+"&photoId="+photo_id+"&token35="+token35;constself=this;$.getJSON(src).done(function(json){//console.log("JSONDatashowCommentsPe:"+json["response"]+",method:"+json["data"]["actions"]);$("#actionsPe").html("");varjson_data=json["data"]["comm"];varuser_photo=json["data"]["photo"];vardom_actions="";$.each(json_data,function(key,value){varuser_id=value.user_id;varcan_del=user_photo.user_id==myData.user_id||user_id==myData.user_id||moderEdit==true?1:0;dom_actions+=self.showCommentsPe_item(value.comm_id,user_id,value.user_login,value.user_name,value.text,value.timeAdd,can_del,value.answers);});$("#commentsPeList").html(dom_actions);if(self.option["allow_comment"]){varnewAnswerForm=self.createAnswerForm(myData);$("#commentsPeList").append(newAnswerForm);}self.activateCommActions();$.each($("#commentsZone").find(".commentLine"),function(key,value){$(value).bind("touchstart",function(){touchComments.startTime=newDate().getTime();touchComments.touchmove=false;varcomm_id=$(this).attr("comm-id");console.log("touchstartcomm_id:"+comm_id);touchComments.timer=setTimeout("touchendComm("+comm_id+","+photo_id+")",750);});$(value).bind("touchmove",function(){touchComments.touchmove=true;});$(value).bind("touchend",function(){if(touchComments.timer)clearTimeout(touchComments.timer);varcomm_id=$(this).attr("comm-id");touchendComm(comm_id,photo_id);});});}).fail(function(jqxhr,textStatus,error){//showSmallLoading(false);varerr=textStatus+","+error;console.log("RequestFailedshowCommentsPe():"+err);//showAlertMesse("Connectionerror,checkinternetailability.#SCP24");});}sendComment(form_btn){varform=$(form_btn).closest(".answerForm");vartext_comment=$(form).find(".comment_to_send").val();varphoto_id=$("#commentsPeList").attr("photo-id");varself=this;varcommentTo="photo_"+photo_id;varreply_id=$(form).attr("reply-id");$(".comment_to_send").prop("readonly",true);$(".answerForm.btn-success").prop("disabled",true);$.ajax({type:"POST",url:"api.35photo.pro/?method=photo.sendComment&ver="+ver+"&browser=true&token35="+token35,data:{commentTo:commentTo,comm_text:text_comment,reply:reply_id},success:function(response){$(".comment_to_send").prop("readonly",false);$(".answerForm.btn-success").prop("disabled",false);vardata=JSON.parse(response);if(data.data.err){if(data.data.err=="quitAccount"){//quitAccount(true);}else{alert("Err:"+data.data.err);}}else{varnew_comment=self.showCommentsPe_item(data["data"].comm_id,myData.user_id,myData.user_login,myData.user_name,data["data"].text,"now",1);if(data["data"].reply_id>0){$(form).remove();$("#comm"+data["data"].reply_id).find(".answers").append(new_comment).find(".answers").hide().fadeIn(1000);}else{varfirstAnswerForm=$("#commentsPeList").children(".answerForm").first();$(firstAnswerForm).find(".comment_to_send").val("");if(firstAnswerForm.length){firstAnswerForm.before(new_comment).hide().fadeIn(1000);}else{$("#commentsPeList").prepend(new_comment).hide().fadeIn(1000);}}self.activateCommActions();}},error:function(errMsg){//show35PHOTO - soziales Netzwerk für professionelle FotografenAlertMesse("Connectionerror,checkinternetailability.#SC12");}});}}varver=2;varmyData={user_id:0,user_name:"",user_login:""};vartoken35="";varallow_follow=false;varallow_vote=false;varallow_comment=false;varmoderEdit=false;varres={"unfollow_btn":"Unfollow","follow_btn":"Follow","alertMesse":"Photoaddedtoforites!","lee_comment":"Leeacommenthere","send_btn":"Send",}photo_actions=newphoto_actions_24(res,token35,{allow_follow:allow_follow,allow_vote:allow_vote,allow_comment:allow_comment});actionDropdownComm=photo_actions.actionDropdownCommvarmarker_location;varloaderTimeout;varloaderBlock;varintervalLoader;varpreviewIme;vardefault_location=window.location.href;functionaddPhotoIdToUrl(photoId){if(history.pushState){varnewUrl=window.location.protocol+"//"+window.location.host+"/photo_"+photoId+"/";window.history.pushState({path:newUrl},"",newUrl);}}functionopenPhotoActive(){$(".openPhoto:not(.openPhotoActive)").each(function(index){$(this).addClass("openPhotoActive");varphoto_id=$(this).attr("photo-id");$(this).on("click",function(){if(event.metaKey||event.ctrlKey){returntrue;}$(".img-container").removeClass("series");addPhotoIdToUrl(photo_id);$("#liveinternetBlock").html(liveinternet());//currentIndex=index;photo_actions.currentIndex=index;photo_actions.showCommentsPe(photo_id);varsrc=$(this).attr("href-large");if($("#lightboxPhoto").hasClass("mobile")){src=$(this).attr("href-mobile");}varsrc_prev=$(this).find(".photo-item").attr("data-src");varaske=false;if($("body").hasClass("aske")&&$(this).find(".photo-item").hasClass("nude")){aske=true;src=getNudeUrl(230);src_prev=getNudeUrl(230);}$(".img-container").html("");if($("#lightboxPhoto").hasClass("mobile")){setTimeout(function(){$("#lightboxPhoto.mobile.swipe-indicator").hide();},3000);}loaderBlock=$(".loader");varimg_fluid=$("#lightboxPhoto").find(".img-fluid");loaderBlock.show();$(".loader.progress").css("width","0%");if(!$(this).hasClass("series")){photo_actions.loadImeWithTransition(img_fluid,src_prev,src);}if(intervalLoader){clearInterval(intervalLoader);}varspeedLoad=250;if($(this).hasClass("series"))speedLoad=600varwidth=0;intervalLoader=setInterval(function(){width+=10;$(".loader.progress").css("width",width+"%");if(width>=90)clearInterval(intervalLoader);},speedLoad);loaderTimeout=setTimeout(function(){$("#lightboxPhotoLoading").fadeIn(50);},500);$("#mapid").fadeOut();$("#contestList").html("");$("#badgeList").html("");$("#f_zone").html("");$("#author-info-total").css({"opacity":".15","pointer-events":"none"});$("#btn_edit_photo").hide();$.ajax({type:"GET",url:"api.35photo.pro/?method=photo.getData&photoId="+photo_id+"&token35="+token35,error:function(){clearTimeout(loaderTimeout);$("#lightboxPhotoLoading").fadeOut(300);},success:function(response){vardata=JSON.parse(response);data=data.data[photo_id];author_link="35photo.pro/"+data.user_login;author_src="35photo.pro/profile/photos/"+data.user_id+"_48.jpg"varparentPhoto=$("#lightboxPhoto").find(".parentPhoto");$(parentPhoto).attr("photo-id",data.photo_id)$("#photo_id_show").html(data.timeAdd+",©"+data.user_name+",#"+data.photo_id+"");if(data.src1500&&src!=data.src1500){$(img_fluid).attr("src",data.src1500);}if(data.series){$(".img-container").html("");$(".img-container").addClass("series");$.each(data.series,function(index,value){if($("#lightboxPhoto").hasClass("mobile")){value.src=value["src-mobile"];}varserPhoto=$("").addClass("img-fluidimg-fluid-series").attr("photo-ids",value.id).appendTo(".img-container");photo_actions.loadImeWithTransition(serPhoto,value.src_prev,value.src);});}if($("#lightboxPhoto").hasClass("mobile")){photo_actions.activeDblclick();}$("#lightboxPhotoTitle").html(data.photo_name);$("#author_total_photos.count").html(data.user_data.photo_count)$("#author_total_photos>a").attr("href",author_link)$("#lightboxPhotoAuthor").html(""+data.user_name+"");$("#followers_count").html(data.followers);$(".authora").attr("src",author_src);$(".authora").attr("title",data.user_name).attr("alt",data.user_name);$(".authoraLink").attr("href",author_link);photo_actions.showPhotoTs(data.ts);if(data.user_data.edit_btn){$("#btn_edit_photo").show();$("#btn_edit_photo.edit_photo").fadeIn();$("#btn_edit_photo.set_map_marker").fadeIn();if(data.user_data.del_btn){$("#btn_edit_photo.del_photo").fadeIn();}else{$("#btn_edit_photo.del_photo").fadeOut();}}$("#lightboxPhotoDesc").html(data.photo_desc);$("#contestList").html(data.otherData)$(parentPhoto).find(".countLikes").html(data.photo_rating);$(parentPhoto).find(".countPhotoF").html(data.photo_f);$(parentPhoto).find(".countPhotoSee").html(data.photo_see);if(allow_follow==true&&data.user_id!=0&&myData.user_id!=data.user_id){$("#f_zone").html(photo_actions.showFollowBtnDom(data.user_id,data.userInF));}varabuseBtn=$("#lightboxPhoto").find(".abuseBtn");if(allow_vote==true){$("#lightboxPhoto").find(".addToF").attr("photo-id",data.photo_id);$(abuseBtn).attr("photo-id",data.photo_id);$(abuseBtn).attr("photo-img",src);photo_actions.markLike(parentPhoto,data.var_vote);photo_actions.markPhotoF(parentPhoto,data.is_photo_f);}varcontestList="";vari=0;if(data.coor){if(marker_location){mymap.removeLayer(marker_location);marker_location=null;}$("#mapid").fadeIn(0);marker_location=L.marker([data.coor.lat,data.coor.lng]).addTo(mymap);mymap.setView([data.coor.lat,data.coor.lng],data.coor.z);$("#mapid").off("click");$("#mapid").on("click",function(){varhref=`35awards.com/map/#lt=${data.coor.lat}&ln=${data.coor.lng}&z=11`;window.open(href,"_blank");});}$("#author-info-total").animate({opacity:1},300).css({"pointer-events":"auto"});clearTimeout(loaderTimeout);$("#lightboxPhotoLoading").fadeOut(300);}})$("#lightboxPhoto").fadeIn(300);$("body").css("overflow","hidden");returnfalse;});});}functionopenUserPeLogin(commentLine){varuser_login=$(commentLine).closest(".commentLine").attr("user_login");window.location.href="35photo.pro/"+user_login;}varmymap;varnextIndex;varcurrentIndex=-1;$(document).ready(function(){mymap=L.map("mapid").setView([51.505,-0.09],2);L.tileLayer('{s}.tile.opentopomap.org/{z}/{x}/{y}.png',{attribution:'©OpenTopoMapcontributors,Thesepesarecurrentasof01.01.2022'}).addTo(mymap);openPhotoActive();if($(window).width()100&&Math.abs(distance_y)($(".openPhoto").length-8)){loadNextPeData();}if(nextIndex=0){$(".openPhoto").eq(nextIndex).click();}}actionLocked=true;setTimeout(function(){actionLocked=false;},500);}});});