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


PHP dropdown_facility函数代码示例

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


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

示例1: htmlspecialchars

?>
 </div>
<form name='theform' id='theform' method='post' action='clinical_reports.php'>
	<div id="report_parameters">
		<input type='hidden' name='form_refresh' id='form_refresh' value=''/>
		<table>
		      <tr>
			<td width='740px'><div style='float:left'>
		 		<table class='text'>
					<tr>
						<td class='label' width="100"><?php 
echo htmlspecialchars(xl('Facility'), ENT_NOQUOTES);
?>
: </td>
						<td width="250"> <?php 
dropdown_facility($facility, 'facility', false);
?>
 </td>
						<td class='label' width="100"><?php 
echo htmlspecialchars(xl('From'), ENT_NOQUOTES);
?>
: </td>
						<td><input type='text' name='date_from' id="date_from" size='10' value='<?php 
echo htmlspecialchars($sql_date_from, ENT_QUOTES);
?>
' onkeyup='datekeyup(this,mypcc)' onblur='dateblur(this,mypcc)' title='yyyy-mm-dd'> <img src='../pic/show_calendar.gif' align='absbottom' width='24' height='22' id='img_from_date' border='0' alt='[?]' style='cursor:pointer' title='<?php 
echo htmlspecialchars(xl('Click here to choose a date'), ENT_QUOTES);
?>
'></td>
					</tr>
					<tr>
开发者ID:richsiy,项目名称:openemr,代码行数:31,代码来源:clinical_reports.php

示例2: xl

<table>
 <tr>
  <td width='660px'>
	<div style='float:left'>

	<table class='text'>
		<tr>
			<td class='label'>
				<?php 
xl('Facility', 'e');
?>
:
			</td>
			<td>
			<?php 
dropdown_facility(strip_escape_custom($form_facility), 'form_facility');
?>
			</td>
			<td class='label'>
			   <?php 
xl('Provider', 'e');
?>
:
			</td>
			<td>
				<?php 
if (acl_check('acct', 'rep_a')) {
    // Build a drop-down list of providers.
    //
    $query = "select id, lname, fname from users where " . "authorized = 1 order by lname, fname";
    $res = sqlStatement($query);
开发者ID:stephen-smith,项目名称:openemr,代码行数:31,代码来源:sl_receipts_report.php

示例3: generate_print_field


//.........这里部分代码省略.........
                                                                                    echo "<td class='bold'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" . htmlspecialchars(xl('Status'), ENT_NOQUOTES) . ":&nbsp;&nbsp;</td>";
                                                                                }
                                                                            }
                                                                            echo "<td><input type='radio'";
                                                                            if ($restype == "current" . $field_id) {
                                                                                echo " checked";
                                                                            }
                                                                            echo "/>" . htmlspecialchars(xl('Current'), ENT_NOQUOTES) . "&nbsp;</td>";
                                                                            echo "<td><input type='radio'";
                                                                            if ($restype == "current" . $field_id) {
                                                                                echo " checked";
                                                                            }
                                                                            echo "/>" . htmlspecialchars(xl('Quit'), ENT_NOQUOTES) . "&nbsp;</td>";
                                                                            echo "<td><input type='text' size='6'" . " value='{$resdate}'" . " class='under'" . " /></td>";
                                                                            echo "<td><input type='radio'";
                                                                            if ($restype == "current" . $field_id) {
                                                                                echo " checked";
                                                                            }
                                                                            echo " />" . htmlspecialchars(xl('Never'), ENT_NOQUOTES) . "</td>";
                                                                            echo "<td><input type='radio'";
                                                                            if ($restype == "not_applicable" . $field_id) {
                                                                                echo " checked";
                                                                            }
                                                                            echo " />" . htmlspecialchars(xl('N/A'), ENT_NOQUOTES) . "&nbsp;</td>";
                                                                            echo "</tr>";
                                                                            echo "</table>";
                                                                        } else {
                                                                            if ($data_type == 31) {
                                                                                echo nl2br($frow['description']);
                                                                            } else {
                                                                                if ($data_type == 34) {
                                                                                    echo "<a href='../../../library/custom_template/custom_template.php?type=form_{$field_id}&contextName=" . htmlspecialchars($list_id_esc, ENT_QUOTES) . "' class='iframe_medium' style='text-decoration:none;color:black;'>";
                                                                                    echo "<div id='form_{$field_id}_div' class='text-area'></div>";
                                                                                    echo "<div style='display:none'><textarea name='form_{$field_id}' id='form_{$field_id}' stye='display:none'></textarea></div>";
                                                                                    echo "</a>";
                                                                                } else {
                                                                                    if ($data_type == 35) {
                                                                                        if (empty($currvalue)) {
                                                                                            $currvalue = 0;
                                                                                        }
                                                                                        dropdown_facility($selected = $currvalue, $name = "form_{$field_id_esc}", $allow_unspecified = true, $allow_allfacilities = false);
                                                                                    } else {
                                                                                        if ($data_type == 36) {
                                                                                            if (empty($fld_length)) {
                                                                                                if ($list_id == 'titles') {
                                                                                                    $fld_length = 3;
                                                                                                } else {
                                                                                                    $fld_length = 10;
                                                                                                }
                                                                                            }
                                                                                            $tmp = '';
                                                                                            $values_array = explode("|", $currvalue);
                                                                                            $i = 0;
                                                                                            foreach ($values_array as $value) {
                                                                                                if ($value) {
                                                                                                    $lrow = sqlQuery("SELECT title FROM list_options " . "WHERE list_id = ? AND option_id = ?", array($list_id, $value));
                                                                                                    $tmp = xl_list_label($lrow['title']);
                                                                                                    if ($lrow == 0 && !empty($backup_list)) {
                                                                                                        // since primary list did not map, try to map to backup list
                                                                                                        $lrow = sqlQuery("SELECT title FROM list_options " . "WHERE list_id = ? AND option_id = ?", array($backup_list, $currvalue));
                                                                                                        $tmp = xl_list_label($lrow['title']);
                                                                                                    }
                                                                                                    if (empty($tmp)) {
                                                                                                        $tmp = "({$value})";
                                                                                                    }
                                                                                                }
                                                                                                if ($tmp === '') {
                                                                                                    $tmp = '&nbsp;';
                                                                                                } else {
                                                                                                    $tmp = htmlspecialchars($tmp, ENT_QUOTES);
                                                                                                }
                                                                                                if ($i != 0 && $tmp != '&nbsp;') {
                                                                                                    echo ",";
                                                                                                }
                                                                                                echo $tmp;
                                                                                                $i++;
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
开发者ID:hitechelp,项目名称:openemr,代码行数:101,代码来源:options.inc.php

示例4: xlt

<input type='hidden' name='form_csvexport' id='form_csvexport' value=''/>
<table>
 <tr>
  <td width='70%'>
	<div style='float:left'>
	<table class='text'>
		<tr>
			<td class='label'>
				<?php 
    echo xlt('Facility');
    ?>
:
			</td>
			<td>
			<?php 
    dropdown_facility($form_facility, 'form_facility', true);
    ?>
			</td>
                        <td><?php 
    echo xlt('Provider');
    ?>
:</td>
                <td><?php 
    // Build a drop-down list of providers.
    //
    $query = "SELECT id, lname, fname FROM users WHERE " . "authorized = 1 ORDER BY lname, fname";
    //(CHEMED) facility filter
    $ures = sqlStatement($query);
    echo "   <select name='form_provider'>\n";
    echo "    <option value=''>-- " . xlt('All') . " --\n";
    while ($urow = sqlFetchArray($ures)) {
开发者ID:katopenzz,项目名称:openemr,代码行数:31,代码来源:svc_code_financial_report.php

示例5: htmlspecialchars

?>
'>
										</td>
										<td>&nbsp;</td>
									</tr>
									
									<tr>
										<td class='label'>
											<?php 
echo htmlspecialchars(xl('Facility'), ENT_NOQUOTES);
?>
:
										</td>
										<td>
											<?php 
dropdown_facility($form_facility, 'form_facility', false);
?>
										</td>
										<td class='label'>
										   <?php 
echo htmlspecialchars(xl('Provider'), ENT_NOQUOTES);
?>
:
										</td>
										<td>
											<select name='form_users' onchange='form.submit();'>
												<option value=''>-- <?php 
echo htmlspecialchars(xl('All'), ENT_NOQUOTES);
?>
 --</option>
												<?php 
开发者ID:katopenzz,项目名称:openemr,代码行数:31,代码来源:edi_270.php

示例6: xlt

<div id="report_parameters">

<table>
    <tr>
        <td width='650px'>
        <div style='float: left'>

        <table class='text'>
            <tr>
                <td class='label'><?php 
echo xlt('Facility');
?>
:</td>
                <td><?php 
dropdown_facility($facility, 'form_facility');
?>
                </td>
                <td class='label'><?php 
echo xlt('Provider');
?>
:</td>
                <td><?php 
# Build a drop-down list of providers.
#
$query = "SELECT id, lname, fname FROM users WHERE " . "authorized = 1  ORDER BY lname, fname";
#(CHEMED) facility filter
$ures = sqlStatement($query);
echo "   <select name='form_provider'>\n";
echo "    <option value=''>-- " . xlt('All') . " --\n";
while ($urow = sqlFetchArray($ures)) {
开发者ID:katopenzz,项目名称:openemr,代码行数:30,代码来源:patient_flow_board_report.php

示例7: date

<div id="report_parameters_daterange"><?php echo date("d F Y", strtotime($from_date)) ." &nbsp; to &nbsp; ". date("d F Y", strtotime($to_date)); #sets date range for calendars ?>
</div>

<form method='post' name='theform' id='theform' action='patient_flow_board_report.php' onsubmit='return top.restoreSession()'>

<div id="report_parameters">

<table>
    <tr>
        <td width='650px'>
        <div style='float: left'>

        <table class='text'>
            <tr>
                <td class='label'><?php echo xlt('Facility'); ?>:</td>
                <td><?php dropdown_facility($facility, 'form_facility'); ?>
                </td>
                <td class='label'><?php echo xlt('Provider'); ?>:</td>
                <td><?php

                # Build a drop-down list of providers.
                #

                $query = "SELECT id, lname, fname FROM users WHERE ".
                  "authorized = 1  ORDER BY lname, fname"; #(CHEMED) facility filter

                $ures = sqlStatement($query);

                echo "   <select name='form_provider'>\n";
                echo "    <option value=''>-- " . xlt('All') . " --\n";
开发者ID:jayvicson,项目名称:openemr,代码行数:30,代码来源:patient_flow_board_report.php

示例8: xl

<form method='post' name='theform' id='theform' action='encounters_report.php'>

<div id="report_parameters">
<table>
 <tr>
  <td width='550px'>
	<div style='float:left'>

	<table class='text'>
		<tr>
			<td class='label'>
				<?php xl('Facility','e'); ?>:
			</td>
			<td>
			<?php dropdown_facility(strip_escape_custom($form_facility), 'form_facility', true); ?>
			</td>
			<td class='label'>
			   <?php xl('Provider','e'); ?>:
			</td>
			<td>
				<?php

				 // Build a drop-down list of providers.
				 //

				 $query = "SELECT id, lname, fname FROM users WHERE ".
				  "authorized = 1 $provider_facility_filter ORDER BY lname, fname"; //(CHEMED) facility filter

				 $ures = sqlStatement($query);
开发者ID:jayvicson,项目名称:openemr,代码行数:29,代码来源:encounters_report.php

示例9: xlt

</span>
        <!-- start of search parameters --> 
        <form method='post' name='report_form' id='report_form' action='' onsubmit='return top.restoreSession()'>
            <div id="report_parameters">
                <table class="tableonly">
                    <tr>
                        <td width='745px'>
                            <div style='float: left'>
                                <table class='text'>
                                    <tr>
                                        <td class='label'><?php 
echo xlt('Facility');
?>
:</td>
                                        <td><?php 
dropdown_facility($selectedFacility, 'form_facility', false);
?>
</td>				
                                        <td class='label'><?php 
echo xlt('From');
?>
:</td>
                                        <td>
                                            <input type='text' name='form_from_date' id="form_from_date"
                                                   size='10' value='<?php 
echo attr($from_date);
?>
'
                                                   onkeyup='datekeyup(this, mypcc)' onblur='dateblur(this, mypcc)'
                                                   title='yyyy-mm-dd'> <img src='../pic/show_calendar.gif'
                                                   align='absbottom' width='24' height='22' id='img_from_date'
开发者ID:juggernautsei,项目名称:openemr,代码行数:31,代码来源:daily_summary_report.php


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