5 * @author Cristian NAVALICI
6 * @version 1.0 feb 2008
10 require_once("../globals.php");
11 require_once("$srcdir/acl.inc");
13 // Check authorization.
14 $thisauth = acl_check('admin', 'dbc');
15 if (!$thisauth) die("Not authorized.");
18 $result = df_future_events();
25 <link rel
=stylesheet href
='<?php echo $css_header ?>' type
='text/css'>
26 <LINK href
="<?php echo $css_dbc ?>" rel
="stylesheet" type
="text/css">
27 <title
>DBC Report
</title
>
30 <body
<?php
echo $top_bg_line;?
>>
32 <h3
>List of opened DBC
's without future events</h3>
34 <table id = "tbl_future">
36 <th>Nr</th><th>PID</th><th>Name</th><th>DBC ID</th><th>Opening date</th><th>Age(days)</th>
39 foreach ( $result as $r ) {
40 $dutch_name = dutch_name($r['pid
']);
41 $age = df_dbc_age($r['ax_id
']);
43 <td align='center
'>$i</td>
44 <td align='center
'>{$r['pid
']}</td>
46 <td align='center
'>{$r['ax_id
']}</td>
47 <td>{$r['ax_odate
']}</td>