5 * @author Cristian NAVALICI
6 * @version 1.0 feb 2008
10 require_once("../globals.php");
11 require_once("$srcdir/acl.inc");
13 // take the content to display
14 $openztn = df_opztn_nodbc();
20 <link rel
=stylesheet href
='<?php echo $css_header ?>' type
='text/css'>
21 <LINK href
="<?php echo $css_dbc ?>" rel
="stylesheet" type
="text/css">
22 <title
>Opened ZTNs with no DBCs
</title
>
25 <body
<?php
echo $top_bg_line;?
>>
27 <h3
>Patient
List with opened ZTN but no opened DBC
</h3
>
29 <table
class="tbllist">
30 <tr
><th
>PID
</th
><th
>ZTN id
</th
><th
>Open ZTN
</th
><th
>DBC info
</th
></tr
>
33 foreach ( $openztn as $ok => $ov ) {
34 if ( empty($ov['dbc']) ) $dbc = 'Geen DBC!';
35 else $dbc = "ID: {$ov['dbc']['ax_id']} / DOPEN: {$ov['dbc']['ax_odate']} / CDATE: {$ov['dbc']['ax_cdate']}";
38 $str = "<tr><td>$ok</td>";
39 $str .= "<td>{$ov['ztn']['cn_ztn']}</td>";
40 $str .= "<td>{$ov['ztn']['cn_dopen']}</td>";
41 $str .= "<td>$dbc</td></tr>";