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


PHP database4类代码示例

本文整理汇总了PHP中database4的典型用法代码示例。如果您正苦于以下问题:PHP database4类的具体用法?PHP database4怎么用?PHP database4使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: database

<?php

include "../../myDatabase.php";
include "../../myDatabase4.php";
$ro = new database();
$ro4 = new database4();
$ro4->ending_inventory_list();
?>
<!doctype html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<script src="../../jquery-2.1.4.min.js"></script>
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<script src="../../bootstrap-3.3.6/js/bootstrap.js"></script>	

		<script>
			$(document).ready(function(){
				$("#medicineBtn").click(function(){
					window.location = "inventory-ending-comparison-medicine.php";
				});
			});
		</script>

	</head>
	<body>
		<div class="container">
			<h3>Ending Inventory Supplies</h3>
			<div class="btn-group">
				<button id="medicineBtn" type="button" class="btn btn-default">Medicine</button>
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:inventory-ending-comparison-supplies.php

示例2: database

<?php

require_once "../authentication.php";
include "../../myDatabase.php";
include "../../myDatabase4.php";
$inventoryLocation = $_POST['inventoryLocation'];
$batchNo = $_POST['batchNo'];
$registrationNo = $_POST['registrationNo'];
$pharmacyClass = "";
$nursingClass = "";
$orClass = "";
$erClass = "";
$ro = new database();
$ro4 = new database4();
$ro4->charges_cart($batchNo, $registrationNo);
if ($inventoryLocation == "PHARMACY") {
    $pharmacyClass = "btn btn-success";
} else {
    $pharmacyClass = "btn btn-default";
}
if ($inventoryLocation == "NURSING") {
    $nursingClass = "btn btn-success";
} else {
    $nursingClass = "btn btn-default";
}
if ($inventoryLocation == "OR") {
    $orClass = "btn btn-success";
} else {
    $orClass = "btn btn-default";
}
if ($inventoryLocation == "E.R") {
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:dept-charges.php

示例3: database

<?php

require_once "../authentication.php";
include "../../myDatabase.php";
include "../../myDatabase4.php";
$desc = $_POST['desc'];
$inventoryLocation = $_POST['inventoryLocation'];
$batchNo = $_POST['batchNo'];
$registrationNo = $_POST['registrationNo'];
$ro = new database();
$ro4 = new database4();
$ro4->search_inventory($desc, $inventoryLocation);
?>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../js/open.js"></script>
		<script src="../js/jquery.jstepper.min.js"></script>
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<script>
		
			$(document).ready(function(){

				<?php 
foreach ($ro4->search_inventory_inventoryCode() as $inventoryCode) {
    ?>

					var qty = "<?php 
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:dept-charges-search.php

示例4: database

<?php

include "../../myDatabase.php";
include "../../myDatabase4.php";
?>

<?php 
$date1 = $_GET['date1'];
$date2 = $_GET['date2'];
$phicTotal = 0;
$ro = new database();
$ro4 = new database4();
$ro4->inpatient_discharged($date1, $date2);
?>
<!DOCTYPE html>
<html>
	<head>
		<title></title>
		<meta charset="UTF-8">
		<script src="../../jquery-2.1.4.min.js"></script>
		<script src="../js/jquery-ui.min.js"></script>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<link rel="stylesheet" href="../js/jquery-ui.css"></link>
		<link rel="stylesheet" href="../js/jquery-ui.theme.min.css"></link>	

		<script>
			$(document).ready(function(){
				$(".date").datepicker({
					dateFormat:'yy-mm-dd',
				});
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:transactionSummary_ipdPHIC.php

示例5: database

<?php

include "../../../myDatabase.php";
include "../../../myDatabase4.php";
$chargesCode = $_POST['chargesCode'];
$date1 = $_POST['date1'];
$date2 = $_POST['date2'];
$ro = new database();
$ro4 = new database4();
$price = $ro->selectNow("availableCharges", "WARD", "chargesCode", $chargesCode);
$census = $ro4->count_charges($chargesCode, $date1, $date2, "IPD");
//if( $census > 0 ) {
echo $census . "-" . number_format($price * $census, 2);
//}else {
//echo " - ";
//}
开发者ID:rickyx12,项目名称:protacio,代码行数:16,代码来源:charges-census-count-ipd.php

示例6: database3

<?php

include "../../myDatabase3.php";
include "../../myDatabase4.php";
$date1 = $_GET['date1'];
$date2 = $_GET['date2'];
$totalCr = 0;
?>

<?php 
$ro3 = new database3();
$ro4 = new database4();
?>

<?php 
$ro3->creditCardPatient($date1, $date2);
?>

<!DOCTYPE html>
<html>
	<head>
		<title></title>
		<meta charset="UTF-8">
		<script src="../../jquery-2.1.4.min.js"></script>
		<script src="../js/jquery-ui.min.js"></script>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<link rel="stylesheet" href="../js/jquery-ui.css"></link>
		<link rel="stylesheet" href="../js/jquery-ui.theme.min.css"></link>	

开发者ID:rickyx12,项目名称:protacio,代码行数:29,代码来源:transactionSummary_creditCard.php

示例7: database

<?php

require_once "../authentication.php";
include "../../myDatabase.php";
include "../../myDatabase4.php";
$ro = new database();
$ro4 = new database4();
?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>Emergency Room</title>
		<script src="../js/jquery-2.1.4.min.js"></script>
		<script src="../js/jquery-ui.min.js"></script>
		<script src="../js/jquery.fixedMenu.js"></script>
		<script src="../js/open.js"></script>
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<link rel="stylesheet" href="../../Registration/menu/fixedMenu_style1.css"></link>
		<link rel="stylesheet" href="../myCSS/jquery-ui.css"></link>
		<link rel="stylesheet" href="../myCSS/breadcrumb.css"></link>

		<script>
			$(document).ready(function(){
				$(".menu").fixedMenu();


				$("#searchPx").click(function(){
					var data = {
						username:'<?php 
echo $ro->selectNow('registeredUser', 'username', 'employeeID', $_SESSION['employeeID']);
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:erMainpage.php

示例8: session_start

<?php

include "../../myDatabase4.php";
include "../../myDatabase.php";
session_start();
$ro = new database4();
$ro1 = new database();
$ro->inventory_list("medicine");
?>
<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<script src="../../jquery-2.1.4.min.js"></script>
	<script src="../js/jquery-ui.min.js"></script>
	<script src="../js/jquery.tooltipster.min.js"></script>
	<script src="../../bootstrap-3.3.6/js/bootstrap.js"></script>
	<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
	<link rel="stylesheet" href="../js/jquery-ui.css"></link>
	<link rel="stylesheet" href="../js/jquery-ui.theme.min.css"></link> 
	<link rel="stylesheet" href="../myCSS/tooltipster.css"></link> 
	<link rel="stylesheet" href="../myCSS/tooltipster-noir.css"></link>	

	<script>
		$(document).ready(function(){

			<?php 
foreach ($ro->inventory_list_inventoryCode() as $inventoryCode) {
    ?>
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:medicine-new.php

示例9: date

<?php 
if (isset($_POST['year'])) {
    $year = $_POST['year'];
} else {
    $year = date("Y");
}
?>

<?php 
$wordMonth = array("01" => "January", "02" => "February", "03" => "March", "04" => "April", "05" => "May", "06" => "June", "07" => "July", "08" => "August", "09" => "September", "10" => "October", "11" => "November", "12" => "December");
?>

<?php 
$ro = new database();
$ro4 = new database4();
?>

<?php 
$balanceTotal = 0;
?>

<?php 
$ro4->inpatient_discharged($year . "-" . $month . "-01", $year . "-" . $month . "-31");
?>

<!DOCTYPE html>
	<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:ipdBalance.php

示例10: database

<?php

include "../../myDatabase.php";
include "../../myDatabase4.php";
$title = $_GET['title'];
$ro = new database();
$ro4 = new database4();
$ro4->charges_list($title);
?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../js/jquery-2.1.4.min.js"></script>
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<script>
			$(document).ready(function(){
				var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);

				if( isChrome == true ) {
					$("#export").click(function(){
						var data='<table>'+$("#chargesList").html().replace(/<a\/?[^>]+>/gi, '')+'</table>';
						var reportName = '<?php 
echo $title . ' [' . $ro4->formatDate(date('Y-m-d')) . ']';
?>
';	

						$('body').prepend("<form method='post' action='../../export-to-excel/exporttoexcel.php' style='display:none' id='ReportTableData'><input type='text' name='tableData' value='"+data+"' ><input type='text' name='reportName' value='"+reportName+"'></form>");
						$('#ReportTableData').submit().remove();
						return false;	
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:charges-list.php

示例11: database

<?php

require_once "../authentication.php";
include "../../myDatabase.php";
include "../../myDatabase4.php";
$invoiceNo = $_POST['invoiceNo'];
$supplier = $_POST['supplier'];
$terms = $_POST['terms'];
$date = $_POST['date'];
$ro = new database();
$ro4 = new database4();
$purchaseDate = date("Ymd");
$counterDate = $ro->selectNow("counters", "counterDate", "id", "1");
$counter01 = $ro->selectNow("counters", "counter01", "id", "1");
if ($purchaseDate != $counterDate) {
    $ro->editNow("counters", "id", "1", "counterDate", $purchaseDate);
    $ro->editNow("counters", "id", "1", "counter01", "0");
} else {
    $newCounter01 = $counter01 + 1;
    $ro->editNow("counters", "counterdate", $purchaseDate, "counter01", $newCounter01);
}
if ($counter01 < 10) {
    $sino = date("Ymd") . "000" . $counter01;
} else {
    if ($counter01 > 9 && $counter01 < 100) {
        $sino = date("Ymd") . "00" . $counter01;
    } else {
        if ($counter01 > 99 && $counter01 < 1000) {
            $sino = date("Ymd") . "0" . $counter01;
        } else {
            $sino = date("Ymd") . $counter01;
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:add-invoice1.php

示例12: database2

$opd_medicine = $_POST['opd_medicine'];
$opd_supplies = $_POST['opd_supplies'];
$opd_spyrometry = $_POST['opd_spyrometry'];
$opd_derma = $_POST['opd_derma'];
$opd_others = $_POST['opd_others'];
$opd_OR = $_POST['opd_OR'];
$opd_PT = $_POST['opd_PT'];
$opd_OT = $_POST['opd_OT'];
$opd_ST = $_POST['opd_ST'];
$opd_cardiacMonitor = $_POST['opd_cardiacMonitor'];
$opd_PF_payable = $_POST['opd_PF_payable'];
$opd_misc = $_POST['opd_misc'];
$opd_OT_payables = $_POST['opd_OT_payables'];
$opd_ST_payables = $_POST['opd_ST_payables'];
$ro2 = new database2();
$ro4 = new database4();
$lab;
$labTotal = 0;
$xray;
$xrayTotal = 0;
$utz;
$utzTotal = 0;
$ctscan;
$ctscanTotal = 0;
$ecg;
$ecgTotal = 0;
$erfee;
$erfeeTotal = 0;
$or;
$orTotal = 0;
$misc;
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:inpatient-total.php

示例13: database

<?php

include "../../myDatabase.php";
include "../../myDatabase4.php";
$ro = new database();
$ro4 = new database4();
$ro4->inventory_list("supplies");
?>
<!doctype html>
<html>
	<head>
		<title>Movement</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<script src="../../jquery-2.1.4.min.js"></script>
	<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
	<script src="../../bootstrap-3.3.6/js/bootstrap.js"></script>

	<script>
		$(document).ready(function() {
			$("#medicineBtn").click(function(){
				window.location = "movement-medicine.php";
				//console.log("123");
			});
		});
	</script>

	</head>
	<body>
		<div class="container">
			<div class="row">
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:movement-supplies.php

示例14: database4

<?php

include "../../myDatabase4.php";
include "../../myDatabase.php";
$ro = new database4();
$ro1 = new database();
$reportDate;
if (isset($_POST["date"])) {
    $reportDate = $_POST["date"];
} else {
    $reportDate = date("Y-m-d");
}
?>
<!doctype html>
<html>
	<head>
		<title>HMO SHIFTING</title>
		<script language="javascript" src="../js/jquery-2.1.4.min.js"></script>
		<script langugae="javascript" src="../js/jquery-ui.min.js"></script>
		<script language="javascript" src="../../bootstrap-3.3.6/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<link rel="stylesheet" href="../js/jquery-ui.css"></link>
		<link rel="stylesheet" href="../js/jquery-ui.theme.min.css"></link>
		<style>
			#patientName {
				text-decoration: none;
				color:black;
			}
		</style>
		<script>
			$(document).ready(function() {
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:hmoPatient.php

示例15: database

<?php

include "../../myDatabase.php";
include "../../myDatabase4.php";
$inventoryType = $_GET['inventoryType'];
$year = "2016";
$totalItems = 0;
$firstQuarterTotal = 0;
$secondQuarterTotal = 0;
$thirdQuarterTotal = 0;
$fourthQuarterTotal = 0;
//$inventoryType = "medicine"
$ro = new database();
$ro4 = new database4();
$ro4->stock_card_list($inventoryType);
?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<script src="../../jquery-2.1.4.min.js"></script>
		<script src="../js/jquery.tooltipster.min.js"></script>
		<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
		<script src="../../bootstrap-3.3.6/js/bootstrap.js"></script>	 
		<link rel="stylesheet" href="../myCSS/tooltipster.css"></link> 
		<link rel="stylesheet" href="../myCSS/tooltipster-noir.css"></link>	
		
		<script>
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:inventory-list-stockcard.php


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