2 error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
);
3 require('./roots.php');
4 require($root_path.'include/inc_environment_global.php');
5 $lang_tables[]='actions.php';
6 define('LANG_FILE','obstetrics.php');
7 $local_user='aufnahme_user';
8 require_once($root_path.'include/inc_front_chain_lang.php');
9 # Create obstetrics object and get all neonatal classifications
10 require_once($root_path.'include/care_api_classes/class_obstetrics.php');
12 $classif= &$neo->Classifications();
13 $rows=$neo->LastRecordCount();
15 ?
><?php
html_rtl($lang); ?
>
16 <!-- Generated by AceHTML Freeware http
://freeware.acehtml.com -->
18 <?php
echo setCharSet(); ?
>
19 <title
><?php
echo $LD['classification']; ?
></title
>
22 <script language
="JavaScript">
25 if(0==<?php
echo $rows ?
>) return false;
27 wd
=window
.opener
.document
.report
.classification
;
28 for(i
= 0; i
<<?php
echo $rows ?
>; i++
){
29 eval("if(d.c"+i+
".checked) {wd.value=wd.value + d.c"+i+
".value + \"\\n\"; clo=true;}");
32 if(clo
) window
.close();
38 <body onLoad
="if (window.focus) window.focus()"><font face
=arial
>
40 <form name
="classif" onSubmit
="return process(this)">
41 <table border
=0 cellpadding
=0 cellspacing
=0 bgcolor
="#efefef">
45 <table border
=0 cellspacing
=1>
49 <td background
="../../gui/img/common/default/tableHeaderbg.gif">
50 <font face
=arial color
="#efefef" size
=3><b
><?php
echo $LD['classification'] ?
> </b
>
59 <tr bgcolor
="#ffffff">
60 <td
><font face
=arial size
=2>
63 while($row=$classif->FetchRow()){
64 if(isset($
$row['LD_var'])&&!empty($
$row['LD_var'])) $buffer= $
$row['LD_var'];
65 else $buffer= $row['name'];
66 echo '<nobr><input type="checkbox" name="c'.$c.'" value="'.$buffer.'"> '.$buffer.'</nobr><br>
81 <input type
="submit" value
="<?php echo $LDOk ?>">
82 <input type
="button" value
="<?php echo $LDClose ?>" onClick
="window.close()">