Пример #1
0
<?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();
$ro = new database1();
$ro->coconutDesign();
echo "<br><br><br>";
$ro->coconutFormStart("get", "radioReport_edit.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("description", $description);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart("500", "145");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Hospital</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("hospital");
$ro->showOption("radioHeading", "hospital");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Report</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("report");
$ro->showOption("radioReportList", "title");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Doctor</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("doctor");
Пример #3
0
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&nbsp;</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("inventoryType");
echo "<option value='medicine'>Medicine</option>";
echo "<option value='supplies'>Supplies</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Request By:</td>";
echo "<td>";
$ro->coconutComboBoxStart_long("username");
$ro->showOption("registeredUser", "completeName");
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();