Code Context <?php
foreach ($circulars as $circular) {
if ($circular['Circular']['type'] == 'General') {
$viewFile = 'C:\xampp\htdocs\app\View\Layouts\site.ctp'
$dataForView = array(
'types' => array(
'' => '',
'General' => 'General',
'Computer' => 'Computer',
'Extc' => 'Extc',
'Electrical' => 'Electrical',
'Mechanical' => 'Mechanical',
'IT' => 'IT',
'Exam Cell' => 'Exam Cell',
'Placements' => 'Placements'
),
'circulars' => array(
'Circular' => array(
'id' => '45',
'type' => 'General',
'subject' => 'Minority Scholarship Notice 2020-21',
'description' => 'Minority Scholarship',
'attachment' => 'https://fcrit.ac.in/cdn/circular/1607327464-Minority.Scholarship.NoticeA.Y..2020.21.pdf',
'comments' => '',
'active_till' => '2020-12-30 12:10:00',
'created_by' => '1',
'created_timestamp' => '2020-12-07 13:21:04',
'modified' => '2020-12-07 13:21:04'
)
),
'content_for_layout' => '
<br/> <br/>
<div class="blockquote-ct">
<div class="row">
<div class="col-md-offset-1 col-md-10" style="min-height: 800px;">
<h2> Minority Scholarship Notice 2020-21 </h2> <br/>
<p>Minority Scholarship </p> <br/>
<p> </p> <br/>
<a href="https://fcrit.ac.in/cdn/circular/1607327464-Minority.Scholarship.NoticeA.Y..2020.21.pdf" class="btn btn-default btn-yellow">Download Attachment</a>
</div>
</div>
</div>',
'scripts_for_layout' => '',
'title_for_layout' => 'Circulars'
)
$types = array(
'' => '',
'General' => 'General',
'Computer' => 'Computer',
'Extc' => 'Extc',
'Electrical' => 'Electrical',
'Mechanical' => 'Mechanical',
'IT' => 'IT',
'Exam Cell' => 'Exam Cell',
'Placements' => 'Placements'
)
$circulars = array(
'Circular' => array(
'id' => '45',
'type' => 'General',
'subject' => 'Minority Scholarship Notice 2020-21',
'description' => 'Minority Scholarship',
'attachment' => 'https://fcrit.ac.in/cdn/circular/1607327464-Minority.Scholarship.NoticeA.Y..2020.21.pdf',
'comments' => '',
'active_till' => '2020-12-30 12:10:00',
'created_by' => '1',
'created_timestamp' => '2020-12-07 13:21:04',
'modified' => '2020-12-07 13:21:04'
)
)
$content_for_layout = '
<br/> <br/>
<div class="blockquote-ct">
<div class="row">
<div class="col-md-offset-1 col-md-10" style="min-height: 800px;">
<h2> Minority Scholarship Notice 2020-21 </h2> <br/>
<p>Minority Scholarship </p> <br/>
<p> </p> <br/>
<a href="https://fcrit.ac.in/cdn/circular/1607327464-Minority.Scholarship.NoticeA.Y..2020.21.pdf" class="btn btn-default btn-yellow">Download Attachment</a>
</div>
</div>
</div>'
$scripts_for_layout = ''
$title_for_layout = 'Circulars'
$circular = array(
'id' => '45',
'type' => 'General',
'subject' => 'Minority Scholarship Notice 2020-21',
'description' => 'Minority Scholarship',
'attachment' => 'https://fcrit.ac.in/cdn/circular/1607327464-Minority.Scholarship.NoticeA.Y..2020.21.pdf',
'comments' => '',
'active_till' => '2020-12-30 12:10:00',
'created_by' => '1',
'created_timestamp' => '2020-12-07 13:21:04',
'modified' => '2020-12-07 13:21:04'
)
include - APP\View\Layouts\site.ctp, line 347
View::_evaluate() - CORE\Cake\View\View.php, line 954
View::_render() - CORE\Cake\View\View.php, line 916
View::renderLayout() - CORE\Cake\View\View.php, line 543
View::render() - CORE\Cake\View\View.php, line 487
Controller::render() - CORE\Cake\Controller\Controller.php, line 919
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161
[main] - APP\webroot\index.php, line 105