當前位置: 首頁>>代碼示例>>PHP>>正文


PHP database::gotoPage方法代碼示例

本文整理匯總了PHP中database::gotoPage方法的典型用法代碼示例。如果您正苦於以下問題:PHP database::gotoPage方法的具體用法?PHP database::gotoPage怎麽用?PHP database::gotoPage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在database的用法示例。


在下文中一共展示了database::gotoPage方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: database

<?php

include "../../myDatabase.php";
$comment = $_GET['comment'];
$username = $_GET['username'];
$ro = new database();
if ($comment != "") {
    $ro->addNewNote("", "guest", $username, $comment, date("M d, Y"), $ro->getSynapseTime());
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Homepage/homepage.php");
} else {
    echo "\n<script type='text/javascript'>\nalert('Pls put a message');\nhistory.back();\n</script>\n\n";
}
開發者ID:rickyx12,項目名稱:protacio,代碼行數:12,代碼來源:addComment.php

示例2: database

<?php

include "../../myDatabase.php";
$ro = new database();
$ro->gotoPage("http://www.sourcecodester.com/php/4169/synapse-hospital-system.html");
//$ro->gotoPage("http://www.youtube.com/watch?v=U7ZzjCXEwTU");
開發者ID:rickyx12,項目名稱:mendero,代碼行數:6,代碼來源:sourcecodester1.php

示例3: database

<?php

include "../../myDatabase.php";
$verificationNo = $_GET['verificationNo'];
$requestingDepartment = $_GET['requestingDepartment'];
$requestingBranch = $_GET['requestingBranch'];
$requestTo_department = $_GET['requestTo_department'];
$requestTo_branch = $_GET['requestTo_branch'];
$username = $_GET['username'];
$ro = new database();
$ro->editNow("inventoryManager", "verificationNo", $verificationNo, "status", "DELETED_" . $username);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/showRequestList.php?requestingDepartment={$requestingDepartment}&requestingBranch={$requestingBranch}&requestTo_department={$requestTo_department}&requestTo_branch={$requestTo_branch}&username={$username}");
開發者ID:rickyx12,項目名稱:mendero,代碼行數:12,代碼來源:delete.php

示例4: database

<?php

include "../../myDatabase.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$chargesCode = $_GET['chargesCode'];
$reqdate = $_GET['reqdate'];
$itemNo = $_GET['itemNo'];
$ro = new database();
//ito ung magssabi kung saang result page dapat mappunta based sa subcategory ng charges
if ($ro->selectNow("availableCharges", "subCategory", "chargesCode", $chargesCode) == "hematology") {
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/core2_lab/addHematology.php?registrationNo={$registrationNo}&username={$username}&itemNo={$itemNo}");
} else {
    if ($ro->selectNow("availableCharges", "subCategory", "chargesCode", $chargesCode) == "clinchem") {
        $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/clinChemData.php?registrationNo={$registrationNo}&itemNo={$itemNo}");
    } else {
        if ($ro->selectNow("availableCharges", "subCategory", "chargesCode", $chargesCode) == "urinalysis") {
            $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/urinalysis.php?registrationNo={$registrationNo}&itemNo={$itemNo}");
        } else {
            if ($ro->selectNow("availableCharges", "subCategory", "chargesCode", $chargesCode) == "serology") {
                $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/serologyData.php?registrationNo={$registrationNo}&itemNo={$itemNo}");
            } else {
                if ($ro->selectNow("availableCharges", "subCategory", "chargesCode", $chargesCode) == "fecalysis") {
                    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/fecalysisData.php?registrationNo={$registrationNo}&itemNo={$itemNo}");
                } else {
                }
            }
        }
    }
}
開發者ID:rickyx12,項目名稱:protacio,代碼行數:30,代碼來源:switcher.php

示例5: if

$phicMed_excess = $_GET['phicMed_excess'];
$ro = new database();
$ro->getPatientProfile($registrationNo);
$ro->getPHIClimit_setter($casetype);
if ($phicMed_excess > 0) {
    $ro->getHighestCharges_itemNo("MEDICINE", $registrationNo, $phicMed_excess);
    //phic meds n pnkmataas n phic Covered
    $lesz = $ro->highestCharges_getPHIC() - $phicMed_excess;
    //bbwsan ung may pnkmataas n cashUnpaid
    //echo $phicMed_excess;
    //PRA SA MEDS
    $ro->editNow("patientCharges", "itemNo", $ro->highestCharges_getItemNo(), "phic", $lesz);
    //bbwsan ung cashUnpa
    $ro->editNow("patientCharges", "itemNo", $ro->highestCharges_getItemNo(), "cashUnpaid", $phicMed_excess);
}
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/phicLimit/limitMagic1.php?registrationNo={$registrationNo}&casetype={$casetype}&phicSup_excess={$phicSup_excess}");
/*
else if($phicSup_excess > 0) {
$newPHIC =  $phicSup_excess - $ro->getPHIClimit_supplies();
$ro->editNow("patientCharges","itemNo",$ro->getHighestCharges_itemNo("SUPPLIES","phic",$registrationNo),"phic",$ro->getPHIClimit_supplies());
$newCASH_sup = $ro->getTotal("cashUnpaid","",$registrationNo) + $phicSup_excess;
$ro->editNow("patientCharges","itemNo",$ro->getHighestCharges_itemNo("SUPPLIES","phic",$registrationNo),"cashUnpaid",$newCASH_sup);
}else {
}
if($phicSup_excess > 0) {
$newPHIC =  $phicSup_excess - $ro->getPHIClimit_supplies();
$ro->editNow("patientCharges","itemNo",$ro->getHighestCharges_itemNo("SUPPLIES","phic",$registrationNo),"phic",$ro->getPHIClimit_supplies());
$newCASH_sup = $ro->getTotal("cashUnpaid","",$registrationNo) + $phicSup_excess;
$ro->editNow("patientCharges","itemNo",$ro->getHighestCharges_itemNo("SUPPLIES","phic",$registrationNo),"cashUnpaid",$newCASH_sup);
}
*/
開發者ID:rickyx12,項目名稱:protacio,代碼行數:31,代碼來源:limitMagic+(copy).php

示例6: database

<?php

include "../../../myDatabase.php";
$unlockNo = $_GET['unlockNo'];
$username = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$ro = new database();
$ro->editNow("pxUnlocked", "unlockNo", $unlockNo, "timeClosed", $ro->getSynapseTime());
$ro->editNow("pxUnlocked", "unlockNo", $unlockNo, "dateClosed", date("Y-m-d"));
$ro->editNow("pxUnlocked", "unlockNo", $unlockNo, "status", "Closed");
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/currentPatient/locked/showLocked.php?registrationNo={$registrationNo}&username={$username}");
開發者ID:rickyx12,項目名稱:protacio,代碼行數:11,代碼來源:unlock.php

示例7: database

$sellingPrice = $_GET['sellingPrice'];
$discount = $_GET['discount'];
$timeCharge = $_GET['timeCharge'];
$room = $_GET['room'];
$chargeBy = $_GET['chargeBy'];
$service = $_GET['service'];
$title = $_GET['title'];
$paidVia = $_GET['paidVia'];
$cashPaid = $_GET['cashPaid'];
$batchNo = $_GET['batchNo'];
$username = $_GET['username'];
$inventoryFrom = $_GET['inventoryFrom'];
$ro = new database();
echo "\n<style type='text/css'>\n.qty {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:25px;\n\twidth: 100px;\n\tpadding:4px 4px 4px 10px;\n}\n\n</style>\n\n";
if ($ro->selectNow("availableCharges", "subCategory", "chargesCode", $chargesCode) == "ambulance") {
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/availableMisc/ambulanceQty.php?status={$status}&registrationNo={$registrationNo}&chargesCode={$chargesCode}&description={$description}&sellingPrice={$sellingPrice}&discount={$discount}&timeCharge={$timeCharge}&room={$room}&chargeBy={$chargeBy}&service={$service}&title={$title}&paidVia={$paidVia}&cashPaid={$cashPaid}&batchNo={$batchNo}&username={$username}&inventoryFrom={$inventoryFrom}");
} else {
    //addCharges.php
    echo "<br><Br><Br>";
    echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/availableCharges/addCharges.php'>";
    echo "<center><div style='border:1px solid #000000; width:400px; height:100px;\t'>";
    echo "<br><table border=0 cellpadding=0 cellspacing=0>";
    echo "<tr>";
    echo "<td><font size=4>Quantity:</font></td>";
    echo "<td><input type=text class='qty' name='quantity' value='1'></td>";
    echo "</tr>";
    echo "<tr><td>&nbsp;</td></tr>";
    echo "<tr>";
    echo "<td><input type='button' class='button' value=' Back  '\nonClick='javascript: history.go(-1)' style='border:1px solid #000000; background-color:transparent;'></td>";
    echo "<td>&nbsp;&nbsp;</td>";
    echo "<td><input type=submit value='Proceed' style='border:1px solid #000000; background-color:transparent; color:red; height:20px;'></td>";
開發者ID:rickyx12,項目名稱:mendero,代碼行數:31,代碼來源:quantityMisc.php

示例8: database

<?php

include "../../../myDatabase.php";
$stockCardNo = $_GET['stockCardNo'];
$description = $_GET['description'];
$genericName = $_GET['genericName'];
$startLetter = $_GET['startLetter'];
$ro = new database();
$ro->editNow("inventoryStockCard", "stockCardNo", $stockCardNo, "description", $description);
$ro->editNow("inventoryStockCard", "stockCardNo", $stockCardNo, "genericName", $genericName);
$ro->editNow("inventory", "stockCardNo", $stockCardNo, "description", $description);
$ro->editNow("inventory", "stockCardNo", $stockCardNo, "genericName", $genericName);
$ro->editNow("patientCharges", "stockCardNo", $stockCardNo, "description", $description);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/inventory/stockCard/stockCardList.php?startLetter={$startLetter}");
開發者ID:rickyx12,項目名稱:protacio,代碼行數:14,代碼來源:rename1.php

示例9: database

<?php

include "../../myDatabase.php";
$itemNo = $_GET['itemNo'];
$username = $_GET['username'];
$ro = new database();
$ro->deleteNow("forDeletion", "itemNo", $itemNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/ADMIN/requestDelete_update.php?username={$username}");
開發者ID:rickyx12,項目名稱:protacio,代碼行數:8,代碼來源:cancelRequest.php

示例10: database

include "../myDatabase.php";
$inventoryCode = $_POST['inventoryCode'];
$refNo = $_POST['refNo'];
$description = $_POST['description'];
$generic = $_POST['generic'];
$unitcost = $_POST['unitcost'];
$qty = $_POST['qty'];
$fgqty = $_POST['fgqty'];
$unit = $_POST['unit'];
$sino = $_POST['sino'];
$page = $_POST['page'];
$username = $_POST['username'];
$ro = new database();
$ro->editNow("salesInvoiceItems", "refNo", $refNo, "description", $description);
$ro->editNow("inventory", "inventoryCode", $inventoryCode, "description", $description);
$ro->editNow("inventory", "inventoryCode", $inventoryCode, "genericName", $generic);
$ro->editNow("salesInvoiceItems", "refNo", $refNo, "unitPrice", $unitcost);
if ($ro->selectNow("inventory", "inventoryType", "inventoryCode", $inventoryCode) == "medicine") {
    $ro->editNow("inventory", "inventoryCode", $inventoryCode, "unitcost", $unitcost);
} else {
    $ro->editNow("invnetory", "inventoryCode", $inventoryCode, "suppliesUNITCOST", $unitcost);
}
$ro->editNow("salesInvoiceItems", "refNo", $refNo, "quantity", $qty);
$ro->editNow("salesInvoiceItems", "refNo", $refNo, "fgquantity", $fgqty);
$ro->editNow("inventory", "inventoryCode", $inventoryCode, "quantity", $qty);
$ro->editNow("inventory", "inventoryCode", $inventoryCode, "fgQuantity", $fgqty);
$ro->editNow("salesInvoiceItems", "refNo", $refNo, "unit", $unit);
$ro->editNow("inventory", "inventoryCode", $inventoryCode, "preparation", $unit);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/Purchasing/CreatedReceivingReport.php?username={$username}&sino={$sino}&page={$page}&username={$username}");
開發者ID:rickyx12,項目名稱:protacio,代碼行數:29,代碼來源:editPurchasing1.php

示例11: database

$day2 = $_GET['day2'];
$year2 = $_GET['year2'];
$timeCharge2 = $_GET['timeCharge2'];
$chargeBy2 = $_GET['chargeBy2'];
$service2 = $_GET['service2'];
$title2 = $_GET['title2'];
$paidVia2 = $_GET['paidVia2'];
$cashPaid2 = $_GET['cashPaid2'];
$batchNo2 = $_GET['batchNo2'];
$username2 = $_GET['username2'];
$discount2 = $_GET['discount2'];
$inventoryFrom2 = $_GET['inventoryFrom2'];
$room2 = $_GET['room2'];
$paycash2 = $_GET['paycash2'];
$remarks2 = $_GET['remarks2'];
$ro = new database();
if ($classification == "noInventory") {
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/addMe.php?status={$status}&registrationNo={$registrationNo}&chargesCode={$chargesCode}&description={$description}&sellingPrice={$sellingPrice}&discount={$discount}&timeCharge={$timeCharge}&room={$room}&chargeBy={$chargeBy}&service={$service}&title={$title}&paidVia={$paidVia}&cashPaid={$cashPaid}&batchNo={$batchNo}&username={$username}&inventoryFrom={$inventoryFrom}&paycash={$paycash}&remarks=&quantity=1&month=" . date("m") . "&day=" . date("d") . "&year=" . date("Y") . "");
} else {
    if ($chargesCode == '' && $description == '') {
        $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/addCharges_cash.php?status={$status2}&quantity={$qty2}&registrationNo={$registrationNo2}&chargesCode={$chargesCode2}&description={$description2}&sellingPrice={$sellingPrice2}&month={$month2}&day={$day2}&year={$year2}&timeCharge={$timeCharge2}&chargeBy={$chargeBy2}&service={$service2}&title={$title2}&paidVia={$paidVia2}&cashPaid={$cashPaid2}&batchNo={$batchNo2}&username={$username2}&discount={$discount2}&inventoryFrom={$inventoryFrom2}&room={$room2}&paycash={$paycash2}&remarks={$remarks2}");
    } else {
        if ($ro->selectNow("inventory", "quantity", "inventoryCode", $chargesCode) < 1) {
            $ro->getBack("Sorry, Out of Stock");
        }
        echo "\n<style type='text/css'>\n.qty {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:25px;\n\twidth: 100px;\n\tpadding:4px 4px 4px 10px;\n}\n\n</style>\n\n";
        //addCharges.php
        echo "<br><Br><Br>";
        $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/availableCharges/addChargesSyringe.php?quantity=1&status={$status}&registrationNo={$registrationNo}&chargesCode={$chargesCode}&description={$description}&sellingPrice={$sellingPrice}&timeCharge={$timeCharge}&chargeBy={$chargeBy}&service={$service}&title={$title}&paidVia={$paidVia}&cashPaid={$cashPaid}&batchNo={$batchNo}&username={$username}&discount={$discount}&inventoryFrom={$inventoryFrom}&room={$room}&paycash={$paycash}&remarks={$remarks}&status2={$status2}&qty2={$qty2}&registrationNo2={$registrationNo2}&chargesCode2={$chargesCode2}&description2={$description2}&sellingPrice2={$sellingPrice2}&month2={$month2}&day2={$day2}&year2={$year2}&timeCharge2={$timeCharge2}&chargeBy2={$chargeBy2}&service2={$service2}&title2={$title2}&paidVia2={$paidVia2}&cashPaid2={$cashPaid2}&batchNo2={$batchNo2}&username2={$username2}&discount2={$discount2}&inventoryFrom2={$inventoryFrom2}&room2={$room2}&paycash2={$paycash2}&remarks2={$remarks2}");
    }
}
開發者ID:rickyx12,項目名稱:protacio,代碼行數:31,代碼來源:quantitySyringe.php

示例12: database

<?php

include "../../myDatabase.php";
$inventoryCode = $_POST['inventoryCode'];
$markup = $_POST['markup'];
$ro = new database();
for ($a = 0, $b = 0; $a < count($inventoryCode), $b < count($markup); $a++, $b++) {
    $ro->editNow("inventory", "inventoryCode", $inventoryCode[$a], "unitcost", $markup[$b]);
}
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Reports/markupPrice.php");
開發者ID:rickyx12,項目名稱:mendero,代碼行數:10,代碼來源:markupPrice1.php

示例13: database

<?php

include "../../myDatabase.php";
$casetype = $_GET['casetype'];
$medicine = $_GET['medicine'];
$supplies = $_GET['supplies'];
$room = $_GET['room'];
$pf = $_GET['pf'];
$suppliesOnly = $_GET['suppliesOnly'];
$username = $_GET['username'];
$ro = new database();
$ro->editNow("phicLimit", "casetype", $casetype, "medicine", $medicine);
$ro->editNow("phicLimit", "casetype", $casetype, "supplies", $supplies);
$ro->editNow("phicLimit", "casetype", $casetype, "room", $room);
$ro->editNow("phicLimit", "casetype", $casetype, "pf", $pf);
$ro->editNow("phicLimit", "casetype", $casetype, "suppliesOnly", $suppliesOnly);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/casetype/showCasetype.php?username={$username}");
開發者ID:rickyx12,項目名稱:protacio,代碼行數:17,代碼來源:editCasetype1.php

示例14: database

<?php

include "../../../myDatabase.php";
$itemNo = $_GET['itemNo'];
$batchNo = $_GET['batchNo'];
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database();
if ($ro->selectNow("inventory", "autoDispense", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo)) == "yes") {
    echo "<script type='text/javascript'>alert('You cannot delete that meds/sup here its already dispensed pls return instead in Medicine menu');</script>";
} else {
    //$ro->deleteNow("patientCharges","itemNo",$itemNo);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "status", "DELETED_" . $username);
}
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/android/mobileECART/showCart_update.php?registrationNo={$registrationNo}&batchNo={$batchNo}&username={$username}");
開發者ID:rickyx12,項目名稱:protacio,代碼行數:15,代碼來源:deleteCart.php

示例15: database

<?php

include "../../../myDatabase.php";
$registrationNo = $_GET['registrationNo'];
$advised = $_GET['advised'];
$followUp = $_GET['followUp'];
$ro = new database();
$ro->editNow("registrationDetails", "registrationNo", $registrationNo, "advised", $advised);
$ro->editNow("registrationDetails", "registrationNo", $registrationNo, "followUp", $followUp);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/newPlan.php?registrationNo={$registrationNo}");
開發者ID:rickyx12,項目名稱:protacio,代碼行數:10,代碼來源:advised.php


注:本文中的database::gotoPage方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。