本文整理匯總了PHP中database::coconutBoxStart方法的典型用法代碼示例。如果您正苦於以下問題:PHP database::coconutBoxStart方法的具體用法?PHP database::coconutBoxStart怎麽用?PHP database::coconutBoxStart使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類database
的用法示例。
在下文中一共展示了database::coconutBoxStart方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: database
$username = $_GET['username'];
$phicID = $_GET['phicID'];
$salaryBracket = $_GET['salaryBracket'];
$salaryRange1 = $_GET['salaryRange1'];
$salaryRange2 = $_GET['salaryRange2'];
$salaryBase = $_GET['salaryBase'];
$totalMonthlyPremium = $_GET['totalMonthlyPremium'];
$employeeShare = $_GET['employeeShare'];
$employerShare = $_GET['employerShare'];
$ro = new database();
$ro->coconutDesign();
echo "<br>";
$ro->coconutFormStart("post", "/COCONUT/payroll/editPHIC1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("phicID", $phicID);
$ro->coconutBoxStart("500", "290");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td><font size=2>Salary Bracket</font></tD>";
echo "<Td>" . $ro->coconutTextBox_return("salaryBracket", $salaryBracket) . "</tD>";
echo "</tr>";
echo "<tr>";
echo "<Td><font size=2>Range1</font></tD>";
echo "<Td>" . $ro->coconutTextBox_return("salaryRange1", $salaryRange1) . "</tD>";
echo "</tr>";
echo "<tr>";
echo "<Td><font size=2>Range2</font></tD>";
echo "<Td>" . $ro->coconutTextBox_return("salaryRange2", $salaryRange2) . "</tD>";
echo "</tr>";
echo "<tr>";
示例2: database
<?php
include "../../../myDatabase.php";
$month = $_GET['month'];
$year = $_GET['year'];
$description = $_GET['description'];
$ro = new database();
$ro->coconutFormStart("post", "bestSellingChart_ipd.php");
$ro->coconutHidden("month", $month);
$ro->coconutHidden("year", $year);
$ro->coconutHidden("description", $description);
echo "<br><Br>";
$ro->coconutBoxStart("550", "90");
echo "<Br>";
echo "You are about to view the Chart of <br> {$description} for {$month} {$year}";
echo "<Br><Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例3: database
<?php
include "../../myDatabase.php";
$ro = new database();
$ro->coconutHeading("NURSING SERVICE", "COCONUT/NURSING/initializeNursing.php");
$ro->coconutDesign();
echo "<br><br>";
$ro->coconutFormStart("get", "nursingStation.php");
$ro->coconutHidden("username", "");
$ro->coconutHidden("module", "");
$ro->coconutBoxStart("600px", "125px");
echo "<Br><br>";
$ro->coconutComboBoxStart_long("branch");
$ro->showOption("branch", "branch");
$ro->coconutComboBoxStop();
echo "<br>";
$ro->coconutComboBoxStart_long("floor");
$ro->showFloor();
$ro->coconutComboBoxStop();
echo "<br><Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例4: database
<?php
include "../../../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
if (isset($_POST['key'])) {
$key = $_POST['key'];
if ($key == "9k7n3m2l921zdke=~!d9cja#=\$58&8!<>edDr8@!2Df~~##4@-[9k8j4m9x7ak0m29szla183jd1zxkaj1j4s5ac971k8jt3]") {
echo "<Br><br><bR><br>";
$ro->coconutFormStart("post", "addUser1.php");
$ro->coconutBoxStart("500", "150");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Username</td>";
echo "<td>" . $ro->coconutTextBox_return("username", "") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Password</td>";
echo "<td>" . $ro->coconutPasswordBox_return("password", "") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Complete Name</td>";
echo "<td>" . $ro->coconutPasswordBox_return("name", "") . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutHidden("module", "APPROVAL");
$ro->coconutHidden("key", $key);
$ro->coconutBoxStop();
示例5: database
$chargesCode = $_GET['chargesCode'];
$description = $_GET['description'];
$service = $_GET['service'];
$category = $_GET['category'];
$opd = $_GET['opd'];
$ward = $_GET['ward'];
$soloward = $_GET['soloward'];
$semiprivate = $_GET['semiprivate'];
$private = $_GET['private'];
$hmo = $_GET['hmo'];
$unitCost = $_GET['unitCost'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "editCharges1.php");
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutBoxStart("500", "185");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Description</td>";
echo "<td>";
$ro->coconutTextBox("description", $description);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>OPD Price</td>";
echo "<td>";
$ro->coconutTextBox_short("opdprice", $opd);
echo "</td>";
echo "</tr>";
echo "<tr>";
示例6: database
<?php
include "../../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<br><br>";
$ro->coconutBoxStart("600", "85");
echo "<Br>";
$ro->coconutFormStart("get", "hmoSOA_type1.php");
$ro->coconutHidden("reportName", "");
echo "<table border=0>";
echo "<tr>";
echo "<td><font class='labelz'>Type</font></td>";
echo "<td>";
$ro->coconutComboBoxStart_long("type");
echo "<option value='OPD'>OPD</option>";
echo "<option value='IPD'>IPD</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例7: database
<?php
include "../../../myDatabase1.php";
$ro = new database();
$ro->coconutDesign();
echo "<br><br>";
$ro->coconutFormStart("get", "phicReceivables.php");
$ro->coconutBoxStart("500", "160");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>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 " ";
$ro->coconutComboBoxStart_short("fromDay");
for ($x = 1; $x < 32; $x++) {
if ($x < 10) {
示例8: database
<?php
include "../../myDatabase.php";
$noteMessage = $_GET['noteMessage'];
$registrationNo = $_GET['registrationNo'];
$noteNo = $_GET['noteNo'];
$noteType = $_GET['noteType'];
$noteBy = $_GET['noteBy'];
echo "\n\n<style type='text/css'>\n.message {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:329px;\n\twidth: 570px;\n\tpadding:4px 4px 4px 2px;\n}\n\n</style>\n\n";
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("post", "editNote1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("noteNo", $noteNo);
$ro->coconutBoxStart("650", "463");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note By") . "</td>";
echo "<td>";
$ro->coconutTextBox("noteBy", $noteBy);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Note Type") . "</td>";
echo "<td>";
$ro->coconutTextBox_readonly("noteType", $noteType);
echo "</td>";
echo "</tr>";
echo "</table>";
echo $ro->coconutText("<font color=red>Message</font>");
示例9: database
<?php
include "../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("get", "addSupplier1.php");
$ro->coconutBoxStart("500", "222");
echo "<br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td>Supplier Name</tD>";
echo "<td>";
$ro->coconutTextBox("supplierName", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</tD>";
echo "<td>";
$ro->coconutTextBox("address", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact Person</tD>";
echo "<td>";
$ro->coconutTextBox("contactPerson", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Contact No</tD>";
echo "<td>";
示例10: database
<?php
include "../../myDatabase.php";
$ro = new database();
echo "<Br><Br><Br><br><br>";
$ro->coconutBoxStart("750", "80");
echo "<br>";
echo "<img src='angry.jpeg'> <font color=reD>Pls Change the <b>TYPE</b> of patient to <b>IPD</b> before you can print an admission slip.</font>";
$ro->coconutBoxStop();
示例11: database
<?php
include "../../../myDatabase.php";
$doctor = $_GET['doctor'];
$username = $_GET['username'];
$employeeID = $_GET['employeeID'];
$module = $_GET['module'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutBoxStart("600", "auto");
echo "<Br>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/doctorInterface.php");
$ro->coconutHidden("module", $module);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("employeeID", $employeeID);
echo "<input type='submit' value='Back To Menu' style='border:1px solid #FF0000; color:blue;'>";
$ro->coconutFormStop();
$ro->getDoctorPatient_ipd($doctor, "IPD", $username);
echo "<br>";
$ro->coconutBoxStop();
示例12: database
<?php
include "../../../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
$ro->coconutBoxStart("700", "500");
echo "<br><br>";
echo "<table cellpadding=0 cellspacing=0 border=1 rules=all>";
echo "<tr>";
echo "<th> Test </th>";
echo "<th> Result </th>";
echo "<th> Normal Values </th>";
echo "</tr>";
echo "<tr>";
echo "<td> <font size=2>Fasting Blood Sugar</font> </td>";
echo "<td><input type=text name='fbs' class='shortField'></td>";
echo "<td> <font size=2>3.9-5.8 mmol/L; 70-120mg/dL</font> </td>";
echo "</tr>";
echo "<tr>";
echo "<td> <font size=2>Total Cholesterol</font> </td>";
echo "<td><input type=text name='cholesterol' class='shortField'></td>";
echo "<td> <font size=2>3.6-5.16 mmol/L; 150-120mg/dL</font> </td>";
echo "</tr>";
echo "<tr>";
echo "<td> <font size=2>Triglycerides</font> </td>";
echo "<td><input type=text name='trigly' class='shortField'></td>";
echo "<td> <font size=2>0.72-2.22 mmol/L; 65-200mg/dL</font> </td>";
echo "</tr>";
echo "<tr>";
echo "<td> <font size=2>HDL</font> </td>";
echo "<td><input type=text name='hdl' class='shortField'></td>";
示例13: database
<?php
include "../../../myDatabase1.php";
$username = $_GET['username'];
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "profitANDloss.php");
echo "<br><Br>";
$ro->coconutBoxStart("300", "90");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Month </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->coconutTextBox_short("year", date("Y"));
echo "</td>";
示例14: database
$position = $_POST['position'];
$department = $_POST['department'];
$status = $_POST['status'];
$salaryBasic = $_POST['salaryBasic'];
$age = $_POST['age'];
$birthdate = $_POST['birthdate'];
$address = $_POST['address'];
$username = $_POST['username'];
$ro = new database();
$ro->coconutDesign();
echo "<br><br><br>";
echo "<center><font color=red>" . $completeName . "</font></center>";
$ro->coconutFormStart("post", "/COCONUT/payroll/editInfoNow.php");
$ro->coconutHidden("employeeID", $employeeID);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "283");
echo "<br>";
echo "<table border=0>";
echo "<Tr>";
echo "<td>Position </td>";
echo "<td>";
$ro->coconutTextBox("position", $position);
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<td>Salary/Rate </td>";
echo "<td>";
$ro->coconutTextBox("salaryBasic", $salaryBasic);
echo "</td>";
echo "</tr>";
echo "<Tr>";
示例15: database
<?php
include "../myDatabase.php";
require_once '../COCONUT/authentication.php';
$username = $_SESSION['username'];
$module = $_SESSION['module'];
$from = $_SESSION['from'];
$ro = new database();
echo "\n<style type='text/css'>\na { text-decoration:none; color:red; }\n</style>\n\n";
$ro->coconutDesign();
$ro->coconutHeading($module, "Department/initializeDepartment.php");
$ro->coconutUpperMenuStart();
$ro->coconutUpperMenuStop();
$url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
//kuhain ang current web address
/*
if ( (!isset($username) && !isset($module)) ) {
header("Location:/LOGINPAGE/module.php ");
die();
}
*/
echo "<br><br><center>";
$ro->coconutBoxStart("600", "100");
echo "<br>";
echo "<font size=3 color=black>Logged as {$username}</font>";
echo "<Br>";
echo "<a href='http://" . $ro->getMyUrl() . "/LOGINPAGE/module.php'><font color=red size=2><< Sign Out</a> ";
echo " <a href='http://" . $ro->getMyUrl() . "/Department/departmentHeading.php'><font color=blue size=2>Sign In >></font></a>";
$ro->coconutBoxStop();