本文整理汇总了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>
示例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);
示例3: generate_print_field
//.........这里部分代码省略.........
echo "<td class='bold'> " . htmlspecialchars(xl('Status'), ENT_NOQUOTES) . ": </td>";
}
}
echo "<td><input type='radio'";
if ($restype == "current" . $field_id) {
echo " checked";
}
echo "/>" . htmlspecialchars(xl('Current'), ENT_NOQUOTES) . " </td>";
echo "<td><input type='radio'";
if ($restype == "current" . $field_id) {
echo " checked";
}
echo "/>" . htmlspecialchars(xl('Quit'), ENT_NOQUOTES) . " </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) . " </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 = ' ';
} else {
$tmp = htmlspecialchars($tmp, ENT_QUOTES);
}
if ($i != 0 && $tmp != ' ') {
echo ",";
}
echo $tmp;
$i++;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
示例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)) {
示例5: htmlspecialchars
?>
'>
</td>
<td> </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
示例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)) {
示例7: date
<div id="report_parameters_daterange"><?php echo date("d F Y", strtotime($from_date)) ." to ". 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";
示例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);
示例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'