本文整理汇总了PHP中database::coconutTextBox方法的典型用法代码示例。如果您正苦于以下问题:PHP database::coconutTextBox方法的具体用法?PHP database::coconutTextBox怎么用?PHP database::coconutTextBox使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database
的用法示例。
在下文中一共展示了database::coconutTextBox方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: database
$module = $_GET['module'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "addCharges1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("category", $module);
$ro->coconutHidden("services", "Examination");
echo "<b>{$module}</b>";
$ro->coconutBoxStart("500", "215");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>OPD Price</td>";
echo "<td>";
$ro->coconutTextBox_short("opdprice", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>IPD Price (Ward)</td>";
echo "<td>";
$ro->coconutTextBox_short("ipdprice", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
示例2:
echo "<td><font class='labelz'>Description </font></td>";
if ($status == "old") {
echo "<td><input type=text class='txtBox' name='description' value='{$description}' readonly autocomplete='off'></td>";
} else {
echo "<td><input type=text class='txtBox' name='description' value='{$description}' autocomplete='off'></td>";
}
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Generic </font></td>";
echo "<td><input type=text class='txtBox' name='generic' value='{$genericName}' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<tr>";
echo "<td><font class='labelz'>Preparation </font></td>";
echo "<td>";
$ro->coconutTextBox("preparation", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Unit of Measure </font></td>";
echo "<td>";
$ro->coconutTextBox("unitOfMeasure", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Unit Cost </font></td>";
echo "<td><input type=text class='shortField' name='unitcost' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>Quantity </font></td>";
echo "<td><input type=text class='shortField' name='quantity' autocomplete='off'></td>";
示例3:
echo "<tr>";
echo "<td><div class='style1'>Description </div></td>";
if ($status == "old") {
echo "<td><input type=text class='txtBox' name='description' value='{$description}' readonly autocomplete='off'></td>";
} else {
echo "<td><input type=text class='txtBox' name='description' value='{$description}' autocomplete='off'></td>";
}
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Unit Cost </div></td>";
echo "<td><input type=text class='shortField' name='unitcost' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='style1'>Unit of Measure </font></td>";
echo "<td>";
$ro->coconutTextBox("unitOfMeasure", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Selling Price </div></td>";
echo "<td><input type=text class='shortField' name='pricing' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><div class='style1'>Quantity </div></td>";
echo "<td><input type=text class='shortField' name='quantity' autocomplete='off'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>B.I QTY </font></td>";
echo "<td><input type=text class='shortField' name='biQTY' value='{$biQTY}' readonly autocomplete='off'> <a href='/COCONUT/inventory/bi.php?stockCardNo={$stockCardNo}&username={$username}&status={$status}&genericName=&description={$description}' style='text-decoration:none;'><font size=2 color=red>[Add B.I]</font></a></td>";
echo "</tr>";
echo "<tr>";
示例4:
if ($ro->selectNow("registeredUser", "module", "username", $username) == "PHILHEALTH" || $ro->selectNow("registeredUser", "module", "username", $username) == "HMO" || $ro->selectNow("registeredUser", "module", "username", $username) == "PHARMACY" || $ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER" || $ro->selectNow("registeredUser", "module", "username", $username) == "BILLING") {
echo "\n<tr>\n<td><font class='charges'>Cash (Unpaid)</font></td>\n<td><input type=text name='cashCovered' autocomplete='off' class='shortField' value=" . $ro->patientCharges_cashUnpaid() . "></td>\n</tr>\n<tr>\n<td><font class='charges'>Company</font></td>\n<td><input type=text name='companyCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_company() . "'></td>\n</tr>";
echo "<tr>\n<td><font class='charges'>PhilHealth</font></td>\n<td><input type=text name='phicCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_phicCovered() . "'></td>\n</tr>\n";
} else {
}
} else {
echo "\n<tr>\n<td><font class='charges'>Cash (Unpaid)</font></td>\n<td><input type=text name='cashCovered' autocomplete='off' class='shortField' value=" . $ro->patientCharges_cashUnpaid() . "></td>\n</tr>\n<tr>\n<td><font class='charges'>Company</font></td>\n<td><input type=text name='companyCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_company() . "'></td>\n</tr>\n<tr>\n<td><font class='charges'>PhilHealth</font></td>\n<td><input type=text name='phicCovered' autocomplete='off' class='shortField' value='" . $ro->patientCharges_phicCovered() . "'></td>\n</tr>\n";
}
echo "\n<tr>\n<td><font class='charges'>Branch</font></td>\n<td><select name='branch' class='txtBox'>\n<option value='" . $ro->patientCharges_branch() . "'>" . $ro->patientCharges_branch() . "</option>\n";
$ro->showOption("branch", "branch");
echo "</select></td>\n</tr>\n";
if ($ro->patientCharges_title() == "LABORATORY") {
echo "<tr>";
echo "<td>Remarks </td>";
echo "<td>";
$ro->coconutTextBox("remarks", $ro->patientCharges_remarks());
echo "</td>";
echo "</tr>";
} else {
if ($ro->patientCharges_title() == "OXYGEN") {
echo "<tr>";
echo "<td>Remarks </td>";
echo "<td>";
$ro->coconutTextBox("remarks", $ro->patientCharges_remarks());
echo "</td>";
echo "</tr>";
} else {
if ($ro->patientCharges_title() == "NITROUS") {
echo "<tr>";
echo "<td>Remarks </td>";
echo "<td>";
示例5: database
<?php
include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$lastName = $_GET['lastName'];
$firstName = $_GET['firstName'];
$ro = new database();
$ro->coconutDesign();
echo "<br><br><br><br>";
echo "<center><font color=red size=2>To View [" . strtoupper($lastName . " " . $firstName) . "] enter your username and password</font></center>";
$ro->coconutFormStart("post", "patientLogin1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("500", "120");
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 "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例6: database
include "../../../myDatabase.php";
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "addPayment1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("datePaid", date("M_d_Y"));
$ro->coconutBoxStart("500", "220");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<TD>Name </tD>";
echo "<td>";
$ro->coconutTextBox("registrationNo", "manual_");
echo "</tD>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Payment For </tD>";
echo "<Td>";
$ro->coconutTextBox("paymentFor", "");
/*
$ro->coconutComboBoxStart_long("paymentFor");
echo "<option value='ADVANCE PAYMENT'>ADVANCE PAYMENT</option>";
echo "<option value='HOSPITAL BILL'>HOSPITAL BILL</option>";
echo "<option value='BILLED'>BILLED</option>";
echo "<option value='PARTIAL PAYMENT'>PARTIAL PAYMENT</option>";
echo "<option value='FULL PAYMENT'>FULL PAYMENT</option>";
echo "<option value='XRAY'>XRAY</option>";
echo "<option value='UTZ'>UTZ</option>";
示例7: database
<?php
include "../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("get", "addSupplier1.php");
$ro->coconutBoxStart("500", "222");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Supplier Name</tD>";
echo "<td>";
$ro->coconutTextBox("supplierName", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</tD>";
echo "<td>";
$ro->coconutTextBox("address", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact Person</tD>";
echo "<td>";
$ro->coconutTextBox("contactPerson", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact No</tD>";
echo "<td>";
示例8: database
include "../../../myDatabase1.php";
$userz = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "addVoucher1_acct.php");
$ro->coconutHidden("username", $userz);
$ro->coconutHidden("timeIssued", $ro->getSynapseTime());
$ro->coconutHidden("voucherNo", "");
echo "<Br><br>";
$ro->coconutBoxStart("500", "320");
echo "<br>";
echo "<table>";
echo "<tr>";
echo "<TD>Check#</tD>";
echo "<TD>";
$ro->coconutTextBox("checkedNo", "");
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", "");
示例9: database
$room = $_GET['supplies'];
$pf = $_GET['pf'];
$suppliesOnly = $_GET['suppliesOnly'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "editCasetype1.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "280");
echo "<center><br><br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Casetype") . " </td>";
echo "<td>";
$ro->coconutTextBox("casetype", $casetype);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Medicine") . " </td>";
echo "<td>";
$ro->coconutTextBox("medicine", $medicine);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Supplies") . " </td>";
echo "<td>";
$ro->coconutTextBox("supplies", $supplies);
echo "</td>";
echo "</tr>";
echo "<tr>";
示例10: database
<?php
include "../../../myDatabase.php";
$stockCardNo = $_GET['stockCardNo'];
$startLetter = $_GET['startLetter'];
$ro = new database();
$ro->coconutDesign();
echo "Description: <b>" . $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo) . "</b>";
echo "<br>";
echo "Generic: <b>" . $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo) . "</b>";
$ro->coconutFormStart("get", "rename1.php");
$ro->coconutHidden("stockCardNo", $stockCardNo);
$ro->coconutHidden("startLetter", $startLetter);
echo "<Br><br>";
echo "New Description:";
$ro->coconutTextBox("description", $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo));
echo "<br><bR>";
echo "New Generic Name";
$ro->coconutTextBox("genericName", $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo));
echo "<br><br>";
$ro->coconutButton("Rename");
$ro->coconutFormStop();
示例11: database
<?php
include "../../../myDatabase.php";
$packageName = $_GET['packageName'];
$packagePrice = $_GET['packagePrice'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><br><Br>";
$ro->coconutFormStart("get", "editPackage1.php");
$ro->coconutHidden("packageName", $packageName);
$ro->coconutBoxStart("400", "100");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Price</tD>";
echo "<td>";
$ro->coconutTextBox("packagePrice", $packagePrice);
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例12: database
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "addPayment1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("discount", "");
$ro->coconutHidden("receiptType", "");
$ro->coconutHidden("creditCardNo", "");
$ro->coconutHidden("shift", "1");
$ro->coconutBoxStart("500", "250");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<TD>Name </tD>";
echo "<td>";
$ro->coconutTextBox("registrationNo", $paymentType . "");
echo "</tD>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Payment For </tD>";
echo "<Td>";
$ro->coconutTextBox("paymentFor", "");
/*
$ro->coconutComboBoxStart_long("paymentFor");
echo "<option value='ADVANCE PAYMENT'>ADVANCE PAYMENT</option>";
echo "<option value='HOSPITAL BILL'>HOSPITAL BILL</option>";
echo "<option value='BILLED'>BILLED</option>";
echo "<option value='PARTIAL PAYMENT'>PARTIAL PAYMENT</option>";
echo "<option value='FULL PAYMENT'>FULL PAYMENT</option>";
echo "<option value='XRAY'>XRAY</option>";
echo "<option value='UTZ'>UTZ</option>";
示例13: database
<?php
include "../../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br>";
$ro->coconutFormStart("get", "addCasetype1.php");
$ro->coconutBoxStart("500", "280");
echo "<center><br><br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Casetype") . " </td>";
echo "<td>";
$ro->coconutTextBox("casetype", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Medicine") . " </td>";
echo "<td>";
$ro->coconutTextBox("medicine", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Supplies") . " </td>";
echo "<td>";
$ro->coconutTextBox("supplies", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Room") . " </td>";
echo "<td>";
示例14: database
$description = $_GET['description'];
$supplierCode = $_GET['supplierCode'];
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("get", "editSupplier1.php");
$ro->coconutHidden("supplierCode", $supplierCode);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "222");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Supplier Name</tD>";
echo "<td>";
$ro->coconutTextBox("supplierName", $supplierName);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</tD>";
echo "<td>";
$ro->coconutTextBox("address", $address);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact Person</tD>";
echo "<td>";
$ro->coconutTextBox("contactPerson", $contactPerson);
echo "</td>";
echo "</tr>";
echo "<tr>";
示例15: database
$noteNo = $_GET['noteNo'];
$noteType = $_GET['noteType'];
$noteBy = $_GET['noteBy'];
echo "\n\n<style type='text/css'>\n.message {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:329px;\n\twidth: 570px;\n\tpadding:4px 4px 4px 2px;\n}\n\n</style>\n\n";
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("post", "editNote1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("noteNo", $noteNo);
$ro->coconutBoxStart("650", "463");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note By") . "</td>";
echo "<td>";
$ro->coconutTextBox("noteBy", $noteBy);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note Type") . "</td>";
echo "<td>";
$ro->coconutTextBox_readonly("noteType", $noteType);
echo "</td>";
echo "</tr>";
echo "</table>";
echo $ro->coconutText("<font color=red>Message</font>");
echo "<Br>";
echo "\n<textarea name='noteMessage' class='message'>\n{$noteMessage}\n</textarea>";
echo "<br><br>";
//$ro->coconutButton("Proceed");
$ro->coconutBoxStop();