本文整理汇总了PHP中createMascot函数的典型用法代码示例。如果您正苦于以下问题:PHP createMascot函数的具体用法?PHP createMascot怎么用?PHP createMascot使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了createMascot函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: nl2br
<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>
<input type="button" value="GO" onClick="window.print()"> <b>' . $LDPrintRequest . '</b><p>
' . $LDAckBy . ':<input type="text" name="clerk" size=25 maxlength=40><br>
<input type="button" value="GO" onClick="move2arch()"> <b>' . $LDArchiveRequest . '</b>
<p>';
}
} else {
echo '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . '>' . $LDNoDataFound;
}
?>
<p align=right><input type="button" value="<?php
echo $LDClose;
?>
" onClick="if(parentref('')) window.close();"></p>
</form>
</font></body>
</html>
示例2: setCharSet
echo setCharSet();
?>
<title></title>
</head><center>
<body>
<p>
<p>
<p>
<table border=0>
<tr>
<td><img <?php
echo createMascot($root_path, 'mascot1_r.gif');
?>
></td>
<td><font size=3 face="verdana,arial" color="#990000"><b>
<?php
echo str_replace('~str~', strtoupper($ward_id), $LDWardNoClose);
?>
</b>
</font>
</td>
</tr>
</table>
<p>
<font size=2 face="verdana,arial" color="#990000">
<a href="nursing-station-info.php<?php
示例3: ob_get_contents
<?php
$sTemp = ob_get_contents();
ob_end_clean();
$smarty->append('JavaScript', $sTemp);
# Buffer page output
ob_start();
?>
<ul>
<FONT class="prompt"><p>
<?php
if (isset($inputerror) && $inputerror) {
echo "{$error_msg}<p>";
} elseif (isset($save_ok) && $save_ok) {
echo '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . '>' . $LDDataSaved . '<p>';
}
echo $LDEnterInfo;
?>
</font>
<p>
<?php
echo $LDEnterAllFields;
?>
<form action="or_new.php" method="post" name="newstat" onSubmit="return chkForm(this)">
<table border=0>
示例4: smarty_care
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Toolbar title
$smarty->assign('sToolbarTitle', $title);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('dept_news.php')");
# href for close file
$smarty->assign('breakfile', $breakfile);
if ($mode != "preview4saved") {
# href for return file
$smarty->assign('pbBack', $sReturn);
}
# Window title
$smarty->assign('title', $title);
if ($mode == "preview4saved") {
$smarty->assign('bShowPrompt', TRUE);
$smarty->assign('sMascotImg', '<img ' . createMascot($root_path, 'mascot1_r.gif', '0') . '>');
$smarty->assign('LDArticleSaved', $LDArticleSaved);
}
if (isset($news_normal_display_width) && !empty($news_normal_display_width)) {
$smarty->assign('news_normal_display_width', $news_normal_display_width);
} else {
$smarty->assign('news_normal_display_width', '400');
}
$palign = 'left';
// Set the image alignment
include $root_path . 'include/inc_news_display_one.php';
$smarty->assign('sBackLink', '<a href="' . $sReturn . '"><img ' . createComIcon($root_path, 'l-arrowgrnlrg.gif', '0') . '><font SIZE=-1 color="#006600"> ' . $LDBackTxt . '</a>');
$smarty->assign('sMainBlockIncludeFile', 'news/headline_dept_news.tpl');
$smarty->display('common/mainframe.tpl');
示例5: smarty_care
*/
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Title in toolbar
$smarty->assign('sToolbarTitle', $title);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('dept_select.php')");
# href for return button
$smarty->assign('pbBack', $breakfile);
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', $title);
$smarty->assign('sMascotImg', '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'bottom') . ' align="absmiddle">');
$smarty->assign('LDPlsSelectDept', $LDPlsSelectDept);
# Buffer department rows output
ob_start();
$toggler = 0;
if (!$nr) {
echo '<tr class="wardlistrow1">';
$toggler = 1;
echo '<td ><font face="verdana,arial" size="2" > ' . $bold . $LDAllDoctors . $boldx . ' </td>';
echo '<td > <a href="doctors-dienst-personalliste-all.php">
<img ' . createLDImgSrc($root_path, 'ok_small.gif', '0', 'absmiddle') . ' alt="' . $LDShowActualPlan . '" ></a> </td></tr>';
}
while (list($x, $v) = each($dept_DOC)) {
$bold = '';
$boldx = '';
if ($hilitedept == $v['nr']) {
示例6: ob_get_contents
<?php
$sTemp = ob_get_contents();
ob_end_clean();
$smarty->append('JavaScript', $sTemp);
# Buffer page output
ob_start();
?>
<ul>
<?php
if (!empty($mode)) {
?>
<table border=0>
<tr>
<td><img <?php
echo createMascot($root_path, 'mascot1_r.gif', '0', 'bottom');
?>
></td>
<td valign="bottom"><br><font class="warnprompt"><b>
<?php
switch ($mode) {
case 'bad_data':
echo $LDAlertNoCityTownName;
break;
case 'citytown_exists':
echo "{$LDCityTownExists}<br>{$LDDataNoSave}";
}
?>
</b></font><p>
</td>
</tr>
示例7: formatDate2Local
echo " " . formatDate2Local($row['date_birth'], $date_format);
echo "</td>";
if ($_COOKIE[$local_user . $sid]) {
echo '
<td><font face=arial size=2>
<a href="javascript:belegen(\'' . $row['encounter_nr'] . '\')">
<img ' . $img_options . ' alt="' . $LDShowData . '"></a> ';
}
if (!file_exists($root_path . 'cache/barcodes/en_' . $full_en . '.png')) {
echo "<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&form_file=en' border=0 width=0 height=0>";
}
echo '</td></tr>';
}
echo "\n\t\t\t\t\t\t\t</table>\n\t\t\t\t\t\t\t<script language='javascript'>\n\t\t\t\t\t\t\twindow.resizeTo(700,600);</script>";
} else {
echo "<hr><ul><img " . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . "><font face=arial size=2>" . $LDNoFound . "<br>\r\n";
}
}
?>
</td>
</tr>
</table>
<?php
$sTemp = ob_get_contents();
ob_end_clean();
# Assign the page output to the mainframe center block
$smarty->assign('sMainFrameBlockData', $sTemp);
/**
* show Template
示例8: ob_start
}
# 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>');
}
//discharge all outpatients at time
if ($discharge == 'Outpatient') {
//echo '<script type="javascript"> confim("Do you realy want to discharge all Outpatients at time")</script>';
$enc_obj->DischargeAllPatient(2);
//echo 'prakash';
$discharge = '';
if (!isset($_GET['reload'])) {
echo '<meta http-equiv=Refresh content="0;url=amb_clinic_patients_discharge.php?reload=1">';
}
}
//discharge all inpatients at time
示例9: createMascot
if ($cfg['dhtml']) {
echo 'style=filter:alpha(opacity=70) onMouseover=hilite(this,1) onMouseOut=hilite(this,0)>';
}
?>
</a></td>
</tr>
<tr valign=top >
<td bgcolor=<?php
echo $cfg['body_bgcolor'];
?>
valign=top colspan=2>
<ul>
<FONT face="Verdana,Helvetica,Arial" size=3 color="#990000">
<?php
if ($from == "dbankpass") {
echo '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'bottom', 'absmiddle') . '> ';
$curtime = date("H.i");
if ($curtime < "9.00") {
echo $LDGoodMorning;
}
if ($curtime > "9.00" and $curtime < "18.00") {
echo $LDGoodDay;
}
if ($curtime > "18.00") {
echo $LDGoodEvening;
}
echo " {$ck_prod_db_user}!";
}
?>
<p><br>
<TABLE cellSpacing=0 cellPadding=0 bgColor=#999999 border=0>
示例10: createMascot
</script>
<ul>
<FONT COLOR="<?php
print $cfg['top_txtcolor'];
?>
" SIZE=+2>
<?php
echo $LDSetCurrency;
?>
</FONT><FONT class="prompt"><p>
<?php
if ($mode == 'save' && $new_main_currency) {
echo '<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . '> ' . $LDNewCurrencySet . '<p>';
}
echo $LDPlsSelectCurrency;
?>
</font>
<p>
<form action="<?php
echo $thisfile;
?>
" name="c_form" method="post" onSubmit="return chkForm(this)">
<table border=0 cellspacing=1 cellpadding=5>
<?php
while ($currency = $ergebnis->FetchRow()) {
echo '<tr>
示例11: createMascot
<input type="hidden" name="sid" value="' . $sid . '">
<input type="hidden" name="lang" value="' . $lang . '">
</form><p>';
break;
case 'ack_print':
echo '
<form name="opt2" action="' . $thisfile . '">
<input type="button" value="GO" onClick="window.print()"> <b>' . $LDOrderPrint . '</b><p>
</form>
<form name="opt3" action="' . $thisfile . '" method="post" >
' . $LDProcessedBy . ':<input type="text" name="clerk" size=25 maxlength=40><br>
<input type="button" value="GO" onClick="move2arch()"> <b>' . $LDOrder2Archive . '</b>
</form>
<p>';
break;
}
//end of switch(status)
} else {
echo ' <img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'middle') . '>' . $LDDataNoFoundTxt . $sql;
}
?>
<form name="opt4">
<p align=right><input type="button" value="<?php
echo $LDClose;
?>
" onClick="if(parentref('')) window.close();"></p>
</form>
</font></body>
</html>
示例12: createComIcon
';
$TP_Legend2_BLOCK = '
<img ' . createComIcon($root_path, 'spf.gif', '0', 'absmiddle', TRUE) . '> <b>' . $LDFemale . '</b><br>
<img ' . createComIcon($root_path, 'spm.gif', '0', 'absmiddle', TRUE) . '> <b>' . $LDMale . '</b><br>';
}
# Load the quick info block template
$tp = $TP_obj->load('nursing/tp_ward_quickinfo.htm');
# Buffer orig template output
ob_start();
eval("echo {$tp};");
$sTemp = ob_get_contents();
ob_end_clean();
# Assign to page template object
$smarty->assign('sSubMenuBlock', $sTemp);
} else {
$smarty->assign('sNewWardLink', '<ul><div class="prompt"><img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . '>
' . str_replace("~station~", strtoupper($station), $LDNoInit) . '</b></font><br>
<a href="nursing-station-new.php' . URL_APPEND . '&station=' . $station . '&edit=' . $edit . '">' . $LDIfInit . ' <img ' . createComIcon($root_path, 'bul_arrowgrnlrg.gif', '0', '', TRUE) . '></a><p>
</div></ul>');
}
// end of if ward_ok
if ($pday . $pmonth . $pyear != date('dmY')) {
$smarty->assign('sToArchiveLink', '<p>
<a href="nursing-station-archiv.php' . URL_APPEND . '">' . $LDClk2Archive . ' <img ' . createComIcon($root_path, 'bul_arrowgrnlrg.gif', '0', '', TRUE) . '></a>
<p>');
}
$stationName = $ward_info['name'];
$smarty->assign('pDiagnosis', '<!--<a href=nursing-station-diagnosis-list.php' . URL_APPEND . '&station=' . urlencode($stationName) . '&ward_nr=' . $ward_nr . '>' . $LDShowDiagnosis . '</a>');
$smarty->assign('pLabs', '<a href=nursing-station-laboratory-list.php' . URL_APPEND . '&station=' . urlencode($stationName) . '&ward_nr=' . $ward_nr . '>' . $LDShowLabs . '</a>');
$smarty->assign('pPrescriptions', '<a href=nursing-station-pharmacy-list.php' . URL_APPEND . '&station=' . urlencode($stationName) . '&ward_nr=' . $ward_nr . '>' . $LDShowPrescr . '</a>');
$smarty->assign('pProcedures', '<a href=nursing-station-procedures-list.php' . URL_APPEND . '&station=' . urlencode($stationName) . '&ward_nr=' . $ward_nr . '>' . $LDProcedures . '</a>');
示例13: ucfirst
echo '
<a href="#" onClick="addelem(\'' . $mode . $elemid . '\',\'h' . $mode . $elemid . '\',\'' . ucfirst($row['name_last']) . '\',\'' . ucfirst($row['name_first']) . '\',\'' . $row['date_birth'] . '\',\'' . $row['personell_nr'] . '\')">
<img ';
if ($mode == "a") {
echo createComIcon($root_path, 'mans-gr.gif', '0');
} else {
echo createComIcon($root_path, 'mans-red.gif', '0');
}
echo '> ' . ucfirst($row['name_last']) . ', ' . ucfirst($row['name_first']) . '</a>
<br>';
}
echo '
</font></ul>';
} else {
echo '<form><font face="verdana,arial" size=2>
<img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'left') . ' > ' . $LDNoPersonList . '
<p>
<input type="button" value="' . $LDCreatePersonList . '" onClick="window.opener.location.href=\'nursing-or-dienst-personalliste.php?sid=' . $sid . '&lang=' . $lang . '&dept_nr=' . $dept_nr . '&pmonth=' . $month . '&pyear=' . $year . '&retpath=' . $retpath . '&ipath=plan\';window.opener.focus();window.close();">
</form>';
}
?>
<p><br>
<a href="javascript:closethis()"><img <?php
echo createLDImgSrc($root_path, 'close2.gif', '0');
?>
alt="<?php
echo $LDCloseWindow;
?>
"></a>
</BODY>
示例14: ob_start
ob_start();
# Load the javascript code
require $root_path . 'include/inc_js_products.php';
$sTemp = ob_get_contents();
ob_end_clean();
$smarty->append('JavaScript', $sTemp);
# Assign prompt messages
if ($saveok) {
if ($update) {
$smarty->assign('LDUpdateOk', $LDUpdateOk);
} else {
$smarty->assign('LDDataSaved', $LDDataSaved);
}
}
if ($error == "order_nr_exists") {
$smarty->assign('sMascotImg', "<img " . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . ">");
$smarty->assign('LDOrderNrExists', $LDOrderNrExists);
}
if ($update && !$updateok && $mode == 'save') {
$smarty->assign('sNoSave', $LDDataNoSaved . '<a href="products-datenbank-functions-eingabe.php' . URL_APPEND . '&cat=' . $cat . '"><u>' . $LDClk2EnterNew . '</u></a>');
}
$smarty->assign('sFormStart', '<form ENCTYPE="multipart/form-data" action="' . $thisfile . '" method="post" name="inputform" onSubmit="return prufform(this)">');
$smarty->assign('sFormEnd', '</form>');
# Assign form elements
$smarty->assign('LDOrderNr', $LDOrderNr);
$smarty->assign('LDArticleName', $LDArticleName);
$smarty->assign('LDGeneric', $LDGeneric);
$smarty->assign('LDDescription', $LDDescription);
$smarty->assign('LDPacking', $LDPacking);
$smarty->assign('LDCAVE', $LDCAVE);
$smarty->assign('LDCategory', $LDCategory);
示例15: ob_start
# Create the rows using ward_transferbed_list_row.tpl template
ob_start();
$smarty->display('nursing/ward_transferbed_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);
}
// end of ward loop
# Display the empty bed transfer list
$smarty->display('nursing/ward_transferbed_list.tpl');
} else {
echo '
<ul><img ' . createMascot($root_path, 'mascot1_r.gif', '0', 'absmiddle') . '><font face="Verdana, Arial" size=3>
<font class="prompt"><b>' . str_replace("~station~", strtoupper($station), $LDNoInit) . '</b></font><br>
<a href="nursing-station-new.php' . URL_APPEND . '&station=' . $station . '&edit=' . $edit . '">' . $LDIfInit . ' <img ' . createComIcon($root_path, 'bul_arrowgrnlrg.gif', '0', '', TRUE) . '></a><p></font>
</ul>';
}
?>
<p>
<a href="<?php
echo $breakfile;
?>
"><img <?php
echo createLDImgSrc($root_path, 'close2.gif', '0');
?>
></a>
<p><a href="<?php