Epaper.dk Website Status

Last Check: 1 week ago

epaper.dk Is Up!

epaper.dk
Status
Response Time
Response Code
200

We managed to reach www.epaper.dk in 0.060756 seconds. Looks like the website is UP and running. We did not track any errors while reaching to the to www.epaper.dk. The response code we got from the website is 200. If you are sure that the website is not reachable from your location and the issue is not caused by the options of your browser or operating system then you can submit the issue by pressing "Report Issue" button below. We will record your location, time and website that was not possible to load.

Outage Map for Epaper.dk

Last 120 Hours
# Time Location
Down Up Outage

Domain Information

HTTP/1.1 200 OK
Server: nginx/1.14.0 (Ubuntu)
Date: Mon, 17 Feb 2020 05:33:06 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: private
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Access-Control-Allow-Origin: *
Content-Encoding: gzip
Effective url: https://www.epaper.dk/
Http code: 200
Filetime: -1
Total time: 0.377695
Namelookup time: 0.060756
Connect time: 0.083259
Pretransfer time: 0.220691
Starttransfer time: 0.269552
Primary ip: 5.103.42.186
Primary port: 443
Size download: 18344
Speed download: 48568
Speed upload: 0
Header size: 517
Request size: 790
Ssl verifyresultg curlopt ssl verifypeer: 0
Content length download: 0
Content length upload: 0
Content type: text/html; charset=utf-8
Response code: 200
Http connectcode: 0
Httpauth avails response: 0
Proxyauth availe previous response: 0
Os errno: 0
Num connects: 2

            

Header Tag Content

<title>
	epaper.dk
</title><link href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900" rel="stylesheet" type="text/css" /><link href="/App_Engine/epaper.ico" rel="shortcut icon" /><link href="/App_Engine/jquery-ui-git.css" rel="stylesheet" /><link href="/App_Engine/jquery-plugins/jstree/themes/default/style.min.css" rel="stylesheet" type="text/css" /><link href="/App_Engine/css/epaper.css" rel="stylesheet" />
    
    <script src="/App_Engine/jquery-2.1.4.min.js"></script>
    <script src="/App_Engine/jquery-ui.min.js" type="text/javascript"></script>
    <script src="/App_Engine/jquery-plugins/jquery.localize.js" type="text/javascript"></script>
    <script src='/App_Engine/jquery.validate.min.js'
        type="text/javascript"></script>
    <script src="/App_Engine/jquery-plugins/jstree/jstree.js" type="text/javascript"></script>
    <script type="text/javascript">

        var QueryString = function () {
            // This function is anonymous, is executed immediately and 
            // the return value is assigned to QueryString!
            var query_string = {};
            var query = window.location.search.substring(1);
            var vars = query.split("&");
            for (var i = 0; i < vars.length; i++) {
                var pair = vars[i].split("=");
                // If first entry with this name
                if (typeof query_string[pair[0]] === "undefined") {
                    query_string[pair[0]] = decodeURIComponent(pair[1]);
                    // If second entry with this name
                } else if (typeof query_string[pair[0]] === "string") {
                    var arr = [query_string[pair[0]], decodeURIComponent(pair[1])];
                    query_string[pair[0]] = arr;
                    // If third or later entry with this name
                } else {
                    query_string[pair[0]].push(decodeURIComponent(pair[1]));
                }
            }
            return query_string;
        }();

        var ticket = null;
        if (QueryString.setticket != null) {
            ticket = JSON.parse(QueryString.setticket);
        }
        var emailactivate = '';
        $(document).ready(function () {

            if (emailactivate != ''){
                app.outside(true);
                $('#txtloginaccount').val(emailactivate);
                app.startscreen("#activateemail-form");                
            }else if(app.getQueryParams("login") != ""){
                app.outside(true);
                app.startlogin();
            }else{
                if (ticket){
                    $.ajax({
                        type: "POST",
                        async: true,
                        cache: false,
                        url: "/App_Engine/member.ashx?action=noaction",
                        data: {"data":JSON.stringify({ 'ticket':ticket})},
                        success: function(data){
                            app.inside(true);
                        },
                        error: function(e) {
                            app.logout(true);
                        }
                    });

                }else{
                    app.outside(true);
                }
            }
            
                        
            $(window).on('resize', function(e){
                app.resize();
            })
            app.resize();
            init2();

            animatesteps(1);
        
            setInterval(function(){
                var i = 0;
                for (var i = 0;i < app.timerwork.length;i++){
                    try{
                        var working = app.timerwork[i].working;
                        var done = app.timerwork[i].done;
                        if ( done == false){
                            console.log(working);
                            if (working == false){
                            console.log("startingthread");
                                app.timerwork[i].dowork();
                            }
                        }
                    }catch (e){
                    }
                }
            },3000);
        });

        $(function () {


            //var opts = { language: $.defaultLanguage, pathPrefix: "/languages" };
            var opts = { language: 'da', pathPrefix: "App_Engine/languages" };
            $("[data-localize]").localize("epaper", opts)

            $('#accountspinner').hide();
            $('#registerspinner').hide();

            $('#loginspinner').hide();

            $('#registersubmit').button();
            $('#submitlogin').button();
            $('#createaccountlink').button();
            

            $('#registersubmit').on('click touchstart', function (e) {
                if (!app.vars.registerbuttonenable) {
                    e.preventDefault();
                }
            });

            $('#submitlogin').on('click touchstart', function (e) {
                if (!app.vars.loginbuttonenable) {
                    e.preventDefault();
                }
            });

            $.validator.setDefaults({
                submitHandler: function () { app.toast("An error occured"); }
            });
            $.validator.addMethod("alpha", function (value, element) {
                return this.optional(element) || value == value.match(/^[a-zæåø0-9A-ZÆÅØ-]+$/);
            }, "Alphabets only");
            
            $.validator.addMethod("emaildomain", function (value, element) {
                 var expr = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
                return expr.test(value); 
            }, "Email not valid");


            $("#register-form").validate({

                // Specify the validation rules
                rules: {
                    txtaccount: {
                        required: true,
                        minlength: 5,
                        alpha: true,
                        remote: {
                            beforeSend: function () {
                                // Before the call goes out, start the spinner
                                $('#accountspinner').show();
                            },
                            complete: function () {
                                $('#accountspinner').hide();
                            },
                            url: '/App_Engine/api.ashx',
                            data: {
                                name: function () { return $("#txtaccount").val().toLowerCase() },
                                action: 'checkforaccount'
                            }
                        }
                    },
                    txtpassword1: {
                        required: true,
                        minlength: 5
                    },
                    txtpassword2: {
                        required: true,
                        minlength: 5,
                        equalTo: "#txtpassword1"
                    },
                    txtcompanyname: {
                        required: true
                    },
                    txtvat: {
                        required: true
                    },
                    txtphone: {
                        required: true
                    },
                    txtadr1: {
                        required: true
                    },
                    txtpostal: {
                        required: true
                    },
                    txtcity: {
                        required: true
                    },
                    txtcountry: {
                        required: true
                    },
                    txtfirstname: {
                        required: true
                    },
                    txtlastname: {
                        required: true
                    },
                    txtemail: {
                        required: true,
                        emaildomain: true
                    },
                    chkagree: "required"
                },
                // Specify the validation error messages
                messages: {
                    txtaccount: {
                        required: $.localize.data.epaper.registerscreen.required,
                        minlength: $.localize.data.epaper.registerscreen.minlength,
                        alpha: $.localize.data.epaper.registerscreen.alpha,
                        remote: $.localize.data.epaper.registerscreen.erroralreadyuse
                    },
                    txtpassword1: {
                        required: $.localize.data.epaper.registerscreen.required,
                        minlength: $.localize.data.epaper.registerscreen.minlength
                    },
                    txtpassword2: {
                        required: $.localize.data.epaper.registerscreen.required,
                        minlength: $.localize.data.epaper.registerscreen.minlength,
                        equalTo: $.localize.data.epaper.registerscreen.equalto
                    },
                    txtcompanyname: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtvat: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtphone: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtadr1: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtpostal: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtcity: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtcountry: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtfirstname: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtlastname: {
                        required: $.localize.data.epaper.registerscreen.required
                    },
                    txtemail: {
                        required: $.localize.data.epaper.registerscreen.required,
                        emaildomain: $.localize.data.epaper.registerscreen.emailnotvalid
                    },
                    chkagree: $.localize.data.epaper.registerscreen.accept
                },

                submitHandler: function (form) {
                    $('#registerspinner').show();
                    app.vars.registerbuttonenable = false;

                    $.post('/App_Engine/api.ashx?action=register',
                        $('#register-form').serialize(),
                        function (data) {
                            $('#registerspinner').hide();
                            if (data != 'ok') {

                                app.toast(eval("$.localize.data.epaper." + data));
                                app.vars.registerbuttonenable = true;


                            } else {
                                app.startscreen('#registerdone-form');
                            };
                        }, "json");
                },
                errorPlacement: function(error, element) { 
                error.appendTo(element.closest("td.formcell2").next());
                
                    
                }
            });

            $("#login-form").validate({

                // Specify the validation rules
                rules: {
                    txtloginaccount: {
                        required: true,
                        minlength: 1,
                        alpha: true
                    },
                    txtloginpassword: {
                        required: true,
                        minlength: 5
                    }
                },
                // Specify the validation error messages
                messages: {
                    txtloginaccount: {
                        required: $.localize.data.epaper.registerscreen.required,
                        minlength: $.localize.data.epaper.registerscreen.minlength,
                        alpha: $.localize.data.epaper.registerscreen.alpha
                    },
                    txtloginpassword: {
                        required: $.localize.data.epaper.registerscreen.required,
                        minlength: $.localize.data.epaper.registerscreen.minlength
                    }
                },

                submitHandler: function (form) {
                    $('#loginspinner').show();
                    app.vars.loginbuttonenable = false;

                    $.post('/App_Engine/api.ashx?action=getticket',
                        $('#login-form').serialize(),
                        function (data) {
                            $('#loginspinner').hide();
                            if (data.error != '') {
                                app.toast(eval("$.localize.data.epaper." + data.error));
                                app.vars.loginbuttonenable = true;
                            } else {
                                app.setticket(data);
                                app.inside(false);
                                app.vars.loginbuttonenable = true;
                            };
                        }, "json");
                }
            });



            $("#policy-form").dialog({
                autoOpen: false,
                height: 500,
                width: 650,
                modal: true,
                close: function () {
                }
            });

            
            $("#confirm-modal").dialog({
                autoOpen: false,
                height: 300,
                width: 400,
                modal: true,
                close: function () {
                    if (app.confirmcallback){
                        app.confirmcallback(false);
                    }
                },
                 buttons: {
                    Ok: function() {
                        $( this ).dialog( "close" );
                        if (app.confirmcallback){
                            app.confirmcallback(true);
                        }
                    },
                    Cancel: function() {
                        $( this ).dialog( "close" );
                        if (app.confirmcallback){
                            app.confirmcallback(false);
                        }
                    }
                }
            });


            $("#dialog-modal").dialog({
                autoOpen: false,
                height: 300,
                width: 400,
                modal: true,
                close: function () {
                },
                 buttons: {
                    Ok: function() {
                        $( this ).dialog( "close" );
                    }
                }
            });


            $("#dialog-rename").dialog({
                autoOpen: false,
                height: 300,
                width: 400,
                modal: true,
                close: function () {
                },
                buttons: 
                    [
                    {
                        text: "Ok",
                        id: "renamebutton",
                        click: function () {
                            $('#accountrenamespinner').show();
                            $.ajax({
                                type: "POST",
                                async: false,
                                cache: false,
                                url: "/App_Engine/member.ashx?action=renameepaper",
                                data: { "data": JSON.stringify({ 'ticket': ticket, 'currentnode': app.currentselectnode, 'oldname': app.currentname, 'newname': $('#txtrenameepaper').val() }) },
                                success: function (data) {
                                    $('#accountrenamespinner').hide();
                                    if (data == 'ok') {
                                        app.loadfolder(app.currentselectnode);
                                        $("#dialog-rename").dialog("close");
                                        return true;
                                    } else {
                                        app.toast(eval('$.localize.data.epaper.' + e.responseText));
                                        return false;
                                    }
                                },
                                error: function (e) {
                                    $('#accountrenamespinner').hide();
                                    app.toast(eval('$.localize.data.epaper.' + e.responseText));
                                    return false;   
                                }
                            });
                        }
                    }
                ]
            });


            //$("#epaperfolderview").jstree(true).settings.core.strings = {"Loading ...":$.localize.data.epaper.epaperview.loading}; // virker ikke.
            
            
            $('#createaccountlink').on('click touchstart', function (e) {
                e.preventDefault();
                app.startscreen('#register-form');
            })


            app.vars.validateinit = true;

            app.localize($.defaultLanguage);
            //app.localize("da");
            
        })
        

        $(document.body).mousedown(function(e){
        // Left mouse button was pressed, set flag
            if(e.which === 1) {
                app.vars.leftmousedown = true;
            };
        });
        $(document.body).mouseup(function(e){
            // Left mouse button was released, clear flag
            if(e.which === 1) {
                app.vars.leftmousedown = false
            };
        });

        app = {
            edit:function(htmlelm){
                var name = $(findroot(htmlelm)).find(".epapertitlecaption").html();

                $("#dialog-rename").dialog('option', 'title', "Epaper Rename:");
                $("#dialog-rename").find('.epapernameinput').val(name);
                $("#dialog-rename").dialog("open");
                $('#txtrenameepaper').val(name);
                app.currentname = name;
            },
            getQueryParams:function(paramName) {
                var sURL = window.document.URL.toString();
                if (sURL.indexOf("?") > 0)
                {
                    var arrParams = sURL.split("?");
                    var arrURLParams = arrParams[1].split("&");
                    var arrParamNames = new Array(arrURLParams.length);
                    var arrParamValues = new Array(arrURLParams.length);

                    var i = 0;
                    for (i = 0; i<arrURLParams.length; i++)
                    {
                        var sParam =  arrURLParams[i].split("=");
                        arrParamNames[i] = sParam[0];
                        if (sParam[1] != "")
                            arrParamValues[i] = unescape(sParam[1]);
                        else
                            arrParamValues[i] = ""; //No Value
                    }

                    for (i=0; i<arrURLParams.length; i++)
                    {
                        if (arrParamNames[i] == paramName)
                        {
                            //alert("Parameter:" + arrParamValues[i]);
                            return arrParamValues[i];
                        }
                    }
                    return ""; //Nothing found
                }else{
                    return ""; //No parameters
                }
            },
            resize:function(){
                if (app.small){
                    var windowwidth = $(window).width();
                    var contentwidth = 1000;
                    var margin = 100;
                    
                    var leftpos = windowwidth / 2 - (contentwidth / 2);

                    if (leftpos < 15){
                        leftpos = 15;
                    }
                    
                    $("#contentcontainer").width(windowwidth);
                    $("#contentcontainer").css("left", 0);
                    $('#flagscontainer').css("right",(windowwidth / 2) - 500);

                    $(".follow").css("padding-left", leftpos);

                    //$(".contentform").css("padding-left",smallmargin + 15);

                    //$("#contentcontainer").css("padding-left", leftpos);

                    $("#headcontainer").width(windowwidth);
                    $("#headcontainer").css("left", 0);

                    $('#logocontainer').css("left",leftpos);
                    $('#menucontainer').width(contentwidth);
                    $('#menucontainer').css("left",leftpos + 65);
                    


                    //$(".footerbar-smal").width(windowwidth);
                    
                    //$("#footer").width(windowwidth);

                    //$("#footer").css("margin-left", leftpos);

                    //$("#footer").css("padding-left", leftpos + smallmargin);
                    
                    //$('#footercontainer').css("margin-left",-leftpos);
                    
                }else{

                    var windowwidth = $(window).width();
                    var contentwidth = 1000;
                    var margin = 100;
                    
                    leftpos = 50;

                    $("#contentcontainer").width(windowwidth);
                    $("#contentcontainer").css("left", 0);
                    
                    $('#flagscontainer').css("right",10);

                    $(".follow").css("padding-left", leftpos);

                    //$(".contentform").css("padding-left",smallmargin + 15);

                    //$("#contentcontainer").css("padding-left", leftpos);

                    $("#headcontainer").width(windowwidth);
                    $("#headcontainer").css("left", 0);

                    $('#logocontainer').css("left",leftpos);
                    $('#menucontainer').width(contentwidth);
                    $('#menucontainer').css("float",leftpos + 65);
                    



                }
            },
            arrayObjectIndexOf:function (myArray, item) {
                for(var i = 0, len = myArray.length; i < len; i++) {
                    if (myArray[i].id === item.id && myArray[i].nodeid === item.nodeid) return i;
                }
                return -1;
            },
            workers:[],
            gettimer:function(id){
                for (var i = 0;i < app.timerwork.length;i++){
                    if (id == app.timerwork[i].id){
                        var obj = app.timerwork[i];
                        return obj;
                    }
                }
            },
            uploadfile:function(id,nodeid){

                var file = document.getElementById('fileToUpload' + id);
                $('#fileuploaderparent' + id).hide();

                for(var i = 0;i < file.files.length;i++){

                    var worker = new Worker("/App_Engine/javascript/uploadwebworker.js");
                    worker.id = 'uploadloader' + id + '-' + i;
                    worker.filename = file.files[i].name;
                    worker.nodeid = nodeid;

                    app.workers.push(worker);
                    app.addstatusuploading(worker.id);
                    worker.onmessage = function(e) {
                        try {
                            var obj = $('#' + this.id);
                            if (typeof e.data === "string"){
                                if (e.data == "wrongfiletype"){
                                    //obj.addClass("ui-corner-all epaperitem epaperuploading epaperadd uploadfailsize uploadfail");
                                    //setInterval(function(){obj.toggleClass('uploadfail');},500)
                                    //obj.html('<a class="ui-corner-all closebutton" href="javascript:$(\'#' + this.id + '\').hide();">' + '' + '</a><h1>!</h1><p class="smalltext"><span data-localize="epaperview.filetypeerror">' + $.localize.data.epaper.epaperview.filetypeerror.replace("[filename]",'"' + this.filename + '"') + '</span></p>');
                                    
                                    obj.find("p.uploading").addClass("error");
                                    obj.find("p.uploading").html($.localize.data.epaper.epaperview.error);
                                    obj.find("p.uploading").attr("data-localize","epaperview.error");
                                    obj.find("p.uploading").removeClass("uploading");
                                    
                                    //obj.find("p.epapertitlecaption").html(jsonreturnobj.newname);
                                    obj.find("p.epaperstatuscaption").attr("data-localize","epaperview.status");
                                    obj.find("p.epaperstatuscaption").html($.localize.data.epaper.epaperview.status);
                                    obj.find("img.epaperpreviewimage").attr("src", "/App_Engine/grafik/error.png");
                                    obj.find("img.epaperpreviewimage").addClass("hand");
                                    obj.find("img.epaperpreviewimage").attr("alt","epaperview.wrongfiletype");
                                    app.workers.splice(app.arrayObjectIndexOf(app.workers,this));
                                    return;
                                }
                                if (e.data == "uploaderrorfilesize"){
                                    
                                    obj.find("p.uploading").addClass("error");
                                    obj.find("p.uploading").html($.localize.data.epaper.epaperview.error);
                                    obj.find("p.uploading").attr("data-localize","epaperview.error");
                                    obj.find("p.uploading").removeClass("uploading");
                                    
                                    //obj.find("p.epapertitlecaption").html(jsonreturnobj.newname);
                                    obj.find("p.epaperstatuscaption").attr("data-localize","epaperview.status");
                                    obj.find("p.epaperstatuscaption").html($.localize.data.epaper.epaperview.status);
                                    obj.find("img.epaperpreviewimage").attr("src", "/App_Engine/grafik/error.png");
                                    obj.find("img.epaperpreviewimage").attr("alt","epaperview.uploaderrorfilesize");
                                    obj.find("img.epaperpreviewimage").addClass("hand");
                                    app.workers.splice(app.arrayObjectIndexOf(app.workers,this));
                                    return;
                                }
                                if (e.data == "uploaderrorfilecorrupt"){
                                    
                                    
                                    obj.find("p.uploading").addClass("error");
                                    obj.find("p.uploading").html($.localize.data.epaper.epaperview.error);
                                    obj.find("p.uploading").attr("data-localize","epaperview.error");
                                    obj.find("p.uploading").removeClass("uploading");
                                    
                                    //obj.find("p.epapertitlecaption").html(jsonreturnobj.newname);
                                    obj.find("p.epaperstatuscaption").attr("data-localize","epaperview.status");
                                    obj.find("p.epaperstatuscaption").html($.localize.data.epaper.epaperview.status);
                                    obj.find("img.epaperpreviewimage").attr("src", "/App_Engine/grafik/error.png");
                                    obj.find("img.epaperpreviewimage").attr("alt","epaperview.uploaderrorfilecorrupt");
                                    obj.find("img.epaperpreviewimage").addClass("hand");
                                    app.workers.splice(app.arrayObjectIndexOf(app.workers,this));
                                    return;
                                }
                                if (e.data.indexOf("workdone:") == 0){
//                                    if (obj.find("p.uploading").hasClass("error")){
//                                        return;
//                                    }
                                    var jsondata = e.data.replace("workdone:","");
                                    var jsonreturnobj = JSON.parse(jsondata);
                                    if (jsonreturnobj == "ok"){
                                        return;
                                    }
                                    
                                    obj.find("p.uploading").addClass("working");
                                    obj.find("p.uploading").html(" ");
                                    obj.find("p.uploading").removeClass("uploading");
                                    obj.find("p.epapertitlecaption").html(jsonreturnobj.newname);
                                    obj.find("p.epaperstatuscaption").attr("data-localize","epaperview.working");
                                    obj.find("p.epaperstatuscaption").html($.localize.data.epaper.epaperview.working);

                                    obj.find("p.epaperpagecountcaption").attr("data-localize","epaperview.pages");
                                    obj.find("p.epaperpagecountcaption").html($.localize.data.epaper.epaperview.pages);

                                    obj.find("p.epaperpagecountpage").html(jsonreturnobj.pagecount);

                                    obj.find("img.epaperpreviewimage").attr("src", "/App_Engine/grafik/working.png");
                                    obj.find("img.epaperpreviewimage").attr("data-targetfolder", jsonreturnobj.targetfolder);

                                    app.workers.splice(app.arrayObjectIndexOf(app.workers,this));
                                    var timer = new Object();
                                    timer.jsonobj = jsonreturnobj;
                                    timer.id = Math.random();
                                    timer.dowork = function(){
                                    timer.htmlobj = obj;
                                    app.gettimer(timer.id).working = true;
                                    $.ajax({
                                        type: "POST",
                                        async: true,
                                        cache: false,
                                        url: "/App_Engine/member.ashx?action=getworkstatus",
                                        data: {"data":JSON.stringify({ 'ticket':ticket, 'obj':app.gettimer(timer.id).jsonobj})},
                                        success: function(data){
                                        var timerobj = app.gettimer(timer.id);
                                        timerobj.working = false;
                                        timerobj.htmlobj.find("p.epaperstatuscaption").next().text(" " + data);
                                            if (data == "100%"){
                                                timerobj.done = true;

//                                                status = $.localize.data.epaper.epaperview.active;
//                                    statustekxt = $.localize.data.epaper.epaperview.status;
//                                    statuslocalize = "epaperview.active";
//                                    statusclass = "active";
//                                    imgclass = imgclass + " hand";

                                                timerobj.htmlobj.find("p.epaperstatuscaption").text($.localize.data.epaper.epaperview.status);
                                                timerobj.htmlobj.find("p.epaperstatuscaption").next().text(' ' + $.localize.data.epaper.epaperview.active);
                                                timerobj.htmlobj.find("p.epaperstatuscaption").next().attr("class","epaperstatus active");
                                                timerobj.htmlobj.find("img.epaperpreviewimage").attr("class","epaperpreviewimage hand");
                                                timerobj.htmlobj.find("img.epaperpreviewimage").attr("src", timerobj.htmlobj.find("img.epaperpreviewimage").attr("data-targetfolder") + "thumbnails/page1.jpg");

                                            }
                                        },
                                        error: function(e) {
                                            app.gettimer(timer.id).working = false;
                                        }
                                    });
                                    }
                                    
                                    timer.done = false;
                                    timer.working = false;
                                    app.timerwork.push(timer);
                                    
                                }
                                if (e.data.indexOf("workdone!") == 0 && e.data.indexOf("workdone:{") == -1){
//                                    if (obj.find("p.uploading").hasClass("error")){
//                                        return;
//                                    }
                                    obj.find("p.uploading").html(": 100%");
                                    obj.find("p.epapertitlecaption").html(this.filename);
                                    
                                    obj.find("p.epaperstatuscaption").attr("data-localize","epaperview.checking");
                                    obj.find("p.epaperstatuscaption").html($.localize.data.epaper.epaperview.checking);

                                }
                            }else{
//                                if (obj.find("p.uploading").hasClass("error")){
//                                    return;
//                                }
                                obj.find("p.uploading").html(": " + e.data + "%");
                                obj.find("p.epapertitlecaption").html(this.filename);
                            }
                          } catch (e) {
                          }
                    }

                    worker.postMessage(encodeURIComponent(JSON.stringify({ 'ticket':ticket,'nodeid':nodeid})));
                    worker.postMessage(file.files[i]);

                }
                
                app.adduploader(nodeid);
            },
            addtools:function(allowedit){
                return '<div class="epapercontainertools">' + (allowedit?'<img class="epapercontainertoolsedit" src="/App_Engine/grafik/edit.png" />':'') + '<img class="epapercontainertoolsdelete" src="/App_Engine/grafik/delete.png" /></div>';
            },
            addstatusuploading:function(id){
                
                $('#epaperview').append('<div id="' + id + '" class="epapercontainer">' + app.addtools(false) + '<div class="epaperimagecontainer"><img class="epaperpreviewimage" src="/App_Engine/grafik/uploading.png" /></div><div class="epapercatptioncontainer"><p class="epapertitlecaption"> </p><p class="epaperpagecount epaperpagecountcaption"> </p><p class="epaperpagecount epaperpagecountpage"> </p></div><div class="epapercatptioncontainer"><p data-localize="epaperview.uploading" class="epaperstatuscaption">' + $.localize.data.epaper.epaperview.uploading + '</p><p class="epaperstatus uploading">: 0%</p></div></div>');
                //$('#epaperview').prepend('<div id="' + id + '" class="ui-corner-all epaperitem epaperuploading uploadfailsize epaperadd uploadloader100"><br><br>0%</div>');

            },
            adduploader:function(nodeid){
                app.vars.uploadid = app.vars.uploadid + 1;

                $('#epaperview').prepend('<div id="fileuploaderparent' + app.vars.uploadid + '" class="epapercontainerupload"><form id="fileuploader' + app.vars.uploadid + '" enctype="multipart/form-data" method="post" action="/App_Engine/member.ashx"><input type="file" name="fileToUpload' + app.vars.uploadid + '[]" style="position:absolute; visibility:hidden" multiple="" id="fileToUpload' + app.vars.uploadid + '" onchange="app.uploadfile(' + app.vars.uploadid + ',\'' + nodeid + '\');"/><div style="padding-top: 30px;height: 213px;" id="fileupload' + app.vars.uploadid + '" onmouseout="$(this).css(\'background-color\',\'\')" onmouseover="$(this).css(\'background-color\',\'#686868\')" onclick="$(\'#fileToUpload' + app.vars.uploadid + '\').click();">' + '<h1>+</h1><p class="smalltext" data-localize="epaperview.clickordrag">' + $.localize.data.epaper.epaperview.clickordrag + '</p>' + '<div/></form></div>');

                //$('#epaperview').prepend('<div id="fileuploaderparent' + app.vars.uploadid + '" style="cursor: pointer;" class="ui-corner-all epaperitem epaperadd"></div>');
                $('#epaperview').attr("class","");
            },
            timerwork:[],
            loadfolder:function(node){
                
                $('#epaperview').html("");
                
                $('#epaperview').attr("class","loading-black");

                $.ajax({
                    type: "POST",
                    async: false,
                    cache: false,
                    url: "/App_Engine/member.ashx?action=getfolderitems",
                    data: {"data":JSON.stringify({ 'ticket':ticket, 'node':node})},
                    success: function(data){

                        for(var j = 0, lenj = data.length; j < lenj; j++) {
                            var item = data[j];
                            var statustekxt = $.localize.data.epaper.epaperview.status;
                            var status = $.localize.data.epaper.epaperview.active;
                            var statuslocalize = "epaperview.status";
                            var statusclass = "active";
                            var imgclass = "epaperpreviewimage";
                            var imgalt = "";

                            if(item.done == false){
                                if (item.epaper.Pagecountdone == 0){
                                    status = " ";
                                    statustekxt = $.localize.data.epaper.epaperview.working;
                                    statuslocalize = "epaperview.working";
                                    statusclass = "working";
                                }else{
                                    status = ": " + (Math.round((item.epaper.Pagecountdone / item.epaper.Pagecount) * 100)) + "%";
                                    statustekxt = $.localize.data.epaper.epaperview.working;
                                    statuslocalize = "epaperview.working";
                                    statusclass = "working";
                                }
                                item.epaper.Targetfolder = "/App_Engine/grafik/working.png";
                            }else{
                                if (item.epaper.Errorcode_prod != ""){
                                    status = $.localize.data.epaper.epaperview.error;
                                    statustekxt = $.localize.data.epaper.epaperview.status;
                                    statuslocalize = "epaperview.error";
                                    statusclass = "error";
                                    imgalt = item.epaper.Errorcode_prod;
                                    imgclass = imgclass + " hand";
                                }else{
                                    status = $.localize.data.epaper.epaperview.active;
                                    statustekxt = $.localize.data.epaper.epaperview.status;
                                    statuslocalize = "epaperview.active";
                                    statusclass = "active";
                                    imgclass = imgclass + " hand";
                                    item.epaper.Targetfolder = item.epaper.Targetfolder + 'thumbnails/page1.jpg';
                                }
                            }
                            

                            $('#epaperview').append('<div class="epapercontainer">' + app.addtools(item.done) + '<div class="epaperimagecontainer"><img alt="' + imgalt + '" class="' + imgclass + '" src="' + item.epaper.Targetfolder + '" /></div><div class="epapercatptioncontainer"><p class="epapertitlecaption">' + item.name + '</p><p data-localize="epaperview.pages" class="epaperpagecount epaperpagecountcaption">' + $.localize.data.epaper.epaperview.pages + '</p><p class="epaperpagecount epaperpagecountpage">: ' + item.epaper.Pagecount + '</p></div><div class="epapercatptioncontainer"><p data-localize="' + statuslocalize + '" class="epaperstatuscaption">' + statustekxt + '</p><p class="epaperstatus ' + statusclass + '"> ' + status + '</p></div></div>');
                        }

                    
                    //$('#epaperview').append('<div id="fileupload"><form action="FileTransferHandler.ashx" method="post" enctype="multipart/form-data"><div class="fileupload-buttonbar"><label class="fileinput-button"><span>Add files...</span><input type="file" name="files[]" multiple="multiple" /></label><button type="button" class="delete button">Delete all files</button><div class="fileupload-progressbar"></div></div></form><div class="fileupload-content"><table class="files"></table></div></div>');
                            
                        for(var i = 0, len = app.workers.length; i < len; i++) {
                            if (app.workers[i].nodeid === node.id) app.addstatusuploading(app.workers[i].id);
                        }

                            app.adduploader(node.id);
                            //$('#fileupload').fileupload();
                            
                            // Open download dialogs via iframes,
                            // to prevent aborting current uploads:
                            

                    },
                    error: function(e) {
                        app.toast(eval('$.localize.data.epaper.' + e.responseText));
                        $('#epaperview').attr("class","");
                        return false;
                    }
                });
                
                
            },
            toast:function(msg){
                $("#dialog-modal").dialog('option', 'title', $.localize.data.epaper.epaperview.warningtitle);
                $("#dialog-modal").html(msg);
                $("#dialog-modal").dialog("open");


            },
            confirmcallback:null,
            confirm:function(title, msg, callback){
                app.confirmcallback = callback;
                $("#confirm-modal").html(msg);
                $("#confirm-modal").dialog('option', 'title', title);
                $("#confirm-modal").dialog("open");
                
            },
            outside:function(init){
                app.small = true;
                $('#start-link').show();
                $('#register-link').show();
                $('#loginn-link').show();

                $('#logout-link').hide();
                $('#RefreshLink').hide();
                $('#ManualLink').hide();
                
                $('#info-link').show();
                $('#kontakt-link').show();
                if (!init){
                    //app.animate(function(){ app.startscreen("#welcome-form"); });
                    app.startscreen("#welcome-form");

                }else{
                    app.startscreen("#welcome-form");
                }
                $('#bullets').show();
                app.resize();
            },
            small:true,
            inside:function(init){
                app.small = false;
                $('#register-link').hide();
                $('#start-link').hide();
                $('#loginn-link').hide();
                $('#logout-link').show();
                $('#RefreshLink').show();
                $('#ManualLink').show();

                $('#info-link').hide();
                $('#kontakt-link').hide();
                $('#bullets').hide();
                
                app.animate(function(){ app.startscreen("#memberstart-form");app.account.loadmemberstart(); });
                app.resize();
            },
            logout:function(init){
                ticket = null;
                if (app.haslocalstorage()){
                    localStorage.removeItem("ticket"); 
                }
                app.outside(init);
                
            },
            animate:function(callback){
            callback();
//                if (app.small){
//                    var windowwidth = $(window).width();
//                    var contentwidth = 1000;
//                    var margin = 100;
//                    
//                    var leftpos = windowwidth / 2 - (contentwidth / 2);
//                    if (leftpos < 0){
//                        leftpos = 0;
//                    }

//                    var duration = 500;
//                    $('#contentcontainer').animate({width: contentwidth,left: leftpos}, { duration: duration, queue: false });
//                    $('#headcontainer').animate({width: contentwidth,left: leftpos}, { duration: duration, queue: false });
//                    $('#menucontainer').animate({width: contentwidth}, { duration: duration, queue: false });
//                    $(".footerbar-smal").animate({width: contentwidth}, { duration: duration, queue: false });
//                    $("#footer").animate({width: contentwidth - 200}, { duration: duration, queue: false ,complete: callback});

//                }else{

//                    var windowwidth = $(window).width();
//                    var margin = 100;
//                    var contentwidth = windowwidth - margin - margin;
//                    if (windowwidth < 1000){
//                        margin = 100;
//                        contentwidth = 1000 - 100 - 100;
//                    }

//                    var leftpos = windowwidth / 2 - (contentwidth / 2);
//                    if (leftpos < 0){
//                        leftpos = 0;
//                    }
//                    
//                    var duration = 500;
//                    $('#contentcontainer').animate({width: contentwidth,left: leftpos}, { duration: duration, queue: false });
//                    $('#headcontainer').animate({width: contentwidth,left: leftpos}, { duration: duration, queue: false });
//                    $('#menucontainer').animate({width: contentwidth}, { duration: duration, queue: false });
//                    $(".footerbar-smal").animate({width: contentwidth}, { duration: duration, queue: false });
//                    $("#footer").animate({width: contentwidth - 200}, { duration: duration, queue: false ,complete: callback});

//                }

                //var leftdistance = (($(window).width() - $('#headcontainer').width()) / 2) - 100;
                //var startwidth = $('#headcontainer').width();
                //$('#headcontainer').css("width","80 %")
                //$('#headcontainer').animate({width: 1300}, { duration: 1000, queue: false });

//                $('#headcontainer').animate({width: startwidth + (leftdistance * 2),left: leftdistance * -1}, { duration: 1000, queue: false });
//                console.log($('#contentcontainer').css("left"));
//                $('#contentcontainer').css("left",leftdistance + 100);
//                $('#contentcontainer').animate({width: startwidth + (leftdistance * 2),left:100}, { duration: 1000, queue: false });
//                $('.footerbar-smal').animate({width: startwidth + (leftdistance * 2)}, { duration: 1000, queue: false });
            },
            startlogin:function(){
                ticket = null;
                app.startscreen("#login-form");
                if (app.haslocalstorage()){
                    localStorage.removeItem("ticket"); 
                }
            },
            openpolicy:function(){
                $("#policy-form").dialog("open");
            },
            account:{
                loadmemberstart:function(e){
                    $('#epaperfolderview').jstree("destroy");
                    $('#epaperview').html("");
                    $('#epaperfolderview').jstree({
                        "plugins" : [
                            "contextmenu", "search",
                            "state", "types"
                          ],
                          "contextmenu":{         
                            "items": function($node) {
                                var tree = $("#epaperfolderview").jstree(true);
                                if ($node.parent == "#"){
                                  return {
                                        "Create": {
                                            "separator_before": false,
                                            "separator_after": false,
                                            "label": $.localize.data.epaper.epaperview.contextcreate,
                                            "action": function (obj) { 
                                                $node = tree.create_node($node);
                                                tree.edit($node);
                                            }
                                        }
                                    };  
                                }
                                return {
                                    "Create": {
                                        "separator_before": false,
                                        "separator_after": false,
                                        "label": $.localize.data.epaper.epaperview.contextcreate,
                                        "action": function (obj) { 
                                            $node = tree.create_node($node);
                                            tree.edit($node);
                                        }
                                    },
                                    "Rename": {
                                        "separator_before": false,
                                        "separator_after": false,
                                        "label": $.localize.data.epaper.epaperview.contextrename,
                                        "action": function (obj) { 
                                            tree.edit($node);
                                        }
                                    },
                                    "Remove": {
                                        "separator_before": false,
                                        "separator_after": false,
                                        "label": $.localize.data.epaper.epaperview.contextremove,
                                        "action": function (obj) { 
                                            app.confirm($.localize.data.epaper.epaperview.deletethis, $.localize.data.epaper.epaperview.confirm,function(result){
                                                if (result == true){
                                                    tree.delete_node($node);
                                                }else{
                                                    return;
                                                }
                                                
                                            });
                                            
                                        }
                                    }
                                };
                            }
                        },
                        "dnd" : {"check_while_dragging":false},
                        'core' : {
                            'strings' : {
                                    'Loading ...' : 'Loading...'
                             },
                             'check_callback' : function (operation, node, node_parent, node_position, more) {
                                 if (operation == 'rename_node'){
                                     if (node.text == node_position){
                                        return true;
                                     }
                                     if (!node_position.match(/^[a-zæåø0-9A-ZÆÅØ-]+$/)){
                                        app.toast($.localize.data.epaper.epaperview.alpha);
                                        return false;
                                     }
                                     
                                     
                                     $.ajax({
                                    type: "POST",
                                    async: false,
                                    cache: false,
                                    url: "/App_Engine/member.ashx?action=noderename",
                                    data: {"data":JSON.stringify({ 'ticket':ticket, 'operation':operation, 'node': node ,'node_parent':node_parent,'node_position':node_position,'more':more})},
                                    success: function(data){
                                        if (data != 'ok'){
                                            app.toast(eval("$.localize.data.epaper." + data));
                                            return false;
                                        }else{
                                            $('#epaperfolderview').jstree().refresh();
                                            return true;
                                        }
                                        
                                    },
                                    error: function(e) {
                                        app.toast(eval('$.localize.data.epaper.' + e.responseText));
                                        $('#epaperfolderview').jstree().refresh();
                                        return false;
                                    }
                                    });
                                 }else if (operation == 'create_node'){
                                    $.ajax({
                                    type: "POST",
                                    async: false,
                                    cache: false,
                                    url: "/App_Engine/member.ashx?action=nodecreate",
                                    data: {"data":JSON.stringify({ 'ticket':ticket, 'operation':operation, 'node': node ,'node_parent':node_parent,'node_position':node_position,'more':more})},
                                    success: function(data){
                                        if (data != 'error'){
                                            node.text = data[0];
                                            node.id = data[1];
                                            return true;
                                        }else{
                                            app.toast($.localize.data.epaper.errors.genericerror);
                                            return false;
                                        }
                                    },
                                    error: function(e) {
                                        app.toast(eval('$.localize.data.epaper.' + e.responseText));
                                        return false;
                                    }
                                    });
                                 }else if (operation == 'delete_node'){
                                    $.ajax({
                                        type: "POST",
                                        async: false,
                                        cache: false,
                                        url: "/App_Engine/member.ashx?action=nodedelete",
                                        data: {"data":JSON.stringify({ 'ticket':ticket, 'operation':operation, 'node': node ,'node_parent':node_parent,'node_position':node_position,'more':more})},
                                        success: function(data){
                                            if (data != 'error'){
                                                return true;
                                            }else{
                                                app.toast($.localize.data.epaper.errors.genericerror);
                                                $('#epaperfolderview').jstree().refresh();
                                                return false;
                                            }
                                        },
                                        error: function(e) {
                                            app.toast(eval('$.localize.data.epaper.' + e.responseText));
                                            $('#epaperfolderview').jstree().refresh();
                                            return false;
                                        }
                                        });

                                 }else if (operation == 'copy_node'){
                                    return false;
                                }else if (operation == 'move_node'){
    //                                if (node_parent.id == "#"){
    //                                    return false;
    //                                }else if (node.parent == node_parent.id){
    //                                    return false;
    //                                }

    //                                    //node_parent.id indeholder ny mappe
    //                                    //node.id indeholder gammel mappe
    //        
    //                                            $.ajax({
    //                                                type: "POST",
    //                                                async: false,
    //                                                cache: false,
                                    //                                                url: "/App_Engine/member.ashx?action=nodemove",
    //                                                data: {"data":JSON.stringify({ 'ticket':ticket, 'operation':operation, 'targetid': node_parent.id ,'sourceid':node.id})},
    //                                                success: function(data){
    //                                                    if (data != 'error'){
    //                                                        $('#epaperfolderview').jstree().refresh(node_parent);
    //                                                        $('#vakata-dnd').remove();
    //                                                        return false;
    //                                                    }else{
    //                                                        app.toast($.localize.data.epaper.errors.genericerror);
    //                                                        return false;
    //                                                    }
    //                                                },
    //                                                error: function(e) {
    //                                                    app.toast(eval('$.localize.data.epaper.' + e.responseText));
    //                                                    return false;
    //                                                }
    //                                            });

    //                                    
                                     }

                                // operation can be 'create_node', 'rename_node', 'delete_node', 'move_node' or 'copy_node'
                                // in case of 'rename_node' node_position is filled with the new node name
                                //return operation === 'rename_node' ? true : false;
                            },
                            'multiple' : false,
                          'data' : {
                            'url' : function (node) {
                                return '/App_Engine/member.ashx?action=gettree';
                            },
                            'type' : 'POST', 
                            'data' : function (node) {
                                return {"data":JSON.stringify({ 'ticket':ticket, 'node': node})};
                            }
                          }
                      }
                    }).bind("select_node.jstree",function(jqevent,jstevent){
                        app.currentselectnode = jstevent.node;
                        app.loadfolder(app.currentselectnode);
                    })
//                    .bind("open_node.jstree", function (event, data) {
//                        var obj =  data.instance.get_node(data.node, true);
//                        if(obj) {
//                            obj.siblings(".jstree-open").each(function () { data.instance.close_node(this, 0); });
//                        }
//                    });
                    //$("#epaperfolderview").jstree("set_theme", "mobile");       
                }
            },
            currentselectnode:null,
            currentname: null,
            haslocalstorage: function () {
                try {
                    return 'localStorage' in window && window['localStorage'] !== null;
              } catch (e) {
                    return; false;
              }
            },
            setticket:function(data){
              if (app.haslocalstorage()){
                localStorage.setItem("ticket",JSON.stringify(data));
              }
                ticket = data;
            },
            startscreen: function (screen) {
//                if (screen == "#welcome-form"){
//                    $('#contentcontainer').addClass("epaperblue");
//                }else{
//                    $('#contentcontainer').removeClass("epaperblue");
//                }
                $('#register-form').hide();
                $('#login-form').hide();
                $('#registerdone-form').hide();
                $('#welcome-form').hide();
                $('#activateemail-form').hide();
                $('#memberstart-form').hide();
                $('#loading-form').hide();
                $('#info-form').hide();
                $('#kontakt-form').hide();
                

                if (screen != "") {
                    $(screen).fadeIn(500);
                }
            },
            vars: {
                leftmousedown:false,
                validateinit: false,
                registerbuttonenable: true,
                loginbuttonenable:true,
                uploadid:1,
            },
            localize: function (lang) {
                if (lang != 'da' && lang != 'en') {
                    lang = "en";
                }
                var opts = { language: lang, pathPrefix: "/App_Engine/languages" };
                $("[data-localize]").localize("epaper", opts)

                $('#register-form').validate().settings.messages.txtaccount.required = $.localize.data.epaper.registerscreen.required;
                $('#register-form').validate().settings.messages.txtaccount.minlength = $.localize.data.epaper.registerscreen.minlength;
                $('#register-form').validate().settings.messages.txtaccount.alpha = $.localize.data.epaper.registerscreen.alpha;
                $('#register-form').validate().settings.messages.txtaccount.remote = $.localize.data.epaper.registerscreen.erroralreadyuse;

                $('#register-form').validate().settings.messages.txtpassword1.required = $.localize.data.epaper.registerscreen.required;
                $('#register-form').validate().settings.messages.txtpassword1.minlength = $.localize.data.epaper.registerscreen.minlength;

                $
Troubleshooting Instructions

EPAPER.DK is UP, but you can't load it with your browser? Try this:

  1. Hit CTRL + F5 keys simultaneously. This will make your browser empty the cookies and reload the page without any previously stored data about it.
  2. Clean the cache of your computers DNS. This will allow your device to set up the connection to epaper.dk refreshing the route details.
  3. Restart your modem and if does not help then restart the computer.

Another way is to use online proxy tool that will allow you to browse epaper.dk using proxy servers as intermediate agents.

Leave Your Feedback
Latest Available Websites
Latest Down Websites
This page took 0.10774302482605 seconds to render