本文整理汇总了PHP中database::coconutTextBox_short方法的典型用法代码示例。如果您正苦于以下问题:PHP database::coconutTextBox_short方法的具体用法?PHP database::coconutTextBox_short怎么用?PHP database::coconutTextBox_short使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database
的用法示例。
在下文中一共展示了database::coconutTextBox_short方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Price
$ro->coconutDesign();
$ro->coconutFormStart("get", "editCharges1.php");
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutBoxStart("500", "185");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", $description);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>OPD Price</td>";
echo "<td>";
$ro->coconutTextBox_short("opdprice", $opd);
echo "</td>";
echo "</tr>";
echo "<tr>";
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") {
示例2: date
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutComboBoxStart_short("day");
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>";
}
}
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutTextBox_short("year", date("Y"));
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutHidden("status", $status);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("sellingPrice", $sellingPrice);
$ro->coconutHidden("discount", $discount);
$ro->coconutHidden("timeCharge", $timeCharge);
$ro->coconutHidden("chargeBy", $chargeBy);
$ro->coconutHidden("service", $service);
示例3: date
echo "<option value='10'>Oct</option>";
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo " ";
$ro->coconutComboBoxStart_short("fromDay");
for ($x = 1; $x < 32; $x++) {
if ($x < 10) {
echo "<option value='0{$x}'>0{$x}</option>";
} else {
echo "<option value='{$x}'>{$x}</option>";
}
}
$ro->coconutComboBoxStop();
echo " ";
$ro->coconutTextBox_short("fromYear", date("Y"));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>To Date</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("toMonth");
echo "<option value='01'>Jan</option>";
echo "<option value='02'>Feb</option>";
echo "<option value='03'>Mar</option>";
echo "<option value='04'>Apr</option>";
echo "<option value='05'>May</option>";
echo "<option value='06'>Jun</option>";
echo "<option value='07'>Jul</option>";
echo "<option value='08'>Aug</option>";
echo "<option value='09'>Sep</option>";
示例4:
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutComboBoxStart_short("bdayDay");
echo "<option value='" . $bday[2] . "'>" . $bday[2] . "</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>";
}
}
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutTextBox_short("bdayYear", $bday[0]);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Mother's Name </td>";
echo "<td><input type=text name='mothersName' autocomplete='off' class='txtBox' value='" . $ro->selectNow("patientRecord", "mothersName", "patientNo", $ro->getRegistrationDetails_patientNo()) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>Father's Name </td>";
echo "<td><input type=text name='fathersName' autocomplete='off' class='txtBox' value='" . $ro->selectNow("patientRecord", "fathersName", "patientNo", $ro->getRegistrationDetails_patientNo()) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>Spouse Name </td>";
echo "<td><input type=text name='spouseName' autocomplete='off' class='txtBox' value='" . $ro->selectNow("patientRecord", "spouseName", "patientNo", $ro->getRegistrationDetails_patientNo()) . "'></td>";
echo "</tr>";
echo "<tr>";
示例5: database
<?php
include "../../../myDatabase.php";
$packageNo = $_GET['packageNo'];
$inventoryCode = $_GET['inventoryCode'];
$ro = new database();
$ro->coconutDesign();
echo "<br><br><br>";
$ro->coconutFormStart("get", "updateNow.php");
$ro->coconutHidden("packageNo", $packageNo);
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutBoxStart("400", "80");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>QTY</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "1");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
?>
示例6:
$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", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Payee</tD>";
echo "<TD>";
$ro->coconutComboBoxStart_long("payee1");
echo "<option value=''></option>";
$ro->showOption("supplier", "supplierName");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Payee (Others)</tD>";
echo "<TD>";
$ro->coconutTextBox("payee", "");
示例7: database
$date = $_GET['date'];
$ro = new database();
$ro->coconutDesign();
echo "<br><br>";
$ro->coconutFormStart("post", "released1.php");
$ro->coconutBoxStart("500", "150");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Payee</td>";
echo "<td>" . $ro->coconutTextBox_return("payee", $ro->selectNow("admin2request", "requestBy", "requestNo", $requestNo)) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Amount</td>";
echo "<td>";
$ro->coconutTextBox_short("amount", $ro->selectNow("admin2request", "total", "requestNo", $requestNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Released By</td>";
echo "<td>";
$ro->coconutTextBox_readonly("username", $username);
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutButton("Proceed");
//$ro->coconutHidden("username",$username);
$ro->coconutHidden("date", $date);
$ro->coconutHidden("requestNo", $requestNo);
$ro->coconutBoxStop();
示例8: date
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>";
$ro->coconutTextBox_short("amountPaid", "0.00");
echo "</tD>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutHidden("pf", "");
$ro->coconutHidden("admitting", "");
$ro->coconutHidden("month", date("M"));
$ro->coconutHidden("day", date("d"));
$ro->coconutHidden("year", date("Y"));
示例9:
echo "<option value=''></option>";
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", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>W/Tax</tD>";
echo "<TD>";
$ro->coconutTextBox_short("wTax", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<TD>Payee</tD>";
echo "<TD>";
$ro->coconutTextBox("payee", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
示例10:
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>";
echo "</tr>";
echo "<Tr>";
echo "<td>Age </td>";
echo "<td>";
$ro->coconutTextBox_short("age", $age);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>BirthDate </td>";
echo "<td>";
$ro->coconutTextBox_short("birthdate", $birthdate);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Address </td>";
echo "<td>";
$ro->coconutTextBox("address", $address);
echo "</td>";
echo "</tr>";
echo "</table>";
示例11: Price
$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>";
echo "<td>IPD Price (Private)</td>";
echo "<td>";
$ro->coconutTextBox_short("privateprice", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
示例12: ComputeCosts
$ro->coconutFormStart("post", "requestForm_login.php");
$ro->coconutBoxStart("500", "210");
echo "<script src='http://" . $ro->getMyUrl() . "/jquery.js'></script>";
echo "\n\n<script>\n \$(document).ready(function () {\n \$('#price,#qty').keyup(function () {\n ComputeCosts();\n }\n);\n });\n\n function ComputeCosts() {\n var qty1 = Number(\$('#qty').val());\n var price1 = Number(\$('#price').val());\n var totalz = price1 * qty1;\n \$('#total').val(totalz);\n }\n</script>\n\n";
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Description") . "</td>";
echo "<td>";
$ro->coconutTextBox("description", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("QTY") . "</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Price") . "</td>";
echo "<td>";
$ro->coconutTextBox_short("price", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Total") . "</td>";
echo "<td>";
$ro->coconutTextBox_short("total", "");
echo "</td>";
echo "</tr>";
echo "</table>";
示例13:
echo "</tr>";
echo "<tr>";
echo "<td>";
echo "<font color='white'><b>Instruction</b></font> ";
echo "</td>";
echo "<td>";
$ro->coconutTextBox("instruction", $ro->selectNow("doctorsPlan", "instruction", "planNo", $planNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo "<font color='white'><b>Indication</b></font> ";
echo "</td>";
echo "<td>";
$ro->coconutTextBox("indication", $ro->selectNow("doctorsPlan", "indication", "planNo", $planNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo "<font color='white'><b>QTY</b></font> ";
echo "</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", $ro->selectNow("doctorsPlan", "qty", "planNo", $planNo));
echo "</td>";
echo "</tr>";
echo "<tr>\n<td></tD>\n<td></td>\n</tr>";
echo "</table>";
echo "<br>";
echo "<input type='submit' style='background:#47a3da; color:white; font-weight:bold; border:0px; border-radius:10px; font-size:20px; height:40px;' value='Edit Medicine'>";
$ro->coconutFormStop();
echo "</div>";
示例14: Price
$ro->coconutDesign();
$ro->coconutFormStart("get", "editCharges1.php");
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutBoxStart("500", "200");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", $description);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>OPD Price</td>";
echo "<td>";
$ro->coconutTextBox_short("opdprice", $opd);
echo "</td>";
echo "</tr>";
echo "<tr>";
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>";
echo "<tr>";