本文整理汇总了PHP中database1::coconutFormStart方法的典型用法代码示例。如果您正苦于以下问题:PHP database1::coconutFormStart方法的具体用法?PHP database1::coconutFormStart怎么用?PHP database1::coconutFormStart使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database1
的用法示例。
在下文中一共展示了database1::coconutFormStart方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: date
<?php
include "../../../myDatabase1.php";
$username = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$ro = new database1();
echo "<script type='text/javascript' src='/ckeditor/ckeditor.js'></script>";
$ro->coconutDesign();
$ro->coconutFormStart("post", "insertPromisorry.php");
echo "<table border=0>";
echo "<tr>";
echo "<td>Date </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>";
示例2:
<?php
include "../../../myDatabase1.php";
$ro = new database1();
$ro->coconutDesign();
echo "<br>";
echo "<font size=4>TITLE: </font>";
$ro->coconutFormStart("post", "addResultForm1.php");
$ro->coconutTextBox("title", "");
?>
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<?php
echo "<textarea id='formTemplate' name='formTemplate'></textarea>";
$ro->coconutFormStop();
?>
<script type="text/javascript">
CKEDITOR.replace( 'formTemplate',
{
enterMode : CKEDITOR.ENTER_BR,
skin : 'office2003'
});
</script>
示例3:
include "../../../myDatabase1.php";
$reports = $_POST['reports'];
$itemNo = $_POST['itemNo'];
$registrationNo = $_POST['registrationNo'];
$description = $_POST['description'];
$ro = new database1();
?>
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<?php
echo "\n<style type='text/css'>\n\n.txtArea {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight: auto;\n\twidth:900px;\n\tpadding:4px 4px 4px 5px;\n\tfont-size:20px;\n}\n\n</style>\n";
$ro->getPatientProfile($registrationNo);
$ro->coconutFormStart("get", "radioReport_update.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
echo "<table border=0 width='160%'>";
echo "<tr>";
echo "<td><b>Name:</b> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>";
echo "<td><b>Date:</b> " . $ro->selectNow("radioSavedReport", "date", "itemNo", $itemNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>Age/Sex</b> " . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</td>";
echo "<td>Physician: <b>" . $ro->selectNow("radioSavedReport", "physician", "itemNo", $itemNo) . "</b></td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>Room:</b> " . $ro->getRegistrationDetails_room() . "</td>";
echo "<td>Examination: <b>{$description}</b></td>";
echo "</tr>";
示例4: date
<?php
include "../../myDatabase1.php";
$description = $_GET['description'];
$inventoryCode = $_GET['inventoryCode'];
$ro = new database1();
$ro->coconutDesign();
echo "<br><Br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/graphicalReport/multipleLineChart/annualInventory.php");
$ro->coconutHidden("description", $description);
$ro->coconutHidden("inventoryCode", $inventoryCode);
$ro->coconutBoxStart("400", "85");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Year </td>";
echo "<Td>";
$ro->coconutTextBox("year", date("Y"));
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutComboBoxStop();
$ro->coconutFormStop();
?>
示例5: date
<?php
include "../../myDatabase1.php";
$description = $_GET['description'];
$chargesCode = $_GET['chargesCode'];
$ro = new database1();
$ro->coconutDesign();
echo "<Br><Br><Br>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/graphicalReport/bestSelling/fastMovingChart.php");
$ro->coconutHidden("description", $description);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutBoxStart("500", "119");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>Month </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>";
示例6:
<?php
include "../../../myDatabase1.php";
$username = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$ro = new database1();
echo "<script type='text/javascript' src='/ckeditor/ckeditor.js'></script>";
$ro->coconutDesign();
$startDate = preg_split("/\\_/", $ro->selectNow("promisorryNote", "startDate", "registrationNo", $registrationNo));
$dueDate = preg_split("/\\_/", $ro->selectNow("promisorryNote", "dueDate", "registrationNo", $registrationNo));
$ro->coconutFormStart("post", "editPromisorry1.php");
echo "<table border=0>";
echo "<tr>";
echo "<td>Date </tD>";
echo "<td>";
$ro->coconutComboBoxStart_short("month");
echo "<option value='" . $startDate[0] . "'>" . $startDate[0] . "</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 " ";
示例7:
<?php
include "../../myDatabase1.php";
$desc = $_GET['desc'];
$packageName = $_GET['packageName'];
$unitcost = $_GET['unitcost'];
$Added = $_GET['Added'];
$ro = new database1();
$ro->coconutDesign();
echo "<br><Br>";
$ro->coconutFormStart("post", "addPackageIncluded.php");
$ro->coconutHidden("desc", $desc);
$ro->coconutHidden("packageName", $packageName);
$ro->coconutHidden("unitcost", $unitcost);
$ro->coconutHidden("Added", $Added);
$ro->coconutBoxStart("400", "80");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>QTY </tD>";
echo "<tD>";
$ro->coconutTextBox_short("qty", "1");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例8:
<?php
include "../../../myDatabase1.php";
$username = $_GET['username'];
$ro = new database1();
$ro->coconutDesign();
$ro->coconutFormStart("get", "addHospital1.php");
$ro->coconutHidden("username", $username);
echo "<br><Br><br>";
$ro->coconutBoxStart("500", "120");
echo "<bR>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Hospital Name</td>";
echo "<td>";
$ro->coconutTextBox("hospitalName", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</td>";
echo "<td>";
$ro->coconutTextBox("hospitalAddress", "");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例9:
<?php
include "../../../myDatabase1.php";
$short = $_GET['short'];
$registrationNo = $_GET['registrationNo'];
$ro = new database1();
$ro->coconutDesign();
$ro->coconutFormStart("get", "insertMagicPackage.php");
$ro->coconutBoxStart("500", "120");
echo "<br>";
echo "Select Where do you want to put the <font color=red>" . number_format($short, 2) . "</font>";
echo "<br><br>";
$ro->coconutComboBoxStart_long("title");
$ro->showOption("Category", "Category");
$ro->coconutComboBoxStop();
$ro->coconutHidden("short", $short);
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例10:
<?php
include "../../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->coconutDesign();
echo "<br><br><br><Br>";
$ro->coconutFormStart("get", "setMGH1.php");
$ro->coconutBoxStart("800", "80");
echo "<Br>";
echo "<font color=red size=2>If you tag the patient as <B>LOCKED</b> his/her profile will be totally locked and nobody can edit,change or delete the information,charges and payment that was saved before he/she tag Locked </font>";
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
echo "<Br><br>";
$ro->coconutButton("Locked Account");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例11:
<?php
include "../../../myDatabase1.php";
$reportNo = $_GET['reportNo'];
$username = $_GET['username'];
$title = $_GET['title'];
$ro = new database1();
echo "<br><Br><br>";
$ro->coconutFormStart("get", "deleteTemplate1.php");
$ro->coconutHidden("reportNo", $reportNo);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart_red("500", "90");
echo "<br>";
echo "<font color=red>Are you sure you to delete</font><Br><font color=red><b>{$title}</b>?</font>";
echo "<Br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
示例12:
<?php
include "../../myDatabase1.php";
$ro = new database1();
$ro->coconutDesign();
echo "<Br><br><Br><Br><BR>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/medicineRequest.php");
$ro->coconutHidden("branch", "Pagadian");
$ro->coconutHidden("username", "");
$ro->coconutBoxStart("500", "150");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Department </td>";
echo "<td>";
$ro->coconutComboBoxStart_long("requestingDepartment");
echo "<option value='LABORATORY'>LABORATORY</option>";
echo "<option value='PHARMACY'>PHARMACY</option>";
echo "<option value='DIALYSIS'>DIALYSIS</option>";
echo "<option value='ER'>ER</option>";
echo "<option value='3A'>3A</option>";
echo "<option value='3B'>3B</option>";
echo "<option value='ICU'>ICU</option>";
echo "<option value='DR'>DR</option>";
echo "<option value='OR'>OR</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Request </td>";
echo "<td>";
示例13:
<?php
include "../../../myDatabase1.php";
$username = $_GET['username'];
$hospital = $_GET['hospital'];
$address = $_GET['address'];
$headingNo = $_GET['headingNo'];
$ro = new database1();
$ro->coconutDesign();
$ro->coconutFormStart("get", "editHospital1.php");
$ro->coconutHidden("username", $username);
$ro->coconutHidden("headingNo", $headingNo);
echo "<br><Br><br>";
$ro->coconutBoxStart("500", "120");
echo "<bR>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Hospital Name</td>";
echo "<td>";
$ro->coconutTextBox("hospital", $hospital);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</td>";
echo "<td>";
$ro->coconutTextBox("address", $address);
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
示例14:
$ro->coconutTableRowStart();
$ro->coconutTableData("<b>TOTAL PHILHEALTH</b>");
$ro->coconutTableData("<font color=red><b>" . number_format($totalPHIC, 2) . "</b></font>");
$ro->coconutTableRowStop();
$ro->coconutTableRowStart();
$ro->coconutTableData("<b>PHILHEALTH PACKAGE</b>");
$ro->coconutTableData("<b>" . number_format($ro->selectNow("package", "price", "description", $ro->getRegistrationDetails_package()), 2) . "</b>");
$ro->coconutTableRowStop();
$ro->coconutTableRowStart();
$ro->coconutTableData("<b>SHORT</b>");
$ro->coconutTableData("<font color=red><b>" . number_format($ro->selectNow("package", "price", "description", $ro->getRegistrationDetails_package()) - $totalPHIC, 2) . "</b></font>");
$ro->coconutTableRowStop();
$ro->coconutTableStop();
echo "<br><Br>";
$shortPHIC = $ro->selectNow("package", "price", "description", $ro->getRegistrationDetails_package()) - $totalPHIC;
$ro->coconutFormStart("get", "magicPackage1.php");
$ro->coconutHidden("short", $shortPHIC);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutButton("Apply Short Package");
$ro->coconutFormStop();
/*
echo "MEDICINE: ".number_format($ro->getTotal("phic","MEDICINE",$registrationNo),2);
echo "<br>";
echo "SUPPLIES: ".number_format($ro->getTotal("phic","SUPPLIES",$registrationNo),2);
echo "<br>";
echo "LABORATORY: ".number_format($ro->getTotal("phic","LABORATORY",$registrationNo),2);
echo "<br>";
echo "RADIOLOGY: ".number_format($ro->getTotal("phic","RADIOLOGY",$registrationNo),2);
echo "<br>";
echo "ECG: ".number_format($ro->getTotal("phic","ECG",$registrationNo),2);
echo "<br>";
示例15:
<?php
include "../../myDatabase1.php";
$comment = $_POST['comment'];
$ro = new database1();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("post", "passwordComment1.php");
$ro->coconutHidden("comment", $comment);
echo "<br>\n<center>\n<font color=red size=2> Pls Enter your <b>PASSWORD</b> before your comments/question/message will add </font>";
$ro->coconutBoxStart("500", "80");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Password: </td>";
echo "<td><input type='password' name='password' style='border:1px solid #000; height:30px; width:370px; '> </td>";
echo "</tr>";
echo "</table>";
echo "<Br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();