本文整理汇总了PHP中database2::coconutTextBox_short方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::coconutTextBox_short方法的具体用法?PHP database2::coconutTextBox_short怎么用?PHP database2::coconutTextBox_short使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::coconutTextBox_short方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutComboBoxStart_short("datedDay");
echo "<option value=''></option>";
for ($x = 1; $x < 32; $x++) {
if ($x < 10) {
echo "<option value='0{$x}'>{$x}</option>";
} else {
echo "<option value='{$x}'>{$x}</option>";
}
}
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutTextBox_short("datedYear", "");
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td align='right'><font color='blue'>Debit</font></td>";
echo "<tD>";
$ro->coconutTextBox_short("debit", "");
echo "</td>";
echo "<tr>";
echo "<td align='right'><font color='red'>Credit</font></td>";
echo "<tD>";
$ro->coconutTextBox_short("credit", "");
echo "</td>";
echo "<tr>";
echo "</table>";
echo "<Br>";
示例2:
for ($x = 1; $x < 61; $x++) {
if ($x < 10) {
echo "<option value='0{$x}'>0{$x}</option>";
} else {
echo "<option value='{$x}'>{$x}</option>";
}
}
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<tD>Status</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("status");
echo "<option value='" . $ro->selectNow("generatorCharge", "status", "dateStart", $date) . "'>" . $ro->selectNow("generatorCharge", "status", "dateStart", $date) . "</option>";
echo "<option value='on'>on</option>";
echo "<option value='off'>off</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Mins</td>";
echo "<td>";
$ro->coconutTextBox_short("hours", $ro->selectNow("generatorCharge", "hours", "chargeNo", $chargeNo));
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例3:
echo "<tr>";
echo "<td>Ref#</td>";
echo "<td>";
$ro->coconutTextBox("refNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Check#</td>";
echo "<td>";
$ro->coconutTextBox("checkNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Amount</td>";
echo "<td>";
$ro->coconutTextBox_short("amount", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Tax</td>";
echo "<td>";
$ro->coconutTextBox_short("tax", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Discount</td>";
echo "<td>";
$ro->coconutTextBox_short("discount", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
示例4:
echo "<Br>";
$ro->coconutBoxStart("500", "200");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td><font color=red size=2>{$description}</font></td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Generic</td>";
echo "<td><font color=red size=2>({$generic})</font></td>";
echo "</tr>";
echo "<Tr>";
echo "<td>QTY</td>";
echo "<td>";
$ro->coconutTextBox_short("quantity", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Transfer To</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("inventoryLocation");
echo "<option></option>";
echo "<option value='ER'>ER</option>";
echo "<option value='OR'>OR</option>";
echo "<option value='WARD'>WARD</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
示例5:
$description = $_GET['description'];
$quantity = $_GET['quantity'];
$username = $_GET['username'];
$batchNo = $_GET['batchNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><br><br>";
$ro->coconutFormStart("post", "editItem1.php");
$ro->coconutHidden("verificationNo", $verificationNo);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("batchNo", $batchNo);
$ro->coconutBoxStart("500", "100");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox_readonly("description", $description);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>QTY</td>";
echo "<td>";
$ro->coconutTextBox_short("quantity", $quantity);
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例6:
for ($x = 1; $x < 61; $x++) {
if ($x < 10) {
echo "<option value='0{$x}'>0{$x}</option>";
} else {
echo "<option value='{$x}'>{$x}</option>";
}
}
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<tD>Status</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("status");
echo "<option value='" . $ro->selectNow("generatorCharge", "status", "dateStart", $date) . "'>" . $ro->selectNow("generatorCharge", "status", "dateStart", $date) . "</option>";
echo "<option value='on'>on</option>";
echo "<option value='off'>off</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Hours</td>";
echo "<td>";
$ro->coconutTextBox_short("hours", $ro->selectNow("generatorCharge", "hours", "dateStart", $date));
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例7:
echo "<Br><bR><Br><br><center><b>Inv Code</b> {$inventoryCode}<br><font color=red>{$description}</font></center>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/departmentReturn1.php");
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutHidden("from_inventoryCode", $from_inventoryCode);
$ro->coconutHidden("returnBy", $returnBy);
$ro->coconutHidden("returnTime", $returnTime);
$ro->coconutHidden("returnDate", $returnDate);
$ro->coconutHidden("status", $status);
$ro->coconutHidden("description", $description);
$ro->coconutBoxStart("500", "150");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>QTY </td>";
echo "<td>";
$ro->coconutTextBox_short("qtyReturn", $quantity);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Return From </td>";
echo "<td>";
$ro->coconutComboBoxStart_long("returnFrom");
echo "<option value='{$inventoryLocation}'>{$inventoryLocation}</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Return To </td>";
echo "<td>";
$ro->coconutComboBoxStart_long("returnTo");
echo "<option value='" . $ro->selectNow("inventory", "inventoryLocation", "inventoryCode", $from_inventoryCode) . "'>" . $ro->selectNow("inventory", "inventoryLocation", "inventoryCode", $from_inventoryCode) . "</option>";
示例8:
$ro->coconutDesign();
$ro->coconutFormStart("post", "editCharges1.php");
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutBoxStart("500", "270");
echo "<br><br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox_readonly("description", $description);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Cash</td>";
echo "<td>";
$ro->coconutTextBox_short("cash", $cashUnpaid);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Company</td>";
echo "<td>";
$ro->coconutTextBox_short("company", $company);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>PhilHealth</td>";
echo "<td>";
$ro->coconutTextBox_short("phic", $phic);
echo "</td>";
echo "</tr>";
echo "<Tr>";
示例9: date
$ro->coconutComboBoxStart_short("month_discharged");
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>";
echo "<option value='10'>Oct</option>";
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutTextBox_short("year_discharged", date("Y"));
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Report Date</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("month");
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>";
示例10:
echo "<option value='Sep'>Sep</option>";
echo "<option value='Oct'>Oct</option>";
echo "<option value='Nov'>Nov</option>";
echo "<option value='Dec'>Dec</option>";
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutComboBoxStart_short("day");
echo "<option value=" . $datePd[1] . ">" . $datePd[1] . "</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", $datePd[2]);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<Td>remarks </tD>";
echo "<td>";
$ro->coconutTextBox("remarks", $ro->doubleSelectNow("phicReconcile", "remarks", "registrationNo", $registrationNo, "reconcileNo", $reconcileNo));
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<Br><Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例11: date
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutComboBoxStart_short("dayEncoded");
echo "<option value=''></option>";
for ($x = 1; $x < 32; $x++) {
if ($x < 10) {
echo "<option value='0{$x}'>{$x}</option>";
} else {
echo "<option value='{$x}'>{$x}</option>";
}
}
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutTextBox_short("yearEncoded", date("Y"));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>To: ";
$ro->coconutComboBoxStart_short("monthEncoded1");
echo "<option value=''></option>";
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>";
示例12:
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/CSR/csrReturn1.php");
$ro->coconutHidden("verificationNo", $verificationNo);
$ro->coconutHidden("inventoryCode", $inventoryCode);
echo "<center><font>Return Details</font>";
$ro->coconutBoxStart("500", "180");
echo "<Br><table border=0>";
echo "<tr>";
echo "<tD>Description</td>";
echo "<Td>";
$ro->coconutTextBox("description", $description);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<tD>QTY</td>";
echo "<Td>";
$ro->coconutTextBox_short("qty", $qty);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<tD>From</td>";
echo "<Td>";
$ro->coconutTextBox_readonly("borrowerDepartment", $borrowerDepartment);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<tD>Return By</td>";
echo "<Td>";
$ro->coconutTextBox("returnBy", "");
echo "</td>";
echo "</tr>";
echo "</table>";
示例13:
echo "<tr>";
echo "<td>Type</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("type");
echo "<option value='Cash_Inpatient'>Cash(Inpatient)</option>";
echo "<option value='Hospital Collection'>Hospital Collection</option>";
echo "<option value='Pharmacy Collection'>Pharmacy Collection</option>";
echo "<option value='Disbursement'>Disbursement</option>";
echo "<option value='Disbursement'>PREPARED BY</option>";
echo "<option value='Disbursement'>NAME OF BILLING</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>From OR#</td>";
echo "<td>";
$ro->coconutTextBox_short("fromOR", $fromOR);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>to OR#</td>";
echo "<td>";
$ro->coconutTextBox_short("toOR", $toOR);
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
echo " <a href='http://" . $ro->getMyUrl() . "/COCONUT/Cashier/cashCollection/addName.php?month={$month}&day={$day}&year={$year}' style='text-decoration:none; color:red;'>[Add Name]</a>";
$ro->coconutFormStop();
echo "<iframe src='http://" . $ro->getMyUrl() . "/COCONUT/Cashier/cashCollection/cashCollectionDetails.php?month={$month}&day={$day}&year={$year}' width='100%' height='100%' name='welcome' border=1 frameborder=no scrolling=yes></iframe>";
示例14:
$ro->coconutDesign();
$pricez = preg_split("/\\_/", $packageIncluded_description);
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/hospitalPackage/editItem1.php");
$ro->coconutHidden("packageNo", $packageNo);
echo "<br><br>";
$ro->coconutBoxStart("500", "155");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Package Name</td>";
echo "<td>";
$ro->coconutTextBox_readonly("packageName", $packageName);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox_readonly("qty", $packageIncluded_description);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Price</td>";
echo "<td>";
$ro->coconutTextBox_short("price", $added);
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例15: date
$ro->coconutComboBoxStart_short("month");
echo "<option value='" . date("m") . "'>" . date("M") . "</option>";
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>";
echo "<option value='10'>Oct</option>";
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 "<Br>";
$ro->coconutButton("Proceed");
$ro->coconutFormStop();