- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / include / inc_accessplan_areas.php
blobce2ba6b2440be09584543a016c05502a0c1cf776
1 <?php
2 /*------begin------ This protection code was suggested by Luki R. luki@karet.org ---- */
3 if (eregi('inc_accessplan_areas.php',$PHP_SELF))
4 die('<meta http-equiv="refresh" content="0; url=../">');
5 /*------end------*/
7 function checkselect($actual,$ref)
9 if($actual==$ref) return "selected"; else return "";
13 function createselecttable($itemselect)
15 $opts=array("","alle","M1","M2","M3","M4","M5","M6","M7","M8","M9","alle_M","P1","P1","P2","P3","P4","P5","alle_P",
16 "Pflege","OP","alle_OP","Labor_Abfrage","Labor_Eingabe","Technik","Lohn_Buch","Personal","Cafe",
17 "Aufnahme","Medocs","Dienstplan_OP_Pflege","Ärzte","OP_Arzt","Apotheke");
19 for($k=0;$k<sizeof($opts);$k++)
20 print '<option value="'.$opts[$k].'" '.checkselect($itemselect,"$opts[$k]").'>'.strtr($opts[$k],"_"," ").'</option>';