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


PHP database2::coconutHidden方法代码示例

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


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

示例1:

include "../../myDatabase2.php";
$description = $_GET['description'];
$inventoryCode = $_GET['inventoryCode'];
$from_inventoryCode = $_GET['from_inventoryCode'];
$returnBy = $_GET['returnBy'];
$returnTime = $_GET['returnTime'];
$returnDate = $_GET['returnDate'];
$status = $_GET['status'];
$inventoryLocation = $_GET['inventoryLocation'];
$quantity = $_GET['quantity'];
$ro = new database2();
$ro->coconutDesign();
echo "<Br><bR><Br><br><center><b>Inv Code</b>&nbsp;{$inventoryCode}<br><font color=red>{$description}</font></center>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/departmentReturn1.php");
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutHidden("from_inventoryCode", $from_inventoryCode);
$ro->coconutHidden("returnBy", $returnBy);
$ro->coconutHidden("returnTime", $returnTime);
$ro->coconutHidden("returnDate", $returnDate);
$ro->coconutHidden("status", $status);
$ro->coconutHidden("description", $description);
$ro->coconutBoxStart("500", "150");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>QTY&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox_short("qtyReturn", $quantity);
echo "</td>";
echo "</tr>";
开发者ID:rickyx12,项目名称:mendero,代码行数:30,代码来源:departmentReturn.php

示例2: fopen

$username = $_GET['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->getRequestNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/requestNo.dat";
$fh = fopen($myFile, 'r');
$requestNo = fread($fh, 100);
fclose($fh);
/*
echo $username;
echo "<br>";
echo $requestNo;
*/
echo "<Br><Br><Br><Br>";
$ro->coconutFormStart("get", "requestHandler.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("requestNo", $requestNo);
$ro->coconutBoxStart("500", "80");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>My Department:&nbsp;</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("department");
echo "<option value='ER E Cart'>ER</option>";
echo "<option value='ICU E Cart'>ICU</option>";
echo "<option value='OR E Cart'>OR</option>";
echo "<option value='DR E Cart'>DR</option>";
echo "<option value='LABORATORY'>LABORATORY</option>";
echo "<option value='3A E Cart'>3A</option>";
echo "<option value='3B E Cart'>3B</option>";
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:getRequestNo.php

示例3:

<?php

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");
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:qty.php

示例4: date

<?php

include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$ro = new database2();
?>

<link rel="stylesheet" type="text/css" href="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/myCSS/coconutCSS.css" />

<?php 
echo "<form method='get' action='monitoring.php'>";
$ro->coconutHidden("inventoryCode", $inventoryCode);
echo "<br><br><Br><br><center><div style='border:1px solid #000000; width:500px; height:180px; border-color:black black black black;'>";
echo "<br><table border=0 cellpadding=0 cellspacing=0>";
echo "<tr>";
echo "<td><font class='labelz'>Date&nbsp;</font></td>";
echo "<td>\n<select name='month' class='comboBoxShort'>  \n<option value='" . date("m") . "'>" . date("M") . "</option>\n<option value='01'>Jan</option>\n<option value='02'>Feb</option>\n<option value='03'>Mar</option>\n<option value='04'>Apr</option>\n<option value='05'>May</option>\n<option value='06'>Jun</option>\n<option value='07'>Jul</option>\n<option value='08'>Aug</option>\n<option value='09'>Sep</option>\n<option value='10'>Oct</option>\n<option value='11'>Nov</option>\n<option value='12'>Dec</option>\n</select>";
echo "&nbsp;<select name='day' class='comboBoxShort'>";
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>";
    }
}
echo "</select>";
echo "&nbsp;<input type=text name='year' class='shortField' value='" . date("Y") . "'>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:monitoringHead_mar282014.php

示例5: date

<?php

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>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:computeDays.php

示例6: count

<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$itemNo = $_GET['itemNo'];
$countz = count($itemNo);
$ro = new database2();
$ro->coconutDesign();
$total = 0;
$discount = 0;
echo "<center>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/individualPayment/paidItems.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
$ro->coconutTableStart();
$ro->coconutTableRowStart();
$ro->coconutTableHeader("");
$ro->coconutTableHeader("Description");
$ro->coconutTableHeader("QTY;");
$ro->coconutTableHeader("Price");
$ro->coconutTableHeader("Discount");
$ro->coconutTableHeader("Total");
$ro->coconutTableRowStop();
for ($x = 0; $x < $countz; $x++) {
    $ro->coconutTableRowStart();
    $ro->coconutTableData("<input type='checkbox' name='itemNo[]' value='" . $itemNo[$x] . "' checked>");
    $ro->coconutTableData($ro->doubleSelectNow("patientCharges", "description", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
    $ro->coconutTableData($ro->doubleSelectNow("patientCharges", "quantity", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
    $ro->coconutTableData($ro->doubleSelectNow("patientCharges", "sellingPrice", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
    $ro->coconutTableData($ro->doubleSelectNow("patientCharges", "discount", "itemNo", $itemNo[$x], "registrationNo", $registrationNo));
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:showSelectedMeds.php

示例7: date

<script type="text/javascript" src="http://<?php 
echo $ro->getMyUrl();
?>
/jquery1.11.1.js"></script>

<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>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addEntry.php

示例8:

<?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();
开发者ID:rickyx12,项目名称:protacio,代码行数:16,代码来源:deleteVoucher.php

示例9:

echo "<tr>";
echo "<td>&nbsp;<font color='white' size=3><b>Instruction</b></font></td>";
echo "<tD>&nbsp;<input type='text' id='instruction' style='border-radius:10px; border:0px; font-size:15px; height:30px; width:300px; ' name='instruction' value=''></tD>";
echo "</tr>";
echo "<tr>";
echo "<td>&nbsp;<font color='white' size=3><b>Indication</b></font></td>";
echo "<tD>&nbsp;<input type='text' id='indication' style='border-radius:10px; border:0px; font-size:15px; height:30px; width:300px; ' name='indication' value=''></tD>";
echo "</tr>";
echo "</table>";
echo "</div>";
echo "<br>";
echo "<table border=0 width='400px;'>";
echo "<tr>";
echo "<td>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/android/mobileECART/addCharges.php");
$ro->coconutHidden("status", $status);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("sellingPrice", $sellingPrice);
$ro->coconutHidden("timeCharge", $timeCharge);
$ro->coconutHidden("chargeBy", $chargeBy);
$ro->coconutHidden("service", $service);
$ro->coconutHidden("title", $title);
$ro->coconutHidden("paidVia", $paidVia);
$ro->coconutHidden("cashPaid", $cashPaid);
$ro->coconutHidden("batchNo", $batchNo);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("discount", $discount);
$ro->coconutHidden("inventoryFrom", $inventoryFrom);
$ro->coconutHidden("room", $room);
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:medicineNotify.php

示例10:

echo "<tr>";
echo "<td>Transfer To</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("inventoryLocation");
echo "<option></option>";
echo "<option value='ER'>ER</option>";
echo "<option value='OR'>OR</option>";
echo "<option value='WARD'>WARD</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutHidden("stockCardNo", $stockCardNo);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("generic", $generic);
$ro->coconutHidden("unitcost", $unitcost);
$ro->coconutHidden("expiration", $expiration);
$ro->coconutHidden("addedBy", $addedBy);
$ro->coconutHidden("inventoryType", $inventoryType);
$ro->coconutHidden("branch", $branch);
$ro->coconutHidden("transition", $transition);
$ro->coconutHidden("remarks", $remarks);
$ro->coconutHidden("preparation", $preparation);
$ro->coconutHidden("phic", $phic);
$ro->coconutHidden("added", $added);
$ro->coconutHidden("criticalLevel", $criticalLevel);
$ro->coconutHidden("supplier", $supplier);
$ro->coconutHidden("suppliesUNITCOST", $suppliesUNITCOST);
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:transferInventory.php

示例11:

<?php

include "../../myDatabase2.php";
$stockCardNo = $_GET['stockCardNo'];
$inventoryType = $_GET['inventoryType'];
$show = $_GET['show'];
$ro = new database2();
echo "Stock Card#:&nbsp;<b>({$stockCardNo})</b><Br>Brand Name:&nbsp;<b>" . $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo) . "</b><Br>Generic Name:&nbsp;<b>" . $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo) . "</b>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/inventory/stockCard.php");
$ro->coconutHidden("stockCardNo", $stockCardNo);
$ro->coconutHidden("inventoryType", $inventoryType);
echo "<select name='show' onchange='this.form.submit()' style='border:1px solid #ff0000; width:140px;'>";
echo "<option value='{$show}'>{$show}</option>";
echo "<option value='ER'>ER</option>";
echo "<option value='OR'>OR</option>";
echo "<option value='PHARMACY'>PHARMACY</option>";
echo "<option value='all'>All</option>";
$ro->coconutComboBoxStop();
$ro->coconutFormStop();
echo "<center><br><br>";
$ro->viewStockCard($stockCardNo, $inventoryType, $show);
开发者ID:rickyx12,项目名称:protacio,代码行数:21,代码来源:stockCard.php

示例12:

<?php

include "../../myDatabase2.php";
$module = $_GET['module'];
$ro = new database2();
$ro->coconutDesign();
echo "<link rel='stylesheet' type='text/css' href='css/default.css' />";
echo "<center><br><br>";
echo "\n<header class='clearfix'>\n<center><span><font size=4><i>Synapse System</i></font></span>\n</header>\n";
echo "<br>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/LOGINPAGE/loginpage_check.php");
$ro->coconutHidden("module", $module);
echo "<div style='background:#47a3da; height:200px; width:450px; border-radius:15px;'>";
echo "<Br><font color='white'><b><i>" . $module . "</i></b></font><bR><br>";
echo "<table border=0>";
echo "<tr>";
echo "<td><font color='white'><b>Username</b></font></td>";
echo "<td>";
$ro->coconutTextBox("username", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font color='white'><b>Password</b></font></td>";
echo "<td>" . $ro->coconutPasswordBox_return("password", "") . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
echo "<button>Log In</button>";
echo "</div>";
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:loginpage.php

示例13:

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
?>

<link rel="stylesheet" type="text/css" href="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/myCSS/coconutCSS.css" />


<?php 
$ro->getPatientProfile($registrationNo);
echo "<form method='get' action='addPayment1.php'>";
$ro->coconutHidden("receiptType", "");
$ro->coconutHidden("collectionFor", "IPD");
echo "<input type=hidden name='registrationNo' value='{$registrationNo}'>";
echo "<input type=hidden name='username' value='{$username}'>";
echo "<br>";
echo "<font color=reD>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " </font>";
echo "<br><br><br><center><div style='border:1px solid #000000; width:600px; height:389px; border-color:black black black black;'>";
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td><font class='labelz'>Payment For&nbsp;</font></tD>";
echo "<tD>";
echo "<select name='paymentFor' class='comboBox'>";
echo "<option value='HOSPITAL BILL'>HOSPITAL BILL</option>";
echo "<option value='DEPOSIT'>DEPOSIT</option>";
echo "<option value='BALANCE PAID'>BALANCE PAID</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addPayment.php

示例14:

echo "<br><center>";
echo "<table border=0>";
echo "<tr>";
echo "<td>";
$ro->coconutFormStart("post", "#");
echo "<input type='submit' style='background:#47a3da; border:0px; color:yellow; font-weight:bold; font-size:20px;' value='Charges'>";
$ro->coconutFormStop();
echo "</td>";
echo "<td>";
$ro->coconutFormStart("post", "#");
echo "<input type='submit' style='background:#47a3da; border:0px; color:#47a3da; font-weight:bold; font-size:20px;' value='Medicine'>";
$ro->coconutFormStop();
echo "</td>";
echo "<td>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/mobileAddCharges_medicine.php");
$ro->coconutHidden("batchNo", $batchNo);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("room", $room);
$ro->coconutHidden("username", $username);
echo "<input type='submit' style='background:#47a3da; border:0px; color:white; font-weight:bold; font-size:20px;' value='Medicine'>";
$ro->coconutFormStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</div>";
echo "\n\n<form name='addCharge'>\n<input type='text' name='availableCharges' style='background:#FFFFFF no-repeat 4px 4px;\n\tpadding:4px 4px 4px 2px;\n\tborder:1px solid #47a3da;\n\twidth:350px;\n\theight:25px;\n\tmargin:10px;' \n\tplaceholder='Search Charges' \n\tonkeyup='showResult();'\n\tautocomplete='off' >\n";
$ro->coconutHidden("batchNo", $batchNo);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("room", $room);
$ro->coconutHidden("username", $username);
echo "</form>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:mobileAddCharges_charges.php

示例15:

<?php

include "../../../myDatabase2.php";
$username = $_GET['username'];
$chargeNo = $_GET['chargeNo'];
$ro = new database2();
$ro->coconutDesign();
$timeStart = preg_split("/\\:/", $ro->selectNow("generatorCharge", "timeStart", "chargeNo", $chargeNo));
$timeStop = preg_split("/\\:/", $ro->selectNow("generatorCharge", "timeStop", "chargeNo", $chargeNo));
echo "<Br><Br><BR>";
$ro->coconutFormStart("get", "manual1_new.php");
$ro->coconutBoxStart("500", "250");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("chargeNo", $chargeNo);
echo "<Br>";
echo "<table border=0>";
/*
echo "<Tr>";
echo "<Td>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>";
echo "<option value='09'>Sep</option>";
echo "<option value='10'>Oct</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:manual_new.php


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