当前位置: 首页>>代码示例>>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;未经允许,请勿转载。