本文整理汇总了PHP中database::coconutComboBoxStart_long方法的典型用法代码示例。如果您正苦于以下问题:PHP database::coconutComboBoxStart_long方法的具体用法?PHP database::coconutComboBoxStart_long怎么用?PHP database::coconutComboBoxStart_long使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database
的用法示例。
在下文中一共展示了database::coconutComboBoxStart_long方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$ro->coconutHidden("username", $userz);
$ro->coconutHidden("timeIssued", $ro->getSynapseTime());
echo "<Br><br>";
$ro->coconutBoxStart("500", "320");
echo "<br>";
echo "<table>";
echo "<tr>";
echo "<TD>Voucher#</tD>";
echo "<TD>";
$ro->coconutTextBox("voucherNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Payment Mode</tD>";
echo "<TD>";
$ro->coconutComboBoxStart_long("paymentMode");
echo "<option value='cash'>Cash</option>";
echo "<option value='check'>Check</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Description</tD>";
echo "<TD>";
$ro->coconutTextBox("description", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Amount</tD>";
echo "<TD>";
$ro->coconutTextBox_short("amount", "");
示例2:
echo "<option value='2D ECHO'>2D ECHO</option>";
echo "<option value='CT SCAN'>CT SCAN</option>";
echo "<option value='PT REHAB'>PT REHAB</option>";
echo "<option value='ECG'>ECG</option>";
echo "<option value='BLOOD BANK'>BLOOD BANK</option>";
echo "<option value='RENTAL'>RENTAL</option>";
echo "<option value='YAG LASER'>YAG LASER</option>";
echo "<option value='LABORATORY'>LABORATORY</option>";
$ro->coconutBoxStop();
*/
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Paid Via </tD>";
echo "<Td>";
$ro->coconutComboBoxStart_long("paidVia");
echo "<option value='Cash'>Cash</option>";
echo "<option value='Check'>Check</option>";
$ro->getAllCompany();
$ro->coconutBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>O.R# </tD>";
echo "<td>";
$ro->coconutTextBox_short("orNo", "");
echo "</tD>";
echo "</tr>";
echo "<tr>";
echo "<TD>Amount </tD>";
echo "<td>";
示例3:
echo "<tr>";
echo "<Td>" . $ro->coconutText("Username") . "</tD>";
echo "<td>";
$ro->coconutTextBox("username", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Password") . "</td>";
echo "<td>";
echo "<input type=password name='password' class='txtBox' value=''>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Module") . "</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("module");
echo "<option value='NURSING'>Nursing Service</option>";
echo "<option value='REGISTRATION'>Registration</option>";
echo "<option value='BILLING'>Billing</option>";
echo "<option value='DOCTOR'>Doctor's Lounge</option>";
echo "<option value='LABORATORY'>Laboratory</option>";
echo "<option value='RADIOLOGY'>Radiology</option>";
echo "<option value='PHARMACY'>Pharmacy</option>";
echo "<option value='CSR'>CSR</option>";
echo "<option value='PATIENT'>Patient</option>";
echo "<option value='CASHIER'>Cashier</option>";
echo "<option value='MAINTENANCE'>Maintenance</option>";
echo "<option value='ADMIN'>Admin</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
示例4:
} else {
echo "\n<td>\n<span class='Arial10RedBold'>Only Admin, Billing, Cashier, PhilHealth, Admitting accounts can change this.</span><br>\n<select name='company' class='comboBox'>\n<option>" . $ro->getRegistrationDetails_company() . "</option>\n</select></td>\n";
}
echo "</tr>";
echo "<tr>";
echo "<td> </td>";
if ($ro->selectNow("registeredUser", "module", "username", $username) == "ADMIN" || $ro->selectNow("registeredUser", "module", "username", $username) == "BILLING" || $ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER" || $ro->selectNow("registeredUser", "module", "username", $username) == "PHILHEALTH" || $ro->selectNow("registeredUser", "module", "username", $username) == "ADMITTING") {
echo "<td><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/additionalCompany/addCompany.php?registrationNo={$registrationNo}&username={$username}' style='text-decoration:none;'><font color=red>Add Another Company</font></a></td>";
} else {
echo "<td></td>\n";
}
echo "</tr>";
echo "<tr>";
echo "<td><font size=3>Type of Case</font></td>";
echo "<td>";
$ro->coconutComboBoxStart_long("typeCase");
echo "<option value='" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "'>" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</option>";
echo "<option value='Private Case'>Private Case</option>";
echo "<option value='House Case'>House Case</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
if ($ro->selectNow("registeredUser", "module", "username", $username) == "RECORDS") {
echo "<tr>";
echo "<td><font size=3>Discharged Condition </font></td>";
/*echo "<td>";
$ro->coconutComboBoxStart_long("dischargedCondition");
echo "<option value='".$ro->selectNow("registrationDetails","ndition","registrationNo",$registrationNo)."'>".$ro->selectNow("registrationDetails","dischargeCondition","registrationNo",$registrationNo)."</option>";
echo "<option value='Private Case'>IMP</option>";
echo "<option value='House Case'></option>";
$ro->coconutComboBoxStop();
示例5:
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("station", $station);
$ro->coconutBoxStart("500", "160");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>Username </td>";
echo "<td>";
$ro->coconutTextBox("username", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>Password </td>";
echo "<td>" . $ro->coconutPasswordBox_return("password", "") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Status</td>";
echo "<Td>";
$ro->coconutComboBoxStart_long("status");
echo "<option value='" . $status . "'>{$status}</option>";
echo "<option value='Admitted'>Admitted</option>";
echo "<option value='For Discharge'>For Discharge</option>";
echo "<option value='Discharged'>Discharged</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例6: SetMsg
var charges = 'Search Inventory';
function SetMsg (txt,active) {
if (txt == null) return;
if (active) {
if (txt.value == charges) txt.value = '';
} else {
if (txt.value == '') txt.value = charges;
}
}
window.onload=function() { SetMsg(document.getElementById('charges', false)); }
</script>
<?php
echo "<body>";
echo "<form name='addCharge'>";
echo " <input type=text name='availableCharges' id='charges' style=' \n\tbackground:#FFFFFF no-repeat 4px 4px;\n\tpadding:4px 4px 4px 2px;\n\tborder:1px solid #CCCCCC;\n\twidth:400px;\n\theight:25px;' class='txtBox'\n\tonfocus='SetMsg(this, true);'\n \tonblur='SetMsg(this,false);'\n\tonkeyup='showResult();' \n\tvalue='Search Inventory'\n>";
echo "\n<input type=hidden name='packageName' value='{$packageName}'>";
echo "<br><Br><font size=2>Search From</font><br>";
$ro->coconutComboBoxStart_long("searchFrom");
echo "<option value='PHARMACY'>PHARMACY</option>";
$ro->coconutComboBoxStop();
echo "</form>";
echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/hospitalPackage/searchCharges.php?packageName={$packageName}' style='text-decoration:none;'><font color=red>Services</font></a>";
//echo "<a href='http://".$ro->getMyUrl()."/COCONUT/hospitalPackage/searchDoctor.php?packageName=$packageName&packagePrice=$packagePrice&phicPrice=$phicPrice' style='text-decoration:none;'><br><font color=red>Doctor</font></a>";
echo "<div id='livesearch'></div>";
echo "</body>";
示例7: database
<?php
include "../../myDatabase.php";
$ro = new database();
$ro->coconutHeading("NURSING SERVICE", "COCONUT/NURSING/initializeNursing.php");
$ro->coconutDesign();
echo "<br><br>";
$ro->coconutFormStart("get", "nursingStation.php");
$ro->coconutHidden("username", "");
$ro->coconutHidden("module", "");
$ro->coconutBoxStart("600px", "125px");
echo "<Br><br>";
$ro->coconutComboBoxStart_long("branch");
$ro->showOption("branch", "branch");
$ro->coconutComboBoxStop();
echo "<br>";
$ro->coconutComboBoxStart_long("floor");
$ro->showFloor();
$ro->coconutComboBoxStop();
echo "<br><Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例8:
echo "<tr>";
echo "<tD>Show All: </tD>";
echo "<Td>";
$ro->coconutComboBoxStart_short("username");
echo "<option value='{$username}'>No</option>";
echo "<option value='smch'>Yes</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<tD>Show Cut-off: </tD>";
echo "<Td>";
$ro->coconutComboBoxStart_short("cutoff");
echo "<option value='no'>No</option>";
echo "<option value='yes'>Yes</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
} else {
$ro->coconutHidden("username", $username);
$ro->coconutHidden("cutoff", "no");
}
echo "\n<tr><td> </td><td> </td></tr>\n<tr>\n<td>Select Shift </td>\n<td>\n";
$ro->coconutComboBoxStart_long("shift");
echo "\n <option>-Select Shift-</option>\n <option>Morning</option>\n <option>Noon</option>\n <option>Afternoon</option>\n <option>Night</option>\n";
$ro->coconutComboBoxStop();
echo "\n</td>\n</tr>\n";
echo "</table>";
echo "<br><Br><br><input type=submit value='Proceed' style='border:1px solid #000; background-color:#3b5998; color:white;' >";
echo "</div>";
echo "</form>";
示例9:
echo "<td>";
echo "<select name='branch' class='comboBox'>";
echo "<option value='{$branch}'>{$branch}</option>";
$ro->showOption("branch", "branch");
echo "</select>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Status</font></td>";
echo "<td>";
echo "<select name='status' class='comboBox'>";
echo "<option value='{$tatus}'>{$status}</option>";
echo "<option value='Occupied'>Occupied</option>";
echo "<option value='Vacant'>Vacant</option>";
echo "</select>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Floor") . "</td>";
echo "<Td>";
$ro->coconutComboBoxStart_long("floor");
echo "<option value='{$floor}'>{$floor}</option>";
$ro->showOption("floor", "description");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
echo "<input type=submit value='Proceed' class='coconutButton'>";
echo "</div>";
echo "</form>";
示例10:
<font size=4><?php
echo $module;
?>
</font>
<?php
echo "\n<style type='text/css'>\n.txtBox {\n\tborder: 1px solid #CCC;\n\tcolor: #999;\n\theight: 20px;\n\twidth: 300px;\n}\n\n.prices {\n\tborder: 1px solid #CCC;\n\tcolor: #000;\n\theight: 20px;\n\twidth: 70px;\n\n}\n</style>\n\n";
/*
echo "<table id='headz' border=0 bgcolor='#3b5998' width='100%'>
<td> <font size=5 color=white><b>Maintenance > $module</b></font></td></table>";
*/
echo "\n<form method='get' action='editCharges1.php'>\n<Br>\n<div style='border:1px solid #000000; width:400px; height:450px; border-color:black black black black;'><br>\n <font size=2>Description:</font> <input type=text name='description' value='{$description}' class='txtBox'><Br>\n<br> <font size=2>Service:</font> \n<select name='services' style='border:1px solid #000000; width:200px; height:20px; ' >";
echo "<option value='{$service}'>{$service}</option>";
echo "<option value='package'>Package</option>";
$ro->categoryService($module);
echo "</select>\n<br>\n <font size=2>Type:</font> \n<select name='subCategory' style='border:1px solid #000000; width:200px; height:20px; ' >\n<option value=''></option>\n<option value='hematology'>Hematology</option>\n<option value='clinchem'>Clinical Chemistry</option>\n<option value='urinalysis'>Urinalysis</option>\n<option value='serology'>Serology</option>\n<option value='fecalysis'>Fecalysis</option>\n</select>\n<br><br>\n---------------------------- PRICE's -------------------------------------<Br>\n <font size=1>OPD:</font> <input type=text name='opdprice' value=' {$opd}' class='prices'>\n<br> <font size=1>WARD:</font> <input type=text name='wardprice' value=' {$ward}' class='prices'><br>\n<input type=hidden name='category' value='{$module}'>\n<input type=hidden name='username' value='{$username}'>\n <font size=1>SOLO WARD:</font> <input type=text name='solowardprice' value=' {$soloward}' class='prices'><br>\n\n <font size=1>SEMI PRIVATE:</font> <input type=text name='semiprivateprice' value=' {$semiprivate}' class='prices'><br>\n <font size=1>PRIVATE:</font> <input type=text name='privateprice' value=' {$private}' class='prices'>\n\n<br>\n <font size=1>HMO:</font> <input type=text name='hmo' value='{$hmo}' class='prices'>\n\n\n<br>\n <font size=1>Unit Cost:</font> <input type=text name='unitCost' value='{$unitCost}' class='prices'>\n\n<Br><br>\n\n<font size=2>Reagents</font>";
$ro->coconutComboBoxStart_long("reagent1");
echo "<option value='none'></option>";
$ro->showOption_with_value("labReagents", "description", "permanentReference");
$ro->coconutComboBoxStop();
echo "<br>";
echo "<font size=2>Reagents</font>";
$ro->coconutComboBoxStart_long("reagent2");
echo "<option value='none'></option>";
$ro->showOption_with_value("labReagents", "description", "permanentReference");
$ro->coconutComboBoxStop();
echo "<br>";
echo "<font size=2>Reagents</font>";
$ro->coconutComboBoxStart_long("reagent3");
echo "<option value='none'></option>";
$ro->showOption_with_value("labReagents", "description", "permanentReference");
$ro->coconutComboBoxStop();
示例11:
echo "<Tr>";
echo "<td>Position </td>";
echo "<td>";
$ro->coconutTextBox("position", $position);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Salary/Rate </td>";
echo "<td>";
$ro->coconutTextBox("salaryBasic", $salaryBasic);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Department </td>";
echo "<td>";
$ro->coconutComboBoxStart_long("department");
echo "<option value='{$department}'>{$department}</option>";
echo "<option value='LABORATORY'>LABORATORY</option>";
echo "<option value='RADIOLOGY'>RADIOLOGY</option>";
echo "<option value='PHARMACY'>PHARMACY</option>";
echo "<option value='NURSING'>NURSING</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Status </td>";
echo "<td>";
$ro->coconutComboBoxStart_long("status");
$ro->showOption_group("contribution_withholdingTax", "status");
$ro->coconutComboBoxStop();
echo "</td>";
示例12:
$ro->coconutHidden("siNo", "");
$ro->coconutHidden("invoiceNo", "");
$ro->coconutHidden("vat", "");
$ro->coconutHidden("username", $username);
echo "<br>";
echo "<table>";
echo "<tr>";
echo "<TD>Check#</tD>";
echo "<TD>";
$ro->coconutTextBox("checkNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Bank</tD>";
echo "<TD>";
$ro->coconutComboBoxStart_long("bank");
echo "<option value=''> </option>";
echo "<option value='RCBC'>RCBC</option>";
echo "<option value='MBTC'>MBTC</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>OR#</tD>";
echo "<TD>";
$ro->coconutTextBox("orNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Payment Mode</tD>";
echo "<TD>";
示例13: database
$status = $_GET['status'];
$amount = $_GET['amount'];
$exemption = $_GET['exemption'];
$statusBracket = $_GET['statusBracket'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("post", "/COCONUT/payroll/editWTAX1.php");
$ro->coconutHidden("taxNo", $taxNo);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "245");
echo "<Br><br>";
echo "<table>";
echo "<tr>";
echo "<td>Month Type</tD>";
echo "<tD>";
$ro->coconutComboBoxStart_long("monthType");
echo "<option value='{$monthType}'>{$monthType}</option>";
echo "<option value='MONTHLY'>MONTHLY</option>";
echo "<option value='SEMI_MONTHLY'>SEMI MONTHLY</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Status</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("status");
echo "<option value='{$status}'> {$status} </option>";
$ro->showOption_group("contribution_withholdingTax", "status");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
示例14: Price
echo "<td>IPD Price (Ward)</td>";
echo "<td>";
$ro->coconutTextBox_short("ipdprice", $ward);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>IPD Price (Private)</td>";
echo "<td>";
$ro->coconutTextBox_short("privateprice", $private);
echo "</td>";
echo "</tr>";
if ($category == "LABORATORY") {
echo "<Tr>";
echo "<Td>Category</tD>";
echo "<td>";
$ro->coconutComboBoxStart_long("subCategory");
echo "<option value=''></option>";
echo "<option value='hematology'>Hematology</option>";
echo "<option value='clinchem'>Clinical Chemistry</option>";
echo "<option value='urinalysis'>Urinalysis</option>";
echo "<option value='serology'>Serology</option>";
echo "<option value='fecalysis'>Fecalysis</option>";
echo "</td>";
$ro->coconutComboBoxStop();
echo "</tr>";
} else {
$ro->coconutHidden("subCategory", "");
}
echo "</tr>";
echo "</table>";
echo "<br>";
示例15: date
echo " <select name='toDay' class='comboBoxShort'>";
echo "<option value='" . date("d") . "'>" . date("d") . "</option>";
for ($x = 1; $x < 32; $x++) {
if ($x < 10) {
echo "<option value='0{$x}'>0{$x}</option>";
} else {
echo "<option value='{$x}'>{$x}</option>";
}
}
echo "</select>";
echo " <input type=text name='toYear' class='shortField' value='" . date("Y") . "'>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Type</font></td>";
echo "<Td><select name='type' class='comboBoxShort'>\n<option value='all'>ALL</option>\n<option value='IPD'>IPD</option>\n<option value='OPD'>OPD</option>\n</select></td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Type of Date") . "</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("dateType");
echo "<option value='dateRegistered'>Date Register</option>";
echo "<option value='dateUnregistered'>Date Discharged</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br><input type=submit value='Proceed' style='border:1px solid #000; background-color:#3b5998; color:white;' >";
echo "</div>";
echo "</form>";
$ro->coconutBoxStop();