'; $html .= $param['label']; $html .= ''; $html .= '
'; $html .= $param['value']; $html .= '
'; return $html; } function textLink($param) { if(empty($param['value'])) return; $html = ''; $html .= '
'; $html .= $param['label']; $html .= '
'; $html .= '
'; $html .= ''; $html .= $param['value']; $html .= ''; $html .= '
'; return $html; } function radio($param) { if(empty($param['value']) && empty($param['other'])) return; $html = ''; $html .= '
'; $html .= $param['label']; $html .= '
'; $html .= '
'; $html .= $param['value']; $html .= ' '; $html .= $param['other']; $html .= '
'; return $html; } function checkbox($param) { $options = ''; $show = false; foreach($param['options'] as $option) { if($option['check']) { $options .= '
  • '.$option['label'].'
  • '; $show = true; } } $html = ''; $html .= '
    '; $html .= $param['label']; $html .= '
    '; $html .= '
    '; $html .= ''; $html .= '
    '; if($show) return $html; } function image($param) { if(empty($param['value'])) return; $html = ''; $html .= '
    '; $html .= $param['label']; $html .= '
    '; $html .= '
    '; $html .= ''; $html .= ''.show($param['value']).''; $html .= ''; $html .= '
    '; return $html; } function table($param) { $show = false; $table = ''; $table .= ''; $table .= ''; $table .= ''; foreach($param['options'] as $opt) { $table .= ''; } $table .= ''; foreach($param['statements'] as $stat) { $table .= ''; $table .= ''; foreach($param['options'] as $key => $opt) { if($opt['id'] == $param['value'][$stat['id']]) { $table .= ''; $show = true; } else { $table .= ''; } } $table .= ''; } $table .= '
     '; $table .= $opt['label']; $table .= '
    '; $table .= $stat['label']; $table .= 'x-
    '; $html = ''; $html .= '
    '; $html .= $param['label']; $html .= '
    '; $html .= $table; $html .= ''; if($show) return $html; } ?>

    partial('module/zdjecia', array('zdjecia' => array($foto), 'powieksz_zdjecie' => $lang['powieksz_zdjecie'])) ?>