Code Context //echo $this->element("left_panel_take_exam");
} else {
if($cal_non_cal!=3){
$viewFile = '/home/leanerleader/public_html/app/View/Layouts/take_exam_layout_special.ctp'
$QuestionAns = array()
$examDuration = (int) 40
$ExamDetails = array()
$schoolData = array()
$lastLoginSchool = null
$studentDetails = array()
$lastLoginStudent = null
$lastLoginParent = null
$parentDetails = array()
$examSections = array(
(int) 1 => 'Reading booklet questions',
(int) 2 => 'Language Conventions',
(int) 3 => 'Writing Leaflet',
(int) 4 => 'Normal'
)
$yearGroupOptionPractice = array(
(int) 42 => 'Year 3',
(int) 43 => 'Year 5',
(int) 38 => 'Year 7',
(int) 39 => 'Year 9'
)
$classOptions = array(
(int) 1 => 'Year 3',
(int) 2 => 'Year 5',
(int) 3 => 'Year 7',
(int) 4 => 'Year 9'
)
$title_for_layout = 'Learner Leader Online: Homes - Sample Questions'
$content_for_layout = '<link rel="stylesheet" href="/TabsNextPrev/tabs.css" type="text/css" media="screen, projection"/>
<script type="text/javascript" src="/TabsNextPrev/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/TabsNextPrev/js/jquery-ui-1.7.custom.min.js"></script>
<script type="text/javascript">
$(function() {
var $tabs = $('.tabs').tabs();
$(".ui-tabs-panel").each(function(i){
var totalSize = $(".ui-tabs-panel").size() - 1;
if (i != totalSize) {
next = i + 2;
$(this).append("<a href='#' onclick='save_next()' class='next-tab mover nexts ' rel='" + next + "'>NEXT QUESTION »</a>");
} else {
// $(this).append("<a href='#' onclick='save_next()' class='next-tab mover nexts ' rel='" + next + "'>SAVE</a>");
//$(this).append("<a href='#' onclick='save_next()' class='next-tab mover nexts ' rel='" + next + "'>SUBMIT</a>");
}
if (i != 0) {
prev = i;
$(this).append("<a style='width:auto;' href='#' class='prev-tab mover prevs' rel='" + prev + "'>« PREVIOUS QUESTION</a>");
}
});
$('.next-tab, .prev-tab').click(function() {
$tabs.tabs('select', $(this).attr("rel"));
return false;
});
});
function save_next(){
$("input:radio[class=att_rd]:checked").each(function () {
var attemptOptionVal = $(this).attr("attempt-option");
$("#"+ attemptOptionVal).addClass("activeQ");
});
$('.input_count[value!=""]').each(function () {
var attemptTextArVal = $(this).attr("attempt-option");
$("#"+ attemptTextArVal).addClass("activeQ");
});
var textareaFieldCount = $('.input_count[value!=""]').length;
var numberOfCheckedRadio = $('input:radio:checked').length;
var qst = numberOfCheckedRadio;
var totalQuestions = 0;
var percentageBar = (100 * qst) / totalQuestions;
var totalattemptqs = (Number(textareaFieldCount) + Number(numberOfCheckedRadio));
$('#attempted_qs').text(totalattemptqs);
//$('#attempted_qs').text(numberOfCheckedRadio);
if(percentageBar == 100){
$( "#percent_val_txt_qs" ).text( percentageBar+'%' );
} else {
$( "#percent_val_txt_qs" ).text( percentageBar.toFixed(1)+'%' );
}
$('#qs_attempted_prcessing').css({"width": ""});
$('#qs_attempted_prcessing').css({"width": percentageBar+"%"});
}
$(document).ready(function(){
$("input[type=radio]").click(function(event) {
/*var numberOfCheckedRadio = $('input:radio:checked').length;
var qst = numberOfCheckedRadio;
var totalQuestions = 0;
var percentageBar = (100 * qst) / totalQuestions;
$('#attempted_qs').text(numberOfCheckedRadio);
if(percentageBar == 100){
$( "#percent_val_txt_qs" ).text( percentageBar+'%' );
} else {
$( "#percent_val_txt_qs" ).text( percentageBar.toFixed(1)+'%' );
}
$('#qs_attempted_prcessing').css({"width": ""});
$('#qs_attempted_prcessing').css({"width": percentageBar+"%"}); */
});
});
</script>
<nav class="navbar navbar-inverse easy-sidebar">
<div class="navbar-header"> </div>
<div class="question_left">
<div class="left_panel"><a href="#" class="easy-sidebar-toggle" title="Click to open menu">Toggle Sidebar</a></div>
<h2>Questions</h2>
<div id="" class="tabs question_tab_">
<ul style="display:block;">
</ul>
</div>
<!--<div class="attamp_check">
<label>Attempted</label>
<label>Not attempted</label>
</div>
<div class="view_all_qu">
<a href="javascript:void(0);">View All Questions</a>
</div>-->
</nav>
<div class="container-fluid">
<div class="col-lg-9 col-md-7 col-sm-12">
<div class="content">
<div class="content_main">
<h2>Sample Questions</h2>
<!--<p></p>-->
<p><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78d387-trace').style.display = (document.getElementById('cakeErr664429c78d387-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: ExaminationCategory [<b>APP/View/Homes/sample_questions.ctp</b>, line <b>136</b>]<div id="cakeErr664429c78d387-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78d387-code').style.display = (document.getElementById('cakeErr664429c78d387-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78d387-context').style.display = (document.getElementById('cakeErr664429c78d387-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr664429c78d387-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">echo </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'ExaminationCategory'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">].</span><span style="color: #DD0000">' NAPLAN Trial Literacy Language Conventions'</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">echo </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'ExaminationCategory'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">].</span><span style="color: #DD0000">' NAPLAN Trial Numeracy '</span><span style="color: #007700">. </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'Examination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'paper'</span><span style="color: #007700">];</span></span></code></span></pre><pre id="cakeErr664429c78d387-context" class="cake-context" style="display: none;">$viewFile = '/home/leanerleader/public_html/app/View/Homes/sample_questions.ctp'
$QuestionAns = array()
$examDuration = (int) 40
$ExamDetails = array()
$schoolData = array()
$lastLoginSchool = null
$studentDetails = array()
$lastLoginStudent = null
$lastLoginParent = null
$parentDetails = array()
$examSections = array(
(int) 1 => 'Reading booklet questions',
(int) 2 => 'Language Conventions',
(int) 3 => 'Writing Leaflet',
(int) 4 => 'Normal'
)
$yearGroupOptionPractice = array(
(int) 42 => 'Year 3',
(int) 43 => 'Year 5',
(int) 38 => 'Year 7',
(int) 39 => 'Year 9'
)
$classOptions = array(
(int) 1 => 'Year 3',
(int) 2 => 'Year 5',
(int) 3 => 'Year 7',
(int) 4 => 'Year 9'
)
$title_for_layout = 'Learner Leader Online: Homes - Sample Questions'</pre><pre class="stack-trace">include - APP/View/Homes/sample_questions.ctp, line 136
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 111</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78d76c-trace').style.display = (document.getElementById('cakeErr664429c78d76c-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Examination [<b>APP/View/Homes/sample_questions.ctp</b>, line <b>136</b>]<div id="cakeErr664429c78d76c-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78d76c-code').style.display = (document.getElementById('cakeErr664429c78d76c-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78d76c-context').style.display = (document.getElementById('cakeErr664429c78d76c-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr664429c78d76c-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">echo </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'ExaminationCategory'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">].</span><span style="color: #DD0000">' NAPLAN Trial Literacy Language Conventions'</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">echo </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'ExaminationCategory'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">].</span><span style="color: #DD0000">' NAPLAN Trial Numeracy '</span><span style="color: #007700">. </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'Examination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'paper'</span><span style="color: #007700">];</span></span></code></span></pre><pre id="cakeErr664429c78d76c-context" class="cake-context" style="display: none;">$viewFile = '/home/leanerleader/public_html/app/View/Homes/sample_questions.ctp'
$QuestionAns = array()
$examDuration = (int) 40
$ExamDetails = array()
$schoolData = array()
$lastLoginSchool = null
$studentDetails = array()
$lastLoginStudent = null
$lastLoginParent = null
$parentDetails = array()
$examSections = array(
(int) 1 => 'Reading booklet questions',
(int) 2 => 'Language Conventions',
(int) 3 => 'Writing Leaflet',
(int) 4 => 'Normal'
)
$yearGroupOptionPractice = array(
(int) 42 => 'Year 3',
(int) 43 => 'Year 5',
(int) 38 => 'Year 7',
(int) 39 => 'Year 9'
)
$classOptions = array(
(int) 1 => 'Year 3',
(int) 2 => 'Year 5',
(int) 3 => 'Year 7',
(int) 4 => 'Year 9'
)
$title_for_layout = 'Learner Leader Online: Homes - Sample Questions'</pre><pre class="stack-trace">include - APP/View/Homes/sample_questions.ctp, line 136
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 111</pre></div></pre> NAPLAN Trial Numeracy </p>
<!--<p><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78daf4-trace').style.display = (document.getElementById('cakeErr664429c78daf4-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: ExaminationCategory [<b>APP/View/Homes/sample_questions.ctp</b>, line <b>140</b>]<div id="cakeErr664429c78daf4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78daf4-code').style.display = (document.getElementById('cakeErr664429c78daf4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78daf4-context').style.display = (document.getElementById('cakeErr664429c78daf4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr664429c78daf4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> ?></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"></</span><span style="color: #0000BB">p</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <!--<p><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'ExaminationCategory'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">].</span><span style="color: #DD0000">' NAPLAN Trial Numeracy '</span><span style="color: #007700">. </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'Examination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'paper'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span> Non-Calculator</p>--></span></code></span></pre><pre id="cakeErr664429c78daf4-context" class="cake-context" style="display: none;">$viewFile = '/home/leanerleader/public_html/app/View/Homes/sample_questions.ctp'
$QuestionAns = array()
$examDuration = (int) 40
$ExamDetails = array()
$schoolData = array()
$lastLoginSchool = null
$studentDetails = array()
$lastLoginStudent = null
$lastLoginParent = null
$parentDetails = array()
$examSections = array(
(int) 1 => 'Reading booklet questions',
(int) 2 => 'Language Conventions',
(int) 3 => 'Writing Leaflet',
(int) 4 => 'Normal'
)
$yearGroupOptionPractice = array(
(int) 42 => 'Year 3',
(int) 43 => 'Year 5',
(int) 38 => 'Year 7',
(int) 39 => 'Year 9'
)
$classOptions = array(
(int) 1 => 'Year 3',
(int) 2 => 'Year 5',
(int) 3 => 'Year 7',
(int) 4 => 'Year 9'
)
$title_for_layout = 'Learner Leader Online: Homes - Sample Questions'</pre><pre class="stack-trace">include - APP/View/Homes/sample_questions.ctp, line 140
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 111</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78def0-trace').style.display = (document.getElementById('cakeErr664429c78def0-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: Examination [<b>APP/View/Homes/sample_questions.ctp</b>, line <b>140</b>]<div id="cakeErr664429c78def0-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78def0-code').style.display = (document.getElementById('cakeErr664429c78def0-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr664429c78def0-context').style.display = (document.getElementById('cakeErr664429c78def0-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr664429c78def0-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> ?></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"></</span><span style="color: #0000BB">p</span><span style="color: #007700">></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"> <!--<p><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'ExaminationCategory'</span><span style="color: #007700">][</span><span style="color: #DD0000">'name'</span><span style="color: #007700">].</span><span style="color: #DD0000">' NAPLAN Trial Numeracy '</span><span style="color: #007700">. </span><span style="color: #0000BB">$ExamDetails</span><span style="color: #007700">[</span><span style="color: #DD0000">'Examination'</span><span style="color: #007700">][</span><span style="color: #DD0000">'paper'</span><span style="color: #007700">];</span><span style="color: #0000BB">?></span> Non-Calculator</p>--></span></code></span></pre><pre id="cakeErr664429c78def0-context" class="cake-context" style="display: none;">$viewFile = '/home/leanerleader/public_html/app/View/Homes/sample_questions.ctp'
$QuestionAns = array()
$examDuration = (int) 40
$ExamDetails = array()
$schoolData = array()
$lastLoginSchool = null
$studentDetails = array()
$lastLoginStudent = null
$lastLoginParent = null
$parentDetails = array()
$examSections = array(
(int) 1 => 'Reading booklet questions',
(int) 2 => 'Language Conventions',
(int) 3 => 'Writing Leaflet',
(int) 4 => 'Normal'
)
$yearGroupOptionPractice = array(
(int) 42 => 'Year 3',
(int) 43 => 'Year 5',
(int) 38 => 'Year 7',
(int) 39 => 'Year 9'
)
$classOptions = array(
(int) 1 => 'Year 3',
(int) 2 => 'Year 5',
(int) 3 => 'Year 7',
(int) 4 => 'Year 9'
)
$title_for_layout = 'Learner Leader Online: Homes - Sample Questions'</pre><pre class="stack-trace">include - APP/View/Homes/sample_questions.ctp, line 140
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 111</pre></div></pre> NAPLAN Trial Numeracy Non-Calculator</p>-->
<!-- tab start by Dinesh-->
<div id="page-wrap">
<div id="qusdetails" class="tabs">
<form action="https://www.learnerleaderonline.com/students/sample_question_save" onsubmit="return confirm('Are you sure you want to submit and exit the exam?');" id="StudentSampleQuestionsForm" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div>
<!--<button type="submit" class="qs_save_btn"> SUBMIT</button>-->
</form> </div>
</div>
<!-- tab End by Dinesh-->
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<!-- The Modal -->
<div id="myModalQs" class="modal_qs">
<!-- Modal content -->
<div class="modal-content_qs">
<div class="modal-header_qs">
<span class="close" onclick="close_popup()">×</span>
<h4>Message from learner leader online</h4>
</div>
<div class="modal-body_qs">
<p>Do not use space !</p>
</div>
<div class="modal-footer_qs">
<h3><a href="javascript:void(0);" onclick="close_popup()" class="btn closebut btn-default">OK</a></h3>
</div>
</div>
</div>
<script>
// Get the modal
var modal = document.getElementById('myModalQs');
function close_popup(){
modal.style.display = "none";
}
function space_prevent(event)
{
if(event.which ==32)
{
event.preventDefault();
modal.style.display = "block";
return false;
}
}
</script>
<style>
.qtxt p{
margin-left:10px !important;
}
.question_pos{
position:relative; top:18px !important;
}
.txtarea5 {
margin-top: 442px !important;
}
.qs_save_btn{
margin-bottom: 1%;
margin-left: 74%;
position: inherit !important;
}
</style>'
$scripts_for_layout = ''
$action = 'sample_questions'
include - APP/View/Layouts/take_exam_layout_special.ctp, line 44
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 111