function printFilter() { ?> <form method="GET"> <div class="banner-filter">Recherche</div> <div class="content-filter"><?php search(); ?> </div> <div class="banner-filter">Zones</div> <div class="content-filter"><?php masterZoneDropDown(); ?> </div> <div class="banner-filter">Types</div> <div class="content-filter"><?php printCheckBox('buy', 'A acheter'); printCheckBox('catch', 'A capturer'); printCheckBox('own', 'Possédé'); ?> </div> <div class="banner-filter">Trier par</div> <div class="content-filter"><?php printSortRadio('priceAsc', 'Prix croissant'); printSortRadio('priceDesc', 'Prix décroissant'); printSortRadio('name', 'Nom'); printSortRadio('zoneFilter', 'Zone'); ?> </div> <input class="button-filter" type="submit" value="Filtrer"> </form><?php }
function listShiftHours($trade) { //Declare variables global $area; global $netID; //This will need to be changed so we can allow trades to be taken as someone other than the logged in individual global $hourSize; $time = $trade['startDate'] . ' ' . $trade['startTime']; $color = getHourColor($trade['hourType']); $html = ""; $endDateTime = $trade['endDate'] . ' ' . $trade['endTime']; while ($time < $endDateTime) { //Declare variables $printTime = date('g:i A', strtotime($time)); $html .= "\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td style='background-color:" . $color . ";' >" . $printTime . "</td>\n\t\t\t\t\t\t<td style='text-align: center'>" . printCheckBox($trade, substr($time, 11, 8), $netID) . "</td>\n\t\t\t\t\t</tr>\n\t\t\t\t"; //Update trade unit for next pass through $timestamp = strtotime($time) + 60 * (60 * $hourSize); $time = date('Y-m-d H:i:s', $timestamp); } //while return $html; }
echo $LDRequestTo; ?> <br> <?php echo $formtitle . ' ' . $LDDepartment; ?> <p> <?php printCheckBox('visit'); echo ' ' . $LDVisitRequested; ?> <p> <?php printCheckBox('order_patient'); echo ' ' . $LDPatCanBeOrdered; ?> <p> <?php echo '<font size=1 color="#000099" face="verdana,arial">' . $batch_nr . '</font> <br>'; echo "<img src='" . $root_path . "classes/barcode/image.php?code={$batch_nr}&style=68&type=I25&width=145&height=40&xres=2&font=5' border=0>"; ?> </td> <td bgcolor="<?php echo $bgc1; ?> " align="right"><div class=fva2b_ml10> <?php
</tr> <tr> <td align="right"><div class=fva2_ml10><?php echo $LDMRT; ?> </td> <td> <?php printCheckBox('mrt'); ?> </td> <td align="right"><div class=fva2_ml10><?php echo $LDNuclear; ?> </td> <td> <?php printCheckBox('nuclear'); ?> </td> </tr> <tr> <td colspan=4><hr></td> </tr> <tr> <td align="right"><div class=fva2_ml10><?php echo $LDPatMobile; ?> <?php echo $LDYes; ?>
<a href="javascript:printOut()"><img <?php echo createLDImgSrc($root_path, 'printout.gif', '0', 'absmiddle'); ?> alt="<?php echo $LDPrintOut; ?> "></a> <?php if ($stored_request['result'] != '' && $stored_request['status'] != 'done') { echo ' <a href="' . $thisfile . '?sid=' . $sid . '&lang=' . $lang . '&edit=' . $edit . '&mode=done&target=' . $target . '&subtarget=' . $subtarget . '&batch_nr=' . $batch_nr . '&pn=' . $pn . '&user_origin=' . $user_origin . '&entry_date=' . $entry_date . '"><img ' . createLDImgSrc($root_path, 'done.gif', '0', 'absmiddle') . ' alt="' . $LDDone . '"></a>'; } # Start of the form # Prepare the values $TP_checkbox_1 = printCheckBox('visit', false); $TP_checkbox_2 = printCheckBox('order_patient', false); $TP_img_barcode = "<img src='" . $root_path . "classes/barcode/image.php?code={$batch_nr}&style=68&type=I25&width=145&height=40&xres=2&font=5' border=0>"; $TP_img_patient_label = '<img src="' . $root_path . 'main/imgcreator/barcode_label_single_large.php?sid=' . $sid . '&lang=' . $lang . '&fen=' . $full_en . '&en=' . $pn . '" width=282 height=178>'; if ($stored_request['diagnosis_quiry']) { $TP_diagnosis_quiry = nl2br(stripslashes($stored_request['diagnosis_quiry'])); } else { $TP_diagnosis_quiry = ''; } if ($edit_form || $read_form) { $TP_send_date = formatDate2Local($stored_request['send_date'], $date_format); } else { $TP_send_date = ''; } $TP_calendar_1 = ''; $TP_input_1 = '/'; # Disables the input