- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / include / inc_resolve_ward.php
blob2397f0a198e36f4790c07fc01dd89ea703b3fc5c
1 <?php
2 /*------begin------ This protection code was suggested by Luki R. luki@karet.org ---- */
3 if (eregi("inc_resolve_ward.php",$PHP_SELF))
4 die('<meta http-equiv="refresh" content="0; url=../">');
5 /*------end------*/
7 if(!isset($ward_nr)||!$ward_nr){
8 if($cfg['thispc_ward_nr']){
9 $ward_nr=$cfg['thispc_ward_nr'];
13 require_once($root_path.'include/care_api_classes/class_ward.php');
14 $ward_obj=@new Ward;
15 $ward_row=$ward_obj->getWardInfo($ward_nr);
16 $ward_id=$ward_row['ward_id'];
17 $ward_name=$ward_row['name'];