本文整理汇总了PHP中database2::coconutBoxStart_red方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::coconutBoxStart_red方法的具体用法?PHP database2::coconutBoxStart_red怎么用?PHP database2::coconutBoxStart_red使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::coconutBoxStart_red方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
include "../../myDatabase2.php";
$returnNo = $_GET['returnNo'];
$inventoryCode = $_GET['inventoryCode'];
$returnFrom = $_GET['returnFrom'];
$returnTo = $_GET['returnTo'];
$username = $_GET['username'];
$qtyReturn = $_GET['qtyReturn'];
$ro = new database2();
echo "<br><br><br><br><br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/receiveDepartmentReturn1.php");
$ro->coconutHidden("returnTo", $returnTo);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("returnNo", $returnNo);
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutHidden("qtyReturn", $qtyReturn);
$ro->coconutBoxStart_red("500", "70");
echo "<br>";
echo "Received Return of {$qtyReturn} pcs <b>" . $ro->selectNow("inventory", "description", "inventoryCode", $inventoryCode) . "</b> of <b>{$returnFrom}</b>?";
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例2:
<?php
include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$refNo = $_GET['refNo'];
$amountPaid = $_GET['amountPaid'];
$datePaid = $_GET['datePaid'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/Payments/deleteCompanyPayment1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("refNo", $refNo);
$ro->coconutHidden("username", $username);
echo "<Br>";
$ro->coconutBoxStart_red("700", "80");
echo "<Br>";
echo "Delete The Payment <font color=red>" . number_format($amountPaid, 2) . "</font> that was posted in <font color=red>{$datePaid}</font>?";
echo "<br><br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例3:
<?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();
示例4:
<?php
include "../../../myDatabase2.php";
$controlNo = $_GET['controlNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><br><br>";
$ro->coconutFormStart("get", "deleteVoucher1.php");
$ro->coconutHidden("controlNo", $controlNo);
$ro->coconutBoxStart_red("400", "100");
echo "<br>";
echo "DELETE?";
echo "<Br><Br>";
$ro->coconutButton("Yes");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例5:
<?php
include "../../../myDatabase2.php";
$reconcileNo = $_GET['reconcileNo'];
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><Br><br><Br>";
$ro->coconutFormStart("get", "reconcileDetails_deleteNow.php");
$ro->coconutHidden("reconcileNo", $reconcileNo);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart_red("500", "88");
echo "<Br><br>";
echo "DELETE?";
echo "<Br><Br>";
$ro->coconutButton("Yes");
$ro->coconutBoxStop();
$ro->coconutFormStop();