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


PHP database2::gotoPage方法代码示例

本文整理汇总了PHP中database2::gotoPage方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::gotoPage方法的具体用法?PHP database2::gotoPage怎么用?PHP database2::gotoPage使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在database2的用法示例。


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

示例1: date

<?php

include "../../../myDatabase2.php";
$username = $_POST['username'];
$registrationNo = $_POST['registrationNo'];
$ro = new database2();
$ro->addPermission($registrationNo, $ro->getSynapseTime(), date("Y-m-d"), $username);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/currentPatient/locked/showLocked.php?registrationNo={$registrationNo}&username={$username}");
开发者ID:rickyx12,项目名称:protacio,代码行数:8,代码来源:addPermission.php

示例2:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$package = $_GET['package'];
$ro = new database2();
$ro->editNow("registrationDetails", "registrationNo", $registrationNo, "prePackage", $package);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_handler.php?registrationNo={$registrationNo}&username={$username}");
开发者ID:rickyx12,项目名称:protacio,代码行数:9,代码来源:select_prePackage1.php

示例3:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$description = $_GET['description'];
$quantity = $_GET['quantity'];
$username = $_GET['username'];
$show = $_GET['show'];
$desc = $_GET['desc'];
$ro = new database2();
/*
if( ($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES")  && $ro->selectNow("registeredUser","module","username",$username) != "PHARMACY" ) {
echo "<br><Br><Br><font color=red>PHARMACY NA LANG MAG RERETURN.
<bR>
NAHIYA AKO SAYO EH BKA BUSY KA. =)</font>";
*/
//}else {
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/verifyDelete_redirect.php?registrationNo={$registrationNo}&itemNo={$itemNo}&description={$description}&quantity={$quantity}&username={$username}&show={$show}&desc={$desc}");
//}
开发者ID:rickyx12,项目名称:protacio,代码行数:20,代码来源:verifyDelete_redirect_checkAllow.php

示例4:

<?php

include "../../../myDatabase2.php";
$templateNo = $_POST['templateNo'];
$ro = new database2();
$ro->deleteNow("labResultList", "templateNo", $templateNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/resultList/resultFormMasterfile.php");
开发者ID:rickyx12,项目名称:protacio,代码行数:7,代码来源:deleteTemplate1.php

示例5: DateTime

$itemNo = $_GET['itemNo'];
$dateIn = $_GET['dateIn'];
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$username = $_GET['username'];
$ro = new database2();
$dateOut = $year . "-" . $month . "-" . $day;
$out = new DateTime($dateOut);
$in = new DateTime($dateIn);
$days = $out->diff($in)->d;
if ($ro->selectNow("patientCharges", "phic", "itemNo", $itemNo) < 1) {
    $ro->editNow("patientCharges", "itemNo", $itemNo, "quantity", $days);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "total", $ro->selectNow("patientCharges", "sellingPrice", "itemNo", $itemNo) * $days);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "cashUnpaid", $ro->selectNow("patientCharges", "sellingPrice", "itemNo", $itemNo) * $days);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "phic", "0");
    $ro->editNow("patientCharges", "itemNo", $itemNo, "company", "0");
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=Room and Board&username={$username}&show=&desc=");
} else {
    $cashUnpaid = $ro->selectNow("patientCharges", "cashUnpaid", "itemNo", $itemNo);
    $hmo = $ro->selectNow("patientCharges", "company", "itemNo", $itemNo);
    $philhealth = $ro->selectNow("patientCharges", "phic", "itemNo", $itemNo);
    $newTotal = $ro->selectNow("patientCharges", "sellingPrice", "itemNo", $itemNo) * $days;
    $ro->editNow("patientCharges", "itemNo", $itemNo, "quantity", $days);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "total", $newTotal);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "cashUnpaid", $newTotal - $philhealth);
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=Room and Board&username={$username}&show=&desc=");
}
?>
t
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:computeDays1.php

示例6: date

<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$phicPaymentNo = $_GET['phicPaymentNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->editNow("phicPayment", "phicPaymentNo", $phicPaymentNo, "status", "DELETED_" . $username . "_" . date("Y-m-d"));
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/Payments/viewPHICPayment.php?registrationNo={$registrationNo}&username={$username}");
开发者ID:rickyx12,项目名称:mendero,代码行数:9,代码来源:deletePHICPayment1.php

示例7:

<?php

include "../../myDatabase2.php";
$packageNo = $_GET['packageNo'];
$packageName = $_GET['packageName'];
$price = $_GET['price'];
$ro = new database2();
$ro->editNow("hospitalPackage", "packageNo", $packageNo, "Added", $price);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/hospitalPackage/showAddedPackage_update.php?packageName={$packageName}");
开发者ID:rickyx12,项目名称:protacio,代码行数:9,代码来源:editItem1.php

示例8:

$cashUnpaid = $_GET['cashUnpaid'];
$doctorsPF = $_GET['doctorsPF'];
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$fromTime_hour = $_GET['fromTime_hour'];
$fromTime_minutes = $_GET['fromTime_minutes'];
$fromTime_seconds = $_GET['fromTime_seconds'];
$toTime_hour = $_GET['toTime_hour'];
$toTime_minutes = $_GET['toTime_minutes'];
$toTime_seconds = $_GET['toTime_seconds'];
$username = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$shift = $_GET['shift'];
$ro = new database2();
$totalz = $cashUnpaid + $doctorsPF;
if ($totalz == $total) {
    if ($ro->selectNow("patientCharges", "title", "itemNo", $itemNo) == "PROFESSIONAL FEE") {
        $ro->editNow("patientCharges", "itemNo", $itemNo, "sellingPrice", $sellingPrice . "/" . $sellingPrice);
    } else {
        $ro->editNow("patientCharges", "itemNo", $itemNo, "sellingPrice", $sellingPrice);
    }
    $ro->editNow("patientCharges", "itemNo", $itemNo, "quantity", $quantity);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "total", $total);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "cashUnpaid", $cashUnpaid);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "company", $doctorsPF);
} else {
    $ro->getBack("ERROR!");
}
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/Cashier/patientUnpaidChargesCompany.php?month={$month}&day={$day}&year={$year}&fromTime_hour={$fromTime_hour}&fromTime_minutes={$fromTime_minutes}&fromTime_seconds={$fromTime_seconds}&toTime_hour={$toTime_hour}&toTime_minutes={$toTime_minutes}&toTime_seconds={$toTime_seconds}&username={$username}&registrationNo={$registrationNo}&shift={$shift}");
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:editChargesCashier1.php

示例9:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$description = $_GET['description'];
$quantity = $_GET['quantity'];
$username = $_GET['username'];
$show = $_GET['show'];
$desc = $_GET['desc'];
$ro = new database2();
//if( ($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES")  && $ro->selectNow("registeredUser","module","username",$username) != "PHARMACY" ) {
//echo "<br><Br><Br><font color=red>PHARMACY NA LANG MAG RERETURN.
//<bR>
//NAHIYA AKO SAYO EH BKA BUSY KA. =)</font>";
//}else {
//}
if ($ro->selectNow("patientCharges", "inventoryFrom", "itemNo", $itemNo) != "PHARMACY" && $ro->selectNow("patientCharges", "inventoryFrom", "itemNo", $itemNo) != "CSR") {
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/itemDepartment.php?itemNo={$itemNo}&username={$username}&return=main");
} else {
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/verifyDelete_redirect_checkAllow.php?registrationNo={$registrationNo}&itemNo={$itemNo}&description={$description}&quantity={$quantity}&username={$username}&show={$show}&desc={$desc}");
}
开发者ID:rickyx12,项目名称:mendero,代码行数:22,代码来源:verifyDelete_pass_checkAllow.php

示例10:

<?php

include "../../../myDatabase2.php";
$inventoryCode = $_GET['inventoryCode'];
$department = $_GET['department'];
$description = $_GET['description'];
$date = $_GET['date'];
$time = $_GET['time'];
$username = $_GET['username'];
$qty = $_GET['qty'];
$ro = new database2();
$newQTY = $ro->selectNow("inventory", "quantity", "inventoryCode", $inventoryCode) - $qty;
$ro->editNow("inventory", "inventoryCode", $inventoryCode, "quantity", $newQTY);
$ro->addConsumed($inventoryCode, $department, $qty, $description, $date, $time, $username);
echo "<script>alert('{$qty} pcs of {$description} is now Consumed and deducted to the inventory ')</script>";
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/inventory/department/searchInventory.php?username={$username}&department={$department}");
开发者ID:rickyx12,项目名称:mendero,代码行数:16,代码来源:inventoryLog.php

示例11: date

<?php

include "../../myDatabase2.php";
$itemNo = $_GET['itemNo'];
$username = $_GET['username'];
$return = $_GET['return'];
$ro = new database2();
$ro->editNow("patientCharges", "itemNo", $itemNo, "status", "DELETED_" . $username . "[" . date("Y-m-d") . "@" . date("H:i:s") . "]");
$ro->editNow("inventory", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo), "quantity", $ro->selectNow("patientCharges", "quantity", "itemNo", $itemNo) + $ro->selectNow("inventory", "quantity", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo)));
$ro->editNow("inventory", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo), "status", "");
$registrationNo = $ro->selectNow("patientCharges", "registrationNo", "itemNo", $itemNo);
$batchNo = $ro->selectNow("patientCharges", "batchNo", "itemNo", $itemNo);
if ($return == "main") {
    $title = $ro->selectNow("patientCharges", "title", "itemNo", $itemNo);
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title={$title}&username={$username}&show=&desc=");
} else {
    $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/ECART/showCart_update.php?registrationNo={$registrationNo}&batchNo={$batchNo}&username={$username}");
}
开发者ID:rickyx12,项目名称:mendero,代码行数:18,代码来源:itemDepartment.php

示例12:

<?php

include "../../myDatabase2.php";
$verificationNo = $_POST['verificationNo'];
$quantity = $_POST['quantity'];
$username = $_POST['username'];
$batchNo = $_POST['batchNo'];
$ro = new database2();
$ro->editNow("inventoryManager", "verificationNo", $verificationNo, "quantity", $quantity);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/CSR/showRequest.php?username={$username}&batchNo={$batchNo}");
开发者ID:rickyx12,项目名称:mendero,代码行数:10,代码来源:editItem1.php

示例13:

<?php

include "../../../myDatabase2.php";
$itemNo = $_POST['itemNo'];
$registrationNo = $_POST['registrationNo'];
$ro = new database2();
$ro->deleteNow("patientCharges", "itemNo", $itemNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/viewHospitalCharges.php?registrationNo={$registrationNo}");
开发者ID:rickyx12,项目名称:protacio,代码行数:8,代码来源:deleteCharges1.php

示例14:

<?php

include "../../../myDatabase2.php";
$verificationNo = $_GET['verificationNo'];
$batchNo = $_GET['batchNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->deleteNow("inventoryManager", "verificationNo", $verificationNo);
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/requestition/batchRequest/showCart_update.php?batchNo={$batchNo}&username={$username}");
开发者ID:rickyx12,项目名称:protacio,代码行数:9,代码来源:deleteRequest.php

示例15: date

}
if (isset($_GET['instruction1'])) {
    $instruction1 = $_GET['instruction1'];
} else {
    $instruction1 = "";
}
if (isset($_GET['indication1'])) {
    $indication1 = $_GET['indication1'];
} else {
    $indication1 = "";
}
$ro = new database2();
$ro->getPatientProfile($registrationNo);
$currentTotal = $quantity * $sellingPrice;
$grandTotal = $currentTotal;
if ($decision == "yes") {
    $dateCharge = date("Y-m-d");
    $ro->addCharges_cash_mobile($status, $registrationNo, $chargesCode, $description, $sellingPrice, "0", $grandTotal, $grandTotal, 0, 0, $timeCharge, $dateCharge, $username, $service, $title, $paidVia, $cashPaid, $batchNo, $quantity, $inventoryFrom, $ro->getRegistrationDetails_branch(), $room);
    if ($title == "MEDICINE") {
        $ro->addNewPlan($registrationNo, $description, $timing1, $instruction1, $indication1, $quantity);
    } else {
    }
} else {
    if ($title != "MEDICINE") {
        $ro->editNow("registrationDetails", "registrationNo", $registrationNo, "advised", $ro->selectNow("registrationDetails", "advised", "registrationNo", $registrationNo) . "," . $description);
        $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/mobileAddCharges_charges.php?registrationNo={$registrationNo}&username={$username}&room={$room}&batchNo={$batchNo}");
    } else {
        $ro->addNewPlan_fromCharging($registrationNo, $description, $timing1, $instruction1, $indication1, $quantity, $batchNo, $room, $username);
        $ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/mobileAddCharges_medicine.php?registrationNo={$registrationNo}&username={$username}&room={$room}&batchNo={$batchNo}");
    }
}
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:addCharges.php


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