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


PHP createComIcon函数代码示例

本文整理汇总了PHP中createComIcon函数的典型用法代码示例。如果您正苦于以下问题:PHP createComIcon函数的具体用法?PHP createComIcon怎么用?PHP createComIcon使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: printRadioButton

function printRadioButton($param, $value)
{
    global $stored_request, $root_path;
    $noblank = 1;
    if ($value) {
        if ($stored_request[$param]) {
            echo '<img ' . createComIcon($root_path, 'radio_chk.gif', '0', 'absmiddle') . '>';
        } else {
            $noblank = 0;
        }
    } elseif (!$stored_request[$param]) {
        echo '<img ' . createComIcon($root_path, 'radio_chk.gif', '0', 'absmiddle') . '>';
    } else {
        $noblank = 0;
    }
    if (!$noblank) {
        echo '<img ' . createComIcon($root_path, 'radio_blk.gif', '0', 'absmiddle') . '>';
    }
    $noblank = 1;
    /*    if($value ) 
    	{
    	   if($stored_request[$param]==1) echo '<img '.createComIcon($root_path,'radio_chk.gif','0','absmiddle').'>'; 
    	   else echo '<img '.createComIcon($root_path,'radio_blk.gif','0','absmiddle').'>'; 
    	}
    */
}
开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:26,代码来源:inc_test_request_printout_fx.php

示例2: checkParamValue

function checkParamValue($paramValue, $pName)
{
    global $root_path, $patient;
    $txt = '';
    $dobDiff = dateDiff("-", date("Y-m-d"), $patient['date_birth']);
    switch ($dobDiff) {
        case $dobDiff >= 1 and $dobDiff <= 30:
            if ($pName->fields['hi_bound_n'] && $paramValue > $pName->fields['hi_bound_n']) {
                $txt .= '<img ' . createComIcon($root_path, 'arrow_red_up_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
            } elseif ($paramValue < $pName->fields['lo_bound_n']) {
                $txt .= '<img ' . createComIcon($root_path, 'arrow_red_dwn_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
            } else {
                $txt .= htmlspecialchars($paramValue);
            }
            break;
        case $dobDiff >= 31 and $dobDiff <= 360:
            if ($pName->fields['hi_bound_y'] && $paramValue > $pName->fields['hi_bound_y']) {
                $txt .= '<img ' . createComIcon($root_path, 'arrow_red_up_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
            } elseif ($paramValue < $pName->fields['lo_bound_y']) {
                $txt .= '<img ' . createComIcon($root_path, 'arrow_red_dwn_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
            } else {
                $txt .= htmlspecialchars($paramValue);
            }
            break;
        case $dobDiff >= 361 and $dobDiff <= 5040:
            if ($pName->fields['hi_bound_c'] && $paramValue > $pName->fields['hi_bound_c']) {
                $txt .= '<img ' . createComIcon($root_path, 'arrow_red_up_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
            } elseif ($paramValue < $pName->fields['lo_bound_c']) {
                $txt .= '<img ' . createComIcon($root_path, 'arrow_red_dwn_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
            } else {
                $txt .= htmlspecialchars($paramValue);
            }
            break;
        case $dobDiff > 5040:
            if ($patient['sex'] == 'm') {
                if ($pName->fields['hi_bound'] && $paramValue > $pName->fields['hi_bound']) {
                    $txt .= '<img ' . createComIcon($root_path, 'arrow_red_up_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
                } elseif ($paramValue < $pName->fields['lo_bound']) {
                    $txt .= '<img ' . createComIcon($root_path, 'arrow_red_dwn_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
                } else {
                    $txt .= htmlspecialchars($paramValue);
                }
            } elseif ($patient['sex'] == 'f') {
                if ($pName->fields['hi_bound_f'] && $paramValue > $pName->fields['hi_bound_f']) {
                    $txt .= '<img ' . createComIcon($root_path, 'arrow_red_up_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
                } elseif ($paramValue < $pName->fields['lo_bound_f']) {
                    $txt .= '<img ' . createComIcon($root_path, 'arrow_red_dwn_sm.gif', '0', '', TRUE) . '> <font color="red">' . htmlspecialchars($paramValue) . '</font>';
                } else {
                    $txt .= htmlspecialchars($paramValue);
                }
            }
            break;
    }
    return $txt;
}
开发者ID:patmark,项目名称:care2x-tz,代码行数:55,代码来源:labor_datalist_noedit.php

示例3: printRadioButton

function printRadioButton($param, $value, $printout = true)
{
    global $stored_request, $root_path;
    if ($value) {
        if ($stored_request[$param]) {
            $buffer = '<img ' . createComIcon($root_path, 'radio_chk.gif', '0', 'absmiddle', TRUE) . '>';
        } else {
            $buffer = '';
        }
    } elseif (!$stored_request[$param]) {
        $buffer = '<img ' . createComIcon($root_path, 'radio_chk.gif', '0', 'absmiddle', TRUE) . '>';
    } else {
        $buffer = '';
    }
    if (empty($buffer)) {
        $buffer = '<img ' . createComIcon($root_path, 'radio_blk.gif', '0', 'absmiddle', TRUE) . '>';
    }
    if ($printout) {
        echo $buffer;
    } else {
        return $buffer;
    }
}
开发者ID:patmark,项目名称:care2x-tz,代码行数:23,代码来源:inc_test_request_lister_fx.php

示例4: createComIcon

  </ul>
  <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a name="sel"><img <?php 
echo createComIcon('../', 'frage.gif', '0');
?>
></a><font color="990000"><strong>¿Cómo 
  añado a la persona a la lista de empleados?</strong></font> </font> 
  <ul>
    <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><b>Paso :</b> 
    Dé clic al botón <img <?php 
echo createLDImgSrc('../', 'add_employ.gif', '0');
?>
>. 
    </font> 
  </ul>
  <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><a name="sel"><img <?php 
echo createComIcon('../', 'frage.gif', '0');
?>
></a><strong><font color="990000">Si 
  la persona ya está empleada, ¿Cómo muestro sus datos de empleo?</font></strong> 
  </font> 
  <ul>
    <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><b>Paso :</b> 
    Dé clic al botón <img <?php 
echo createLDImgSrc('../', 'employment_data.gif', '0');
?>
>. 
    </font> 
  </ul>

</form>
开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:30,代码来源:help_es-ar_employee_show.php

示例5: createComIcon

<br>
<font color=navy><b><?php 
echo $LDPhone;
?>
:</b> <?php 
echo $dept['inphone1'];
?>
<br></font></ul>
</td>
</tr>

<!-- Temporary deactivated

 <tr>
<td bgcolor=#ffffcc><img <?php 
echo createComIcon($root_path, 'warn.gif');
?>
>&nbsp;<font face=verdana,arial size=2 ><b><?php 
echo $LDMoreInfo;
?>
</b><br></font>
</td>
</tr>


<tr>
<td><font face=verdana,arial size=2 ><?php 
echo $pinfo["info"];
?>
</font>
</td>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:doctors-dienstplan-popinfo.php

示例6: createComIcon

	</td><td>
	<img ' . createComIcon($root_path, 'mans-red.gif', '0') . '>&nbsp;';
        if (in_array($v['nr'], $quicklist) && $OC_2['name_last']) {
            $temp_out .= '<a href="javascript:popinfo(\'' . $hr['hr' . (date('d') - 1)] . '\',\'' . $v['nr'] . '\')" title="Click f�r mehr Info."><b>' . $OC_2['name_last'] . ', ' . $OC_2['name_first'] . '</b></a>';
        }
        $temp_out .= '</td>
	<td>';
        if ($r['r' . (date('d') - 1)] != '') {
            $temp_out .= ' <font color=red> ' . $OC_2['funk1'] . '</font>';
            if ($OC_2['inphone1']) {
                $temp_out .= ' / ' . $OC_2['inphone1'];
            }
        }
        $temp_out .= '&nbsp;
	</td><td >&nbsp; <a href="nursing-or-dienstplan.phpURLAPPEND&dept_nr=' . $v['nr'] . '&retpath=qview">
	<button onClick="javascript:window.location.href=\'nursing-or-dienstplan.phpURLREDIRECTAPPEND&dept_nr=' . $v['nr'] . '&retpath=qview\'"><img ' . createComIcon($root_path, 'new_address.gif', '0', 'absmiddle') . ' alt="IMGALT" ><font size=1> SHOWBUTTON </font></button></a> </td></tr>';
    }
    # Save in cache
    if (!$force_no_cache || $force_no_cache && !$is_cached) {
        $dept_obj->saveDBCache('NOCS_' . date('Y-m-d'), addslashes($temp_out));
    }
    # Display list
    $temp_out = str_replace('URLAPPEND', URL_APPEND, $temp_out);
    $temp_out = str_replace('IMGALT', $LDShowActualPlan, $temp_out);
    $temp_out = str_replace('SHOWBUTTON', $LDShow, $temp_out);
    echo str_replace('URLREDIRECTAPPEND', URL_REDIRECT_APPEND, $temp_out);
}
?>
</table>
<p>
<a href="<?php 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing-or-dienst-schnellsicht.php

示例7: createComIcon

 	<input type="text" name="publishdate" size=10 maxlength=10 onBlur="IsValidDate(this,'<?php 
echo $date_format;
?>
')" onKeyUp="setDate(this,'<?php 
echo $date_format;
?>
','<?php 
echo $lang;
?>
')">
  	<a href="javascript:show_calendar('selectform.publishdate','<?php 
echo $date_format;
?>
')">
	<img <?php 
echo createComIcon($root_path, 'show-calendar.gif', '0', 'absmiddle');
?>
></a>
  [<?php 
$dfbuffer = "LD_" . strtr($date_format, ".-/", "phs");
echo ${$dfbuffer};
?>
]
</td>
<?php 
if ($artopt == 2) {
    ?>
    <td valign=top><img <?php 
    echo createLDImgSrc($root_path, 'x-blank.gif', '0');
    ?>
 id="headpic" ><br>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:cafenews-edit.php

示例8: createComIcon

require './gui_bridge/default/gui_tabs_personell_reg.php';
?>

</table>

<ul>

<?php 
/* If the origin is admission link, show the search prompt */
if (isset($origin) && $origin == 'pass') {
    ?>

<table border=0>
  <tr>
    <td valign="bottom"><img <?php 
    echo createComIcon($root_path, 'angle_down_l.gif', '0');
    ?>
></td>
    <td><font color="#000099" SIZE=3  FACE="verdana,Arial"> <b><?php 
    echo $LDPlsSelectPatientFirst;
    ?>
</b></font></td>
    <td><img <?php 
    echo createMascot($root_path, 'mascot1_l.gif', '0', 'absmiddle');
    ?>
></td>
  </tr>
</table>

<?php 
}
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:personell_register_search.php

示例9: createLDImgSrc

<ul> 
	<b>Adým 1: </b>Kullanmak istediðiniz para biriminin kutusunu iþaretleyiniz.<p>
	<b>Adým 2: </b> <img <?php 
echo createLDImgSrc('../', 'savedisc.gif', '0');
?>
> düðmesini týklayýnýz.<p>
</ul>
<form>
<img <?php 
echo createComIcon('../', 'frage.gif', '0');
?>
> <font color="#990000"><b>
Para birimi bilgisi nasýl düzenlenir?</b></font>
<ul> 
	<b>Adým 1: </b>Kullanmak istediðiniz para biriminin  <input type="button" value="Düzenle"> düðmesini týklayýnýz.<p>
</ul>
</form>
<img <?php 
echo createComIcon('../', 'frage.gif', '0');
?>
> <font color="#990000"><b>
Para birimi bilgisi nasýl silinir?</b></font>
<ul> 
	<b>Adým 2: </b> <img <?php 
echo createComIcon('../', 'delete2.gif', '0');
?>
> düðmesini týklayýnýz.<p>
</ul>


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

示例10: while

    while ($stations = $ward_info->FetchRow()) {
        $sWardInfo = $sWardInfo . '<tr><td><a href="' . strtr('nursing-station-pass.php' . URL_APPEND . '&rt=pflege&edit=1&station=' . $stations['ward_id'] . '&location_id=' . $stations['ward_id'] . '&ward_nr=' . $stations['nr'], ' ', ' ') . '"><div class="wardname"><li>' . strtoupper($stations['ward_id']) . '&nbsp;</div></a> ';
        $sWardInfo = $sWardInfo . "\n";
        $sWardInfo = $sWardInfo . '</td><td>' . $stations['name'] . '</td></tr>';
    }
} else {
    $sWardInfo = $LDNoWardsYet . '<br><img ' . createComIcon($root_path, 'redpfeil.gif', '0', 'absmiddle') . '> <a href="nursing-station-manage-pass.php' . URL_APPEND . '">' . $LDClk2CreateWard . '</a>';
}
# Toolbar title
$smarty->assign('sToolbarTitle', $LDNursing);
# href for help button
$smarty->assign('pbHelp', 'javascript:gethelp(\'nursing.php\',\'' . $LDNursing . '\')');
# Prepare the icons
$aSubMenuIcon = array(createComIcon($root_path, 'team_wksp.gif', '0'), createComIcon($root_path, 'eye_s.gif', '0'), createComIcon($root_path, 'findnew.gif', '0'), createComIcon($root_path, 'storage.gif', '0'), createComIcon($root_path, 'timeplan.gif', '0'), createComIcon($root_path, 'forums.gif', '0'), createComIcon($root_path, 'bubble.gif', '0'));
# Prepare the submenu links indexed with their template tags
$aSubMenuItem = array('LDNursingStations' => $LDNursingStations . " <img " . createComIcon($root_path, 'dwn-arrow-grn.gif', '0', 'absmiddle') . ">", 'LDQuickView' => "<a href=\"" . $root_path . "modules/nursing/nursing-schnellsicht.php" . URL_APPEND . "\">{$LDQuickView}</a>", 'LDSearchPatient' => "<a href=\"" . $root_path . "modules/nursing/nursing-patient-such-start.php" . URL_APPEND . "\">{$LDSearchPatient}</a>", 'LDArchive' => "<a href=\"" . $root_path . "modules/nursing/nursing-station-archiv.php" . URL_APPEND . "\">{$LDArchive}</a>", 'LDStationMan' => "<a href=\"nursing-station-manage-pass.php?sid={$sid}&lang={$lang}\">{$LDStationMan}</a>", 'LDNursesList' => "<a href=\"" . $root_path . "modules/nursing_or/nursing-or-main-pass.php" . URL_APPEND . "&target=setpersonal&retpath=menu\">{$LDNursesList}</a>", 'LDNews' => "<a href=\"" . $root_path . "modules/news/newscolumns.php" . URL_APPEND . "&dept_nr=36\">{$LDNews}</a>");
$aSubMenuText = array('', $LDQuickViewTxt, $LDSearchPatientTxt, $LDArchiveTxt, $LDStationManTxt, $LDNursesListTxt, $LDNewsTxt);
# 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++;
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing.php

示例11: die

<?php

/*------begin------ This protection code was suggested by Luki R. luki@karet.org ---- */
if (eregi("inc_products_ordercatalog_show.php", $PHP_SELF)) {
    die('<meta http-equiv="refresh" content="0; url=../">');
}
/*------end------*/
if ($rows) {
    # Load the common icon images
    $img_info = createComIcon($root_path, 'info3.gif', '0');
    $img_delete = createComIcon($root_path, 'delete2.gif', '0');
    $tog = 1;
    print '
		<font color="#800000">' . $LDCatalog . ':</font>
		<table border=0 cellspacing=1 cellpadding=0>
  		<tr class="wardlisttitlerow">';
    for ($i = 0; $i < sizeof($LDMCindex); $i++) {
        print '
		<td>&nbsp;' . $LDMCindex[$i] . '&nbsp;</td>';
    }
    print '<td></td></tr>';
    while ($content = $ergebnis->FetchRow()) {
        if ($tog) {
            print '<tr class="wardlistrow2">';
            $tog = 0;
        } else {
            print '<tr class="wardlistrow1">';
            $tog = 1;
        }
        print '
				<td>&nbsp;<a href="javascript:popinfo(\'' . $content['bestellnum'] . '\')" ><img ' . $img_info . ' alt="' . $LDOpenInfo . $content['artikelname'] . '"></a>&nbsp;</td>
开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:31,代码来源:inc_products_ordercatalog_show.php

示例12: createLDImgSrc

<ul> 
	<b>Passo:</b> Clique no botão <img <?php 
echo createLDImgSrc('../', 'savedisc.gif', '0');
?>
> .
</ul>

<font size=2 face="verdana,arial" >
<a name="sel"><img <?php 
echo createComIcon('../', 'frage.gif', '0');
?>
> <font color="#990000"></a>
<b>Como listar os documentos de prontuário disponíveis?</b></font>
<ul> 
	<b>Passo:</b> Clique em "<font color=#000080>Mostre lista de documentos</font>" abaixo do formulário do documento.
</ul>

<font size=2 face="verdana,arial" >
<a name="sel"><img <?php 
echo createComIcon('../', 'frage.gif', '0');
?>
> <font color="#990000"></a>
<b>Como ver um documento de prontuário?</b></font>
<ul> 
	<b>Passo:</b> Clique no ícone do documento <img <?php 
echo createComIcon('../', 'info3.gif', '0');
?>
>.
</ul>

开发者ID:patmark,项目名称:care2x-tz,代码行数:29,代码来源:help_pt-br_medocs_entry.php

示例13: createComIcon

<a name="sall"></a>
<font face="Verdana, Arial" size=2>
<b>
<p><font color="#990000">Wie kann ich die Patienten-Warteliste anzeigen lassen?</font></b><p>
<font face="Verdana, Arial" size=2>
<ul>
<b>Schritt:</b> Klicken Sie auf "Alle anzeigen" unterhalb der Warteliste.<p>
<img src="../help/en/img/en_ambulatory_showall.png" border=0 width=301 height=156>
</ul>

<a name="pic"></a>
<font face="Verdana, Arial" size=2>
<b>
<p><font color="#990000">Wie sehe ich das Passbild eines Patienten an?</font></b><p>
<font face="Verdana, Arial" size=2>
<ul>
<b>Schritt:</b> Klicken Sie auf <img <?php 
echo createComIcon($root_path, 'spf.gif', '0');
?>
>
oder auf <img <?php 
echo createComIcon($root_path, 'spm.gif', '0');
?>
>.<p>
<img src="../help/en/img/en_ambulatory_sex.png" border=0 width=434 height=84>
</ul>
</font>

</body>
</html>
开发者ID:tejdeeps,项目名称:tejcs.com,代码行数:30,代码来源:help_de_ambulatory_clinic.php

示例14: 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');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:editor-4plus1-read.php

示例15: createComIcon

?>
</HEAD>
<BODY  bgcolor=<?php 
echo $cfg['body_bgcolor'];
if (!$cfg['dhtml']) {
    echo 'link=' . $cfg['idx_txtcolor'] . ' alink=' . $cfg['body_alink'] . ' vlink=' . $cfg['idx_txtcolor'];
}
?>
>


<?php 
if (!$edit) {
    ?>
<img <?php 
    echo createComIcon($root_path, 'phone.gif', '0', 'absmiddle');
    ?>
>
<?php 
}
?>
<FONT  COLOR="<?php 
echo $cfg[top_txtcolor];
?>
"  SIZE=6  FACE="verdana"> <b><?php 
echo $LDPhoneDir;
?>
</b></font>

<table  border=0 cellpadding=0 cellspacing=0 width="100%">
<tr>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:phone_list.php


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