|
|
Plán zasedání a dalších akcí Rady pro rozhlasové a televizní vysílání
stav k 2. srpnu 2006
include 'config.php';
$db = db_connect();
$q = "select iddocumentitem, note, name from doc_documentitem where iddocumentitemtype=(select iddocumentitemtype from doc_documentitemtype where code='CALENDAR') and validto>current_timestamp order by docitemdate asc";
$kalendar = db_queryresults($q);
while (list($key, $item) = each($kalendar))
{
$kalendar_id = $item['IDDOCUMENTITEM'];
$kalendar_termin = $item['NAME'];
$kalendar_body = $item['NOTE'];
$kalendar_autor = '';
echo "$kalendar_termin | ";
echo "$kalendar_body | ";
}
?>
|