Exemplo n.º 1
0
					<td>
						<div id="quant_div"></div>
					</td>
				</tr>
                                <tr>
					<td>
						&nbsp;<?php 
echo LangUtil::$pageTerms['Quantity_Signed_Out'];
$page_elems->getAsterisk();
?>
					</td>
					<td></td>
					<td>
						<input type="text" name="quant_u" id="quant_u" class='uniform_width'/>
                                                <label class="error" for="quant_u" id="quant_u_error"><small><font color="red"><?php 
echo LangUtil::getGeneralTerm("MSG_REQDFIELD");
?>
</font></small></label>
                                                <label class="error" for="quant_u" id="quant_e_error"><small><font color="red"><?php 
echo "Exceeds available quantity";
?>
</font></small></label>
					</td>
				</tr>
				<tr>
					<td>
						&nbsp;<?php 
echo "Date of Usage";
$page_elems->getAsterisk();
?>
 
Exemplo n.º 2
0
<?php

include "redirect.php";
include "includes/header.php";
LangUtil::setPageId("home");
$page_elems = new PageElems();
$profile_tip = LangUtil::getPageTerm("TIPS_PWD");
$page_elems->getSideTip(LangUtil::getGeneralTerm("TIPS"), $profile_tip);
# Enable JavaScript for recording user props and latency values
# Attaches record.js to this HTML
$script_elems->enableLatencyRecord();
?>

<br>
<span class='page_title'><?php 
echo LangUtil::getTitle();
?>
</span>
<br><br>

<?php 
echo LangUtil::getPageTerm("WELCOME") . ", " . $_SESSION['username'] . ".<br><br>";
echo LangUtil::getPageTerm("TIPS_BLISINTRO");
?>

<br><br>

<?php 
# If technician user, show lab workflow
if ($_SESSION['user_level'] == $LIS_TECH_RW || $_SESSION['user_level'] == $LIS_TECH_SHOWPNAME || $_SESSION['user_level'] == $LIS_TECH_RO) {
    //$page_elems->getLabConfigStatus($_SESSION['lab_config_id']);
Exemplo n.º 3
0
	public function getSpecimenNamesSelector() {
		#Return table which includes dropdowns of specimens configured in all labs in the country
		echo "<table>";
		$count = 1;
		$siteList = get_site_list($_SESSION['user_id']);
		foreach($siteList as $labConfigId => $labName) {
			echo "<tr><td>".$labName."</td>";
			echo "<td><select id='specimenNameSelect$count'>";
			$specimenTypeList = get_specimen_types_by_site($labConfigId);
			foreach($specimenTypeList as $specimenType) {
				echo "<option value='$labConfigId:$specimenType->specimenTypeId'>".$specimenType->getName()."</option>";
			}
			echo "</select></td></tr>";
			$count++;
		}
		echo "<tr><td></td><td></td></tr>";
		echo "<tr>";
		echo "<td>Country Specimen Name:</td>"; ?>
		<td><input type="text" id="commonSpecimenName" size="50"></input>
		<div id='commonSpecimenNameError' style='display:none'>
			<label class="error" id="commonSpecimenNameErrorLabel"><small><font color="red"><?php echo LangUtil::getGeneralTerm("MSG_REQDFIELD"); ?></font></small></label>
		</div>
		</tr>
		<tr>
		<td></td>
		<td>
		<input type="button" id="submit" type="submit" onclick="submitSpecimenNames();" value="<?php echo LangUtil::$generalTerms['CMD_SUBMIT']; ?>" size="20" />
		</td>
	<?php
	}
Exemplo n.º 4
0
					<tr valign='top'>
						<td>
							<?php echo LangUtil::getGeneralTerm("USERNAME"); ?>
						</td>
						<td>
							<input type="text" name="username" id = "username" value="" size="20" class='uniform_width' />
							<label class="error" for="username" id="username_error"><small><font color="red"><?php echo LangUtil::getGeneralTerm("MSG_REQDFIELD"); ?></font></small></label> 
						</td>
					</tr>
					<tr valign='top'>
						<td>
							<?php echo LangUtil::getGeneralTerm("PWD"); ?>
						</td>
						<td>
							<input type="password" name="password" id = "password" value="" size="20" class='uniform_width' onkeypress="javascript:capLock(event);" onkeydown="javascript:capLock(event);" />
							<label class="error" for="password" id="password_error"><small><font color="red"><?php echo LangUtil::getGeneralTerm("MSG_REQDFIELD"); ?></font></small></label>
							<br>
							<div id="caps_lock_msg_div" style="display:none"><font color='red'><small><?php echo LangUtil::getPageTerm("MSG_CAPSLOCK"); ?></small></font></div>
						</td>
					</tr>					
					<tr>
						<td></td>
						<td>
							<input type="button" class="btn" id="login_button" value="<?php echo LangUtil::$generalTerms["CMD_LOGIN"]; ?>" onclick="check_input_boxes()"/>
						
						</td>
					</tr>
					<tr>
						<td>
						</td>
						<td>