当前位置: 首页>>代码示例>>PHP>>正文


PHP smarty_care::display方法代码示例

本文整理汇总了PHP中smarty_care::display方法的典型用法代码示例。如果您正苦于以下问题:PHP smarty_care::display方法的具体用法?PHP smarty_care::display怎么用?PHP smarty_care::display使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在smarty_care的用法示例。


在下文中一共展示了smarty_care::display方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

}
$smarty->assign('LDBillType', $LDBillType);
if (isset(${$billing_type}['LD_var']) && !empty(${$billing_type}['LD_var'])) {
    $smarty->assign('billing_type', ${$billing_type}['LD_var']);
} else {
    $smarty->assign('billing_type', $billing_type['name']);
}
$smarty->assign('LDDiagnosis', $LDDiagnosis);
$smarty->assign('referrer_diagnosis', $encounter['referrer_diagnosis']);
$smarty->assign('LDTherapy', $LDTherapy);
$smarty->assign('referrer_recom_therapy', $encounter['referrer_recom_therapy']);
$smarty->assign('LDSpecials', $LDSpecials);
$smarty->assign('referrer_notes', $encounter['referrer_notes']);
# Buffer page output
ob_start();
$smarty->display('nursing/basic_data_admit.tpl');
?>

<table width=100% border=0 cellpadding="0" cellspacing=0>
	<tr valign=top >
		<td bgcolor=<?php 
echo $cfg['body_bgcolor'];
?>
 valign=top colspan=2>


<!--  Show stop sign and warn if the initial ward assignment is different from this ward -->
<?php 
if ($encounter['current_ward_nr'] != $ward_nr) {
    ?>
			<table border=0>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing-station-assignwaiting.php

示例2:

    if ($lang == 'ar' || $lang == 'fa') {
        $smarty->assign('sBaseFramesetTemplate', 'common/frameset_floatingmenu_rtl.tpl');
    } else {
        $smarty->assign('sBaseFramesetTemplate', 'common/frameset_floatingmenu_ltr.tpl');
    }
    $smarty->assign('sMenuFrameSource', 'src="main/menubar2.php"');
    $smarty->assign('sStartFrameSource', "src=\"main/indexframe.php?boot=1&lang={$lang}&egal={$egal}&cookie={$cookie}&sid={$sid}&mask=2\"");
} else {
    $smarty->assign('sStartFrameSource', "src = \"main/indexframe.php?boot=1&mask={$mask}&lang={$lang}&cookie={$cookie}&sid={$sid}\"");
    #
    # Assign frame dimensions
    #
    $smarty->assign('gui_frame_left_nav_width', $GLOBALCONFIG['gui_frame_left_nav_width']);
    $smarty->assign('gui_frame_left_nav_border', $GLOBALCONFIG['gui_frame_left_nav_border']);
    if ($lang == 'ar' || $lang == 'fa') {
        $smarty->assign('sBaseFramesetTemplate', 'common/frameset_rtl.tpl');
        //require('gui/html_template/righttoliftdefault/tp_index.php');
    } else {
        #
        # Else use normal frameset design
        #
        $smarty->assign('sBaseFramesetTemplate', 'common/frameset_ltr.tpl');
    }
}
#
# Display the frame page
#
$smarty->display('common/baseframe.tpl');
?>

开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:29,代码来源:index.php

示例3: createLDImgSrc

        echo createLDImgSrc($root_path, 'enter_result.gif', '0', 'absmiddle');
        ?>
 alt="<?php 
        echo $LDEnterResult;
        ?>
"></a>
<?php 
    }
    $smarty->assign('bgc1', $bgc1);
    $smarty->assign('printmode', FALSE);
    $smarty->assign('edit', FALSE);
    $smarty->assign('read_form', TRUE);
    $read_form = TRUE;
    //$edit = FALSE;
    include $root_path . 'include/inc_test_request_printout_patho.php';
    $smarty->display('forms/pathology.tpl');
    require $root_path . 'include/inc_test_request_hiddenvars.php';
    ?>
	<br>
		<input type="image" <?php 
    echo createLDImgSrc($root_path, 'savedisc.gif', '0', 'absmiddle');
    ?>
 title="<?php 
    echo $LDSaveEntry;
    ?>
"> 
        <a href="javascript:printOut()"><img <?php 
    echo createLDImgSrc($root_path, 'printout.gif', '0', 'absmiddle');
    ?>
 alt="<?php 
    echo $LDPrintOut;
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:labor_test_request_admin_patho.php

示例4: createLDImgSrc

if ($not_trans_id) {
    $sHiddenTemp = $sHiddenTemp . '<input type="hidden" name="sid" value="' . $sid . '">';
}
if (!isset($minimal) || !$minimal) {
    $sHiddenTemp = $sHiddenTemp . '
	<input type="hidden" name="dept" value="' . $dept . '">
	<input type="hidden" name="dept_nr" value="' . $dept_nr . '">
	<input type="hidden" name="retpath" value="' . $retpath . '">
	<input type="hidden" name="edit" value="' . $edit . '">
	<input type="hidden" name="pmonth" value="' . $pmonth . '">
	<input type="hidden" name="pyear" value="' . $pyear . '">
	<input type="hidden" name="pday" value="' . $pday . '">
	<input type="hidden" name="station" value="' . $station . '">
	<input type="hidden" name="ward_nr" value="' . $ward_nr . '">
	<input type="hidden" name="ipath" value="' . $ipath . '">';
}
if (isset($c_flag) && $c_flag) {
    $sHiddenTemp = $sHiddenTemp . '
	<input type="hidden" name="cmonth" value="' . $cmonth . '">
	<input type="hidden" name="cyear" value="' . $cyear . '">
	<input type="hidden" name="cday" value="' . $cday . '">';
}
$smarty->assign('sPassHiddenInputs', $sHiddenTemp);
$smarty->assign('sPassSubmitButton', '<INPUT type="image"  ' . createLDImgSrc($root_path, 'continue.gif', '0') . '>');
$smarty->assign('sCancelButton', '<a href="' . $breakfile . '"><img ' . createLDImgSrc($root_path, 'cancel.gif', '0') . '></a>');
#
# Display this page if necessary
#
if ($bShowThisPage) {
    $smarty->display('main/passcheck_entry_mask.tpl');
}
开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:31,代码来源:inc_passcheck_mask.php

示例5: array

$sTemp = ob_get_contents();
ob_end_clean();
$smarty->append('JavaScript', $sTemp);
# Prepare the submenu icons
$aSubMenuIcon = array(createComIcon($root_path, 'settings_tree.gif', '0'), createComIcon($root_path, 'sitemap_animator.gif', '0'), createComIcon($root_path, 'icn_rad.gif', '0'), createComIcon($root_path, 'eyeglass.gif', '0'), createComIcon($root_path, 'discussions.gif', '0'), createComIcon($root_path, 'sitemap_animator.gif', '0'));
# Prepare the submenu item descriptions
$aSubMenuText = array($LDReRepairTxt, $LDRepabotActivateTxt, $LDRepairReportTxt, $LDReportsArchiveTxt, $LDQuestionsTxt, $LDQBotActivateTxt);
# Prepare the submenu item links indexed by their template tags
$aSubMenuItem = array('LDPharmaOrder' => "<a href=\"technik-reparatur-anfordern.php" . URL_APPEND . "\">{$LDReRepair}</a>", 'LDHow2Order' => "<a href=\"technik-bot-pass.php" . URL_APPEND . "&mode=repabot\">{$LDRepabotActivate}</a>", 'LDOrderCat' => "<a href=\"technik-reparatur-melden.php" . URL_APPEND . "\">{$LDRepairReport}</a>", 'LDOrderArchive' => "<a href=\"technik-report-arch.php" . URL_APPEND . "\">{$LDReportsArchive}</a>", 'LDPharmaDb' => "<a href=\"technik-questions.php" . URL_APPEND . "\">{$LDQuestions}</a>", 'LDOrderBotActivate' => "<a href=\"technik-bot-pass.php" . URL_APPEND . "&mode=fragebot\">{$LDQBotActivate}</a>");
# Create the submenu rows
$iRunner = 0;
while (list($x, $v) = each($aSubMenuItem)) {
    $sTemp = '';
    ob_start();
    if ($cfg['icons'] != 'no_icon') {
        $smarty2->assign('sIconImg', '<img ' . $aSubMenuIcon[$iRunner] . '>');
    }
    $smarty2->assign('sSubMenuItem', $v);
    $smarty2->assign('sSubMenuText', $aSubMenuText[$iRunner]);
    $smarty2->display('common/submenu_row.tpl');
    $sTemp = ob_get_contents();
    ob_end_clean();
    $iRunner++;
    $smarty->assign($x, $sTemp);
}
# Assign the submenu to the mainframe center block
$smarty->assign('sMainBlockIncludeFile', 'tech/submenu_technik.tpl');
/**
 * show Template
 */
$smarty->display('common/mainframe.tpl');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:technik.php

示例6: strtr

            if (strlen($row['notes']) > $GLOBAL_CONFIG['notes_preview_maxlen']) {
                $smarty->assign('sDetails', '<a href="javascript:popNotesDetails(\'' . $row['nr'] . '\',\'' . strtr($subtitle, "' ", "+") . '\',\'' . $this_type['LD_var'] . '\')"><img ' . createComIcon($root_path, 'info3.gif', '0', '', TRUE) . '></a>');
                //'
                $smarty->assign('sMakePdf', $topdf);
            } elseif (!empty($row['notes'])) {
                $smarty->assign('sMakePdf', $topdf);
            }
            if ($row['personell_name']) {
                $smarty->assign('sAuthor', $row['personell_name']);
            }
            if (!$parent_admit) {
                $smarty->assign('sEncNr', '<a href="aufnahme_daten_zeigen.php' . URL_APPEND . '&encounter_nr=' . $row['encounter_nr'] . '&origin=patreg_reg">' . $row['encounter_nr'] . '</a>');
            }
            # buffer the row and assign to array
            ob_start();
            $smarty->display('registration_admission/report_row.tpl');
            $sRows = $sRows . ob_get_contents();
            ob_end_clean();
        }
        $smarty->assign('sReportRows', $sRows);
    } else {
        # Else prompt no data available yet.
        $smarty->assign('bShowNoRecord', TRUE);
        $smarty->assign('sMascotImg', '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . '>');
        $smarty->assign('norecordyet', $norecordyet);
    }
    // end of if $rows
} else {
    # Else, mode is new data entry. Show the entry form
    $smarty->assign('bShowEntryForm', TRUE);
    $smarty->assign('bSetAsForm', TRUE);
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:gui_show_notes3.php

示例7: createComIcon

        $smarty->assign('sIcon2', '<img ' . createComIcon($root_path, 'mans-red.gif', '0') . '>');
    }
    $smarty->assign('sInput2', '<input type="hidden" name="hr' . $n . '" value="' . $r_pnr['hr' . $n] . '">
	<input type="text" size="15" name="r' . $n . '" onFocus=this.select() value="' . $relems['r' . $n] . '">');
    $smarty->assign('sPopWin2', '<a href="javascript:popselect(\'' . $n . '\',\'r\')">
	<button onclick="javascript:popselect(\'' . $n . '\',\'r\')"><img ' . createComIcon($root_path, 'patdata.gif', '0') . ' alt="' . $LDClk2Plan . '"></button></a>');
    if ($relems['s' . $n] == "") {
        $smarty->assign('sIcon3', '<img ' . createComIcon($root_path, 'warn.gif', '0') . '>');
    } else {
        $smarty->assign('sIcon3', '<img ' . createComIcon($root_path, 'mans-red.gif', '0') . '>');
    }
    $smarty->assign('sInput3', '<input type="hidden" name="hs' . $n . '" value="' . $s_pnr['hs' . $n] . '">
	<input type="text" size="15" name="s' . $n . '" onFocus=this.select() value="' . $selems['s' . $n] . '">');
    $smarty->assign('sPopWin3', '<a href="javascript:popselect(\'' . $n . '\',\'s\')">
	<button onclick="javascript:popselect(\'' . $n . '\',\'s\')"><img ' . createComIcon($root_path, 'patdata.gif', '0') . ' alt="' . $LDClk2Plan . '"></button></a>');
    if ($wd == 6) {
        $wd = -1;
    }
    # Buffer each row and collect to a string
    ob_start();
    $smarty->display('common/duty_plan_entry_row.tpl');
    $sTemp = $sTemp . ob_get_contents();
    ob_end_clean();
}
# Assign the duty entry rows to the subframe template
$smarty->assign('sDutyRows', $sTemp);
$smarty->assign('sMainBlockIncludeFile', 'common/duty_plan_entry_frame.tpl');
/**
 * show Template
 */
$smarty->display('common/mainframe.tpl');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:doctors-dienstplan-planen.php

示例8: substr

            if (!empty($row['diagnosis'])) {
                $smarty->assign('sDiagnosis', substr($row['diagnosis'], 0, $GLOBAL_CONFIG['medocs_text_preview_maxlen']) . '<br>');
            }
            if (!empty($row['short_notes'])) {
                $smarty->assign('sShortNotes', '[ ' . $row['short_notes'] . ' ]');
            }
            if (!empty($row['therapy'])) {
                $smarty->assign('sTherapy', substr($row['therapy'], 0, $GLOBAL_CONFIG['medocs_text_preview_maxlen']));
            }
            $smarty->assign('sDetailsIcon', '<a href="' . $thisfile . URL_APPEND . '&pid=' . $_SESSION['sess_pid'] . '&encounter_nr=' . $_SESSION['sess_en'] . '&target=' . $target . '&mode=details&type_nr=' . $type_nr . '&nr=' . $row['nr'] . '"><img ' . createComIcon($root_path, 'info3.gif', '0') . '></a>');
            $smarty->assign('sMakePdfIcon', '<a href="' . $root_path . 'modules/pdfmaker/medocs/report.php' . URL_APPEND . '&enc=' . $_SESSION['sess_en'] . '&mnr=' . $row['nr'] . '&target=' . $target . '" target=_blank><img ' . createComIcon($root_path, 'pdf_icon.gif', '0') . '></a>');
            if ($row['personell_name']) {
                $smarty->assign('sAuthor', $row['personell_name']);
            }
            ob_start();
            $smarty->display('medocs/docslist_row.tpl');
            $sTemp = $sTemp . ob_get_contents();
            ob_end_clean();
        }
        $smarty->assign('sDocsListRows', $sTemp);
    } else {
        # Show no record prompt
        $smarty->assign('bShowNoRecord', TRUE);
        $smarty->assign('sMascotImg', '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . '>');
        $smarty->assign('norecordyet', $norecordyet);
    }
} elseif ($mode == 'details') {
    # Show the record details
    # Set the include file
    $smarty->assign('sDocsBlockIncludeFile', 'medocs/form.tpl');
    $smarty->assign('sExtraInfo', nl2br($row['aux_notes']));
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:gui_show_medocs.php

示例9: createComIcon

                 $sBuffer = '<a href="javascript:getrem(\'' . $bed['encounter_nr'] . '\')"><img ';
                 if ($display > 0) {
                     $sBuffer = $sBuffer . createComIcon($root_path, 'bubble3.gif', '0', '', TRUE);
                 } else {
                     $sBuffer = $sBuffer . createComIcon($root_path, 'bubble2.gif', '0', '', TRUE);
                 }
                 $sBuffer = $sBuffer . ' align="absmiddle" alt="' . $LDNoticeRW . '"></a>';
                 $smarty->assign('sNotesIcon', $sBuffer);
                 $smarty->assign('sTransferIcon', '<a style="display:none;" href="javascript:Transfer(\'' . $bed['encounter_nr'] . '\')"><img ' . createComIcon($root_path, 'xchange.gif', '0', '', TRUE) . ' align="absmiddle" alt="' . $LDTransferPatient . '"></a>');
                 $smarty->assign('sDischargeInfoIcon', '<a href="javascript:release_info(\'' . $bed['encounter_nr'] . '\')" title="show info"><img ' . createComIcon($root_path, 'button_info.gif', '0', '', TRUE) . ' align="absmiddle" alt="show info"></a>');
                 $smarty->assign('sDischargeIcon', '<a href="javascript:void(0);" onclick="' . ($vct[11] == 1 && $kct == 0 ? 'alert(\'This Patient has no Diagnosis \\n You can not Discharge.\')' : 'release(\'' . $bed['room_nr'] . '\',\'' . $bed['bed_nr'] . '\',\'' . $bed['encounter_nr'] . '\')') . '"><img ' . createComIcon($root_path, 'bestell.gif', '0', '', TRUE) . ' align="absmiddle" alt="' . $LDReleasePatient . '"></a>');
             }
         }
         # Create the rows using ward_occupancy_list_row.tpl template^
         ob_start();
         $smarty->display('nursing/ward_occupancy_list_row.tpl');
         $sListRows = $sListRows . ob_get_contents();
         ob_end_clean();
     }
     // end of bed loop
     # Append the new row to the previous row in string
     $smarty->assign('sOccListRows', $sListRows);
     //} # for loop
     #} // end of ward loop
 }
 # Final occupancy list line
 # Prepare the stations quick info data
 # Occupancy in percent
 $occ_percent = ceil($occ_beds / $nr_beds * 100);
 # Nr of vacant beds
 $vac_beds = $nr_beds - $occ_beds;
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing-station-doctor-service.php

示例10:

            $smarty->assign('sZipCode', $zeile['selian_pid']);
            if ($task == 'newprescription') {
                $sTarget = "<a href=\"show_prescription.php" . URL_APPEND . "&from=such&encounter_nr={$full_en}&target=search&pn={$full_en}&externalcall=true&prescrServ={$prescrServ}&back_path={$back_path}\">";
            } else {
                $sTarget = "<a href=\"aufnahme_daten_zeigen.php" . URL_APPEND . "&from=such&encounter_nr={$full_en}&target=search\">";
            }
            $sTarget = $sTarget . '<img ' . $img_options . ' title="' . $LDShowData . '"></a>';
            $smarty->assign('sOptions', $sTarget);
            if (!file_exists($root_path . 'cache/barcodes/en_' . $full_en . '.png')) {
                $smarty->assign('sHiddenBarcode', "<img src='" . $root_path . "classes/barcode/image.php?code=" . $full_en . "&style=68&type=I25&width=180&height=50&xres=2&font=5&label=2' border=0 width=0 height=0>");
            }
            #
            # Generate the row in buffer and append as string
            #
            ob_start();
            $smarty->display('registration_admission/admit_search_list_row.tpl');
            $sTemp = $sTemp . ob_get_contents();
            ob_end_clean();
        }
        #
        # Assign the rows string to template
        #
        $smarty->assign('sResultListRows', $sTemp);
        $smarty->assign('sPreviousPage', $pagen->makePrevLink($LDPrevious));
        $smarty->assign('sNextPage', $pagen->makeNextLink($LDNext));
    }
}
/*
$smarty->assign('sPostText','<a href="aufnahme_start.php'.URL_APPEND.'&mode=?">'.$LDAdmWantEntry.'</a><br>
	<a href="aufnahme_list.php'.URL_APPEND.'">'.$LDAdmWantArchive.'</a>');
*/
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:aufnahme_daten_such.php

示例11: createComIcon

            	       						';
     					if($statik) 
     						echo '
          								<td><FONT face="Verdana,Helvetica,Arial" size=2>'.$zeile['picfile'].'<input type="hidden" name="bild" value="'.$zeile['picfile'].'"></td>
                 						 </td>';
     							else echo '
     								<td width=320  bgcolor="#ffffdd"><input type="file" name="bild" onChange="getfilepath(this)">                                                                                                   
              						 </td>';
     					echo '
         						</tr>
       						</table>
     						';
     */
     # If display is forced
     if ($bShowThisForm) {
         $smarty->display('products/form.tpl');
     }
 } else {
     echo "<p>" . str_replace("~nr~", $linecount, $LDFoundNrData) . "<br>{$LDClk2SeeInfo}<p>";
     echo "<table border=0 cellpadding=3 cellspacing=1> ";
     echo '<tr class="wardlisttitlerow">';
     for ($i = 0; $i < sizeof($LDMSRCindex) - 1; $i++) {
         echo '<td>' . $LDMSRCindex[$i] . '</td>';
     }
     echo "</tr>";
     /* Load common icons */
     $img_info = createComIcon($root_path, 'info3.gif', '0');
     $img_arrow = createComIcon($root_path, 'dwnarrowgrnlrg.gif', '0');
     while ($zeile = $ergebnis->FetchRow()) {
         echo "<tr class=";
         if ($toggle) {
开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:31,代码来源:inc_products_search_result_mod.php

示例12: elseif

}
$smarty->assign('sRowSpan', "rowspan=\"{$iRowSpan}\"");
$smarty->assign('LDBday', $LDBday);
$smarty->assign('sBdayDate', @formatDate2Local($date_birth, $date_format));
$smarty->assign('LDSex', $LDSex);
if ($sex == 'm') {
    $smarty->assign('sSexType', $LDMale);
} elseif ($sex == 'f') {
    $smarty->assign('sSexType', $LDFemale);
}
$smarty->assign('LDBloodGroup', $LDBloodGroup);
if ($blood_group) {
    $buf = 'LD' . $blood_group;
    $smarty->assign('blood_group', ${$buf});
}
$smarty->display('registration_admission/basic_data.tpl');
?>

					<table border=0 width=100% cellspacing=1 cellpadding=3>



<?php 
# Show input elements for additional info
if ($mode == 'new') {
    ?>
<tr>
<td colspan=3><img <?php 
    echo createComIcon($root_path, 'warn.gif', '0');
    ?>
> &nbsp;<FONT SIZE=-1  FACE="Arial"><?php 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:gui_show_upload.php

示例13: createLDImgSrc

}
$smarty->assign('LDBillType', $LDBillType);
if (isset(${$billing_type}['LD_var']) && !empty(${$billing_type}['LD_var'])) {
    $smarty->assign('billing_type', ${$billing_type}['LD_var']);
} else {
    $smarty->assign('billing_type', $billing_type['name']);
}
$smarty->assign('LDDiagnosis', $LDDiagnosis);
$smarty->assign('referrer_diagnosis', $encounter['referrer_diagnosis']);
$smarty->assign('LDTherapy', $LDTherapy);
$smarty->assign('referrer_recom_therapy', $encounter['referrer_recom_therapy']);
$smarty->assign('LDSpecials', $LDSpecials);
$smarty->assign('referrer_notes', $encounter['referrer_notes']);
# Buffer page output
ob_start();
$smarty->display('nursing/basic_data_admit.tpl');
?>

<!--  Show stop sign and warn if the initial ward assignment is different from this ward -->
<?php 
if ($encounter['current_dept_nr'] != $dept_nr) {
    $ack_but = 'takeover.gif';
    ?>

<table border=0>
  <tr>
    <td><img <?php 
    echo createLDImgSrc($root_path, 'stop.png', '0');
    ?>
></td>
    <td><?php 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:amb_clinic_assignwaiting.php

示例14:

* This is a hybrid compromise as long as not all forms are converted to smarty
* templates. In this case, when the form is pathology, the smarty assignments are done
* otherwise the output is buffered
*/
$edit = 0;
if ($target == 'patho') {
    $smarty->assign('patho', TRUE);
    include $root_path . 'include/inc_test_request_printout_patho.php';
} else {
    # Collect output buffer
    ob_start();
    if ($target == 'baclabor') {
        include $root_path . 'include/inc_test_findings_form_baclabor.php';
    } else {
        include $root_path . 'include/inc_test_request_printout_' . $target . '.php';
    }
    $sTemp = ob_get_contents();
    ob_end_clean();
    $smarty->assign('printout_form', $sTemp);
}
/**
 * show Copyright
 * managed in smarty_care.class.php
 */
$smarty->assign('sCopyright', $smarty->Copyright());
$smarty->assign('sPageTime', $smarty->Pagetime());
/**
 * show Template
 */
$smarty->display('laboratory/request_aftersave.tpl');
// $smarty->display('debug.tpl');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:labor_test_request_aftersave.php

示例15: createComIcon

            					else $sBuffer = $sBuffer.createComIcon($root_path,'bubble2.gif','0','',TRUE);
            				$sBuffer = $sBuffer.' alt="'.$LDNoticeRW.'"></a>';
            
            				$smarty->assign('sNotesIcon',$sBuffer);
            
            				$smarty->assign('sTransferIcon','<a href="javascript:Transfer(\''.$patient['encounter_nr'].'\')"><img '.createComIcon($root_path,'xchange.gif','0','',TRUE).' alt="'.$LDTransferPatient.'"></a>');
            				*/
            $smarty->assign('sDischargeInfoIcon', '<a href="javascript:void(0)" onclick="release_info(\'' . $patient['encounter_nr'] . '\')" title="show info"><img ' . createComIcon($root_path, 'button_info.gif', '0', '', TRUE) . ' alt="show info"></a>');
            $smarty->assign('sDischargeIcon', '<a href="javascript:void(0)" onclick="' . ($vct[11] == 1 && $kct == 0 ? 'alert(\'This Patient has no Diagnosis \\n You can not Discharge.\')' : 'release(\'' . $patient['encounter_nr'] . '\')') . '" title="' . $LDReleasePatient . '"><img ' . createComIcon($root_path, 'bestell.gif', '0', '', TRUE) . ' alt="' . $LDReleasePatient . '"></a>');
            if ($patient['encounter_class_nr'] == 2) {
                $smarty->assign('sCheckBox', '<input name="checkbox[]" ' . ($vct[11] == 1 && $kct == 0 ? ' disabled="disabled"' : '') . ' type="checkbox" id="checkbox[]" value="' . $id . '">');
            }
        }
        # Create the rows using ward_occupancy_list_row.tpl template
        ob_start();
        $smarty->display('ambulatory/outpatients_list_row.tpl');
        $sListRows = $sListRows . ob_get_contents();
        ob_end_clean();
        # Append the new row to the previous row in string
        $smarty->assign('sOccListRows', $sListRows);
        //$countCheck= count($_POST['checkbox']);
        //$smarty->assign('scountCheck','<input type= "hidden" name ="countCheck" id = "countCheck" value="'.$countCheck.'">');
    }
    // end of patients loop
} else {
    # Prompt no outpatients available
    $smarty->assign('sWarningPrompt', '
			<div class="warnprompt"><p><ul><img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . '>
			' . str_replace("~station~", strtoupper($station), "There are no patients yet.") . '</b></font><br><img ' . createComIcon($root_path, 'bul_arrowgrnlrg.gif', '0', '', TRUE) . '>
			<a href="' . $root_path . 'modules/appointment_scheduler/appt_main_pass.php' . URL_APPEND . '&dept_nr=' . $dept_nr . '&dept_name=' . $dept . '">' . $LDGoToAppointments . '</a><p>
			</ul></div>');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:amb_clinic_patients_discharge.php


注:本文中的smarty_care::display方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。