<?php


$this->headLink()->appendStylesheet($this->DinamicPath().'css/table.css','all');
$this->headLink()->appendStylesheet($this->DinamicPath().'css/form.css','all');
print $this->form->render();
if (count($this->list2SubjectHasSubject) > 0){
//$head = array('Subject_id_subject');
$head = NULL;
$selectData = array('Subject_id_subject');
$links['Subject_id_subject'] = $this->url(array('controller' => $this->controller, 'action' => $this->action), 'default', true);
$caption = "SubjectHasSubject";
print $this->Table($this->paginator,$selectData,$head,$caption,$links);
print $this->paginationControl($this->paginator,'Sliding','paginator.phtml');

}else {
echo "Nebyly nalezeny zadne zaznamy.";
}
?>
