Wednesday 5 August 2009 photo 1/2
|
1 timme och 30 minuter till nya patchen :) t9 here i come x D
Annons
Comment the photo
Anonymous
Wed 5 Aug 2009 12:33
haha vi kör likadant med tvn, xd =)
Anonymous
Wed 5 Aug 2009 09:28
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
bilddagboken
<!-- Workaround comment for Norton Firewall -->
var frontpage = false;
if("frontpage_content.tpl".indexOf("frontpage") > -1) {
bdb.ajax.onFrontPage = 1;
} else {
bdb.ajax.onFrontPage = 0;
}
/inloggad/frontpage.html
// Save timezone in a cookie
var ltz_offset = 7200;
var rightNow = new Date();
var jan1 = new Date(rightNow.getFullYear(), 0, 1, 0, 0, 0, 0);
var temp = jan1.toGMTString();
var jan2 = new Date(temp.substring(0, temp.lastIndexOf(" ")-1));
var std_time_offset = (jan1 - jan2) / (1000 * 60 * 60);
var june1 = new Date(rightNow.getFullYear(), 6, 1, 0, 0, 0, 0);
var temp = june1.toGMTString();
var june2 = new Date(temp.substring(0, temp.lastIndexOf(" ")-1));
var daylight_time_offset = (june1 - june2) / (1000 * 60 * 60);
var dst;
if (std_time_offset == daylight_time_offset) {
dst = "0"; // daylight savings time is NOT observed
} else {
dst = "1"; // daylight savings time is observed
}
if(daylight_time_offset*3600 != ltz_offset){
bdb.setCookie("dst", dst, null, "/", 'bilddagboken.se');
bdb.setCookie("tz_offset", daylight_time_offset*3600, null, "/", 'bilddagboken.se');
} else {
if(bdb.getCookie("tz_offset")){
bdb.deleteCookie("dst", "/", 'bilddagboken.se');
bdb.deleteCookie("tz_offset", "/", 'bilddagboken.se');
}
}
bdb.loggedInUser="deljudez";
var userStatusTimerId = null;
function updateUserStatus() {
bdb.ajax.loadUrl($("#userStatus"),"userStatusbar.html?top=1&no_bind_events=");
setTimer();
}
function setTimer() {
userStatusTimerId = setTimeout("updateUserStatus()",120000);
}
setTimer();
function topLoginUser()
{
//$("#loginForm").submit();
//return false;
$("#userLogin").css("background-color", "#fff");
$("#passwordLogin").css("background-color", "#fff");
if($("#userLogin").val() == "") {
$("#userLogin").css("background-color", "#e17c7c");
return false;
}
if($("#passwordLogin").val() == "") {
$("#passwordLogin").css("background-color", "#e17c7c");
return false;
}
$("#ajaxlogin").val(1);
$("#loginBtn").hide();
$("#loginLoad").show();
var options = {
dataType: 'json',
success: function(response, status) {
if(1 == response) {
$.get("/p/ajax.html?action=isUserNewRegistration",function(data) {
if(data == 0) {
bdb.ajax.loadWideContent("/p/frontpage_content.html");
bdb.ajax.loadUrl($("#top"),"/p/top.html?crossdomain=1");
bdb.ajax.loadUrl($("#adminDiv"),"/p/adminLinks.html");
} else {
bdb.currentUser = $("#userLogin").val();
bdb.ajax.loadUrl($("#top"),"/p/top.html?crossdomain=1");
if ( data == "/p/frontpage_content.html" ) {
bdb.ajax.loadWideContent("/p/frontpage_content.html");
} else {
bdb.ajax.loadContent(data);
}
}
});
bdb.ajax.loadUrl($("#rightFocus"),"right_showFocus.html?action=getFocuses&type=1");
//bdb.ajax.reloadCurrentContent();
} else if(0 == response) {
alert("Felaktigt användarnamn eller lösenord");
$("#userLogin").css("background-color", "#e17c7c");
$("#passwordLogin").css("background-color", "#e17c7c");
$("#loginBtn").show();
$("#loginLoad").hide();
} else if(-1 == response) {
alert("Du har angivit fel lösenord för många gånger. Försök igen om 30 min.");
$("#loginbox").hide();
$("#loginExpander").hide();
}
}
};
$("#loginForm").ajaxSubmit(options);
}
function logoutUser() {
$("#calendarLoading").show();
$.get("/p/ajax.html?action=logout&ajaxlogout=1",function(data) {
if(data == 1) {
bdb.ajax.loadUrl($("#top"),"/p/top.html?top=1");
bdb.ajax.loadWideContent("/p/frontpage_content.html",function() {
$("#loginbox").show("slow");
});
bdb.ajax.loadUrl($("#adminDiv"),"/p/adminLinks.html");
} else {
document.location.href = "http://dayviews.com//p/frontpage.html";
}
bdb.ajax.loadUrl($("#rightFocus"),"right_showFocus.html?action=getFocuses&type=1");
$("#calendarLoading").hide();
});
}
function submitByKey(e){
var key=e.keyCode || e.which;
if(key == 13){
topLoginUser();
return false;
}
}
function urlByKey(e,url){
var key=e.keyCode || e.which;
if(key == 13){
performSearch();
}
}
function performSearch() {
var searchValue = $('#searchField').attr('value');
if(searchValue == "Hitta användare" || searchValue == undefined) {
searchValue = "";
}
$("#left").attr("style", "display:none");
$("#content").attr("style", "display:none");
$("#content_wide").attr("style", "display:none");
bdb.ajax.loadUrl($("#content_wide"), "/p/search_content.html?action=searchPersons&topid=6&topsearch=1&username=" + searchValue, {success: function() {
if($("#redirectSearch").length > 0)
{
bdb.calendar.currentUser = "";
$("#left").attr("innerHTML", "");
$("#left").attr("style", "");
$("#left").show();
$("#content").attr("innerHTML", "");
$("#content").attr("style", "");
$("#content").show();
//bdb.history.popStack();
bdb.ajax.loadUrl($("#left"),"left.html?crossdomain=1&friendname=" + $("#redirectSearch").attr("innerHTML") + "&left=1");
bdb.ajax.loadUrl($("#content"),"main_content.html?crossdomain=1&friendname=" + $("#redirectSearch").attr("innerHTML"));
} else {
$("#content_wide").attr("style", "");
$("#content_wide").show();
}
}});
return false;
}
var languageUsername = "Användarnamn";
function bindTopEvents() {
if($(window).width() <= 1024) {
$("#search").css("padding-right","70px");
}
$("#shortcutLink").hover(function() {
var p = $(this).position();
$("#top_dropDownMenu").css({left: p.left, top: p.top+$(this).height()-18 }).show();
$("#top_dropDownMenu").css("display","");
},function() {
$("#top_dropDownMenu").css("display","none");
});
$("#shortcutLink").click(function() {
if($("#top_dropDownMenu").css("display") == "none") {
var p = $(this).position();
$("#top_dropDownMenu").css({left: p.left, top: p.top+$(this).height()-18 }).show();
$("#top_dropDownMenu").css("display","");
}
});
$(".noJScriptLogin").css("display","none");
$(".noJScriptLogin").attr("innerHTML","");
$(".JScriptLogin").show();
$("#topLoginNoJScript").attr("value",0);
$("#loginExpander").click( function() {
$("#loginbox").show();
$("#loginExpander").hide();
});
$("#loginBtn").click( function() {
topLoginUser();
return false;
});
$("#searchBtn").click( performSearch);
$("#gotoforum").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/forum_showforums_content.html?topid=7");
return false;
}
});
$("#randomImage").click( function() {
if(bdb.pageIsLocked == 0) {
$.getJSON("/p/ajax.html?action=gotoRandomImage&topid=8&ajaxlink=1&ajax_bypass_ie_cache=1249457261", function(data){
if(data) {
var name = data.substr(data.indexOf("friendname=")+11);
bdb.ajax.loadContent(data,name);
}
});
return false;
}
});
$("#gotoShowToday").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadWideContent("/p/showToday_content.html");
return false;
}
});
$("#gotoPreContest").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/preContest_content.html");
return false;
}
});
$("#gotoAlbum").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/albums_content.html");
return false;
}
});
$("#photoSchoolLink").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/photoschool_content.html");
return false;
}
});
$("#gotoBDBHDCampaign").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/bdbhdCampaign_content.html");
return false;
}
});
$("#logo").click( function() {
if(bdb.pageIsLocked == 0 && !bdb.ajax.loadingContent) {
if ( bdb.ajax.lastHref.indexOf('frontpage') > -1 && $("#latestLogins").length > 0) {
unloadFrontpageBlackbox();
unloadFrontpageLastlogins();
$("#content_right").fadeOut('fast', function() {
$("#holder_right").load("/p/frontpage_blackbox.html?topid=13", function() {
$("#latestLogins").load('/p/frontpage_latestLogins.html');
$("#content_right").fadeIn('fast');
});
});
return false;
} else {
bdb.ajax.loadWideContent("/p/frontpage_content.html?topid=13");
return false;
}
} else {
document.location.href='http://dayviews.com//';
}
});
$("#topLostPass").click(function() {
bdb.ajax.loadWideContent("/p/lostpassword_content.html?topid=4");
return false;
});
$("#searchField,#userLogin,#passwordLogin").focus(function() {
if(($(this).attr("id") == "userLogin" && $(this).attr("value") == languageUsername) ||
($(this).attr("id") == "passwordLogin" && $(this).attr("value") == "******") ||
($(this).attr("id") == "searchField")) {
$(this).attr("value","");
}
});
bdb.ajax.registerUnloadCallback( "top", unloadTop );
function unloadTop() {
$("#searchField,#userLogin,#passwordLogin").unbind('focus');
$("#logo").unbind('click');
$("#top_home").unbind('click');
$("#openDropDown").unbind('hover');
$("#photoSchoolLink").unbind('click');
$("#gotoAlbum").unbind('click');
$("#gotoPreContest").unbind('click');
$("#gotoShowToday").unbind('click');
$("#randomImage").unbind('click');
$("#gotoforum").unbind('click');
$("#gotoBDBHDCampaign").unbind('click');
$("#searchBtn").unbind('click');
$("#loginBtn").unbind('click');
$("#loginExpander").unbind('click');
$("#loginBtn").unbind('click');
$("#topLostPass").unbind('click');
$("#shortcutLink").unbind('hover');
$("#shortcutLink").unbind('click');
}
//userStatusTimerId = setTimeout("bdb.misc.updateCacheStatus()",2000);
}
function bdbHdCampaign() {
//window.location.href='http://dayviews.com//p/bdbhdCampaign.html?topid=15&ref=1';
bdb.ajax.loadWideContent("/p/bdbhdCampaign_content.html?topid=15&ref=1");
}
bdb.currentUser = "deljudez";
var logoLink = "Framsidan";
var gbLink = "0 nya gästboksinlägg";
var pmLink = "0 nya privata meddelanden";
var commentsLink = "0 nya kommenterade bilder";
var forumLink = " uppdaterade forumtrådar";
var newsLink = "0 olästa nyheter";
var updateTooltip = "Uppdatera";
var uploadTooltip = "Ladda upp bilder";
var imageServer = "images2.bilddagboken.se";
var themeDir = "/static/themes/blue/";
function bindUserstatusEvents() {
$("#top_home").tooltip({
bodyHandler: function() {
return logoLink;
},
showURL: false
});
$("#gbLink").tooltip({
bodyHandler: function() {
return gbLink;
},
showURL: false
});
$("#pmLink").tooltip({
bodyHandler: function() {
return pmLink;
},
showURL: false
});
$("#commentsLink").tooltip({
bodyHandler: function() {
return commentsLink;
},
showURL: false
});
$("#newsLink").tooltip({
bodyHandler: function() {
return newsLink;
},
showURL: false
});
$("#reloadImg").tooltip({
bodyHandler: function() {
return updateTooltip;
},
showURL: false
});
$("#uploadImg").tooltip({
bodyHandler: function() {
return uploadTooltip;
},
showURL: false
});
$("#top_home").click( function() {
if(bdb.pageIsLocked == 0 && !bdb.ajax.loadingContent) {
if ( bdb.ajax.lastHref.indexOf('frontpage') > -1 && $("#latestLogins").length > 0) {
unloadFrontpageBlackbox();
unloadFrontpageLastlogins();
$("#content_right").fadeOut('fast', function() {
$("#holder_right").load("/p/frontpage_blackbox.html?topid=13", function() {
$("#latestLogins").load('/p/frontpage_latestLogins.html');
$("#content_right").fadeIn('fast');
});
});
return false;
} else {
bdb.ajax.loadWideContent("/p/frontpage_content.html?topid=13");
return false;
}
} else {
document.location.href='http://dayviews.com//';
}
});
$("#reloadImg").hover( function(){
if(bdb.ajax.onUserPages == 1) {
$(this).attr("src","http://"+imageServer+"/img/reload_white_hover.gif");
} else {
$(this).attr("src","http://"+imageServer+"/img/reload_gray_hover.gif");
}
}, function(){
if(bdb.ajax.onUserPages == 1) {
$(this).attr("src","http://"+imageServer+"/img/reload_white.gif");
} else {
$(this).attr("src","http://"+imageServer+"/img/reload_gray.gif");
}
});
$("#reloadImg").click( function(){
if(bdb.pageIsLocked == 0) {
$(".fadeingOutIconHolder").fadeOut('fast', function() {
bdb.ajax.loadUrl($("#userStatus"),"userStatusbar.html?fadein=1&topid=23");
});
return false;
}
});
$("#pmLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("pm_content.html?crossdomain=1&topid=18");
return false;
}
});
$("#gbLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("guestbook_content.html?crossdomain=1&topid=17");
return false;
}
});
$("#commentsLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("newComments_content.html?crossdomain=1&topid=24");
return false;
}
});
$("#newsLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("news_content.html?crossdomain=1&topid=20");
return false;
}
});
$("#friendLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("friends_content.html?crossdomain=1&topid=25");
return false;
}
});
$("#uploadLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("upload_content.html?crossdomain=1&topid=22");
return false;
}
});
$("#diaryLinkImg,#diaryLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("main_diary_content.html?crossdomain=1&topid=16");
//bdb.ajax.loadUrl($('#left'),"left.html?crossdomain=1");
return false;
}
});
if(bdb.ajax.onFriendsPage == 1) {
$("#iconHolder").css('background', 'url("http://dayviews.com/img/statusbar_gradient.gif") repeat-x scroll bottom');
$("#avatarButton").css('background', 'url("http://dayviews.com/img/statusbar_gradient.gif") repeat-x scroll bottom');
$("#friendsBar").css('background','#FFF');
}
else if(bdb.ajax.onUploadPage == 1) {
$("#iconHolder").css('background', 'url("http://dayviews.com/img/statusbar_gradient.gif") repeat-x scroll bottom');
$("#avatarButton").css('background', 'url("http://dayviews.com/img/statusbar_gradient.gif") repeat-x scroll bottom');
$("#uploadBar").css('background','#FFF');
$(".mmscomment").css({
"font-family" : "Arial",
"font-size" : "12px",
"color" : "#222527"
});
} else {
if(bdb.ajax.onUserPages == 1) {
$("#reloadImg").attr("src","http://"+imageServer+"/img/reload_white.gif");
}
}
bdb.ajax.registerUnloadCallback( "userStatus", unloadUserStatusbar );
function unloadUserStatusbar() {
$("#diaryLink").unbind('click');
$("#diaryLinkImg").unbind('click');
$("#uploadLink").unbind('click');
$("#friendLink").unbind('click');
$("#newsLink").unbind('click');
$("#commentsLink").unbind('click');
$("#gbLink").unbind('click');
$("#pmLink").unbind('click');
$("#reloadImg").unbind();
$("#loginBtn").unbind('click');
$("#loginExpander").unbind('click');
$("#loginBtn").unbind('click');
$("#uploadImg").deleteTooltip();
$("#reloadImg").deleteTooltip();
$("#newsLink").deleteTooltip();
$("#commentsLink").deleteTooltip();
$("#gbLink").deleteTooltip();
$("#pmLink").deleteTooltip();
}
}
Min dagbok
Vänner (1)
if ( document.location.href.indexOf("/jagboken/") == -1 ) {
bindUserstatusEvents();
}
Laddar...
Genvägar
Album
Forum
Fotoskolan
Tävlingar
BDB HD
Slumpa bild
Dagens bilder
Logga ut
Logga in:
Glömt ditt lösenord?
Logga in
Timeout
Sidan du försökte nå svarar inte. Det kan bero på att servern är upptagen för tillfället.
Försök igen lite senare, och kontakta vår supportavdelning om felet kvarstår.
Stäng rutan
bindTopEvents();
var topAdTimerId = null;
var midAdTimerId = null;
var timesTopBannerReloaded = 0;
var timesMidBannerReloaded = 0;
function reloadTopBanner() {
//if(bdb.ajax.reloadAds == 1) {
if(timesTopBannerReloaded <= 2) {
$("#rightAdIframeTop").attr("src", "/p/rightAd_ad_top.html?right=1&adGroup=&directlink=");
++timesTopBannerReloaded;
}
//}
setTopTimer();
}
function reloadMidBanner() {
//if(bdb.ajax.reloadAds == 1) {
if(timesMidBannerReloaded <= 7) {
/*if(Math.floor(Math.random()*100+1) <= 17) {
$("#rightAdIframeMid").attr("src", "http://localads.lunarstorm.se/bdb_localads.asp?stad=319");
} else { */
$("#rightAdIframeMid").attr("src", "/p/rightAd_ad_mid.html?right=1&adGroup=&directlink=");
++timesMidBannerReloaded;
//}
}
//}
setMidTimer();
}
function loadBottomBanner() {
$("#rightAdIframeBottom").attr("src", "/p/rightAd_ad_bottom.html?right=1&adGroup=&directlink=");
}
function setTopTimer() {
topAdTimerId = setTimeout("reloadTopBanner()",240000);
}
function setMidTimer() {
midAdTimerId = setTimeout("reloadMidBanner()",60000);
}
function loadFocus() {
bdb.ajax.loadUrl($("#rightFocus"),"right_showFocus.html?action=getFocuses&type=1&right=1");
}
function setBackgroundColorTop() {
if(document.frames) {
document.frames.rightAdIframeTop.document.body.style.background="transparent";
}
$("#rightAdIframeTop").css("display","");
}
function setBackgroundColorMid() {
if(document.frames) {
document.frames.rightAdIframeMid.document.body.style.background="transparent";
}
$("#rightAdIframeMid").css("display","");
}
function setBackgroundColorBottom() {
if(document.frames) {
document.frames.rightAdIframeBottom.document.body.style.background="transparent";
}
$("#rightAdIframeBottom").css("display","");
}
reloadTopBanner();
reloadMidBanner();
loadBottomBanner();
loadFocus();
/inloggad/frontpage.html
frontpage = true;
bdb.ajax.lastHref = "frontpage";
function bindMainEvents() {
$("#content-left").css("padding-top", "4px");
$("#imageSearchText").click( function() {
$(this).attr("value","");
});
$("#serverStatus .forumLink,#news .forumLink").click( function() {
var link = $(this).attr("href");
bdb.ajax.loadWideContent("forum_showpost_content.html"+link.substr(link.indexOf("?")));
return false;
});
$("#serverStatus .newsLink,#news .newsLink").click( function() {
var link = $(this).attr("href");
//only use this for forum links. other pages like the bdbhdCampaign page aren't built like the others (no right div).
if(typeof link != "undefined" && (link.indexOf("/p/forum") > -1 || link.indexOf("/p/contest") > -1)) {
link = link.replace(".html","_content.html");
bdb.ajax.loadWideContent(link);
return false;
}
});
$("#content_wide").css("padding-top", "0px");
setTimeout("fixUser();",1000);
bdb.ajax.registerUnloadCallback( "content_wide", unloadFrontpageContent );
function unloadFrontpageContent() {
$("#serverStatus .newsLink,#news .newsLink").unbind('click');
$("#serverStatus .forumLink,#news .forumLink").unbind('click');
$("#imageSearchText").unbind('click');
$(document).unbind('keydown');
unloadFrontpageBlackbox();
unloadFrontpageLastlogins();
}
}
function openStats() {
var $newStats = $("#newStats");
$newStats.fadeIn();
var left = $(window).width() - 1087;
if(left < 0) {
left = 0;
} else {
left = Math.floor(left / 2);
}
$newStats.css("left",left+200);
$newStats.html("");
$.dimScreen(700, 0.7);
$newStats.load('/p/newStats.html?crossdomain=1');
//bdb.misc.showPopup('Din statistik har uppdaterats','/p/newStats.html?crossdomain=1&height=160&width=460');
}
function closeStats() {
$('#newStats').fadeOut();$.dimScreenStop();
}
var usernameFocus = false;
function fixUser() {
a = document.getElementById("userLogin");
if(a && !a.value.length && !usernameFocus) {
a.value ="Användarnamn";
document.getElementById("passwordLogin").value="******";
}
}
$(document).bind('keydown', handleKeyDown);
function handleKeyDown(e) {
if(27 == e.keyCode) {
closeStats();
}
}
var maxHdImg = 20;
var curHdImg = 0; //6;
function bindBlackboxEvents() {
$('#bdbhdImages').innerfade({ animationtype: 'fade',
speed: 750,
timeout: 6000,
type: 'sequence',
containerheight: '220px'
});
$("#bdbhdImages .bdbHdThumbnail").show();
$(".frontPageImage").click( function() {
$("#content_wide").attr("innerHTML","").hide();
$("#left").attr("style","").show();
$("#content").attr("style","").show();
$("#loginbox").hide();
var urlargs = $(this).attr("name").substring(($(this).attr("name").indexOf("?")+1));
bdb.ajax.loadUrl($("#left"),"left.html?" + urlargs + "&crossdomain=1&friendname=" + $(this).attr("id") + "&left=1");
bdb.ajax.loadUrl($("#content"),"show_content.html?" + urlargs + "&show=1&crossdomain=1&friendname=" + $(this).attr("id"),"show_content");
return false;
});
/*$("#updateBlackBox").click( function() {
bdb.ajax.loadUrl($("#holder_right"),"/p/frontpage_blackbox.html");
return false;
});*/
$("#linkLastMMS").click( function() {
bdb.ajax.loadWideContent($(this).attr("href").replace(".html","_content.html"));
return false;
});
$("#linkShowToday").click( function() {
bdb.ajax.loadWideContent("showToday_content.html");
return false;
});
$("#linkShowTodayHD").click( function() {
bdb.ajax.loadWideContent("showToday_content.html?bdbhd=on");
return false;
});
$("#activeMMSLink").click(function() {
bdb.ajax.loadContent("upload_content.html?crossdomain=1&activeTab=mms");
return false;
});
$("#updateBlackBox").click( function() {
$("#content_right").fadeOut('fast', function() {
$("#holder_right").load("/p/frontpage_blackbox.html", function() {
$("#content_right").fadeIn('fast');
});
});
return false;
});
$("#bdbhdPurchase").click( function() {
pageTracker._trackPageview('/bdbhd_purchase.html');
bdb.misc.showPopup("","bdbhdPurchase.html?width=570&height=277&crossdomain=1");
return false;
});
imgLoaderTimer = setInterval("loadHdImage()", 4000);
loadHdImage();
}
function unloadFrontpageBlackbox() {
$("#bdbhdPurchase").unbind('click');
$("#updateBlackBox").unbind('click');
$("#activeMMSLink").unbind('click');
$("#linkShowTodayHD").unbind('click');
$("#linkShowToday").unbind('click');
$("#linkLastMMS").unbind('click');
$(".frontPageImage").unbind('click');
$("#bdbhdImages .bdbHdThumbnail").unbind('click');
}
var imgLoaderTimer = null;
var imgToLoad = 1;
var hdImgArr = new Array();
hdImgArr[1] = "http://dayviews.com/63/_u3/_u3/_u5/_u6/_u4/u335649/f/f/dec2bad4dbf1881d32d61aaede4efab61017436b901ed83fb24f6800c75390af.jpg";
hdImgArr[2] = "http://dayviews.com/69/_u1/_u8/_u7/_u0/_u4/_u5/u1870454/f/f/865d115758477854e6f78d2123f6b47577f8ffe5c233d2059181e4edce55de07.jpg";
hdImgArr[3] = "http://dayviews.com/63/_u1/_u6/_u6/_u7/_u5/_u8/u1667585/f/f/34cb06e3845fcf309c05d41ae9d96b49608873cff18a820a12a62ebc11fc33a4.jpg";
hdImgArr[4] = "http://dayviews.com/63/_u2/_u5/_u6/_u1/_u0/u256106/f/f/c63fde8e0c14716056477b8b6b8273df2795fcdd2e4db4e4417329ab3f1b8b24.jpg";
hdImgArr[5] = "http://dayviews.com/63/_u5/_u5/_u5/_u3/_u9/u555391/f/f/686e5bd9624450a110242daaedf67ab4f2ac190c15558f7ae4a5fb6ad59f4e9c.jpg";
hdImgArr[6] = "http://dayviews.com/63/_u2/_u2/_u6/_u2/_u0/u226205/f/f/b0eb6bbb267bd864f1c917ed3f2ea1ca53bca2330cff46f9d909cad92052b2aa.jpg";
hdImgArr[7] = "http://dayviews.com/67/_u1/_u0/_u7/_u4/u10742/f/f/c332e16631c297fc318d6faa697ebef55a0c599d1a59a170b2c7dd85e6f43256.jpg";
hdImgArr[8] = "http://dayviews.com/62/_u4/_u8/_u1/_u5/_u5/u481556/f/f/f1e9c8d995fe86b62bf4705d01210ca22bdc046f2c5cc4834dc68ee9543a9f57.jpg";
hdImgArr[9] = "http://dayviews.com/67/_u1/_u1/_u6/_u3/_u9/u116393/f/f/43fc67967827088af1ebdd40a5a5c95136c026f6563116131e553f2d5691ce2b.jpg";
hdImgArr[10] = "http://dayviews.com/66/_u5/_u7/_u5/_u1/_u4/u575149/f/f/57d8b1bca690bb45e2baaae7516e14071c21560c4dd038f62082296bbe26d8b4.jpg";
hdImgArr[11] = "http://dayviews.com/70/_u2/_u1/_u4/_u6/_u6/_u9/u2146690/f/f/2640e3ba65bfe2cb95243fd5237bed6eba349a790b93dbf0532c86be2d3f5159.jpg";
hdImgArr[12] = "http://dayviews.com/70/_u2/_u0/_u8/_u4/_u4/_u7/u2084476/f/f/c5e45329a25d5a87162e86954760d2e2a48bd0c9d6edfe1d2aaf5806b8d04bad.jpg";
hdImgArr[13] = "http://dayviews.com/64/_u8/_u0/_u5/_u3/_u1/u805311/f/f/423f2e8a8235c6190174832ac7cf4b5d7b3f3b2b63da373cc654d93d9fd9b67d.jpg";
hdImgArr[14] = "http://dayviews.com/68/_u3/_u0/_u7/_u9/_u0/u307906/f/f/8f8319c8437879751960f79a3af9fe5bb238df1ed874e16f945ab9c03e9819cc.jpg";
hdImgArr[15] = "http://dayviews.com/65/_u3/_u7/_u0/_u5/_u6/u370562/f/f/9018f70e8eeafe3cfbda4dac4e520fbebd7230b497fdb10552c90dadf6ab199a.jpg";
hdImgArr[16] = "http://dayviews.com/64/_u2/_u0/_u9/_u7/_u6/_u2/u2097620/f/f/e7ab7c66fc9ff088e3a60cb4b35befe77066ddf88a0403b9f99f689a88cb88b0.jpg";
hdImgArr[17] = "http://dayviews.com/65/_u2/_u6/_u1/_u3/_u1/u261317/f/f/e3b29739badc52fe701219d8a27d4c503e1d18e270cac977051992bdebd9ff25.jpg";
hdImgArr[18] = "http://dayviews.com/62/_u1/_u6/_u7/_u4/_u6/u167460/f/f/150a26508e5c496723fa7e62cfbe328cd359dd0c80900f99f7c327a340a2de25.jpg";
hdImgArr[19] = "http://dayviews.com/66/_u2/_u1/_u4/_u8/_u5/_u1/u2148516/f/f/a621553e7658f5b973ab83c040529dfc1442c79fc64cae1a44e6c76bf519ca4a.jpg";
function loadHdImage() {
$("#hdImg_"+imgToLoad).attr("src",hdImgArr[imgToLoad]);
imgToLoad++;
if ( imgToLoad >= 20 ) {
clearTimeout(imgLoaderTimer);
}
}
function bdbHdClick(url, user,directlink) {
directlink += "&showFullsizeDiv=1";
bdb.ajax.loadContent(directlink, user);
return true;
}
SENASTE BDBHD-BILDER
Aktivera BDB HD
NYA BILDER IDAG
Uppdatera
SENASTE MMS-BILDER
Aktivera din mobil
Bilddagboken innehåller 266 527 206 bilder och 1 240 177 bilddagböcker. 44 858 bilder har laddats upp idag av 16 481 personer.
Antalet personer inloggade just nu 11 900.
bindBlackboxEvents();
Snyggaste t-shirten framröstad!
Nu är tävlingen Designa en t-shirt avslutad! Ett stort grattis till SaintJimmy som vann!
Klicka här för att se tävlingsbidragen!
Kommentera (82)
Senast inloggade
$(".latestLoginsLink").click( function() {
$("#content_wide").attr("innerHTML","");
$("#content_wide").attr("style","display:none;");
$("#left").attr("style","");
$("#left").show();
$("#content").attr("style","");
$("#content").show();
$("#loginbox").hide();
bdb.ajax.loadContent("main_content.html?crossdomain=1&friendname=" + $(this).attr("name"), $(this).attr("name"));
/*bdb.ajax.loadUrl($("#left"),"left.html?crossdomain=1&friendname=" + $(this).children().attr("title") + "&left=1");
bdb.ajax.loadUrl($("#content"),"main_content.html?crossdomain=1&friendname=" + $(this).children().attr("title"),"show_content");*/
return false;
});
bdb.misc.userInfoPopup("#latestLogins .latestLoginsLink");
function unloadFrontpageLastlogins() {
$("#latestLogins .latestLoginsLink").unbind('click');
$("#latestLogins .latestLoginsLink").deleteTooltip();
}
Nya toppen är här!
Nu har vi släppt den nya toppen och centrerat sajten! Vi uppskattar som vanligt all feedback, vi försöker hålla den i forumtråden kopplad till nyheten :)
Klicka här för att läsa mer om förändringen!
Kommentera (2519)
bindMainEvents();
Till toppen
©bilddagboken.se |
Support
|
Kakor
|
Hjälp
|
Regler
| Förbättra denna sida
|
API
|
WAP
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
var pageTracker = _gat._getTracker("UA-2094001-2");
pageTracker._setDomainName(".bilddagboken.se");
pageTracker._initData();
$("#footerLinkContact").click(function(){bdb.ajax.loadWideContent("contact.html");return false;});
$("#footerLinkHelp").click(function(){bdb.ajax.loadWideContent("help.html");return false;});
$("#footerLinkApi").click(function(){bdb.ajax.loadWideContent("apiDoc_content.html");return false;});
bdb.history.initAjaxHistory();
if($(".templateName:first").length > 0) {
bdb.misc.trackPage($(".templateName:first").attr("innerHTML").replace(/&/g, "&"));
}
HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
bilddagboken
<!-- Workaround comment for Norton Firewall -->
var frontpage = false;
if("frontpage_content.tpl".indexOf("frontpage") > -1) {
bdb.ajax.onFrontPage = 1;
} else {
bdb.ajax.onFrontPage = 0;
}
HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
bilddagboken
<!-- Workaround comment for Norton Firewall -->
var frontpage = false;
if("frontpage_content.tpl".indexOf("frontpage") > -1) {
bdb.ajax.onFrontPage = 1;
} else {
bdb.ajax.onFrontPage = 0;
}
AAAAAGAGAGGAAOOHDIJsifhsihfsipfp9
bilddagboken
<!-- Workaround comment for Norton Firewall -->
var frontpage = false;
if("frontpage_content.tpl".indexOf("frontpage") > -1) {
bdb.ajax.onFrontPage = 1;
} else {
bdb.ajax.onFrontPage = 0;
}
/inloggad/frontpage.html
// Save timezone in a cookie
var ltz_offset = 7200;
var rightNow = new Date();
var jan1 = new Date(rightNow.getFullYear(), 0, 1, 0, 0, 0, 0);
var temp = jan1.toGMTString();
var jan2 = new Date(temp.substring(0, temp.lastIndexOf(" ")-1));
var std_time_offset = (jan1 - jan2) / (1000 * 60 * 60);
var june1 = new Date(rightNow.getFullYear(), 6, 1, 0, 0, 0, 0);
var temp = june1.toGMTString();
var june2 = new Date(temp.substring(0, temp.lastIndexOf(" ")-1));
var daylight_time_offset = (june1 - june2) / (1000 * 60 * 60);
var dst;
if (std_time_offset == daylight_time_offset) {
dst = "0"; // daylight savings time is NOT observed
} else {
dst = "1"; // daylight savings time is observed
}
if(daylight_time_offset*3600 != ltz_offset){
bdb.setCookie("dst", dst, null, "/", 'bilddagboken.se');
bdb.setCookie("tz_offset", daylight_time_offset*3600, null, "/", 'bilddagboken.se');
} else {
if(bdb.getCookie("tz_offset")){
bdb.deleteCookie("dst", "/", 'bilddagboken.se');
bdb.deleteCookie("tz_offset", "/", 'bilddagboken.se');
}
}
bdb.loggedInUser="deljudez";
var userStatusTimerId = null;
function updateUserStatus() {
bdb.ajax.loadUrl($("#userStatus"),"userStatusbar.html?top=1&no_bind_events=");
setTimer();
}
function setTimer() {
userStatusTimerId = setTimeout("updateUserStatus()",120000);
}
setTimer();
function topLoginUser()
{
//$("#loginForm").submit();
//return false;
$("#userLogin").css("background-color", "#fff");
$("#passwordLogin").css("background-color", "#fff");
if($("#userLogin").val() == "") {
$("#userLogin").css("background-color", "#e17c7c");
return false;
}
if($("#passwordLogin").val() == "") {
$("#passwordLogin").css("background-color", "#e17c7c");
return false;
}
$("#ajaxlogin").val(1);
$("#loginBtn").hide();
$("#loginLoad").show();
var options = {
dataType: 'json',
success: function(response, status) {
if(1 == response) {
$.get("/p/ajax.html?action=isUserNewRegistration",function(data) {
if(data == 0) {
bdb.ajax.loadWideContent("/p/frontpage_content.html");
bdb.ajax.loadUrl($("#top"),"/p/top.html?crossdomain=1");
bdb.ajax.loadUrl($("#adminDiv"),"/p/adminLinks.html");
} else {
bdb.currentUser = $("#userLogin").val();
bdb.ajax.loadUrl($("#top"),"/p/top.html?crossdomain=1");
if ( data == "/p/frontpage_content.html" ) {
bdb.ajax.loadWideContent("/p/frontpage_content.html");
} else {
bdb.ajax.loadContent(data);
}
}
});
bdb.ajax.loadUrl($("#rightFocus"),"right_showFocus.html?action=getFocuses&type=1");
//bdb.ajax.reloadCurrentContent();
} else if(0 == response) {
alert("Felaktigt användarnamn eller lösenord");
$("#userLogin").css("background-color", "#e17c7c");
$("#passwordLogin").css("background-color", "#e17c7c");
$("#loginBtn").show();
$("#loginLoad").hide();
} else if(-1 == response) {
alert("Du har angivit fel lösenord för många gånger. Försök igen om 30 min.");
$("#loginbox").hide();
$("#loginExpander").hide();
}
}
};
$("#loginForm").ajaxSubmit(options);
}
function logoutUser() {
$("#calendarLoading").show();
$.get("/p/ajax.html?action=logout&ajaxlogout=1",function(data) {
if(data == 1) {
bdb.ajax.loadUrl($("#top"),"/p/top.html?top=1");
bdb.ajax.loadWideContent("/p/frontpage_content.html",function() {
$("#loginbox").show("slow");
});
bdb.ajax.loadUrl($("#adminDiv"),"/p/adminLinks.html");
} else {
document.location.href = "http://dayviews.com//p/frontpage.html";
}
bdb.ajax.loadUrl($("#rightFocus"),"right_showFocus.html?action=getFocuses&type=1");
$("#calendarLoading").hide();
});
}
function submitByKey(e){
var key=e.keyCode || e.which;
if(key == 13){
topLoginUser();
return false;
}
}
function urlByKey(e,url){
var key=e.keyCode || e.which;
if(key == 13){
performSearch();
}
}
function performSearch() {
var searchValue = $('#searchField').attr('value');
if(searchValue == "Hitta användare" || searchValue == undefined) {
searchValue = "";
}
$("#left").attr("style", "display:none");
$("#content").attr("style", "display:none");
$("#content_wide").attr("style", "display:none");
bdb.ajax.loadUrl($("#content_wide"), "/p/search_content.html?action=searchPersons&topid=6&topsearch=1&username=" + searchValue, {success: function() {
if($("#redirectSearch").length > 0)
{
bdb.calendar.currentUser = "";
$("#left").attr("innerHTML", "");
$("#left").attr("style", "");
$("#left").show();
$("#content").attr("innerHTML", "");
$("#content").attr("style", "");
$("#content").show();
//bdb.history.popStack();
bdb.ajax.loadUrl($("#left"),"left.html?crossdomain=1&friendname=" + $("#redirectSearch").attr("innerHTML") + "&left=1");
bdb.ajax.loadUrl($("#content"),"main_content.html?crossdomain=1&friendname=" + $("#redirectSearch").attr("innerHTML"));
} else {
$("#content_wide").attr("style", "");
$("#content_wide").show();
}
}});
return false;
}
var languageUsername = "Användarnamn";
function bindTopEvents() {
if($(window).width() <= 1024) {
$("#search").css("padding-right","70px");
}
$("#shortcutLink").hover(function() {
var p = $(this).position();
$("#top_dropDownMenu").css({left: p.left, top: p.top+$(this).height()-18 }).show();
$("#top_dropDownMenu").css("display","");
},function() {
$("#top_dropDownMenu").css("display","none");
});
$("#shortcutLink").click(function() {
if($("#top_dropDownMenu").css("display") == "none") {
var p = $(this).position();
$("#top_dropDownMenu").css({left: p.left, top: p.top+$(this).height()-18 }).show();
$("#top_dropDownMenu").css("display","");
}
});
$(".noJScriptLogin").css("display","none");
$(".noJScriptLogin").attr("innerHTML","");
$(".JScriptLogin").show();
$("#topLoginNoJScript").attr("value",0);
$("#loginExpander").click( function() {
$("#loginbox").show();
$("#loginExpander").hide();
});
$("#loginBtn").click( function() {
topLoginUser();
return false;
});
$("#searchBtn").click( performSearch);
$("#gotoforum").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/forum_showforums_content.html?topid=7");
return false;
}
});
$("#randomImage").click( function() {
if(bdb.pageIsLocked == 0) {
$.getJSON("/p/ajax.html?action=gotoRandomImage&topid=8&ajaxlink=1&ajax_bypass_ie_cache=1249457261", function(data){
if(data) {
var name = data.substr(data.indexOf("friendname=")+11);
bdb.ajax.loadContent(data,name);
}
});
return false;
}
});
$("#gotoShowToday").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadWideContent("/p/showToday_content.html");
return false;
}
});
$("#gotoPreContest").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/preContest_content.html");
return false;
}
});
$("#gotoAlbum").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/albums_content.html");
return false;
}
});
$("#photoSchoolLink").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/photoschool_content.html");
return false;
}
});
$("#gotoBDBHDCampaign").click( function() {
if(bdb.pageIsLocked == 0) {
$("#top_dropDownMenu").css("display","none");
bdb.ajax.loadWideContent("/p/bdbhdCampaign_content.html");
return false;
}
});
$("#logo").click( function() {
if(bdb.pageIsLocked == 0 && !bdb.ajax.loadingContent) {
if ( bdb.ajax.lastHref.indexOf('frontpage') > -1 && $("#latestLogins").length > 0) {
unloadFrontpageBlackbox();
unloadFrontpageLastlogins();
$("#content_right").fadeOut('fast', function() {
$("#holder_right").load("/p/frontpage_blackbox.html?topid=13", function() {
$("#latestLogins").load('/p/frontpage_latestLogins.html');
$("#content_right").fadeIn('fast');
});
});
return false;
} else {
bdb.ajax.loadWideContent("/p/frontpage_content.html?topid=13");
return false;
}
} else {
document.location.href='http://dayviews.com//';
}
});
$("#topLostPass").click(function() {
bdb.ajax.loadWideContent("/p/lostpassword_content.html?topid=4");
return false;
});
$("#searchField,#userLogin,#passwordLogin").focus(function() {
if(($(this).attr("id") == "userLogin" && $(this).attr("value") == languageUsername) ||
($(this).attr("id") == "passwordLogin" && $(this).attr("value") == "******") ||
($(this).attr("id") == "searchField")) {
$(this).attr("value","");
}
});
bdb.ajax.registerUnloadCallback( "top", unloadTop );
function unloadTop() {
$("#searchField,#userLogin,#passwordLogin").unbind('focus');
$("#logo").unbind('click');
$("#top_home").unbind('click');
$("#openDropDown").unbind('hover');
$("#photoSchoolLink").unbind('click');
$("#gotoAlbum").unbind('click');
$("#gotoPreContest").unbind('click');
$("#gotoShowToday").unbind('click');
$("#randomImage").unbind('click');
$("#gotoforum").unbind('click');
$("#gotoBDBHDCampaign").unbind('click');
$("#searchBtn").unbind('click');
$("#loginBtn").unbind('click');
$("#loginExpander").unbind('click');
$("#loginBtn").unbind('click');
$("#topLostPass").unbind('click');
$("#shortcutLink").unbind('hover');
$("#shortcutLink").unbind('click');
}
//userStatusTimerId = setTimeout("bdb.misc.updateCacheStatus()",2000);
}
function bdbHdCampaign() {
//window.location.href='http://dayviews.com//p/bdbhdCampaign.html?topid=15&ref=1';
bdb.ajax.loadWideContent("/p/bdbhdCampaign_content.html?topid=15&ref=1");
}
bdb.currentUser = "deljudez";
var logoLink = "Framsidan";
var gbLink = "0 nya gästboksinlägg";
var pmLink = "0 nya privata meddelanden";
var commentsLink = "0 nya kommenterade bilder";
var forumLink = " uppdaterade forumtrådar";
var newsLink = "0 olästa nyheter";
var updateTooltip = "Uppdatera";
var uploadTooltip = "Ladda upp bilder";
var imageServer = "images2.bilddagboken.se";
var themeDir = "/static/themes/blue/";
function bindUserstatusEvents() {
$("#top_home").tooltip({
bodyHandler: function() {
return logoLink;
},
showURL: false
});
$("#gbLink").tooltip({
bodyHandler: function() {
return gbLink;
},
showURL: false
});
$("#pmLink").tooltip({
bodyHandler: function() {
return pmLink;
},
showURL: false
});
$("#commentsLink").tooltip({
bodyHandler: function() {
return commentsLink;
},
showURL: false
});
$("#newsLink").tooltip({
bodyHandler: function() {
return newsLink;
},
showURL: false
});
$("#reloadImg").tooltip({
bodyHandler: function() {
return updateTooltip;
},
showURL: false
});
$("#uploadImg").tooltip({
bodyHandler: function() {
return uploadTooltip;
},
showURL: false
});
$("#top_home").click( function() {
if(bdb.pageIsLocked == 0 && !bdb.ajax.loadingContent) {
if ( bdb.ajax.lastHref.indexOf('frontpage') > -1 && $("#latestLogins").length > 0) {
unloadFrontpageBlackbox();
unloadFrontpageLastlogins();
$("#content_right").fadeOut('fast', function() {
$("#holder_right").load("/p/frontpage_blackbox.html?topid=13", function() {
$("#latestLogins").load('/p/frontpage_latestLogins.html');
$("#content_right").fadeIn('fast');
});
});
return false;
} else {
bdb.ajax.loadWideContent("/p/frontpage_content.html?topid=13");
return false;
}
} else {
document.location.href='http://dayviews.com//';
}
});
$("#reloadImg").hover( function(){
if(bdb.ajax.onUserPages == 1) {
$(this).attr("src","http://"+imageServer+"/img/reload_white_hover.gif");
} else {
$(this).attr("src","http://"+imageServer+"/img/reload_gray_hover.gif");
}
}, function(){
if(bdb.ajax.onUserPages == 1) {
$(this).attr("src","http://"+imageServer+"/img/reload_white.gif");
} else {
$(this).attr("src","http://"+imageServer+"/img/reload_gray.gif");
}
});
$("#reloadImg").click( function(){
if(bdb.pageIsLocked == 0) {
$(".fadeingOutIconHolder").fadeOut('fast', function() {
bdb.ajax.loadUrl($("#userStatus"),"userStatusbar.html?fadein=1&topid=23");
});
return false;
}
});
$("#pmLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("pm_content.html?crossdomain=1&topid=18");
return false;
}
});
$("#gbLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("guestbook_content.html?crossdomain=1&topid=17");
return false;
}
});
$("#commentsLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("newComments_content.html?crossdomain=1&topid=24");
return false;
}
});
$("#newsLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("news_content.html?crossdomain=1&topid=20");
return false;
}
});
$("#friendLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("friends_content.html?crossdomain=1&topid=25");
return false;
}
});
$("#uploadLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("upload_content.html?crossdomain=1&topid=22");
return false;
}
});
$("#diaryLinkImg,#diaryLink").click( function() {
if(bdb.pageIsLocked == 0) {
bdb.ajax.loadContent("main_diary_content.html?crossdomain=1&topid=16");
//bdb.ajax.loadUrl($('#left'),"left.html?crossdomain=1");
return false;
}
});
if(bdb.ajax.onFriendsPage == 1) {
$("#iconHolder").css('background', 'url("http://dayviews.com/img/statusbar_gradient.gif") repeat-x scroll bottom');
$("#avatarButton").css('background', 'url("http://dayviews.com/img/statusbar_gradient.gif") repeat-x scroll bottom');
$("#friendsBar").css('background','#FFF');
}
else if(bdb.ajax.onUploadPage == 1) {
$("#iconHolder").css('background', 'url("http://dayviews.com/img/statusbar_gradient.gif") repeat-x scroll bottom');
$("#avatarButton").css('background', 'url("http://dayviews.com/img/statusbar_gradient.gif") repeat-x scroll bottom');
$("#uploadBar").css('background','#FFF');
$(".mmscomment").css({
"font-family" : "Arial",
"font-size" : "12px",
"color" : "#222527"
});
} else {
if(bdb.ajax.onUserPages == 1) {
$("#reloadImg").attr("src","http://"+imageServer+"/img/reload_white.gif");
}
}
bdb.ajax.registerUnloadCallback( "userStatus", unloadUserStatusbar );
function unloadUserStatusbar() {
$("#diaryLink").unbind('click');
$("#diaryLinkImg").unbind('click');
$("#uploadLink").unbind('click');
$("#friendLink").unbind('click');
$("#newsLink").unbind('click');
$("#commentsLink").unbind('click');
$("#gbLink").unbind('click');
$("#pmLink").unbind('click');
$("#reloadImg").unbind();
$("#loginBtn").unbind('click');
$("#loginExpander").unbind('click');
$("#loginBtn").unbind('click');
$("#uploadImg").deleteTooltip();
$("#reloadImg").deleteTooltip();
$("#newsLink").deleteTooltip();
$("#commentsLink").deleteTooltip();
$("#gbLink").deleteTooltip();
$("#pmLink").deleteTooltip();
}
}
Min dagbok
Vänner (1)
if ( document.location.href.indexOf("/jagboken/") == -1 ) {
bindUserstatusEvents();
}
Laddar...
Genvägar
Album
Forum
Fotoskolan
Tävlingar
BDB HD
Slumpa bild
Dagens bilder
Logga ut
Logga in:
Glömt ditt lösenord?
Logga in
Timeout
Sidan du försökte nå svarar inte. Det kan bero på att servern är upptagen för tillfället.
Försök igen lite senare, och kontakta vår supportavdelning om felet kvarstår.
Stäng rutan
bindTopEvents();
var topAdTimerId = null;
var midAdTimerId = null;
var timesTopBannerReloaded = 0;
var timesMidBannerReloaded = 0;
function reloadTopBanner() {
//if(bdb.ajax.reloadAds == 1) {
if(timesTopBannerReloaded <= 2) {
$("#rightAdIframeTop").attr("src", "/p/rightAd_ad_top.html?right=1&adGroup=&directlink=");
++timesTopBannerReloaded;
}
//}
setTopTimer();
}
function reloadMidBanner() {
//if(bdb.ajax.reloadAds == 1) {
if(timesMidBannerReloaded <= 7) {
/*if(Math.floor(Math.random()*100+1) <= 17) {
$("#rightAdIframeMid").attr("src", "http://localads.lunarstorm.se/bdb_localads.asp?stad=319");
} else { */
$("#rightAdIframeMid").attr("src", "/p/rightAd_ad_mid.html?right=1&adGroup=&directlink=");
++timesMidBannerReloaded;
//}
}
//}
setMidTimer();
}
function loadBottomBanner() {
$("#rightAdIframeBottom").attr("src", "/p/rightAd_ad_bottom.html?right=1&adGroup=&directlink=");
}
function setTopTimer() {
topAdTimerId = setTimeout("reloadTopBanner()",240000);
}
function setMidTimer() {
midAdTimerId = setTimeout("reloadMidBanner()",60000);
}
function loadFocus() {
bdb.ajax.loadUrl($("#rightFocus"),"right_showFocus.html?action=getFocuses&type=1&right=1");
}
function setBackgroundColorTop() {
if(document.frames) {
document.frames.rightAdIframeTop.document.body.style.background="transparent";
}
$("#rightAdIframeTop").css("display","");
}
function setBackgroundColorMid() {
if(document.frames) {
document.frames.rightAdIframeMid.document.body.style.background="transparent";
}
$("#rightAdIframeMid").css("display","");
}
function setBackgroundColorBottom() {
if(document.frames) {
document.frames.rightAdIframeBottom.document.body.style.background="transparent";
}
$("#rightAdIframeBottom").css("display","");
}
reloadTopBanner();
reloadMidBanner();
loadBottomBanner();
loadFocus();
/inloggad/frontpage.html
frontpage = true;
bdb.ajax.lastHref = "frontpage";
function bindMainEvents() {
$("#content-left").css("padding-top", "4px");
$("#imageSearchText").click( function() {
$(this).attr("value","");
});
$("#serverStatus .forumLink,#news .forumLink").click( function() {
var link = $(this).attr("href");
bdb.ajax.loadWideContent("forum_showpost_content.html"+link.substr(link.indexOf("?")));
return false;
});
$("#serverStatus .newsLink,#news .newsLink").click( function() {
var link = $(this).attr("href");
//only use this for forum links. other pages like the bdbhdCampaign page aren't built like the others (no right div).
if(typeof link != "undefined" && (link.indexOf("/p/forum") > -1 || link.indexOf("/p/contest") > -1)) {
link = link.replace(".html","_content.html");
bdb.ajax.loadWideContent(link);
return false;
}
});
$("#content_wide").css("padding-top", "0px");
setTimeout("fixUser();",1000);
bdb.ajax.registerUnloadCallback( "content_wide", unloadFrontpageContent );
function unloadFrontpageContent() {
$("#serverStatus .newsLink,#news .newsLink").unbind('click');
$("#serverStatus .forumLink,#news .forumLink").unbind('click');
$("#imageSearchText").unbind('click');
$(document).unbind('keydown');
unloadFrontpageBlackbox();
unloadFrontpageLastlogins();
}
}
function openStats() {
var $newStats = $("#newStats");
$newStats.fadeIn();
var left = $(window).width() - 1087;
if(left < 0) {
left = 0;
} else {
left = Math.floor(left / 2);
}
$newStats.css("left",left+200);
$newStats.html("");
$.dimScreen(700, 0.7);
$newStats.load('/p/newStats.html?crossdomain=1');
//bdb.misc.showPopup('Din statistik har uppdaterats','/p/newStats.html?crossdomain=1&height=160&width=460');
}
function closeStats() {
$('#newStats').fadeOut();$.dimScreenStop();
}
var usernameFocus = false;
function fixUser() {
a = document.getElementById("userLogin");
if(a && !a.value.length && !usernameFocus) {
a.value ="Användarnamn";
document.getElementById("passwordLogin").value="******";
}
}
$(document).bind('keydown', handleKeyDown);
function handleKeyDown(e) {
if(27 == e.keyCode) {
closeStats();
}
}
var maxHdImg = 20;
var curHdImg = 0; //6;
function bindBlackboxEvents() {
$('#bdbhdImages').innerfade({ animationtype: 'fade',
speed: 750,
timeout: 6000,
type: 'sequence',
containerheight: '220px'
});
$("#bdbhdImages .bdbHdThumbnail").show();
$(".frontPageImage").click( function() {
$("#content_wide").attr("innerHTML","").hide();
$("#left").attr("style","").show();
$("#content").attr("style","").show();
$("#loginbox").hide();
var urlargs = $(this).attr("name").substring(($(this).attr("name").indexOf("?")+1));
bdb.ajax.loadUrl($("#left"),"left.html?" + urlargs + "&crossdomain=1&friendname=" + $(this).attr("id") + "&left=1");
bdb.ajax.loadUrl($("#content"),"show_content.html?" + urlargs + "&show=1&crossdomain=1&friendname=" + $(this).attr("id"),"show_content");
return false;
});
/*$("#updateBlackBox").click( function() {
bdb.ajax.loadUrl($("#holder_right"),"/p/frontpage_blackbox.html");
return false;
});*/
$("#linkLastMMS").click( function() {
bdb.ajax.loadWideContent($(this).attr("href").replace(".html","_content.html"));
return false;
});
$("#linkShowToday").click( function() {
bdb.ajax.loadWideContent("showToday_content.html");
return false;
});
$("#linkShowTodayHD").click( function() {
bdb.ajax.loadWideContent("showToday_content.html?bdbhd=on");
return false;
});
$("#activeMMSLink").click(function() {
bdb.ajax.loadContent("upload_content.html?crossdomain=1&activeTab=mms");
return false;
});
$("#updateBlackBox").click( function() {
$("#content_right").fadeOut('fast', function() {
$("#holder_right").load("/p/frontpage_blackbox.html", function() {
$("#content_right").fadeIn('fast');
});
});
return false;
});
$("#bdbhdPurchase").click( function() {
pageTracker._trackPageview('/bdbhd_purchase.html');
bdb.misc.showPopup("","bdbhdPurchase.html?width=570&height=277&crossdomain=1");
return false;
});
imgLoaderTimer = setInterval("loadHdImage()", 4000);
loadHdImage();
}
function unloadFrontpageBlackbox() {
$("#bdbhdPurchase").unbind('click');
$("#updateBlackBox").unbind('click');
$("#activeMMSLink").unbind('click');
$("#linkShowTodayHD").unbind('click');
$("#linkShowToday").unbind('click');
$("#linkLastMMS").unbind('click');
$(".frontPageImage").unbind('click');
$("#bdbhdImages .bdbHdThumbnail").unbind('click');
}
var imgLoaderTimer = null;
var imgToLoad = 1;
var hdImgArr = new Array();
hdImgArr[1] = "http://dayviews.com/63/_u3/_u3/_u5/_u6/_u4/u335649/f/f/dec2bad4dbf1881d32d61aaede4efab61017436b901ed83fb24f6800c75390af.jpg";
hdImgArr[2] = "http://dayviews.com/69/_u1/_u8/_u7/_u0/_u4/_u5/u1870454/f/f/865d115758477854e6f78d2123f6b47577f8ffe5c233d2059181e4edce55de07.jpg";
hdImgArr[3] = "http://dayviews.com/63/_u1/_u6/_u6/_u7/_u5/_u8/u1667585/f/f/34cb06e3845fcf309c05d41ae9d96b49608873cff18a820a12a62ebc11fc33a4.jpg";
hdImgArr[4] = "http://dayviews.com/63/_u2/_u5/_u6/_u1/_u0/u256106/f/f/c63fde8e0c14716056477b8b6b8273df2795fcdd2e4db4e4417329ab3f1b8b24.jpg";
hdImgArr[5] = "http://dayviews.com/63/_u5/_u5/_u5/_u3/_u9/u555391/f/f/686e5bd9624450a110242daaedf67ab4f2ac190c15558f7ae4a5fb6ad59f4e9c.jpg";
hdImgArr[6] = "http://dayviews.com/63/_u2/_u2/_u6/_u2/_u0/u226205/f/f/b0eb6bbb267bd864f1c917ed3f2ea1ca53bca2330cff46f9d909cad92052b2aa.jpg";
hdImgArr[7] = "http://dayviews.com/67/_u1/_u0/_u7/_u4/u10742/f/f/c332e16631c297fc318d6faa697ebef55a0c599d1a59a170b2c7dd85e6f43256.jpg";
hdImgArr[8] = "http://dayviews.com/62/_u4/_u8/_u1/_u5/_u5/u481556/f/f/f1e9c8d995fe86b62bf4705d01210ca22bdc046f2c5cc4834dc68ee9543a9f57.jpg";
hdImgArr[9] = "http://dayviews.com/67/_u1/_u1/_u6/_u3/_u9/u116393/f/f/43fc67967827088af1ebdd40a5a5c95136c026f6563116131e553f2d5691ce2b.jpg";
hdImgArr[10] = "http://dayviews.com/66/_u5/_u7/_u5/_u1/_u4/u575149/f/f/57d8b1bca690bb45e2baaae7516e14071c21560c4dd038f62082296bbe26d8b4.jpg";
hdImgArr[11] = "http://dayviews.com/70/_u2/_u1/_u4/_u6/_u6/_u9/u2146690/f/f/2640e3ba65bfe2cb95243fd5237bed6eba349a790b93dbf0532c86be2d3f5159.jpg";
hdImgArr[12] = "http://dayviews.com/70/_u2/_u0/_u8/_u4/_u4/_u7/u2084476/f/f/c5e45329a25d5a87162e86954760d2e2a48bd0c9d6edfe1d2aaf5806b8d04bad.jpg";
hdImgArr[13] = "http://dayviews.com/64/_u8/_u0/_u5/_u3/_u1/u805311/f/f/423f2e8a8235c6190174832ac7cf4b5d7b3f3b2b63da373cc654d93d9fd9b67d.jpg";
hdImgArr[14] = "http://dayviews.com/68/_u3/_u0/_u7/_u9/_u0/u307906/f/f/8f8319c8437879751960f79a3af9fe5bb238df1ed874e16f945ab9c03e9819cc.jpg";
hdImgArr[15] = "http://dayviews.com/65/_u3/_u7/_u0/_u5/_u6/u370562/f/f/9018f70e8eeafe3cfbda4dac4e520fbebd7230b497fdb10552c90dadf6ab199a.jpg";
hdImgArr[16] = "http://dayviews.com/64/_u2/_u0/_u9/_u7/_u6/_u2/u2097620/f/f/e7ab7c66fc9ff088e3a60cb4b35befe77066ddf88a0403b9f99f689a88cb88b0.jpg";
hdImgArr[17] = "http://dayviews.com/65/_u2/_u6/_u1/_u3/_u1/u261317/f/f/e3b29739badc52fe701219d8a27d4c503e1d18e270cac977051992bdebd9ff25.jpg";
hdImgArr[18] = "http://dayviews.com/62/_u1/_u6/_u7/_u4/_u6/u167460/f/f/150a26508e5c496723fa7e62cfbe328cd359dd0c80900f99f7c327a340a2de25.jpg";
hdImgArr[19] = "http://dayviews.com/66/_u2/_u1/_u4/_u8/_u5/_u1/u2148516/f/f/a621553e7658f5b973ab83c040529dfc1442c79fc64cae1a44e6c76bf519ca4a.jpg";
function loadHdImage() {
$("#hdImg_"+imgToLoad).attr("src",hdImgArr[imgToLoad]);
imgToLoad++;
if ( imgToLoad >= 20 ) {
clearTimeout(imgLoaderTimer);
}
}
function bdbHdClick(url, user,directlink) {
directlink += "&showFullsizeDiv=1";
bdb.ajax.loadContent(directlink, user);
return true;
}
SENASTE BDBHD-BILDER
Aktivera BDB HD
NYA BILDER IDAG
Uppdatera
SENASTE MMS-BILDER
Aktivera din mobil
Bilddagboken innehåller 266 527 206 bilder och 1 240 177 bilddagböcker. 44 858 bilder har laddats upp idag av 16 481 personer.
Antalet personer inloggade just nu 11 900.
bindBlackboxEvents();
Snyggaste t-shirten framröstad!
Nu är tävlingen Designa en t-shirt avslutad! Ett stort grattis till SaintJimmy som vann!
Klicka här för att se tävlingsbidragen!
Kommentera (82)
Senast inloggade
$(".latestLoginsLink").click( function() {
$("#content_wide").attr("innerHTML","");
$("#content_wide").attr("style","display:none;");
$("#left").attr("style","");
$("#left").show();
$("#content").attr("style","");
$("#content").show();
$("#loginbox").hide();
bdb.ajax.loadContent("main_content.html?crossdomain=1&friendname=" + $(this).attr("name"), $(this).attr("name"));
/*bdb.ajax.loadUrl($("#left"),"left.html?crossdomain=1&friendname=" + $(this).children().attr("title") + "&left=1");
bdb.ajax.loadUrl($("#content"),"main_content.html?crossdomain=1&friendname=" + $(this).children().attr("title"),"show_content");*/
return false;
});
bdb.misc.userInfoPopup("#latestLogins .latestLoginsLink");
function unloadFrontpageLastlogins() {
$("#latestLogins .latestLoginsLink").unbind('click');
$("#latestLogins .latestLoginsLink").deleteTooltip();
}
Nya toppen är här!
Nu har vi släppt den nya toppen och centrerat sajten! Vi uppskattar som vanligt all feedback, vi försöker hålla den i forumtråden kopplad till nyheten :)
Klicka här för att läsa mer om förändringen!
Kommentera (2519)
bindMainEvents();
Till toppen
©bilddagboken.se |
Support
|
Kakor
|
Hjälp
|
Regler
| Förbättra denna sida
|
API
|
WAP
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
var pageTracker = _gat._getTracker("UA-2094001-2");
pageTracker._setDomainName(".bilddagboken.se");
pageTracker._initData();
$("#footerLinkContact").click(function(){bdb.ajax.loadWideContent("contact.html");return false;});
$("#footerLinkHelp").click(function(){bdb.ajax.loadWideContent("help.html");return false;});
$("#footerLinkApi").click(function(){bdb.ajax.loadWideContent("apiDoc_content.html");return false;});
bdb.history.initAjaxHistory();
if($(".templateName:first").length > 0) {
bdb.misc.trackPage($(".templateName:first").attr("innerHTML").replace(/&/g, "&"));
}
HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
bilddagboken
<!-- Workaround comment for Norton Firewall -->
var frontpage = false;
if("frontpage_content.tpl".indexOf("frontpage") > -1) {
bdb.ajax.onFrontPage = 1;
} else {
bdb.ajax.onFrontPage = 0;
}
HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
bilddagboken
<!-- Workaround comment for Norton Firewall -->
var frontpage = false;
if("frontpage_content.tpl".indexOf("frontpage") > -1) {
bdb.ajax.onFrontPage = 1;
} else {
bdb.ajax.onFrontPage = 0;
}
AAAAAGAGAGGAAOOHDIJsifhsihfsipfp9
7 comments on this photo
Directlink:
http://dayviews.com/rosajulskinka/397945911/