当前位置: 首页>>代码示例>>PHP>>正文


PHP database2::coconutComboBoxStart_short方法代码示例

本文整理汇总了PHP中database2::coconutComboBoxStart_short方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::coconutComboBoxStart_short方法的具体用法?PHP database2::coconutComboBoxStart_short怎么用?PHP database2::coconutComboBoxStart_short使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在database2的用法示例。


在下文中一共展示了database2::coconutComboBoxStart_short方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: date

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$dateAdmit = $ro->selectNow("registrationDetails", "dateRegistered", "registrationNo", $registrationNo);
$ro->coconutFormStart("get", "computeDays1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("dateIn", $dateAdmit);
$ro->coconutHidden("username", $username);
echo "<br><br><Br><Br>Date Admitted:&nbsp;" . $dateAdmit;
echo "<Br>";
echo "Date Discharge:&nbsp;";
$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 "-";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:computeDays.php

示例2:

<?php

include "../../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
echo "<br><br>";
$ro->coconutFormStart("get", "labCensus.php");
$ro->coconutBoxStart("500", "160");
echo "<br>";
echo "<table border=0>";
echo "Year-Month-Day";
echo "<tr>";
echo "<td>From</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("fromYear");
for ($x = date("Y"); $x > 2000; $x--) {
    echo "<option value={$x}>{$x}</option>";
}
$ro->coconutBoxStop();
echo "</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("fromMonth");
for ($x = 1; $x <= 12; $x++) {
    if ($x < 10) {
        echo "<option value=0{$x}>0{$x}</option>";
    } else {
        echo "<option value={$x}>{$x}</option>";
    }
}
$ro->coconutBoxStop();
echo "</td>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:dateRange.php

示例3:

echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td align='right'>Narration</td>";
echo "<td><textarea name='narration' cols=40 rows=3 style='border:1px solid #000000;'></textarea></td>";
echo "</tr>";
echo "<tr>";
echo "<td align='right'><font size=2>Chq/LPQ/<br>Invoice No</font></td>";
echo "<td>";
$ro->coconutTextBox("invoiceNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td align='right'>Dated</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("datedMonth");
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>";
echo "<option value='10'>Oct</option>";
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo "-";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addEntry.php

示例4:

echo $ro->coconutImages("printer.jpeg");
?>
 <font color=red>Print</font></a><Br><Br>
<div id="printData">
<?php 
if ($shift == '-Select Shift-') {
    echo "<div align='left'><font face='arial' size='5' color='red'>Please select shift! Try again!</font></div>";
    echo "<META HTTP-EQUIV='Refresh'CONTENT='3;URL=reportShift.php?module={$module}&username={$username}&reportName={$reportName}&status={$status}'>";
} else {
    echo "<font size=3>{$reportName} Report</font>";
    echo "<br><font size=2>{$month} {$day}, {$year}</font>";
    echo "<br><font size=2>{$fromTime_hour}:{$fromTime_minutes}:{$fromTime_seconds} - {$toTime_hour}:{$toTime_minutes}:{$toTime_seconds}</font>";
    $ro->coconutFormStart("get", "asignShift.php");
    echo "<br>";
    echo "Shift:&nbsp;";
    $ro->coconutComboBoxStart_short("shift1");
    echo "<option value='{$shift}' selected='selected'>{$shift}</option>";
    echo "<option value='1'>1</option>";
    echo "<option value='2'>2</option>";
    echo "<option value='3'>3</option>";
    $ro->coconutComboBoxStop();
    echo "<table border=1 cellpadding=0 cellspacing=0>";
    echo "<tr>";
    echo "<th>&nbsp;</th>";
    echo "<th>&nbsp;Name&nbsp;</th>";
    echo "<th>&nbsp;Description&nbsp;</th>";
    echo "<th>&nbsp;Price&nbsp;</th>";
    //echo "<th>&nbsp;QTY&nbsp;</th>";
    //echo "<th>&nbsp;Disc&nbsp;</th>";
    echo "<th>&nbsp;Total&nbsp;</th>";
    //echo "<th>&nbsp;Balance&nbsp;</th>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:cashierReport.php

示例5: date

<?php

include "../../myDatabase2.php";
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><br><br><br><Br>";
$ro->coconutFormStart("get", "/COCONUT/Cashier/balances.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "170");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>From&nbsp;</td>";
echo "<Td>";
$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 "-";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:balances_date.php

示例6:

}else {
echo "<option value='$x'>$x</option>";
}

}
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutTextBox_short("year",date("Y"));
echo "</td>";
echo "</tr>";
*/
echo "<Tr> <tD>&nbsp;</tD><td>&nbsp;</tD> </tr>";
echo "<tr>";
echo "<Td>Time Start</td>";
echo "<tD>";
$ro->coconutComboBoxStart_short("startHour");
echo "<option value='{$timeStart['0']}'>{$timeStart['0']}</option>";
for ($x = 1; $x < 25; $x++) {
    if ($x < 10) {
        echo "<option value='0{$x}'>0{$x}</option>";
    } else {
        echo "<option value='{$x}'>{$x}</option>";
    }
}
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutComboBoxStart_short("startMinute");
echo "<option value='{$timeStart['1']}'>{$timeStart['1']}</option>";
for ($x = 1; $x < 61; $x++) {
    if ($x < 10) {
        echo "<option value='0{$x}'>0{$x}</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:manual_new.php

示例7:

<?php

include "../../../myDatabase2.php";
$username = $_GET['username'];
$type = $_GET['type'];
$medicineType = $_GET['medicineType'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br>";
$ro->coconutBoxStart("300", "80");
echo "<br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovement.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("type", $type);
$ro->coconutHidden("medicineType", $medicineType);
echo "<table border=0>";
echo "<tr>";
echo "<td>";
$ro->coconutComboBoxStart_short("year");
echo "<option value='2015'>2015</option>";
echo "<option value='2014'>2014</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:29,代码来源:inventoryMovement_year.php

示例8:

$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/accounting/addAccountTitle1.php");
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "140");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Account No.</td>";
echo "<td>";
$ro->coconutTextBox("accountNo", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Account Name.</td>";
echo "<td>";
$ro->coconutTextBox("accountName", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Bold?.</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("bold");
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();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addAccountTitle_2015-09-07.php

示例9: date

<?php

include "../../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/Reports/receivablesAging/agingOfAccounts.php");
$ro->coconutBoxStart("500", "150");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Discharged Date</td>";
echo "<td>";
$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>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:date.php

示例10:

<?php

include "../../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
$ro->coconutFormStart("get", "addGen1.php");
$ro->coconutBoxStart("500", "300");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<tD>Date&nbsp;</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>";
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");
for ($x = 1; $x < 32; $x++) {
    if ($x < 10) {
        echo "<option value='0{$x}'>0{$x}</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addGen.php

示例11:

<?php

include "../../../myDatabase2.php";
$username = $_POST['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->coconutFormStart("post", "searchDisbursementEntry1.php");
$ro->coconutHidden("username", $username);
echo "<table border=0>";
echo "<tr>";
echo "<td>Search by Date Encoded</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Fr:&nbsp;";
$ro->coconutComboBoxStart_short("monthEncoded");
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>";
echo "<option value='10'>Oct</option>";
echo "<option value='11'>Nov</option>";
echo "<option value='12'>Dec</option>";
$ro->coconutComboBoxStop();
echo "-";
$ro->coconutComboBoxStart_short("dayEncoded");
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:searchDisbursementEntry.php

示例12:

<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$prePackage = $ro->selectNow("registrationDetails", "prePackage", "registrationNo", $registrationNo);
$splitPrePackage = preg_split("/\\_/", $prePackage);
echo "<br><br><br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/SOAoption/isPackageCash1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart_red("600", "120");
echo "<br>";
echo "Is Package <font color=red>" . $splitPrePackage[0] . "</font> will pay by cash?";
echo "<br><br>";
$ro->coconutComboBoxStart_short("isCash");
echo "<option value='" . $ro->selectNow("registrationDetails", "isPackageCash", "registrationNo", $registrationNo) . "'>" . $ro->selectNow("registrationDetails", "isPackageCash", "registrationNo", $registrationNo) . "</option>";
echo "<option value='no'>no</option>";
echo "<option value='yes'>yes</option>";
$ro->coconutComboBoxStop();
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:26,代码来源:isPackageCash.php

示例13:

<?php

include "../../myDatabase2.php";
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->coconutFormStart("get", "transmitted_reconcile.php");
$ro->coconutBoxStart("600", "170");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("From Date") . "</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("fromMonth");
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 "</td>";
echo "<td>";
$ro->coconutComboBoxStart_short("fromDay");
for ($x = 1; $x < 32; $x++) {
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:transmitalShift_reconcile.php


注:本文中的database2::coconutComboBoxStart_short方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。