本文整理汇总了PHP中database1::coconutTextBox_short方法的典型用法代码示例。如果您正苦于以下问题:PHP database1::coconutTextBox_short方法的具体用法?PHP database1::coconutTextBox_short怎么用?PHP database1::coconutTextBox_short使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database1
的用法示例。
在下文中一共展示了database1::coconutTextBox_short方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: date
echo "<option value='Nov'>Nov</option>";
echo "<option value='Dec'>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 "<tr>";
echo "<td>Dept </td>";
echo "<td>";
$ro->coconutComboBoxStart_long("dept");
echo "<option value='LABORATORY'>LABORATORY</option>";
echo "<option value='RADIOLOGY'>RADIOLOGY</option>";
echo "<option value='MEDICINE'>MEDICINE</option>";
echo "<option value='SUPPLIES'>SUPPLIES</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
示例2:
<?php
include "../../myDatabase1.php";
$desc = $_GET['desc'];
$packageName = $_GET['packageName'];
$unitcost = $_GET['unitcost'];
$Added = $_GET['Added'];
$ro = new database1();
$ro->coconutDesign();
echo "<br><Br>";
$ro->coconutFormStart("post", "addPackageIncluded.php");
$ro->coconutHidden("desc", $desc);
$ro->coconutHidden("packageName", $packageName);
$ro->coconutHidden("unitcost", $unitcost);
$ro->coconutHidden("Added", $Added);
$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();
示例3:
<?php
include "../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database1();
$ro->getPatientProfile($registrationNo);
$ro->coconutDesign();
echo "<Br><br><Br>";
$ro->coconutFormStart("get", "editTransmitter1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("500", "120");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<tD>Name</tD>";
echo "<td>";
$ro->coconutTextBox("name", $ro->getPatientRecord_completeName());
echo "</tD>";
echo "</tr>";
echo "<tr>";
echo "<tD>Package</tD>";
echo "<td>";
$ro->coconutTextBox_short("package", "");
echo "</tD>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例4:
echo "<option value='Nov'>Nov</option>";
echo "<option value='Dec'>Dec</option>";
$ro->coconutComboBoxStop();
echo " ";
$ro->coconutComboBoxStart_short("day");
echo "<option value='" . $startDate[1] . "'>" . $startDate[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", $startDate[2]);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Due Date </tD>";
echo "<td>";
$ro->coconutComboBoxStart_short("month_due");
echo "<option value='" . $dueDate[0] . "'>" . $dueDate[0] . "</option>";
echo "<option value='Jan'>Jan</option>";
echo "<option value='Feb'>Feb</option>";
echo "<option value='Mar'>Mar</option>";
echo "<option value='Apr'>Apr</option>";
echo "<option value='May'>May</option>";
echo "<option value='Jun'>Jun</option>";
echo "<option value='Jul'>Jul</option>";
echo "<option value='Aug'>Aug</option>";
示例5:
echo "<option value='Nov'>Nov</option>";
echo "<option value='Dec'>Dec</option>";
$ro->coconutComboBoxStop();
echo " - ";
$ro->coconutComboBoxStart_short("day");
echo "<option value='" . $bday[1] . "'>" . $bday[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("birthYear", $bday[2]);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Senior") . "</tD>";
echo "<Td>";
$ro->coconutComboBoxStart_short("seniorCitizen");
echo "<option value='" . $ro->getSenior_patientRecord() . "'>" . $ro->getSenior_patientRecord() . "</option>";
echo "<option value='NO'>No</option>";
echo "<option value='YES'>Yes</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutButton("Proceed");
示例6: 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 "<tr>";
echo "<td>Due Date </tD>";
echo "<td>";
$ro->coconutComboBoxStart_short("month_due");
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>";
示例7:
echo "<tr>";
echo "<td>Date </tD>";
echo "<td>";
$ro->coconutTextBox("startDate", $ro->selectNow("promisorryNote", "startDate", "registrationNo", $registrationNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Due Date </tD>";
echo "<td>";
$ro->coconutTextBox("dueDate", $ro->selectNow("promisorryNote", "dueDate", "registrationNo", $registrationNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Balance </td>";
echo "<td>";
$ro->coconutTextBox_short("balance", $ro->selectNow("promisorryNote", "amount", "registrationNo", $registrationNo));
echo "</td>";
echo "</tr>";
echo "</table>";
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
echo "<br>";
echo "<textarea id='promisorryNote' name='promisorryNote'>";
echo $ro->selectNow("promisorryNote", "note", "registrationNo", $registrationNo);
echo "</textarea>";
?>
<script type="text/javascript">
CKEDITOR.replace( 'promisorryNote',
{
示例8: date
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");
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("birthYear", date("Y"));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Senior") . "</tD>";
echo "<Td>";
$ro->coconutComboBoxStart_short("seniorCitizen");
echo "<option value='NO'>No</option>";
echo "<option value='YES'>Yes</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();