if (isset($item->course)) { echo CHtml::encode($item->course->course_name); } ?> </span></p> <p><span class="col1"><?php echo Yii::t('web/home', 'Lecture'); ?> : </span><span class="col2"><?php if (isset($item->lecture)) { echo CHtml::encode($item->lecture->lecture_name); } ?> </span></p> <?php if (WUserTest::checkTestText($item['test_id'])) { ?> <h3 style="font-size: 12px; color:#3ab54a; margin-top: 0;">This test is contain question type of writing.</h3> <?php } ?> <!--<p><span class="col1">Status: </span><span class="col2"><?php if ($item['status'] == 0 && $item['success'] == 2) { echo '<span style="color:red;">Waiting Evalute<span>'; } elseif ($item['status'] == 1 && $item['success'] == 2) { echo '<span style="color:green;">Evaluted</span>'; } ?> </span></p>--> <p style="padding-top: 10px; padding-left: 110px;"><span class="col1"><a href="<?php