<tr bgcolor="<?php echo $bgc; ?> " valign="top"> <td><FONT SIZE=1 FACE="Arial"><?php if ($row['time']) { echo $row['time']; } ?> </td> <td><FONT SIZE=-1 FACE="Arial" color="#000033"> <?php if (!$sformat && !empty($row['notes'])) { echo deactivateHotHtml(nl2br($row['notes'])); } elseif ($sformat && !empty($row['short_notes'])) { echo '[ ' . deactivateHotHtml($row['short_notes']) . ' ]'; } ?> </td> <td><FONT SIZE=1 FACE="Arial"><?php if ($row['personell_name']) { echo $row['personell_name']; } ?> </td> </tr> <?php } ?> </table>
?> </td> <td><FONT color="#000033"> <?php if (!empty($row['type_nr'])) { echo $notes_type; } ?> <hr /> <?php if (!empty($row['short_notes'])) { echo '<br>[ ' . deactivateHotHtml($row['short_notes']) . ' ]'; } if (!empty($row['notes'])) { echo deactivateHotHtml(nl2br($row['notes'])); } ?> </td> <td><?php if ($row['personell_name']) { echo $row['personell_name']; } ?> </td> </tr> <?php }
$smarty->assign('sHeadlineItemTitle', $sBuffer); $sBuffer = '<font size="' . $news_headline_preface_font_size . '" face="' . $news_headline_preface_font_face . '" color="' . $news_headline_preface_font_color . '">'; if ($news_headline_preface_font_bold) { $sBuffer = $sBuffer . '<b>'; } $sBuffer = $sBuffer . ucfirst(deactivateHotHtml(nl2br($news[$j]['preface']))); if ($news_headline_preface_font_bold) { $sBuffer = $sBuffer . '</b>'; } $sBuffer = $sBuffer . '</font>'; $smarty->assign('sPreface', $sBuffer); $sBuffer = '<font size="' . $news_headline_body_font_size . '" face="' . $news_headline_body_font_face . '" color="' . $news_headline_body_font_color . '">'; if ($news_headline_body_font_bold) { $sBuffer = $sBuffer . '<b>'; } $sBuffer = $sBuffer . substr(deactivateHotHtml(nl2br($news[$j]['body'])), 0, $news_normal_preview_maxlen) . '...'; if ($news_headline_body_font_bold) { $sBuffer = $sBuffer . '</b>'; } $sBuffer = $sBuffer . '</font>'; $smarty->assign('sNewsPreview', $sBuffer); $smarty->assign('sEditorLink', '<a href="' . $readerpath . '&nr=' . $news[$j]['nr'] . '&news_type=headline"><font size=1 color="#ff0000" face="arial">' . $LDMore . '...</a>'); } else { $nofile = 1; } } if (!$news[$j] || $nofile) { $i = $j; $smarty->assign('sHeadlineImg', createComIcon($root_path, 'pplanu-s.jpg', '0', '', TRUE)); $smarty->assign('sImgAlign', $picalign); ob_start();
if ($news_headline_preface_font_bold) { $sBuffer = $sBuffer . '<b>'; } $news2_default = nl2br($news[$j]['preface']); $sBuffer = $sBuffer . ucfirst(deactivateHotHtml($news2_default)); if ($news_headline_preface_font_bold) { $sBuffer = $sBuffer . '</b>'; } $sBuffer = $sBuffer . '</font>'; $smarty->assign('sPreface', $sBuffer); $sBuffer = '<font size="' . $news_headline_body_font_size . '" face="' . $news_headline_body_font_face . '" color="' . $news_headline_body_font_color . '">'; if (isset($news_headline_body_font_bold)) { $sBuffer = $sBuffer . '<b>'; } $news3_default = nl2br($news[$j]['body']); $sBuffer = $sBuffer . substr(deactivateHotHtml($news3_default), 0, $news_normal_preview_maxlen) . '...'; if (isset($news_headline_body_font_bold)) { $sBuffer = $sBuffer . '</b>'; } $sBuffer = $sBuffer . '</font>'; $smarty->assign('sNewsPreview', $sBuffer); $smarty->assign('sEditorLink', '<a href="' . $readerpath . '&nr=' . $news[$j]['nr'] . '&news_type=headline"><font size=1 color="#ff0000" face="arial">' . $LDMore . '...</a>'); } else { $nofile = 1; } } if (!isset($news[$j]) || $nofile) { $i = $j; $smarty->assign('sHeadlineImg', createComIcon($root_path, 'pplanu-s.jpg', '0', '', TRUE)); $smarty->assign('sImgAlign', $picalign); ob_start();
$smarty->assign('sImgWidth', $picsize[3]); } } $sBuffer = $sBuffer . '</font><br>'; $smarty->assign('sHeadlineItemTitle', $sBuffer); $sBuffer = '<font size="' . $news_headline_preface_font_size . '" face="' . $news_headline_preface_font_face . '" color="' . $news_headline_preface_font_color . '">'; if ($news_headline_preface_font_bold) { $sBuffer = $sBuffer . '<b>'; } $sBuffer = $sBuffer . ucfirst(deactivateHotHtml(nl2br($news['preface']))); if ($news_headline_preface_font_bold) { $sBuffer = $sBuffer . '</b>'; } $sBuffer = $sBuffer . '</font>'; $smarty->assign('sPreface', $sBuffer); $sBuffer = '<font size="' . $news_headline_body_font_size . '" face="' . $news_headline_body_font_face . '" color="' . $news_headline_body_font_color . '">'; if ($news_headline_body_font_bold) { $sBuffer = $sBuffer . '<b>'; } $sBuffer = $sBuffer . deactivateHotHtml(nl2br($news['body'])); if ($news_headline_body_font_bold) { $sBuffer = $sBuffer . '</b>'; } $sBuffer = $sBuffer . '</font>'; $smarty->assign('sNewsPreview', $sBuffer); $smarty->assign('sEditorLink', $LDWrittenFrom . ' ' . $news['author'] . ' ' . $LDWrittenOn . ' ' . formatDate2Local($news['submit_date'], $date_format)); $sBuffer = $mode == 'preview4saved' ? $returnfile : $breakfile; $smarty->assign('sBackLink', '<a href="' . $sBuffer . '"><img ' . createComIcon($root_path, 'l-arrowgrnlrg.gif', '0') . '> ' . $LDBackTxt . '</a>'); ?>
// Set the visual signal setEventSignalColor($pn, SIGNAL_COLOR_NURSE_REPORT, SIGNAL_COLOR_LEVEL_FULL); $saved = true; } else { $saved = false; echo "<p>{$report_obj->sql}{$LDDbNoSave}"; } } if ($dateput2 && $berichtput2 && $author2) { if (!$_POST['ref_notes_nr']) { $_POST['timeput'] = date('H:i:s'); } if ($dateput2) { $_POST['dateput2'] = formatDate2STD($dateput2, $date_format); } $_POST['berichtput2'] = deactivateHotHtml($berichtput2); if ($report_obj->saveEffectivityReport($_POST)) { // Set the visual signal setEventSignalColor($pn, SIGNAL_COLOR_NURSE_REPORT, SIGNAL_COLOR_LEVEL_FULL); $saved = true; } else { $saved = false; echo "<p>{$report_obj->sql}{$LDDbNoSave}"; } } if ($saved) { header("location:{$thisfile}?sid={$sid}&lang={$lang}&saved=1&pn={$pn}&station={$station}&edit={$edit}"); } } else { $saved = false; }
?> ></td> --> <td class=pblock bgColor="#eeeeee"><a href="dept_info.php<?php echo URL_APPEND . "&dept_nr=" . $dept['nr']; ?> "> <?php if (isset(${$dept}['LD_var']) && !empty(${$dept}['LD_var'])) { echo ${$dept}['LD_var']; } else { echo $dept['name_formal']; } ?> </a> </td> <td class=pblock bgColor="#eeeeee"><?php echo deactivateHotHtml(nl2br($dept['description'])); ?> </td> </tr> <?php } ?> </table> <p> <a href="javascript:history.back()"><img <?php echo createLDImgSrc($root_path, 'cancel.gif', '0'); ?> border="0"></a>