require "funkce.php.inc";
hlavicka(cz_en('MENDELTECH','MENDELTECH'));
echo "\t\t\t
" . cz_en('Poplatky','Fees') . "
\n";
$dotaz=q("SELECT platbaC,platbaE,popisC,popisE,castka FROM s_platby ORDER BY id_platby ASC");
$pocet=mysql_num_rows($dotaz);
if ($pocet==0) echo "\t\t\t" . cz_en('Informace doposud nejsou k dispozici.','Information is not available yet.') . "
\n";
else {
for ($i=0;$i<$pocet;$i++) {
$platbaCZ=sel(mysql_result($dotaz,$i,'platbaC'));
$platbaEN=sel(mysql_result($dotaz,$i,'platbaE'));
$popisCZ=sel(mysql_result($dotaz,$i,'popisC'));
$popisEN=sel(mysql_result($dotaz,$i,'popisE'));
$castka=sel(mysql_result($dotaz,$i,'castka'));
echo "\t\t\t" . cz_en($platbaCZ,$platbaEN) . "
\n";
echo "\t\t\t\n";
if ($castka<>0) echo "\t\t\t\t- " . cz_en('Částka:','Amount:') . " " . $castka . " " . cz_en('Kč','CZK') . "
\n";
echo "\t\t\t\t- " . cz_en($popisCZ,$popisEN) . "
\n";
if (angl()) $termin=q("SELECT date_format(do,'%M %e, %Y') AS dead FROM s_terminy WHERE id_term=10");
else $termin=q("SELECT date_format(do,'%e. %c. %Y') AS dead FROM s_terminy WHERE id_term=10");
$deadline=mysql_result($termin,0,'dead');
// echo "\t\t\t\t- " . cz_en('Termín úhrady:','Deadline for payment:') . " ";
// if ($deadline=='0. 0. 0000'||Empty($deadline)) echo cz_en('neznámý','not set yet'); else echo $deadline;
// echo "
\n";
echo "\t\t\t
\n";
}
}
footer();
?>