} else { $_POST['create_id'] = $_SESSION['sess_user_name']; } $_POST['create_time'] = date('YmdHis'); # Create own timestamp for cross db compatibility $obj->setDataArray($_POST); if ($obj->insertDataFromInternalArray()) { $saved = true; } else { echo $obj->getLastQuery . "<br>{$LDDbNoSave}"; } } if ($saved) { header("location:" . $thisfile . URL_REDIRECT_APPEND . "&target={$target}&allow_update=1&pid=" . $_SESSION['sess_pid']); exit; } } # Add extra language table $lang_tables = array('obstetrics.php'); require './include/init_show.php'; # Get all birth details data of the person $result =& $obj->BirthDetails($_SESSION['sess_pid']); if ($rows = $obj->LastRecordCount()) { $birth = $result->FetchRow(); } $subtitle = $LDBirthDetails; $_SESSION['sess_file_return'] = $thisfile; $buffer = str_replace('~tag~', $title . ' ' . $name_last, $LDNoRecordFor); $norecordyet = str_replace('~obj~', strtolower($subtitle), $buffer); /* Load GUI page */ require './gui_bridge/default/gui_show.php';
<?php error_reporting(E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR); require './roots.php'; require $root_path . 'include/inc_environment_global.php'; $lang_tables[] = 'actions.php'; define('LANG_FILE', 'obstetrics.php'); $local_user = '******'; require_once $root_path . 'include/inc_front_chain_lang.php'; # Create obstetrics object and get all neonatal classifications require_once $root_path . 'include/care_api_classes/class_obstetrics.php'; $neo = new Obstetrics(); $classif =& $neo->Classifications(); $rows = $neo->LastRecordCount(); html_rtl($lang); ?> <!-- Generated by AceHTML Freeware http://freeware.acehtml.com --> <head> <?php echo setCharSet(); ?> <title><?php echo $LD['classification']; ?> </title> <script language="JavaScript"> <!-- Script Begin function process(d) { if(0==<?php