<div class="content2">
	<span class="breadcrumbs">Navigácia: <a href="?site=main">Hlavná stránka</a>&nbsp;&gt;&nbsp;<a href="?site=courses">Výpis predmetov</a>&nbsp;&gt;&nbsp;<a href="?site=courseDetail&amp;itemId={$courseId}">Detail predmetu</a>&nbsp;&gt;&nbsp;Vyhodnotenie testu</span>
  <h3>Test</h3>
      <b>Meno: </b>{$userInfo.name|escape}<br />
      <b>Predmet: </b>{$courseName|escape}<br />
      <b>Dátum skúšky: </b>{$examDate|date_format:"%d.%m.%Y"}<br />
      <b>Známka: </b>{$testMark|escape}<br />
      <b>Body: </b>{$testPoints|escape}<br />
  <br />
  <b>Otázky:</b>
  <br />
  <br />
  <div>
    {foreach from=$questions item=menuItem}
      <span class="bold">{$menuItem.number|escape}. {$menuItem.question|escape}</span><br />
      <div>
        {foreach from=$menuItem.answers item=menuSubItem}
          <input type="checkbox"{if $menuSubItem.value} checked="checked"{/if} disabled="disabled" />{$menuSubItem.text|escape}
          {if $menuSubItem.correct==$menuSubItem.value}
            <img alt="correct" src="images/correct.jpg" />
          {elseif $menuSubItem.correct==1 && $menuSubItem.value!=1}
            <img alt="incomplete" src="images/incomplete.jpg" />
          {else}
            <img alt="incorrect" src="images/incorrect.jpg" />
          {/if}
          <br />
        {/foreach}
      </div>
      <br />
{*
      Komentár: 
      <br />
      <textarea name="comment" rows="5" cols="40" readonly="readonly">{$menuItem.comment|escape}</textarea>
      <br />
      <br />
*}
      <b>Body: </b>{$menuItem.points|escape}<br />
      <br />
    {/foreach}
  </div>
</div>
