本文整理汇总了PHP中convertTimeToLocal函数的典型用法代码示例。如果您正苦于以下问题:PHP convertTimeToLocal函数的具体用法?PHP convertTimeToLocal怎么用?PHP convertTimeToLocal使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了convertTimeToLocal函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: while
while ($content = $ergebnis->FetchRow()) {
if ($tog) {
echo '<tr class="wardlistrow1">';
$tog = 0;
} else {
echo '<tr class="wardlistrow2">';
$tog = 1;
}
echo '
<td>' . $i . '</td>
<td><a href="javascript:show_order(\'' . $content['dept'] . '\',\'' . $content['tdate'] . '\',\'' . $content['ttime'] . '\',\'' . $content['reporter'] . '\',\'' . $content['tid'] . '\')">
<img ' . $img_uparrow . ' alt="' . $LDClk2Read . '"></a></td>
<td>' . $content['reporter'] . '</td>
<td >' . strtoupper($content['dept']) . '</td>
<td>' . @formatDate2Local($content['tdate'], $date_format) . '</td>
<td>' . @convertTimeToLocal($content['ttime']) . '</td>
<td>';
if ($content['seen']) {
echo '<img ' . createComIcon($root_path, 'check-r.gif', '0') . '>';
} else {
echo " ";
}
echo '</td>
</tr>';
$i++;
}
echo '
</table>
</td></tr><tr bgcolor="' . $cfg['body_bgcolor'] . '">
<td>';
if ($ofset) {
示例2: display
//.........这里部分代码省略.........
">
</td>
</tr>
<tr>
<td class="reg_item">
<?php
echo $LDRegDate;
?>
:
</td>
<td class="reg_input">
<FONT SIZE=-1 FACE="Arial" color="#800000">
<?php
echo formatDate2Local($date_reg, $date_format);
?>
<input name="date_reg" type="hidden" value="<?php
echo $date_reg;
?>
">
</td>
</tr>
<tr>
<td class="reg_item">
<?php
echo $LDRegTime;
?>
:
</td>
<td class="reg_input">
<FONT SIZE=-1 FACE="Arial" color="#800000"><?php
echo convertTimeToLocal(formatDate2Local($date_reg, $date_format, 0, 1));
?>
</td>
</tr>
<tr>
<td class="reg_item">
<FONT SIZE=-1 FACE="Arial"><?php
if ($person_obj->IsHospitalFileNrMandatory()) {
$asterik = '*';
} else {
$asterik = ' ';
}
if ($errorfilenr) {
echo '<font color="#ff0000">*' . $LDFileNr . '</font><br>
Try this one: ' . $person_obj->GetNewSelianFileNumber();
} else {
echo $asterik . $LDFileNr;
}
?>
</td>
<td class="reg_input">
<input type="text" name="selian_pid" size=14 maxlength=6 value="<?php
echo $selian_pid;
?>
" onFocus="this.select();">
</td>
</tr>
<?php
$this->createTR($errornamefirst, 'name_first', ' *' . $LDFirstName, $name_first, '', '', FALSE);
$this->createTR($errorname2, 'name_2', ' *' . $LDName2, $name_2, '', '', FALSE);
$this->createTR($errornamelast, 'name_last', ' *' . $LDLastName, $name_last, '', '', FALSE);
$this->createTR($errornamemid, 'name_middle', $LDNameMid, $name_middle, '', '', FALSE);
示例3: while
<td class="j"><font color="#ffffff"> <b>' . $LDNormalValue . '</b> </td>
<td class="j"><font color="#ffffff"> <b>' . $LDMsrUnit . '</b> </td>';
while (list($x, $v) = each($tdatePrint)) {
echo '
<td class="a12_b"><font color="#ffffff" width="100px"> <b>' . formatDate2Local($v, $date_format) . '<br> ' . $x . '</b> </td>';
}
reset($tdate);
echo '</tr>';
echo '
<tr bgcolor="#ffddee" >
<td class="va12_n"><font color="#ffffff"> </td>
<td class="va12_n"><font color="#ffffff"> </td>
<td class="j"><font color="#ffffff"> </td>';
while (list($x, $v) = each($ttime)) {
echo '
<td class="a12_b" width="100px"><font color="#0000cc"> <b>' . convertTimeToLocal($v) . '</b> ' . $LDOClock . ' </td>';
}
# Reset array
reset($ttime);
# Prepare the graph values
$tparam = explode('~', $_POST['params']);
//order the values
$requestData = array();
reset($records);
$jIDArray = array();
while (list($job_id, $paramgroupvalue) = each($records)) {
$jIDArray[] = $job_id;
foreach ($paramgroupvalue as $paramgroup_a => $paramvalue_a) {
foreach ($paramvalue_a as $paramgroup => $paramvalue) {
$ext = substr(stristr($paramgroup, '__'), 2);
$requestData[$ext][$paramgroup][$job_id] = $paramvalue;
示例4:
$smarty->assign('LDError', $LDErrorS);
} else {
$smarty->assign('LDError', $LDError);
}
}
$smarty->assign('LDCaseNr', $LDCaseNr);
if (isset($encounter_nr) && $encounter_nr) {
$smarty->assign('encounter_nr', $encounter_nr);
} else {
$smarty->assign('encounter_nr', '<font color="red">' . $LDNotYetAdmitted . '</font>');
}
$smarty->assign('img_source', "<img {$img_source}>");
$smarty->assign('LDAdmitDate', $LDAdmitDate);
$smarty->assign('sAdmitDate', @formatDate2Local(date('Y-m-d'), $date_format));
$smarty->assign('LDAdmitTime', $LDAdmitTime);
$smarty->assign('sAdmitTime', @convertTimeToLocal(date('H:i:s')));
$smarty->assign('LDTitle', $LDTitle);
$smarty->assign('title', $title);
$smarty->assign('LDLastName', $LDLastName);
$smarty->assign('name_last', $name_last);
$smarty->assign('LDFirstName', $LDFirstName);
$smarty->assign('name_first', $name_first);
# Set a row span counter, initialize with 6
$iRowSpan = 6;
if ($GLOBAL_CONFIG['patient_name_2_show'] && $name_2) {
$smarty->assign('LDName2', $LDName2);
$smarty->assign('name_2', $name_2);
$iRowSpan++;
}
if ($GLOBAL_CONFIG['patient_name_3_show'] && $name_3) {
$smarty->assign('LDName3', $LDName3);
示例5: formatDate2Local
</tr>
<!-- <tr>
<td><pre><?php
echo $LDAttach;
?>
</pre></td>
<td><pre></pre></td>
</tr>
-->
<tr>
<td><pre><?php
echo $LDDate . ':' . $LDTime;
?>
</pre></td>
<td><pre><?php
echo '<b>' . formatDate2Local($content['send_dt'], $date_format) . ' ' . convertTimeToLocal(formatDate2Local($content['send_dt'], $date_format, 0, 1)) . '</b>';
?>
</pre></td>
</tr>
<tr>
<td colspan="2">
<hr><pre>
<?php
//$content[body]=chunk_split($content[body],100);
echo nl2br($content['body']);
?>
</pre>
<hr>
</td>
</tr>
示例6: formatDate2Local
';
for ($i = 1; $i <= $count_job; $i++) {
$cache .= '
<td class="a12_b"><font color="#000"> <b>' . formatDate2Local($parameters[$i]['jobs'][2], $date_format) . '</b> </td>';
}
$cache .= '
</tr>
<tr bgcolor="#ffddee" >
<td class="va12_n"><font color="#000">
</td>
<td class="va12_n"><font color="#000">
</td>
<td class="j"><font color="#000"> </td>';
for ($i = 1; $i <= $count_job; $i++) {
$cache .= '
<td class="a12_b"><font color="#0000cc"> <b>' . convertTimeToLocal($parameters[$i]['jobs'][3]) . '</b> ' . $LDOClock . ' </td>';
}
# Reset array
reset($ttime);
$cache .= '
</tr>';
# Display the values
$tasks =& $lab_obj->TestParams();
while ($t = $tasks->FetchRow()) {
$a_task = $lab_obj->TestParamsDetails($t['id']);
$arr_task = $a_task->FetchRow();
//$arr_task = $lab_obj->TestParamsDetails($t['id']);
$first = true;
$imgprep = "";
if ($taskstodo[$t['id']]) {
for ($i = 1; $i <= $count_job; $i++) {
示例7: explode
echo "\n\t\t\t\t\t\t<tr class=\"wardlistrow1\">\n";
echo "\n\t\t\t\t\t\t<td>" . $zeile['name'] . "</td>\n\n\t\t\t\t\t\t<td>" . $zeile['login_id'] . "</td>\n\n\t\t\t\t\t\t<td>*****</td><td>\n";
if ($zeile['lockflag']) {
echo '
<img ' . $img_padlock . '>';
} else {
echo '<img ' . $img_arrow . '>';
}
echo "\n\t\t\t\t\t\t</td>\n <td>";
/* Display the permitted areas */
$area = explode(' ', $zeile['permission']);
for ($n = 0; $n < sizeof($area); $n++) {
echo $area_opt[$area[$n]] . '<br>';
}
echo '</td>
<td> ' . formatDate2Local($zeile['s_date'], $date_format) . ' / ' . convertTimeToLocal($zeile['s_time']) . ' </td>';
echo '
<td>' . $zeile['create_id'] . '</td>';
echo "\n\t\t\t\t\t<td>\n\t\t\t\t\t<a href=edv_user_access_edit.php?sid=" . $sid . "&lang=" . $lang . "&mode=edit&userid=" . str_replace(' ', '+', $zeile['login_id']) . " title=\"{$LDChange}\"> {$LDInitChange}</a> \n\n\t\t\t<a href=edv_user_access_lock.php?sid=" . $sid . "&lang=" . $lang . "&itemname=" . str_replace(' ', '+', $zeile['login_id']) . " ";
if ($zeile['lockflag']) {
echo "title=\"{$LDUnlock}\" > {$LDInitUnlock}";
} else {
echo "title=\"{$LDLock}\"> {$LDInitLock}";
}
echo "</a> \n\n\t\t\t<a href=edv_user_access_delete.php?sid=" . $sid . "&lang=" . $lang . "&itemname=" . str_replace(' ', '+', $zeile['login_id']) . " title=\"{$LDDelete}\">\t{$LDInitDelete}</a> </td>";
echo "</tr>";
}
echo "\n\t\t\t\t\t</table>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>";
?>
<p>
示例8: while
';
echo '</tr>';
$i = 1;
while ($content = $ergebnis->FetchRow()) {
if ($tog) {
echo '<tr class="wardlistrow1">';
$tog = 0;
} else {
echo '<tr class="wardlistrow2">';
$tog = 1;
}
echo '
<td><font size=1>' . $content['order_nr'] . '</td>
<td align="center"><a href="products-bestellung.php' . URL_APPEND . '&dept_nr=' . $dept_nr . '&cat=' . $cat . '&order_nr=' . $content['order_nr'] . '&userck=' . $userck . '" target="_parent" ><img ' . $img_uparrow . ' alt="' . $LDEditList . '"></a></td>
<td><font size=1>' . formatDate2Local($content['order_date'], $date_format);
echo '</td>
<td><font size=1>' . convertTimeToLocal(str_replace('24', '00', $content['order_time'])) . '</td>
<td ><font size=1>' . $content['modify_id'] . '</td>
<td align="center"><font size=1><img ' . $img_warn . ' alt="' . $LDNotSent . '">
</td>
</tr>';
$i++;
}
echo '</table>';
}
}
?>
<a name="bottom"></a>
</body>
</html>
示例9: formatDate2Local
$tog = 1;
$content = $ergebnis->FetchRow();
echo '</font>
<table cellpadding=0 cellspacing=0 border=0 bgcolor="#666666" width="100%">
<tr><td>
<table border=0 cellspacing=1 cellpadding=3 width="100%">
<tr bgcolor="#ffffff" background="../../gui/img/common/default/tableHeaderbg3.gif">';
for ($i = 0; $i < sizeof($requestindex); $i++) {
echo '
<td><font face=Verdana,Arial size=2 color="#0000ff">' . $requestindex[$i] . '</td>';
}
echo '</tr>
<tr bgcolor="#f6f6f6">
<td><font face=Verdana,Arial size=2>' . $content['reporter'] . '</td>
<td ><font face=Verdana,Arial size=2>' . formatDate2Local($content['tdate'], $date_format) . '</td>
<td><font face=Verdana,Arial size=2>' . convertTimeToLocal($content['ttime']) . '</td>
<td><font face=Verdana,Arial size=2>' . strtoupper($content['dept']) . '</td>
<td><font face=Verdana,Arial size=2>' . $content['tphone'] . '</td>
<td><font face=Verdana,Arial size=2>' . $content['tid'] . '</td>
</tr>
<tr bgcolor="#ffffff">
<td colspan=6><p><br><font face=Verdana,Arial size=2><ul><i>" ' . nl2br($content['job']) . ' "</i></ul></td>
</tr></table></td></tr>
</table><font face=Verdana,Arial size=2><p>';
if (!$deltodo && !$content['seen']) {
echo '
<input type="button" value="GO" onClick="ack_print()"> ' . $LDAckecho . '<p>';
} elseif (!$content['archive']) {
echo '<p>
示例10: display
/**
* Displays the GUI showing the data
*/
function display($pid = 0)
{
global $root_path, $dbf_nodate, $newdata, $kb_other_his_array, $lang;
// $_SESSION;
$validdata = TRUE;
if (!empty($pid)) {
$this->pid = $pid;
}
# Load the language tables
$lang_tables = $this->langfiles;
include $root_path . 'include/inc_load_lang_tables.php';
# Load the other hospitals array
include_once $root_path . 'global_conf/other_hospitals.php';
include_once $root_path . 'include/inc_date_format_functions.php';
include_once $root_path . 'include/care_api_classes/class_insurance.php';
$pinsure_obj = new PersonInsurance($this->pid);
# Get the global config for person�s registration form
include_once $root_path . 'include/care_api_classes/class_globalconfig.php';
$GLOBAL_CONFIG = array();
$glob_obj = new GlobalConfig($GLOBAL_CONFIG);
$glob_obj->getConfig('person_%');
//extract($GLOBAL_CONFIG);
if (empty($this->pid)) {
$validdata = FALSE;
} else {
//if($data_obj=&$this->person_obj->getAllInfoObject()){
// $this->data=$data_obj->FetchRow();
if ($this->is_loaded) {
extract($this->data);
# Get related insurance data
$p_insurance = $pinsure_obj->getPersonInsuranceObject($this->pid);
if ($p_insurance == FALSE) {
$insurance_show = true;
} else {
if (!$p_insurance->RecordCount()) {
$insurance_show = true;
} elseif ($p_insurance->RecordCount() == 1) {
$buffer = $p_insurance->FetchRow();
extract($buffer);
$insurance_show = true;
# Get insurace firm name
$insurance_firm_name = $pinsure_obj->getFirmName($insurance_firm_id);
} else {
$insurance_show = FALSE;
}
}
$insurance_class_info = $pinsure_obj->getInsuranceClassInfo(isset($insurance_class_nr));
# Check if person is currently admitted
$this->current_encounter = $this->person_obj->CurrentEncounter($this->pid);
# update the record�s history
if (empty($newdata)) {
@$this->person_obj->setHistorySeen($_SESSION['sess_user_name']);
}
# Check whether config foto path exists, else use default path
$photo_path = is_dir($root_path . $GLOBAL_CONFIG['person_foto_path']) ? $GLOBAL_CONFIG['person_foto_path'] : $this->default_photo_path;
} else {
$validdata = FALSE;
}
}
if ($validdata) {
include_once $root_path . 'include/inc_photo_filename_resolve.php';
############ Here starts the GUI output ##################
# Start Smarty templating here
# Create smarty object without initiliazing the GUI (2nd param = FALSE)
include_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$this->smarty = new smarty_care('common', FALSE);
# Set from width
$this->smarty->assign('sFormWidth', 'width="100%"');
$img_male = createComIcon($root_path, 'spm.gif', '0');
$img_female = createComIcon($root_path, 'spf.gif', '0');
if (!empty($this->pretext)) {
$this->smarty->assign('pretext', $this->pretext);
}
$this->smarty->assign('LDRegistryNr', $LDRegistryNr);
$this->smarty->assign('pid', $pid);
if (file_exists($root_path . 'cache/barcodes/pn_' . $pid . '.png')) {
$this->smarty->assign('sBarcodeImg', '<img src="' . $root_path . 'cache/barcodes/pn_' . $pid . '.png" border=0 width=180 height=35>');
} else {
$this->smarty->assign('sBarcodeImg', "<img src='" . $root_path . "classes/barcode/image.php?code=" . $pid . "&style=68&type=I25&width=180&height=50&xres=2&font=5&label=2&form_file=pn' border=0 width=0 height=0>");
$this->smarty->assign('sBarcodeImg', "<img src='" . $root_path . "classes/barcode/image.php?code=" . $pid . "&style=68&type=I25&width=180&height=50&xres=2&font=5' border=0 width=180 height=35>");
}
$this->smarty->assign('img_source', $img_source);
# iRowSpanCount counts the rows on the left of the photo image. Begin with 5 because there are 5 static rows.
$iRowSpanCount = 5;
$this->smarty->assign('LDRegDate', $LDRegDate);
$this->smarty->assign('sRegDate', @formatDate2Local($date_reg, $date_format) . '<input name="date_reg" type="hidden" value="' . $date_reg . '"');
//$iRowSpanCount++;
$this->smarty->assign('LDRegTime', $LDRegTime);
$this->smarty->assign('sRegTime', convertTimeToLocal(@formatDate2Local($date_reg, $date_format, 0, 1)));
$this->smarty->assign('sFileNr', $this->createTR($LDFileNr, $selian_pid, 1, TRUE));
if (!$GLOBAL_CONFIG['person_title_hide']) {
$this->smarty->assign('sPersonTitle', $this->createTR($LDTitle, $title));
$iRowSpanCount++;
}
$this->smarty->assign('sNameLast', $this->createTR($LDLastName, $name_last, 1, TRUE));
//$iRowSpanCount++;
# If person is dead show a black cross
//.........这里部分代码省略.........
示例11: formatDate2Local
$content = $ergebnis->FetchRow();
echo '
<table cellpadding=0 cellspacing=0 border=0 bgcolor="#666666">
<tr>
<td>
<table border=0 cellspacing=1 cellpadding=3>
<tr class="wardlisttitlerow">';
for ($i = 0; $i < sizeof($blistindex); $i++) {
echo '
<td>' . $blistindex[$i] . '</td>';
}
echo '</tr>
<tr bgcolor=#f6f6f6>
<td>' . $content['reporter'] . '</td>
<td >' . formatDate2Local($content['tdate'], $date_format) . '</td>
<td>' . convertTimeToLocal($content['ttime'], $lang) . '</td>
<td>' . $content['dept'] . '</td>
<td>';
if (isset($content['job_id']) && $content['job_id']) {
echo $content['job_id'];
} else {
echo " ";
}
echo '</td>
</tr>
<tr bgcolor=#ffffff>
<td colspan=5><p><br><ul><i>" ' . nl2br($content['job']) . ' "</i></ul></td>
</tr>
</table>
</td></tr>
</table>';
示例12: display
//.........这里部分代码省略.........
case 'm':
$sTemp = $sTemp . '<img ' . $img_male . '>';
break;
default:
$sTemp = $sTemp . ' ';
}
$sTemp = $sTemp . '
</td>
<td>:: <a href="person_reg_showdetail.php' . URL_APPEND . '&pid=' . $dup['pid'] . '&from=$from&newdata=1&target=entry" target="_blank">' . $LDShowDetails . '</a> ::
<a href="patient_register.php' . URL_APPEND . '&pid=' . $dup['pid'] . '&update=1">' . $LDUpdate . '</a>
</td>
</tr>';
}
$this->smarty->assign('sDupDataRows', $sTemp);
}
if ($pid) {
$this->smarty->assign('LDRegistryNr', $LDRegistryNr);
}
$this->smarty->assign('pid', $pid);
$this->smarty->assign('img_source', $img_source);
$this->smarty->assign('LDPhoto', $LDPhoto);
if (isset($photo_filename)) {
$pfile = $photo_filename;
} else {
$pfile = '';
}
$this->smarty->assign('sFileBrowserInput', '<input name="photo_filename" type="file" size="15" onChange="showpic(this)" value="' . $pfile . '">');
# iRowSpanCount counts the rows on the left of the photo image. Begin with 5 because there are 5 static rows.
$iRowSpanCount = 5;
$this->smarty->assign('LDRegDate', $LDRegDate);
$this->smarty->assign('sRegDate', formatDate2Local($date_reg, $date_format) . '<input name="date_reg" type="hidden" value="' . $date_reg . '">');
//$iRowSpanCount++;
$this->smarty->assign('LDRegTime', $LDRegTime);
$this->smarty->assign('sRegTime', convertTimeToLocal(formatDate2Local($date_reg, $date_format, 0, 1)));
// Made hideable as suggested by Kurt brauchli
if (!$GLOBAL_CONFIG['person_title_hide']) {
$this->smarty->assign('sPersonTitle', $this->createTR($errortitle, 'title', $LDTitle, $title, '', 14));
$iRowSpanCount++;
}
$this->smarty->assign('sNameLast', $this->createTR($errornamelast, 'name_last', $LDLastName, $name_last, '', 35, TRUE));
//$iRowSpanCount++;
$this->smarty->assign('sNameFirst', $this->createTR($errornamefirst, 'name_first', $LDFirstName, $name_first, '', 35, TRUE));
//$iRowSpanCount++;
/* Begin SalvoRossitto 26/11/2007 */
if ($errorrelative) {
$this->smarty->assign('LDRelative', "<font color=red>{$LDRelative}</font>");
} else {
$this->smarty->assign('LDRelative', "{$LDRelative}");
}
$this->smarty->assign('sRelativeNameLast', $this->createTR($errorrelativenamelast, 'relative_name_last', $LDLastName, $relative_name_last, 2, 35, FALSE));
$this->smarty->assign('sRelativeNameFirst', $this->createTR($errorrelativenamefirst, 'relative_name_first', $LDFirstName, $relative_name_first, 2, 35, FALSE));
$this->smarty->assign('sRelativePhone', $this->createTR($errorrelativephone, 'relative_phone', $LDPhone, $relative_phone, 2, 35, FALSE));
/* Begin SalvoRossitto 26/11/2007 */
if (!$GLOBAL_CONFIG['person_name_2_hide']) {
$this->smarty->assign('sName2', $this->createTR($errorname2, 'name_2', $LDName2, $name_2));
$iRowSpanCount++;
}
if (!$GLOBAL_CONFIG['person_name_3_hide']) {
$this->smarty->assign('sName3', $this->createTR($errorname3, 'name_3', $LDName3, $name_3));
$iRowSpanCount++;
}
if (!$GLOBAL_CONFIG['person_name_middle_hide']) {
$this->smarty->assign('sNameMiddle', $this->createTR($errornamemid, 'name_middle', $LDNameMid, $name_middle));
$iRowSpanCount++;
}
if (!$GLOBAL_CONFIG['person_name_maiden_hide']) {
示例13: convertTimeToLocal
echo 'class="wardlistrow2"';
}
echo '>
<td >
<FONT color=green>
<b>' . $LDOncallInit . '</b>
</FONT>
</td>
<td valign=top>
<input type=text name="oncall_name' . $i . '" value="' . $content[$i]['oncall_name'] . '" size=20 width=20 onKeyUp=newdata(\'' . $i . '\')>
</td>
<td valign=top>
<input type=text name="oncall_start' . $i . '" value="' . convertTimeToLocal($content[$i]['oncall_start']) . '" size=5 maxlength=5 onKeyUp="isnum(this.value,this.name);newdata(\'' . $i . '\');">
</td>
<td valign=top>
<input type=text name="oncall_end' . $i . '" value="' . convertTimeToLocal($content[$i]['oncall_end']) . '" size=5 maxlength=5 onKeyUp="isnum(this.value,this.name);newdata(\'' . $i . '\');">
<input type="hidden" name="report_nr' . $i . '" value="' . $content[$i]['report_nr'] . '">
<input type="hidden" name="encoding' . $i . '" value="' . $content[$i]['encoding'] . '">
<input type="hidden" name="history' . $i . '" value="' . $content[$i]['history'] . '">
<input type="hidden" name="tag' . $i . '" value="';
if ($content[$i]['tid']) {
echo '1';
}
echo '">
</td>
</tr>
';
}
?>
</table>
示例14: nl2br
?>
</b></FONT> <font size="2" face="arial">
</font><p>
<?php
$tog = 1;
$content = $ergebnis->FetchRow();
echo '</font>
<table cellpadding=0 cellspacing=0 border=0 bgcolor="#666666"><tr><td><table border=0 cellspacing=1 cellpadding=3>
<tr bgcolor=#ffffff>
<td colspan=5><p><br><font face=Verdana,Arial size=2><ul><i>" ' . nl2br($content['report']) . ' "</i></ul></td>
</tr>
<tr bgcolor=#cccccc>
<td colspan=5><p>
<font face=Verdana,Arial size=2>' . $LDReporter . ': ' . nl2br($content['reporter']) . '<br>
' . $LDDate . ': ' . formatDate2Local($content['report_date'], $date_format) . '<br>
' . $LDTime . ': ' . convertTimeToLocal($content['report_time']) . '<p></td>
</tr></table></td></tr>
</table>';
} else {
?>
<FONT SIZE=4 FACE="Arial" color="#00cc00">
<img <?php
echo createComIcon($root_path, 'varrow.gif', '0');
?>
>
<b><?php
echo $LDWriteReport;
?>
</b></FONT> <font size="2" face="arial">
</font><p>
<form ENCTYPE="multipart/form-data" action="<?php
示例15: createComIcon
$smarty->assign('sLocation', $dept);
$smarty->assign('LDDate', $LDDate);
$temp_image = "<a href=\"javascript:getARV('" . $patient['pid'] . "','" . $patient['encounter_nr'] . "')\"><img " . createComIcon($root_path, 'ball_gray.png', '0', '', TRUE) . " alt=\"inARV\"></a>";
$smarty->assign('sARVIcon', 'TEST');
if ($released) {
$smarty->assign('released', TRUE);
$smarty->assign('x_date', nl2br($x_date));
} else {
$smarty->assign('sDateInput', '<input type="text" name="x_date" size=12 maxlength=10 value="' . formatdate2Local(date('Y-m-d'), $date_format) . '" onBlur="IsValidDate(this,\'' . $date_format . '\')" onKeyUp="setDate(this,\'' . $date_format . '\',\'' . $lang . '\')">');
$smarty->assign('sDateMiniCalendar', "<a href=\"javascript:show_calendar('discform.x_date','{$date_format}')\"><img " . createComIcon($root_path, 'show-calendar.gif', '0', 'top') . "></a>");
}
$smarty->assign('LDClockTime', $LDClockTime);
if ($released) {
$smarty->assign('x_time', nl2br($x_time));
} else {
$smarty->assign('sTimeInput', '<input type="text" name="x_time" size=12 maxlength=12 value="' . convertTimeToLocal(date('H:i:s')) . '" onKeyUp=setTime(this,\'' . $lang . '\')>');
}
$smarty->assign('LDReleaseType', $LDReleaseType);
$sTemp = '';
if ($released) {
while ($dis_type = $discharge_types->FetchRow()) {
if ($dis_type['nr'] == $relart) {
//$sTemp = $sTemp.' ';
if (isset(${$dis_type}['LD_var']) && !empty(${$dis_type}['LD_var'])) {
$sTemp = $sTemp . ${$dis_type}['LD_var'];
} else {
$sTemp = $sTemp . $dis_type['name'];
}
break;
}
}