} else { echo "<font color='green'>"; } echo xl("File privilege granted to OpenEMR user."); echo "<br></font>\n"; echo "<p><font color='green'>"; echo xl("Database upgrade finished."); echo "</font></p>\n"; echo "<p><font color='red'>"; echo xl("Please restart the apache server before playing with de-identification"); echo "</font></p>\n"; echo "<p><font color='red'>"; echo xl("Please set de_identification_config variable back to zero"); echo "</font></p>\n"; echo "</body></html>\n"; sqlClose($dbh); exit; } ?> <script language="JavaScript"> function form_validate() { if(document.forms[0].root_user_name.value == "") { alert("<?php echo xl('Enter Database root Username'); ?> "); return false; }
$db_email_msg['message'] = cron_setmessage($prow, $db_email_msg); // send sms to patinet - if not in test mode if ($bTestRun == 0) { cron_SendSMS($prow['phone_cell'], $db_email_msg['email_subject'], $db_email_msg['message'], $db_email_msg['email_sender']); } // larry :: debug echo "\nDEBUG :: sms was sent to= " . $prow['phone_cell'] . " \nsender= " . $db_email_msg['email_sender'] . " \nsbj= " . $db_email_msg['email_subject'] . " \nmsg= " . $db_email_msg['message'] . "\n"; //update entry >> pc_sendalertsms='Yes' cron_updateentry($TYPE, $prow['pid'], $prow['pc_eid']); $strMsg .= " || ALERT SENT SUCCESSFULLY TO " . $prow['phone_cell']; $strMsg .= "\n" . $patient_info . "\n" . $smsgateway_info . "\n" . $data_info . "\n" . $db_email_msg['message']; } // write logs for every reminder sent WriteLog($strMsg); // larry :: update notification data again - todo :: fix change in cron_updateentry $db_email_msg = cron_getNotificationData($TYPE); } unset($mysms); sqlClose(); ?> <html> <head> <title>Conrjob - SMS Notification</title> </head> <body> <center> </center> </body> </html>
/** FOOT 스크립트 * @class default * @param $name: description * @return */ function foot($param = '') { global $mini; $param = param($param); iss($mini['set']['debug']); checkTime('all'); /* if (!empty($mini['set']['debug'])) { echo " <script type='text/javascript'> //<![CDATA[ error(\"[실행시간]".nl2br2(printTime($mini['set']['debug'], 1))."\"); //]]> </script> "; } */ if ($mini['head']) { // 게시판 푸터 if (!empty($mini['board']['footer']) && !empty($mini['is_layout'])) { echo $mini['board']['footer']; } if (!empty($mini['board']['footer_url']) && !empty($mini['is_layout'])) { include $mini['board']['footer_url']; } echo "\n<!--endTheM-->\n</body>\n</html>\n"; $mini['foot'] = 1; } // sql 닫기 iss($mini['sql']); if (is_array($mini['sql'])) { foreach ($mini['sql'] as $val) { sqlClose($val); } } // ob_end 적용 if (!empty($mini['ob_start'])) { @ob_end_flush(); unset($mini['ob_start']); } }