????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.107 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_old5/Html/LevelD/Category1/ |
Upload File : |
<!doctype html>
<html>
<head>
<title>Answer the questions</title>
<script type="text/javascript" src="../../../js/allScriptsForLessonsHtml.js"></script>
<script>
var correctAnswers = 0;
function page_preLoad()
{
shared_setDeviceTypeLevelCategoryLastLesson(Level.D, Category.No1);
shared_set_tblMainiPadBodyWidthHeight('id_tblMainiPadBody', 'id_meta');
shared_setHeaderTable('id_tblHeader', shared_title_page, shared_getSubTitle(Level.D, Category.No1, 22), true, true);
shared_setFooterTable('id_tblFooter', true, true, false, true, true);
var ids_headings = ['id_td_heading1'];
var ids_texts = ['id_td_text4', 'id_td_text5', 'id_td_text6', 'id_td_text7', 'id_td_text8', 'id_td_text9', 'id_td_text10', 'id_td_text11', 'id_td_text12', 'id_td_text13', 'id_td_text14', 'id_td_text15', 'id_td_text16', 'id_td_text17', 'id_td_text18'];
shared_adjust_fontSize_for_ids_all_devices(ids_headings, 80);
shared_adjust_fontSize_for_ids_all_devices(ids_texts, 80);
shared_set_border_none_for_td_bottom_except_android(['id_td_heading1']);
}
function page_onLoad()
{
}
function btnHome_click()
{
shared_btnHomeCategories_click('LevelD');
}
function btnPrevious_click()
{
window.location = "LevelDCat1Lesson21.html";
}
function btnNext_click()
{
window.location = "LevelDCat1Lesson23.html";
}
function validateSentence(id_inputAnswer)
{
var isSentenceWrong = true;
var enteredText = document.getElementById(id_inputAnswer).value;
var splitText = enteredText.split(" ");
var trimmedText = '';
for (var textIndex = 0; textIndex < splitText.length; textIndex++)
{
if (splitText[textIndex].trim() != '')
{
trimmedText += splitText[textIndex].trim() + ' ';
}
}
trimmedText = trimmedText.trim();
trimmedText = trimmedText.toLowerCase();
if (id_inputAnswer == 'id_inputAnswerForStamp')
{
if (trimmedText == "there is a stamp on the letter")
{
isSentenceWrong = false;
if (correctAnswers < 4)
{
correctAnswers = correctAnswers + 1;
}
}
}
else if(id_inputAnswer == 'id_inputAnswerForDesks')
{
if (trimmedText == "there are desks in my class room")
{
isSentenceWrong = false;
if (correctAnswers < 4)
{
correctAnswers = correctAnswers + 1;
}
}
}
else if(id_inputAnswer == 'id_inputAnswerForBump')
{
if (trimmedText == "there is a bump on my head")
{
isSentenceWrong = false;
if (correctAnswers < 4)
{
correctAnswers = correctAnswers + 1;
}
}
}
else if(id_inputAnswer == 'id_inputAnswerForPants')
{
if (trimmedText == "there are pants and shirts in the shop")
{
isSentenceWrong = false;
if (correctAnswers < 4)
{
correctAnswers = correctAnswers + 1;
}
}
}
if ((correctAnswers == 4) && !(isSentenceWrong))
{
shared_show_claps_animation('shared_id_div_claps_image');
}
}
</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="0" cellspacing="0" cellpadding="2%">
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="7%">
<td>
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr>
<td id="id_td_heading1" class="shared_style_blue_24px_bold_padding_left_2_percent"><u>Answer the following questions:</u>
</td>
</tr>
</table>
</td>
</tr>
<tr height="*">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="100%">
<td>
<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0" style="border:none">
<tr height="100%">
<td>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text4" width = "20%" class="shared_style_blue_24px_padding_left_2_percent" align="right">1. </td>
<td id="id_td_text5" width = "*" class="shared_style_blue_24px_padding_left_2_percent">Do you like to paint?</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width = "20%"> </td>
<td width = "*" class="style_text" style=" padding-left: 2%">
<input id="id_td_text15" type="text" class="shared_style_options_red" style="text-align:left; width: 80%">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text6" width = "20%" class="shared_style_blue_24px_padding_left_2_percent" align="right">2. </td>
<td id="id_td_text7" width = "*" class="shared_style_blue_24px_padding_left_2_percent">What do you like to paint?</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width = "20%"> </td>
<td width = "*" class="style_text" style=" padding-left: 2%">
<input id="id_td_text16" type="text" class="shared_style_options_red" style="text-align:left; width: 80%">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text8" width = "20%" class="shared_style_blue_24px_padding_left_2_percent" align="right">3. </td>
<td id="id_td_text9" width = "*" class="shared_style_blue_24px_padding_left_2_percent">What are the colors you use to paint?</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width = "20%"> </td>
<td width = "*" class="style_text" style=" padding-left: 2%">
<input id="id_td_text17" type="text" class="shared_style_options_red" style="text-align:left; width: 80%">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text10" width = "20%" class="shared_style_blue_24px_padding_left_2_percent" align="right">4. </td>
<td id="id_td_text11" width = "*" class="shared_style_blue_24px_padding_left_2_percent">What is your favorite color?</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width = "20%"> </td>
<td width = "*" class="style_text" style=" padding-left: 2%">
<input id="id_td_text18" type="text" class="shared_style_options_red" style="text-align:left; width: 80%">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="id_td_text12" width = "20%" class="shared_style_blue_24px_padding_left_2_percent" align="right">5. </td>
<td id="id_td_text13" width = "*" class="shared_style_blue_24px_padding_left_2_percent">Who paints the best in your class?</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width = "100%">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width = "20%"> </td>
<td width = "*" class="style_text" style=" padding-left: 2%">
<input id="id_td_text14" type="text" class="shared_style_options_red" style="text-align:left; width: 80%">
</td>
</tr>
</table>
</td>
</tr>
</table>
</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>