a:active { color:#FF8000; } table,th,td { border: 0px solid white; border-collapse: collapse; } th, td { padding: 3px; } </style> </head> <body style="font-family: Arial, Helvetica, sans-serif;"> <table width="1200px"><tbody><tr><td><img src="images/logo_uk.jpg" width="150px" /></td> <td style=" text-align: center; "><b>UNIVERZITA KOMENSKÉHO V BRATISLAVE</b><br /> Fakulta matematiky, fyziky a informatiky<br /> Mlynská dolina, 84148 Bratislava<br /> Študijné oddelenie<br /> tel.: 02/65427086, 65426720, fax: 02/65425882</td> <td style=" text-align: right; "><img src="images/logo_fmfi.jpg" width="150px" /></td></tr></tbody></table><br /> <table width="1200px"><tbody><tr><td>Meno studenta: <?php $tv = db_retrieve_travel_byID($id, TRUE); $id_student = $tv[5]; $id_program = $tv[6]; logmsg("s: {$id_student} p: {$id_program}"); $stsp = db_retrieve_study_prog_and_student_details($id_program, $id_student); $agr = db_retrieve_agreement_byID($tv[2]); $courses = $tv[14]; print $stsp[1]; print '</td><td>Ročník a štúdijný program: '; print $tv[1] . ' - ' . $stsp[0]; print '</td></tr><tr><td>Partnerská univerzita: '; print $agr[1][1] . ' (' . $agr[1][2] . ')'; print '</td><td>Obdobie: '; if ($tv[3] !== '0000-00-00') { print $tv[3]; } else {
function upload_file_and_edit_travel() { save_travel(); upload_file(7, 13, $_POST['0'], 0); $id = $_POST['0']; $tv = db_retrieve_travel_byID($id); addedit_travel($tv); }