Tekniskt fel pågår.På grund av att en server kraschat är det vissa problem att ladda upp bilder.Flera äldre bilder har även försvunnit till följd av detta, vilket vi beklagar.Vi arbetar för att få igång det så snart som möjligt.
Annons
amdenle
September 2018
M
T
W
T
F
S
S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
October 2018
M
T
W
T
F
S
S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
August
2017
' + downloadButton + '
';}}});*/$("#showFullsizeLink").click(function(){showFullscreen(currentFullsizeImage,blogRef,galleryid,galleryIndex,usingIframe);return false;});$("#showFullsizeSelectorOnHover").css("visibility", "hidden");bdb.misc.userInfoPopup("a.userLink");$("a.userLink").live('click', function(e){var friend = $(this).attr("name");bdb.ajax.loadContent("/"+friend+"/");return false;});$avatarElements = $("#showContentSneakPeakList .fbProfileLink");bdb.misc.userInfoPopup($avatarElements);$avatarElements.live('click', function(){document.location.href = $(this).attr("profile");return false;});/*$(".openContestInfo").click( function(){var theid = $(this).attr("name");theid = theid.substr(2);bdb.ajax.loadContent("/p/contest/" + theid + "/?imageid=" + curr_id + "&imagesrc=" + $("#picture").attr("src") + "&from=show");$(window).scrollTop(0);return false;});*/$("#showContentComment").initPostComment({diaryname: "amdenle", mustCaptcha: false});//bdb.addthis_config["data_ga_tracker"] = "pageTracker";var textArray = new Array();textArray["Översätt"] = "Translate";textArray["Översätter..."] = "Translating...";textArray["Denna text är översatt, hämta originaltexten"] = "This text is translated, fetch the original text";bdb.translate.init(textArray,"",526288254,"amdenle"); //id is the imageid.bdb.misc.fixSpotifyLinks();if(bdb.showFbLogin){$('.fb-login2').show();}$(".bdbLogin").click(function(){$("#userLogin").focus().css("background-color", "#82D581");});$(".showHdImageOverlay").mouseenter(function() {if(showHdImageOverlay) { mouseOnOverlay = true;if($("#imageLoadingGif").css("display") == "none" && loadedPicture) {$("#hdImageOverlay").show();}}}).mouseleave(function() {mouseOnOverlay = false;$("#hdImageOverlay").hide();});$("#hdImageOverlay").click(function() {showFullscreen(currentFullsizeImage,"",0,0);return false;});bdb.ajax.registerUnloadCallback( "content", unloadShowContent );bdb.ajax.registerUnloadCallback( "content", unloadshowContentComments );function unloadshowContentComments() {$("#showContentComment").unbindComments();}function unloadShowContent() {bdb.calendar.showCalendar();$("#left_albumview").hide();window.onresize="";$(".showHdImageOverlay").unbind("mouseenter");$(".showHdImageOverlay").unbind("mouseleave");$("#hdImageOverlay").unbind("click");$("#showContentLikes a").unbind("click");$(".datepicker").datepicker("destroy");$("#showContentComment").unbindComments();$(".showContentLinks").unbind();$("#showAllCommments").unbind('click');$("#showFullsizeHolder").unbind('click');$("#showFullsizeLink").unbind('click');$(".commentNameInput").unbind("focus");$(".commentNameInput").unbind("blur");$("#showContentHeaderRight .prevDayHref").unbind('click');$("#showContentHeaderRight .nextDayHref").unbind('click');$("#addCommentSubmitCaptcha").unbind('click');$("#addCommentSubmit").unbind('click');$("#showContentImage").unbind('click');$("a.userLink").deleteTooltip();$("a.userLink").die('click');$("#showContentComments .expandCommentText").unbind('click');$(document).unbind('keyup');$(document).unbind('keydown');$avatarElements.die("click").deleteTooltip();$(".bdbLogin").unbind();}}function removeReasonPopAndDeleteImage() {bdb.misc.hidePopup();deleteImage();}function fixLongComments(divs) {if(typeof divs == "undefined") {if($(".commentContent").length > 0 && $(".commentContent").eq(-1).height() == 0) { //there are comments and the last of them got height=0, wait!setTimeout('fixLongComments('+divs+')',200);return false;}divs = $("#showContentComments");}$(".expandCommentText",divs).unbind('click');$(".commentTextShort",divs).each(function(){var id = $(this).attr("id");id = id.replace("commentText_", "");if($("#commentTextTranslate_"+id).height() > $(this).height()+5) {$("#commentTextExpander_"+id).show();}});$(".expandCommentText",divs).click(function(){ var id = $(this).attr("id");id = id.replace("expandCommentText_", "");if($("#commentText_"+id).attr("class") == "commentTextShort") {$("#commentText_"+id).removeClass("commentTextShort");$("#commentText_"+id).addClass("commentTextLong");$("#commentTextExpander_"+id).css("display", "none");}return false;});if(typeof(fetchExtloginInfo) !== "undefined") {fetchExtloginInfo();}}function fblogin(){bdb.extlogin.extlogin_facebook(fbconfirmlogin,Array());/* FB.login(function(response) {if (response.session) {$.getJSON("/p/ajax.html?action=extlogin&type=fb&access_token="+response.session.access_token,fbconfirmlogin) } });*/}function fblogin_login(){bdb.extlogin.extlogin_facebook(fbconfirmlogin_login,Array());/* FB.login(function(response) {if (response.session) {$.getJSON("/p/ajax.html?action=extlogin&type=fb&access_token="+response.session.access_token,fbconfirmlogin_login) } });*/}function dofblogin() {FB.getLoginStatus(function(response) { if (response.session) {$.getJSON("/p/ajax.html?action=extlogin&type=fb&access_token="+response.session.access_token,fbconfirmlogin) } else { }});}function fbconfirmlogin(data) {if(data && data.success) {if(data.diaryname) { // its a real userbdb.misc.reloadAfterLogin(data.diaryname,'dayviews.com');} else {bdb.isFacebookLoggedin = true;$('.commentNameInput').attr("value","extlogin");$('.commentNameInput').hide();$('.nameinfo').html(data.result.name);$('.nameinfo').attr("class",data.result.css_class);$('.fb-login2').hide();bdb.showFbLogin=false;$('.noextname').hide();$('.extlogin_text').hide();$('.login_icons').hide();$('#showContentCommentAvatar').attr("src",data.result.avatar);bdb.ajax.loadUrl($("#top"),"/p/top.html");bdb.ajax.loadUrl($("#left"),"/p/left.html?year="+thisYear+"&month="+thisMonth+"&selectedDay="+thisDate+"&diaryname=amdenle");}} else {bdb.misc.feedback("An error ocurred, try again!","error");}}function fbconfirmlogin_login(data) {if(data && data.success && data.diaryname) {bdb.misc.reloadAfterLogin(data.diaryname,'dayviews.com');} else if(data && data.success) {bdb.ajax.reloadCurrentContent();bdb.ajax.loadUrl($("#top"),"/p/top.html");} else {bdb.misc.feedback("An error ocurred, try again!","error");}}function twitterSignInCompleted(userid) {if(userid) {$.getJSON('/p/ajax.html?action=fetchExtloginInfo&verifyLogin=true&fetchArr=[["li","'+userid+'"]]', function(data) {if(data.success) {$('.commentNameInput').attr("value","extlogin");$('.commentNameInput').hide();$('.nameinfo').html(data.result[0].name);$('.nameinfo').attr("class",data.result[0].css_class);$('.login_icons').hide();$('.extlogin_text').hide();bdb.showFbLogin=false;$('.noextname').hide();$('.avatarinfo').attr("src",data.result[0].avatar);bdb.ajax.loadUrl($("#top"),"/p/top.html");}});} else {alert("Inget userid");}}function addToFrontpagePool(id,userid,remove) {remove = (remove ? 1 : 0);bdb.misc.showBdbPopup("/p/addFrontpagePool/?userid="+userid+"&imageid="+id+"&remove="+remove,880,520,"Förhandsvisning");return false;}function _show_content_events() {var userIsPosting = false;function verifyComment(text) {if(text.length) {text = text.replace(/^\s+/g,'').replace(/\s+$/g,'');if(text.length <= 0) {return false;} else {return true;}} else {return false;}}function showAnswerCommentBox(id, imgid, options) {options = jQuery.extend({formAction: "replyImageComment",formId: "replyImageCommentForm_"+id,holderId: "commentReplies_"+id,commentId: id,type: "reply"}, options);var replyDiv = $("#replyInputHolder_"+id);var commentDiv = $("#comment_"+id);var commentFooter = $(".commentFooter", commentDiv);var textInput = $(".commentText[tabindex!='-1']", replyDiv);if(replyDiv.length == 0) {replyDiv = $("#commentReplyDummy").clone();replyDiv.attr("id", "replyInputHolder_"+id);$("form", replyDiv).attr("id", options.formId);;$(".commentid", replyDiv).attr("value", id);$(".imgid", replyDiv).attr("value", imgid);$(".diaryname", replyDiv).attr("value", options.diaryname);commentDiv.append(replyDiv);replyDiv.initPostComment(options);if(typeof $(".commentText").autoResize != "undefined"){$(".commentText",replyDiv).autoResize({animate : false,extraSpace : 0});}textInput = $(".commentText[tabindex!='-1']", replyDiv);replyDiv.bind('replydivremove.bdb', function() {commentFooter.show();replyDiv.hide();textInput.blur();textInput.attr("value", "");});var standardNameText = "Name...";$(".commentNameInput",replyDiv).focus(function(){$(this).addClass("focus");if($(this).attr("value")==standardNameText){$(this).attr("value","");}});$(".commentNameInput",replyDiv).blur(function(){if($(this).attr("value")==""){$(this).removeClass("focus");$(this).attr("value",standardNameText);}});if((typeof(FB) != "undefined") && bdb.showFbLogin) {$('.fb-login2').show();}}commentFooter.hide();replyDiv.show();textInput.focus();bdb.misc.initInlineAutocomplete(textInput,329);bdb.misc.initInlineAutocompleteHashtags(textInput,329);return replyDiv;}var showContentMethods = {initPostComment: function(options) {options = jQuery.extend({formAction: "addImageComment",formId: "addImageCommentForm",holderId: "imageComments",textClass: "commentText",submitClass: "submitComment",undoClass: "undoComment",deleteReplyClass: "deleteReplyComment",deleteClass: "deleteComment",type: "comment",mustCaptcha: false,bindEnter: false}, options);return this.each(function() {var comment = $(this);var form = $("#"+options.formId, this);var submit = $("."+options.submitClass, this);var text = $("."+options.textClass+"[tabindex!='-1']", this);var holder = $("#"+options.holderId);var submitSuccess = function(data) { $(submit).removeClass("loading"); userIsPosting = false; if(data.success == 1) { var div = $(data.div); // Fade out existing undo-buttons $("."+options.undoClass).fadeOut(); $("."+options.deleteReplyClass).show(); $("."+options.deleteClass).show();// Remove possible unseen stylesvar unseenComments = $("#commentDiv_"+options.commentId+".unseenComment");var seenCount = 0;if(unseenComments.size()){unseenComments.each( function() {$(this).removeClass("unseenComment");seenCount++;});}var unseenReplies = $("#"+options.holderId+" .unseenComment");var subSeenCount = 0;unseenReplies.each( function() {$(this).removeClass("unseenComment");subSeenCount++;}); if(options.type == "reply") { comment.trigger('replydivremove.bdb'); holder.append(div); div.initReply({mustCaptcha: options.mustCaptcha, diaryname: options.diaryname}); } else if(options.type == "comment") { holder.prepend(div); div.initComment({mustCaptcha: options.mustCaptcha, diaryname: options.diaryname}); } fixLongComments(div); text.attr("value", ""); } else if(data.mustcaptcha == 1) { showCaptcha(); } else { if(data.error=="spam"){ bdb.misc.feedback("Du har skickat samma kommentar för många gånger på kort tid, lugna dig lite nu :)","error"); } text.attr("value", ""); } text.attr("style","");bdb.misc.fixSpotifyLinks();};var submitComment = function() {form.ajaxSubmitJSON({ success: submitSuccess});$("#commentTextarea").blur();};var showCaptcha = function() {$("body").bind('captchaok.bdb', function(event, data) {$("body").unbind('captchaok.bdb');submitSuccess(data);});bdb.misc.showPopup("/p/captcha.html?a="+options.action+"&form="+options.formId+"&height=210&width=320&type=GB",null);};var submitClick = function() {if(userIsPosting) {return false;}$(submit).addClass("loading");userIsPosting = true;if(!verifyComment(text.attr("value"))) {userIsPosting = false;$(submit).removeClass("loading");bdb.misc.feedback("You may not write an empty comment","error")return false;}if(options.mustCaptcha && !bdb.isFacebookLoggedin) {showCaptcha();} else {submitComment();}return false;};submit.bind("click", submitClick);text.keydown(function (e) {if ($.browser.opera){ /* needed to get the value later */ text.css("display","block");}if (e.ctrlKey && e.keyCode == 13) { submitClick(); return false;}});});},initComment: function(options) {options = jQuery.extend({commentIdPrefix: "comment_",replyClass: "replyComment",deleteClass: "deleteComment",addPMClass: "addPM",hoverClass: "baseCommentDiv",imageIdClass: "commentImgId",diarynameClass: "commentDiaryName",recipientUsernameClass: "recipientUsername",recipientDisplaynameClass: "recipientDisplayname",commentAreaId: "commentTextarea",undoClass: "undoComment",optionsDivIdPrefix: "showHideComment_",mustCaptcha: false,diaryname: ""}, options);return this.each(function() {var replyButton = $("."+options.replyClass, this);var deleteButton = $("."+options.deleteClass, this);var addPMButton = $("."+options.addPMClass, this);var undoButton = $("."+options.undoClass, this);var hoverDiv = $("."+options.hoverClass, this);var imgidDiv = $("."+options.imageIdClass, this);var diarynameDiv = $("."+options.diarynameClass, this);var recipientUsernameDiv = $("."+options.recipientUsernameClass, this);var recipientDisplaynameDiv = $("."+options.recipientDisplaynameClass, this);if(typeof $("#"+options.commentAreaId).autoResize != "undefined"){$("#"+options.commentAreaId).autoResize({animate : false,extraSpace : 0});}deleteButton.click(function(){var id = $(this).attr("id").replace(options.deleteClass + "_", "");var imgid = $("#targetid").attr("value");$.getJSON("/p/ajax.tpl", { action: "deleteImageComment",diaryname: options.diaryname,commentid: id,imgid: imgid}, function(data) {$("#"+options.commentIdPrefix+id).unbind();$("#"+options.commentIdPrefix+id).remove();});return false;});undoButton.click(function() { var id = $(this).attr("id").replace(options.undoClass + "_", "");$.getJSON("/p/ajax.tpl", { action: "undoImageComment",diaryname: options.diaryname,commentid: id}, function(data) {if(data.success == 0) {bdb.misc.feedback(data.error,"error");return false;}$("#"+options.commentIdPrefix+id).unbind();$("#"+options.commentIdPrefix+id).remove();$("#"+options.commentAreaId).attr("value", data.text);$("#"+options.commentAreaId).focus();});return false;});replyButton.click(function(){var imgid = imgidDiv.attr("value");var diaryname = diarynameDiv.attr("value");var id = $(this).attr("id").replace(options.replyClass + "_", "");showAnswerCommentBox(id, imgid, {mustCaptcha: options.mustCaptcha, diaryname: diaryname});return false;});addPMButton.click(function(){var diaryname = diarynameDiv.attr("value");var imgid = imgidDiv.attr("value");var commentid = $(this).attr("commentId");//var recipientUsername = recipientUsernameDiv.attr("value");var recipientUsername = $(this).attr("diaryname");//var recipientDisplayname = recipientDisplaynameDiv.attr("value");var recipientDisplayname = $(this).attr("displayname");var title = "Send message to "+recipientDisplayname;bdb.misc.showPopup('/p/answerpop.html?diaryname='+diaryname+'&imgid='+imgid+'&commentid='+commentid+'&recipientUsername='+recipientUsername+'&title='+escape(title)+'&height=230&width=400&bdbstyle=true&boxtype=inline');return false;});hoverDiv.hover(function() {var id = $(this).attr("id");id = id.substr(id.indexOf("_")+1);$("#" + options.optionsDivIdPrefix + id).show();},function() {var id = $(this).attr("id");id = id.substr(id.indexOf("_")+1);$("#" + options.optionsDivIdPrefix + id).hide();});});},initReply: function(options) {options = jQuery.extend({hoverClass: "commentDiscussionReply",optionsDivIdPrefix: "showHideComment_",deleteClass: "deleteReplyComment",undoClass: "undoComment",commentIdPrefix: "commentReplyId_",mustCaptcha: false,diaryname: ""}, options);return this.each(function() {var deleteButton = $("."+options.deleteClass, this);var undoButton = $("."+options.undoClass, this);$(this).hover(function() {var id = $(this).attr("id");id = id.substr(id.indexOf("_")+1);$("#"+options.optionsDivIdPrefix+id).show();},function() {var id = $(this).attr("id");id = id.substr(id.indexOf("_")+1);$("#"+options.optionsDivIdPrefix+id).hide();});deleteButton.click(function(){var id = $(this).attr("id").replace(options.deleteClass + "_", "");var imgid = $("#targetid").attr("value");$.getJSON("/p/ajax.tpl", { action: "deleteImageComment",diaryname: options.diaryname,commentid: id,imgid: imgid}, function(data) {$("#"+options.commentIdPrefix+id).unbind();$("#"+options.commentIdPrefix+id).remove();});return false;});undoButton.click(function() { var res = $(this).attr("id").match(/.*_([0-9]*)_([0-9]*)_([0-9]*)/);var id = res[1];var parentid = res[2];var imgid = res[3];$.getJSON("/p/ajax.tpl", { action: "undoImageComment",diaryname: options.diaryname,commentid: id}, function(data) {if(data.success == 0) {bdb.misc.feedback(data.error,"error");return false;}$("#"+options.commentIdPrefix+id).unbind();$("#"+options.commentIdPrefix+id).remove();var replyDiv = showAnswerCommentBox(parentid, imgid, {mustCaptcha: options.mustCaptcha, diaryname: options.diaryname});var textInput = $(".commentText", replyDiv);textInput.attr("value", data.text);});return false;});});},unbindComments: function() {$("*", this).unbind();}};jQuery.each(showContentMethods, function(i) {jQuery.fn[i] = this;});}_show_content_events();
Next day
Previous photo
Tuesday 24 July 2018 photo 5/5
0
0
0
0
0Visa hela listan
Annons
Comment the photo
Directlink:
http://dayviews.com/amdenle/526288254/
Annons
Annons