Beispiel #1
0
<?php

include "../../myDatabase1.php";
$ro = new database1();
$ro->coconutDesign();
echo "<br><br><br><br><br>";
$ro->coconutFormStart("get", "addPackage1.php");
$ro->coconutBoxStart("500", "80");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>Package Name&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("packageName", "");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Beispiel #2
0
<?php

include "../../../myDatabase1.php";
$ro = new database1();
$ro->coconutDesign();
echo "<br>";
echo "<font size=4>TITLE:&nbsp;</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>


Beispiel #3
0
$ro->coconutHidden("dateRegistered", "");
$ro->coconutHidden("firstname", "n/a");
$ro->coconutHidden("middlename", "n/a");
$ro->coconutHidden("dateRegistered", date("Y-m-d"));
$ro->coconutHidden("month", date("M"));
$ro->coconutHidden("day", date("d"));
$ro->coconutHidden("birthYear", date("Y"));
$ro->coconutHidden("from", $from);
echo "<Br><Br><Br><Br><Br>";
$ro->coconutBoxStart("600", "140");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Name") . "&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("lastname", "patient" . $patientNo . "_" . $registrationNo);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Gender") . "</td>";
echo "<Td>";
$ro->coconutComboBoxStart_long("gender");
echo "<option value='male'>Male</option>";
echo "<option value='female'>Female</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Senior") . "</tD>";
echo "<Td>";
$ro->coconutComboBoxStart_long("seniorCitizen");
<?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&nbsp;</td>";
echo "<Td>";
$ro->coconutTextBox("year", date("Y"));
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutComboBoxStop();
$ro->coconutFormStop();
?>


Beispiel #5
0
<?php

include "../../../myDatabase1.php";
$title = $_GET['title'];
$templateNo = $_GET['templateNo'];
$ro = new database1();
$ro->coconutDesign();
echo "<br>";
echo "<font size=4>TITLE:&nbsp;</font>";
$ro->coconutFormStart("post", "editResultForm1.php");
$ro->coconutTextBox("title", $title);
$ro->coconutHidden("templateNo", $templateNo);
?>

<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>

<?php 
echo "<textarea id='formTemplate' name='formTemplate'>" . $ro->selectNow("labResultList", "template", "templateNo", $templateNo) . "</textarea>";
$ro->coconutFormStop();
?>

<script type="text/javascript">
			
			CKEDITOR.replace( 'formTemplate',
	{
		enterMode : CKEDITOR.ENTER_BR,
		skin : 'office2003',
		extraPlugins:'autogrow'
	});
		
$ro->coconutHidden("bloodpressure", "");
$ro->coconutHidden("patientTemperature", "");
$ro->coconutHidden("weight", "");
$ro->coconutHidden("height", "");
$ro->coconutHidden("company", "");
$ro->coconutHidden("serverTime", "");
$ro->coconutHidden("registrationStatus", "new");
$ro->coconutHidden("casetype", "");
$ro->coconutHidden("dateRegistered", "");
$ro->coconutBoxStart("500", "250");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Last Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("lastname", $ro->getLastName_patientRecord());
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("First Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("firstname", $ro->getFirstName_patientRecord());
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Middle Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("middlename", $ro->getMiddleName_patientRecord());
echo "</td>";
echo "</tr>";
echo "<tr>";
Beispiel #7
0
<?php

include "../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database1();
$ro->getPatientProfile($registrationNo);
$ro->coconutDesign();
echo "<Br><br><Br>";
$ro->coconutFormStart("get", "editTransmitter1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("500", "120");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<tD>Name</tD>";
echo "<td>";
$ro->coconutTextBox("name", $ro->getPatientRecord_completeName());
echo "</tD>";
echo "</tr>";
echo "<tr>";
echo "<tD>Package</tD>";
echo "<td>";
$ro->coconutTextBox_short("package", "");
echo "</tD>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Beispiel #8
0
<?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();
Beispiel #9
0
<?php

include "../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->coconutDesign();
echo "<Br><Br><br>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/manualCharges_insert.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("title", "MEDICINE");
$ro->coconutBoxStart("600", "90");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>Amount&nbsp;&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("amount", "");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Beispiel #10
0
<?php

include "../../myDatabase1.php";
$ro = new database1();
$ro->coconutDesign();
echo "<br><br>";
$ro->coconutFormStart("get", "addPackage1.php");
$ro->coconutBoxStart("500", "150");
echo "<Br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>Package Name&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("packageName", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>Cash Price&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("packagePrice", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>PhilHealth Price&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("phicPrice", "");
echo "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
Beispiel #11
0
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");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Beispiel #12
0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
$ro->coconutFormStart("post", "editPromisorry1.php");
echo "<table border=0>";
echo "<tr>";
echo "<td>Date&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("startDate", $ro->selectNow("promisorryNote", "startDate", "registrationNo", $registrationNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Due Date&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("dueDate", $ro->selectNow("promisorryNote", "dueDate", "registrationNo", $registrationNo));
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Balance&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox_short("balance", $ro->selectNow("promisorryNote", "amount", "registrationNo", $registrationNo));
echo "</td>";
echo "</tr>";
echo "</table>";
Beispiel #13
0
<?php

include "../../myDatabase1.php";
$username = $_GET['username'];
$ro = new database1();
$ro->coconutDesign();
$ro->coconutFormStart("get", "manualSearch1.php");
$ro->coconutHidden("username", $username);
echo "<center><br><Br>";
$ro->coconutTextBox("patientName", "");
echo "<br><br>";
$ro->coconutButton("Search");
$ro->coconutFormStop();
Beispiel #14
0
$ro->coconutHidden("bloodpressure", "");
$ro->coconutHidden("patientTemperature", "");
$ro->coconutHidden("weight", "");
$ro->coconutHidden("height", "");
$ro->coconutHidden("company", "");
$ro->coconutHidden("serverTime", "");
$ro->coconutHidden("registrationStatus", "new");
$ro->coconutHidden("casetype", "");
$ro->coconutHidden("dateRegistered", "");
$ro->coconutBoxStart("500", "250");
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Last Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("lastname", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("First Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("firstname", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Middle Name") . "</tD>";
echo "<Td>";
$ro->coconutTextBox("middlename", "");
echo "</td>";
echo "</tr>";
echo "<tr>";