Projects

$value) {

//zvysovanie poctu zaznamov
if (strstr($value, “”)) $record++;

//parsovanie samotnych poloziek
foreach ($items_array as $i => $value_items) {
$start = “”;
$end = “”;
$value_items_tmp = $value_items.”_”.$record;
if (strstr($value, $start)) $$value_items_tmp = substr($value, strpos($value, $start)+strlen($start), strpos($value, $end)-(strpos($value, $start)+strlen($start)));
}

}

//vypis
$aaa=0;
for ($a=1; $a $value_items) {
$tmp = $value_items.”_”.$a;
$$value_items = $tmp;
}

if ($$acronym) $$acronym = $$acronym.” – “;
if ($$project_type == ‘international’ and $aaa==0) {$nadpis=”International”; $aaa=1;}
elseif ($$project_type==’national’ and ($aaa==0 or $aaa==1)) { $nadpis=”National”; $aaa=2; }

//vypis do html
if ($nadpis) echo ”

“.$nadpis.”

“;
echo ”

“; echo “”;
echo ”
“;
echo ”
“;
echo ”
“;
if ($$description_sk) echo ”
“;
if ($$web) echo ”
“;
echo ”
“;
echo ”

“.$$acronym.$$name_sk.”
“.$$name_en.” Program: “.$$program_name.” Project leader: “.$$solver.” Annotation: “.$$description_sk.” Project web page: “.$$web.” Duration: “.$$start_date.” – “.$$end_date.”

“;

unset($nadpis);
}
if (!$record) echo ”

The employee has no project.

“;
?>