本文整理汇总了PHP中database2::coconutFormStart方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::coconutFormStart方法的具体用法?PHP database2::coconutFormStart怎么用?PHP database2::coconutFormStart使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::coconutFormStart方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: date
<?php
include "../../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
echo "<Br><br><br><br><Br>";
$ro->coconutFormStart("get", "showVoucher.php");
$ro->coconutHidden("show", "admin");
$ro->coconutBoxStart("500", "170");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>From </td>";
echo "<Td>";
$ro->coconutComboBoxStart_short("month");
echo "<option value='" . date("M") . "'>" . date("M") . "</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>";
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");
示例2:
<?php
include "../../../myDatabase2.php";
$checkedNo = $_GET['checkedNo'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br>";
$ro->coconutFormStart("get", "voucherList.php");
echo "Invoice No# " . $ro->coconutTextBox_return("checkedNo", "");
$ro->coconutFormStop();
$ro->listVoucher($checkedNo);
示例3:
<?php
include "../../../myDatabase2.php";
$transactionNo = $_POST['transactionNo'];
$subTitle = $_POST['subTitle'];
$paidTo = $_POST['paidTo'];
$narration = $_POST['narration'];
$invoiceNo = $_POST['invoiceNo'];
$datedMonth = $_POST['datedMonth'];
$datedDay = $_POST['datedDay'];
$datedYear = $_POST['datedYear'];
$debit = $_POST['debit'];
$credit = $_POST['credit'];
$username = $_POST['username'];
$dateEncoded = $_POST['dateEncoded'];
$type = $_POST['type'];
$ro = new database2();
$acctHeads = preg_split("/\\_/", $subTitle);
$accountNo = $acctHeads[0];
$accountTitle = $acctHeads[1];
$dated = $datedYear . "-" . $datedMonth . "-" . $datedDay;
$ro->addDisbursement($transactionNo, $accountNo, $accountTitle, $paidTo, $narration, $invoiceNo, $dated, $debit, $credit, $username, $dateEncoded, $type);
$ro->coconutFormStart("GET", "addEntry.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("transactionNo", $transactionNo);
$ro->coconutHidden("type", $type);
$ro->coconutButton("<< Back");
$ro->coconutFormStop();
示例4:
<a href='#' onClick="printF('printData')" style="text-decoration:none;"><?php
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: ";
$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> </th>";
echo "<th> Name </th>";
echo "<th> Description </th>";
echo "<th> Price </th>";
//echo "<th> QTY </th>";
示例5:
<?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>";
示例6:
<?php
include "../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
echo "<Br><br><br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/Doctor/doctorModule/ipdPatient_dept.php");
$ro->coconutBoxStart("500", "80");
echo "<br>";
$ro->coconutComboBoxStart_long("doctor");
$ro->showOption("Doctors", "Name");
$ro->coconutComboBoxStop();
echo "<Br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例7:
<?php
include "../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
echo "<br><br><br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/Company/companyPaymentReport1.php");
$ro->coconutBoxStart("500", "120");
echo "<Br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td><font size=2>Source of Date</font></td>";
echo "<td>";
$ro->coconutComboBoxStart_long("dateSource");
echo "<option value='dateEncoded'>Date Encoded</option>";
echo "<option value='datePaid'>Date Paid</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>From 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>";
示例8:
<?php
include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->getPatientProfile($registrationNo);
echo "<b>Date Admitted</b> " . $ro->getRegistrationDetails_dateRegistered();
echo "<Br>";
echo "<b>Date Discharged</b> " . $ro->getRegistrationDetails_dateUnregistered();
echo "<Br><Br><Br><BR><BR><br>";
$ro->coconutFormStart("get", "checkGenerator1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "120");
echo "<Br>";
echo "<table border=0>";
echo "<Tr>";
echo "<Td>From</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>";
示例9:
$ro = new database2();
$ro->coconutDesign();
echo "<Br><Br><br>";
$caseRate_amount = $ro->selectNow("rBanny_caserate", "amount", "caseNo", $caserate);
//amount ng selected caserate
$hospitalBill = $ro->getTotal("total", "Room And Board", $registrationNo) + $ro->getTotal("total", "MEDICINE", $registrationNo) + $ro->getTotal("total", "SUPPLIES", $registrationNo) + $ro->getTotal("total", "LABORATORY", $registrationNo) + $ro->getTotal("total", "RADIOLOGY", $registrationNo) + $ro->getTotal("total", "NURSING-CHARGES", $registrationNo) + $ro->getTotal("total", "MISCELLANEOUS", $registrationNo) + $ro->getTotal("total", "OR/DR/ER Fee", $registrationNo) + $ro->getTotal("total", "OXYGEN", $registrationNo);
$pf = $ro->getTotal("phic", "PROFESSIONAL FEE", $registrationNo);
$targetAmount = $caseRate_amount - $caseRate_amount * 0.3;
echo "<Center>";
echo "<font color='blue' size=5><i>[R-Banny]-[noReset mode]</i></font>";
$ro->coconutBoxStart("500", "130");
echo "<br><font color=red size=4>Caserate</font>: " . $ro->selectNow("rBanny_caserate", "caserate", "caseNo", $caserate) . " [" . number_format($caseRate_amount, 2) . "]";
echo "<br>";
echo "<font color=red size=4>Hospital Bill: </font>" . number_format($hospitalBill, 2);
echo "<Br>";
echo "<font color=red size=4>Professional Fee: </font>" . number_format($pf, 2);
echo "<Br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/rBanny/analyzingData_noReset.php");
//$cazeRate = $ro->selectNow("availableICD","hospital","icdCode",$ro->selectNow("patientICD","icdCode","registrationNo",$registrationNo));
echo "<i><font color=blue size=4>Target Amount: </font></i><br>" . $ro->coconutTextBox_return("targetAmount", $ro->getFirstCaseRate($ro->selectNow("patientICD", "icdCode", "registrationNo", $registrationNo)));
echo "<br><Br>";
//$ro->coconutHidden("targetAmount",$targetAmount);
$ro->coconutHidden("cash", $ro->getTotal("cashUnpaid", "", $registrationNo));
$ro->coconutHidden("registrationNo", $registrationNo);
if ($hospitalBill > $targetAmount) {
$ro->coconutButton("Proceed");
} else {
//echo "<Br><font size=4 color=red>R-Banny Cannot analyze you're data because Target Amount is Higher [".number_format($targetAmount,2)."] than the Patient's Bill [".number_format($hospitalBill,2)."] </font>";
}
$ro->coconutFormStop();
$ro->coconutBoxStop();
示例10:
<?php
include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$chargesCode = $_GET['chargesCode'];
$username = $_GET['username'];
$ro = new database2();
echo "\n<style type='text/css'>\n.Arial16RedBold {font-family: Arial;font-size: 16px;color: #FF0000;font-weight: bold;}\n</style>\n";
echo "<Br><Br><Br>";
$ro->coconutBoxStart_red("500", "130");
echo "<br>";
$ro->coconutFormStart("get", "deleteRoom1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("control", "delete");
$ro->coconutButton(" Delete Room ");
$ro->coconutFormStop();
$ro->coconutFormStart("get", "deleteRoom1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutHidden("control", "discharge");
$ro->coconutButton(" Discharge Room ");
$ro->coconutFormStop();
$ro->coconutFormStart("get", "computeDays.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
示例11: date
echo "</centeR>";
/*
if( $ro->selectNow("availableCharges","reagents","chargesCode",$chargesCode) != "" ) {
$reagentsz = preg_split ("/\-/", $ro->selectNow("availableCharges","reagents","chargesCode",$chargesCode) );
$ro->getReagentsWillBeUse($reagentsz[0]);
echo "<Br>";
$ro->getReagentsWillBeUse($reagentsz[1]);
echo "<Br>";
$ro->getReagentsWillBeUse($reagentsz[2]);
echo "<Br>";
$ro->getReagentsWillBeUse($reagentsz[3]);
echo "<Br>";
$ro->getReagentsWillBeUse($reagentsz[4]);
}else { }
*/
$ro->coconutFormStart("POST", "addLabToPatient.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("date", date("Y-m-d"));
/*
$ro->coconutHidden("reagents1",$reagentsz[0]);
$ro->coconutHidden("reagents2",$reagentsz[1]);
$ro->coconutHidden("reagents3",$reagentsz[2]);
$ro->coconutHidden("reagents4",$reagentsz[3]);
$ro->coconutHidden("reagents5",$reagentsz[4]);
*/
echo "<textarea id='result' name='result'>" . $ro->selectNow("labResultList", "template", "templateNo", $templateNo) . "</textarea>";
?>
示例12: 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 </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 "-";
示例13:
<?php
include "../../myDatabase2.php";
$username = $_GET['username'];
$dietNo = $_GET['dietNo'];
$dietName = $_GET['dietName'];
$ro = new database2();
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/dietary/deleteDiet1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("dietNo", $dietNo);
echo "<Br><br>";
$ro->coconutBoxStart_red("400", "70");
echo "<Br>";
echo "<font color=red>Delete {$dietName}?</font>";
echo "<br><Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例14:
<?php
include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/mobileSOAP1.php");
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<div style='background:#47a3da; margin:0 0 0 10px; height:550px; width:500px; border-radius:15px;'>";
echo "<Center>";
echo "<br>";
echo " <b><i><font color='white'>Subjective</font></i></b>";
echo "<br>";
echo "<textarea name='subjective' rows='5' cols='54'>" . $ro->selectNow("SOAP", "subjective", "itemNo", $itemNo) . "</textarea>";
echo "<br>";
echo " <b><i><font color='white'>Objective</font></i></b>";
echo "<br>";
echo "<textarea name='objective' rows='5' cols='54'>" . nl2br($ro->selectNow("SOAP", "objective", "itemNo", $itemNo)) . "</textarea>";
echo "<br>";
echo " <b><i><font color='white'>Assessment</font></i></b>";
echo "<br>";
echo "<textarea name='assessment' rows='5' cols='54'>" . nl2br($ro->selectNow("SOAP", "assessment", "itemNo", $itemNo)) . "</textarea>";
echo "<br>";
echo " <b><i><font color='white'>Plan</font></i></b>";
echo "<br>";
echo "<textarea name='plan' rows='5' cols='54'>" . nl2br($ro->selectNow("SOAP", "plan", "itemNo", $itemNo)) . "</textarea>";
echo "<Br><br>";
echo "<input type='submit' style='borde:1px round #000;' value='Proceed'>";
示例15: date
<?php
include "../../../myDatabase2.php";
$ro = new database2();
$ro->coconutDesign();
echo "<Br><br><br><br><Br>";
$ro->coconutFormStart("get", "cashCollection_output_monthly.php");
$ro->coconutBoxStart("500", "100");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>From </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 "-";
$ro->coconutComboBoxStart_short("day");
echo "<option value='" . date("d") . "'>" . date("d") . "</option>";