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


PHP database2::coconutBoxStart方法代码示例

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


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

示例1:

<?php

include "../../../myDatabase2.php";
$stockCardNo = $_GET['stockCardNo'];
$description = $_GET['description'];
$movementNo = $_GET['movementNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<br>";
echo "<center><b><i>" . $description . "</i></b></center>";
$ro->coconutBoxStart("400", "400");
echo "<Br>";
echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=beginningBalance&stockCardNo={$stockCardNo}' style='text-decoration:none; color:red;'>Beginning Balance</a>";
echo "<br><Br>";
if ($movementNo != "") {
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=firstThreePurchases&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:red;'>3 months Purchases Jan/Feb/Mar</a>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=secondThreePurchases&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:blue;'>3 months Purchases Apr/May/Jun</a>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=thirdThreePurchases&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:red;'>3 months Purchases Jul/Aug/Sep</a>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=fourthThreePurchases&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:blue;'>3 months Purchases Oct/Nov/Dec</a>";
    echo "<hr>";
    echo "<br><br><br>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovementOption1.php?menu=medicineType&stockCardNo={$stockCardNo}&movementNo={$movementNo}' style='text-decoration:none; color:red;'>Medicine Type</a>";
    echo "<hr>";
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/inventory/addInventory.php?username=xx&status=old&stockCardNo={$stockCardNo}&description={$description}&genericName=" . $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo) . "' style='text-decoration:none; color:blue;'>Add New Quantity</a>";
    echo "<hr>";
} else {
    echo "<a href='#' style='text-decoration:none; color:gray;'>3 months Purchases Jan/Feb/Mar</a>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:inventoryMovementOption_2015-08-07.php

示例2:

include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$department = $_GET['department'];
$description = $_GET['description'];
$date = $_GET['date'];
$time = $_GET['time'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br><br><center><font size=2 color=red>{$description}</font></center>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/department/inventoryLog.php");
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutHidden("department", $department);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("date", $date);
$ro->coconutHidden("time", $time);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "85");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>QTY:&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "1");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:qty.php

示例3:

<?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

示例4:

echo "<br><br>";
$ro->coconutFormStart("get", "editChargesCashier1.php");
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("month", $month);
$ro->coconutHidden("day", $day);
$ro->coconutHidden("year", $year);
$ro->coconutHidden("fromTime_hour", $fromTime_hour);
$ro->coconutHidden("fromTime_minutes", $fromTime_minutes);
$ro->coconutHidden("fromTime_seconds", $fromTime_seconds);
$ro->coconutHidden("toTime_hour", $toTime_hour);
$ro->coconutHidden("toTime_minutes", $toTime_minutes);
$ro->coconutHidden("toTime_seconds", $toTime_seconds);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("shift", $shift);
$ro->coconutBoxStart("500", "250");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", $ro->selectNow("patientCharges", "description", "itemNo", $itemNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Price</td>";
echo "<td>";
if ($ro->selectNow("patientCharges", "title", "itemNo", $itemNo) == "PROFESSIONAL FEE") {
    $price = preg_split("/\\//", $ro->selectNow("patientCharges", "sellingPrice", "itemNo", $itemNo));
    echo "<input type=text name='sellingPrice' class='price' id='sellingPrice' value='" . $price[0] . "' class='shortField' autocomplete='off' style='border: 1px solid #000; color: #000; height: 30px; width: 120px; padding:4px 4px 4px 5px;' ><span id='errmsg_sellingPrice' style='color:red;'></span>";
} else {
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:editChargesCashier.php

示例5: date

<script>
$(function() {
$("#primaryTitle").change(function() {
$("#subTitle").load("subTitle.php?refNo=" + $("#primaryTitle").val());
});
});
</script>

<?php 
$ro->coconutFormStart("post", "addEntry1.php");
$ro->coconutHidden("transactionNo", $transactionNo);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("dateEncoded", date("Y-m-d"));
$ro->coconutHidden("type", $type);
echo "<br>";
$ro->coconutBoxStart("500", "320");
echo "<Br>";
echo "<Table border=0>";
echo "<Tr>";
echo "<td>";
echo "<select id='primaryTitle' style='border: 1px solid #000;\n\tcolor: #000;\n\theight: 30px;\n\twidth: 150px;\n\tpadding:4px 4px 4px 5px;'>";
echo "<option></option>";
$ro->accountTitleSelection_primaryTitle();
echo "</select>";
echo "</td>";
echo "<td>";
echo "<select id='subTitle' name='subTitle' style='border: 1px solid #000;\n\tcolor: #000;\n\theight: 30px;\n\twidth: 300px;\n\tpadding:4px 4px 4px 5px;'>";
echo "<option></option>";
echo "</select>";
echo "</td>";
echo "</tr>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addEntry.php

示例6:

<?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

示例7:

<?php

include "../../myDatabase2.php";
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/dietary/addDiet1.php");
$ro->coconutHidden("username", $username);
echo "<Br><br>";
$ro->coconutBoxStart("600", "100");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Diet Code</td>";
echo "<Td>";
$ro->coconutTextBox("dietCode", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Diet</td>";
echo "<Td>";
$ro->coconutTextBox("dietName", "");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
开发者ID:rickyx12,项目名称:mendero,代码行数:28,代码来源:addDiet.php

示例8:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br>";
$excessMaxBenefits = $ro->selectNow("registrationDetails", "excessMaxBenefits", "registrationNo", $registrationNo);
$excessPF = $ro->selectNow("registrationDetails", "excessPF", "registrationNo", $registrationNo);
$excessRoom = $ro->selectNow("registrationDetails", "excessRoom", "registrationNo", $registrationNo);
$PHICportion = $ro->selectNow("registrationDetails", "PHICportion", "registrationNo", $registrationNo);
$hmoManualExcess = $ro->selectNow("registrationDetails", "hmoManualExcess", "registrationNo", $registrationNo);
$hmoManualExcessValue = $ro->selectNow("registrationDetails", "hmoManualExcessValue", "registrationNo", $registrationNo);
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/excess1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("700", "205");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Excess in PF</td>";
echo "<td>";
$ro->coconutTextBox("excessPF", "{$excessPF}");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Excess in Room and Board</td>";
echo "<td>";
$ro->coconutTextBox("excessRoom", "{$excessRoom}");
echo "</td>";
echo "</tr>";
echo "<tr>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:excess.php

示例9: Inventory

$username = $_GET['username'];
$year = $_GET['year'];
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/Reports/inventoryReport/inventoryMovement_insert.php");
$ro->coconutHidden("type", $inventoryType);
$ro->coconutHidden("medType", $medType);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("year", $year);
if ($menu == "firstThreePurchases") {
    $ro->coconutHidden("menu", "firstThreePurchases");
    $ro->coconutHidden("stockCardNo", $stockCardNo);
    $ro->coconutHidden("movementNo", $movementNo);
    $ro->coconutHidden("control", $control);
    $ro->coconutBoxStart("500", "100");
    echo "<br>";
    echo "<table border=0>";
    echo "<tr>";
    echo "<td align='center'><font size=3 color=red>Ending Inventory (Mar 31, 2015)</font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td>";
    $ro->coconutTextBox("endingInventory1", $ro->selectNow("inventoryMovement", "endingInventory", "movementNo", $movementNo));
    echo "</td>";
    echo "</tr>";
    echo "</table>";
    echo "<br><br>";
    $ro->coconutButton("Proceed");
    $ro->coconutBoxStop();
} else {
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:inventoryMovementOption1.php


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