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


PHP database::getMyUrl方法代码示例

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


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

示例1: database

<?php

include "../../myDatabase.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$description = $_GET['description'];
$quantity = $_GET['quantity'];
$username = $_GET['username'];
$show = $_GET['show'];
$desc = $_GET['desc'];
$ro = new database();
?>
<link rel="stylesheet" type="text/css" href="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/myCSS/coconutCSS.css" />

<?php 
echo "<br><br><br><Br><br>";
if ($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") {
    echo "<center><div style='border:1px solid #ff0000; width:400px; height:120px;\t'>";
    echo "<br><center><font size=2 color=red>Are you sure you want to return <br>{$description}?</font></center>";
} else {
    echo "<center><div style='border:1px solid #ff0000; width:400px; height:110px;\t'>";
    echo "<br><center><font size=2 color=red>Are you sure you want to delete <br>{$description}?</font></center>";
    echo "<Br>";
}
echo "";
echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/availableCharges/deletePatientCharges_requested.php'>\n<input type=hidden name='itemNo' value='{$itemNo}'>\n<input type=hidden name='registrationNo' value='{$registrationNo}'>";
if (($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") && $ro->getChargesStatus($itemNo) == "PAID") {
    echo "\n<input type=text name='quantity' value='{$quantity}' style='width:70px; border:1px solid #ff0000; padding:2px 2px 2px 10px; '><br><br>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:verifyDelete_requested.php

示例2: database

<?php

include "../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "networkConfiguration1.php");
echo "<center><br><br><Br><font size=3>Network &nbsp;</font><br>";
$ro->coconutBoxStart("400", "130");
echo "<br><br>";
$ro->coconutTextBox("ip", $ro->getMyUrl());
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:14,代码来源:networkConfiguration.php

示例3: database

<?php

include "../../../myDatabase.php";
$branchID = $_GET['branchID'];
$branch = $_GET['branch'];
$username = $_GET['username'];
$ro = new database();
$ro->deleteNow("branch", "branchID", $branchID);
echo "\n\n<script type='text/javascript'>\nalert('{$branch} Branch is now deleted');\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/masterfile/branch.php?username={$username}';\n</script>\n\n";
开发者ID:rickyx12,项目名称:protacio,代码行数:9,代码来源:deleteBranch.php

示例4: database

<?php

include "../myDatabase.php";
require_once '../COCONUT/authentication.php';
$username = $_SESSION['username'];
$module = $_SESSION['module'];
$from = $_SESSION['from'];
$ro = new database();
echo "\n<style type='text/css'>\na { text-decoration:none; color:red; }\n</style>\n\n";
$ro->coconutDesign();
$ro->coconutHeading($module, "Department/initializeDepartment.php");
$ro->coconutUpperMenuStart();
$ro->coconutUpperMenuStop();
$url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
//kuhain ang current web address
/*
if ( (!isset($username) && !isset($module)) ) {
header("Location:/LOGINPAGE/module.php ");
die();
}
*/
echo "<br><br><center>";
$ro->coconutBoxStart("600", "100");
echo "<br>";
echo "<font size=3 color=black>Logged as {$username}</font>";
echo "<Br>";
echo "<a href='http://" . $ro->getMyUrl() . "/LOGINPAGE/module.php'><font color=red size=2><< Sign Out</a>&nbsp;&nbsp;&nbsp;";
echo "&nbsp;&nbsp;<a href='http://" . $ro->getMyUrl() . "/Department/departmentHeading.php'><font color=blue size=2>Sign In >></font></a>";
$ro->coconutBoxStop();
开发者ID:rickyx12,项目名称:mendero,代码行数:29,代码来源:initializeDepartment.php

示例5: showResult

include "../../myDatabase.php";
$packageName = $_GET['packageName'];
$packagePrice = $_GET['packagePrice'];
$phicPrice = $_GET['phicPrice'];
$ro = new database();
/*
$ro->getBatchNo();
$myFile = "/opt/lampp/htdocs/COCONUT/trackingNo/batchNo.dat";
$fh = fopen($myFile, 'r');
$batchNo = fread($fh, 100);
fclose($fh);
*/
?>

<script src="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/serverTime/serverTime.js"></script>
<script type='text/javascript'>

function showResult()
{
    
if (document.addCharge.availableCharges.value.length==0)
  {
  document.getElementById("livesearch").innerHTML="";
  document.getElementById("livesearch").style.border="0px";
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:searchDoctor.php

示例6: database

<?php

include "../../myDatabase.php";
//require_once('../authentication.php');
$username = $_GET['username'];
$date = $_GET['date'];
$ro = new database();
//$_SESSION['username'] = $_GET['username'];
//if(!isset($_SESSION['username'])) {
//header("Location:/LOGINPAGE/module.php");
//}
echo "\n\n<frameset cols='50%,200%' framespacing='0' border='1'>\n   <frame src='http://" . $ro->getMyUrl() . "/COCONUT/ER/erPatient1.php?date={$date}&username={$username}'  scrolling=yes frameborder=1 framespacing=1 name='selection' />\n   <frame src='erNull.php'  scrolling=yes frameborder=1 framespacing=1 name='rightFrame' />\n\n</frameset>\n\n\n";
开发者ID:rickyx12,项目名称:protacio,代码行数:12,代码来源:er_handler.php

示例7: database

$fromMonth = $_GET['fromMonth'];
$fromDay = $_GET['fromDay'];
$fromYear = $_GET['fromYear'];
$toMonth = $_GET['toMonth'];
$toDay = $_GET['toDay'];
$toYear = $_GET['toYear'];
$type = $_GET['type'];
$dept = $_GET['dept'];
$username = $_GET['username'];
$ro = new database();
echo "\n<style type='text/css'>\n.style1 {font-family: Arial;font-size: 20px;font-weight: bold;color: #000000;}\n.style2 {font-family: Arial;font-size: 14px;font-weight: bold;color: #000000;}\n.style3 {font-family: Arial;font-size: 14px;font-weight: bold;color: #FFFFFF;}\n.style4 {font-family: Arial;font-size: 16px;color: #000000;}\n.style5 {font-family: Arial;font-size: 14px;color: #000000;}\n.button01 {font-family: Arial;font-size: 16px;font-weight: bold;color: #000000;background-color: #FFFFFF;border: 1px solid #000000;}\n.button02 {font-family: Arial;font-size: 16px;font-weight: bold;color: #FF0000;background-color: #FFFFFF;border: 1px solid #000000;}\n.button03 {font-family: Arial;font-size: 16px;border: 0;padding: 0;display: inline;background: none;color: #000000;}\n#rowz:hover {\nbackground-color:yellow;\n}\n</style>\n";
echo "<center>";
//echo "<font size=6>".$ro->getReportInformation("hmoSOA_name")."</font>";
//echo "<br><font size=3>".$ro->getReportInformation("hmoSOA_address")."</font>";
//echo "<Br><font size=3>($branch)</font>";
echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='60%' height='20%'></center>";
echo "<span class='style1'>Registration Census For {$type}</span>";
echo "<br><span class='style5'>({$fromMonth} {$fromDay}, {$fromYear} - {$toMonth} {$toDay}, {$toYear})</span>";
//$ro->censusRegistered($fromMonth,$fromDay,$fromYear,$toMonth,$toDay,$toYear,$type,$dept,$username);
$con = mysql_connect($ro->myHost, $ro->username, $ro->password);
if (!$con) {
    die('Could not connect: ' . mysql_error());
}
mysql_select_db($ro->database, $con);
$fromRegistered = $fromYear . "-" . $fromMonth . "-" . $fromDay;
$toRegistered = $toYear . "-" . $toMonth . "-" . $toDay;
if ($dept != "") {
    if ($type == "IPD") {
        $result = mysql_query("SELECT upper(pr.lastName) as lastName,upper(pr.firstName) as firstName,upper(pr.middleName) as middleName,rd.*,pr.Age,pr.Gender,pr.phic FROM patientRecord pr,registrationDetails rd WHERE rd.patientNo = pr.patientNo and (dateRegistered between '{$fromRegistered}' and '{$toRegistered}' ) and rd.type in ('IPD','ER','OR/DR','ICU') and rd.registeredFrom='{$dept}' order by dateRegistered,timeRegistered asc ");
    } else {
        $result = mysql_query("SELECT upper(pr.lastName) as lastName,upper(pr.firstName) as firstName,upper(pr.middleName) as middleName,rd.*,pr.Age,pr.Gender,pr.phic FROM patientRecord pr,registrationDetails rd WHERE rd.patientNo = pr.patientNo and (dateRegistered between '{$fromRegistered}' and '{$toRegistered}') and rd.type='{$type}' and rd.registeredFrom='{$dept}' order by dateRegistered,timeRegistered asc ");
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:registrationCensus.php

示例8: database

<?php

include "../../myDatabase.php";
$registrationNo = $_GET['registrationNo'];
$itemNo = $_GET['itemNo'];
$quantity = $_GET['quantity'];
$username = $_GET['username'];
$show = $_GET['show'];
$desc = $_GET['desc'];
$ro = new database();
if (($ro->getTitle($itemNo) == "MEDICINE" || $ro->getTitle($itemNo) == "SUPPLIES") && $ro->getChargesStatusDept($itemNo)) {
    $ro->editNow("patientCharges", "itemNo", $itemNo, "status", "Return");
    $ro->editNow("patientCharges", "itemNo", $itemNo, "departmentStatus", $quantity . "_" . $registrationNo);
    $ro->editNow("patientCharges", "itemNo", $itemNo, "approvedBy", $username);
    $ro->changeQTY($ro->getChargesCode($itemNo), $ro->getCurrentQTY($ro->getChargesCode($itemNo)) + $quantity);
    $ro->deletePatientCharges($registrationNo, $itemNo);
} else {
    $ro->deletePatientCharges($registrationNo, $itemNo);
    $ro->editNow("forDeletion", "itemNo", $itemNo, "approvedBy", $username);
}
echo "\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/ADMIN/requestDelete_update.php?username={$username}';\n</script>\n";
?>


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

示例9: showResult

include "../../myDatabase.php";
$packageName = $_GET['packageName'];
$ro = new database();
$ro->coconutDesign();
/*
$ro->getBatchNo();
$myFile = "/opt/lampp/htdocs/COCONUT/trackingNo/batchNo.dat";
$fh = fopen($myFile, 'r');
$batchNo = fread($fh, 100);
fclose($fh);
*/
?>

<script src="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/serverTime/serverTime.js"></script>
<script type='text/javascript'>

function showResult()
{
    
if (document.addCharge.availableCharges.value.length==0)
  {
  document.getElementById("livesearch").innerHTML="";
  document.getElementById("livesearch").style.border="0px";
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:searchInventory.php

示例10: database

<?php

include "../../myDatabase.php";
$branch = $_GET['branch'];
$floor = $_GET['floor'];
$ro = new database();
$ro->coconutAjax("12000", "http://" . $ro->getMyUrl() . "/COCONUT/NURSING/nsRoom.php?branch={$branch}&floor={$floor}");
开发者ID:rickyx12,项目名称:protacio,代码行数:7,代码来源:nursingStation1.php

示例11: database

<?php

include "../../../myDatabase.php";
$itemNo = $_GET['itemNo'];
$registrationNo = $_GET['registrationNo'];
$subjective = $_GET['subjective'];
$objective = $_GET['objective'];
$assessment = $_GET['assessment'];
$plan = $_GET['plan'];
$username = $_GET['username'];
$ro = new database();
$ro->getPatientProfile($registrationNo);
$ro->getSOAP($itemNo, $registrationNo);
$ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "subjective", $subjective);
$ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "objective", $objective);
$ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "assessment", $assessment);
$ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "plan", $plan);
$ro->editNow("SOAP", "soapNo", $ro->soap_soapNo(), "patientNo", $ro->getRegistrationDetails_patientNo());
echo "\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/COCONUT/Doctor/doctorModule/soapView.php?itemNo={$itemNo}&registrationNo={$registrationNo}&username={$username}';\n</script>\n\n";
开发者ID:rickyx12,项目名称:protacio,代码行数:19,代码来源:editSoap.php

示例12: database

$service = $_GET['service'];
$title = $_GET['title'];
$paidVia = $_GET['paidVia'];
$cashPaid = $_GET['cashPaid'];
$batchNo = $_GET['batchNo'];
$username = $_GET['username'];
$quantity = $_GET['quantity'];
$inventoryFrom = $_GET['inventoryFrom'];
$room = "";
$paycash = $_GET['paycash'];
$remarks = $_GET['remarks'];
$url = $_GET['url'];
$ro = new database();
$ro->coconutDesign();
if ($title == "OT" || $title == "ST") {
    $ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/therapyCharges.php");
    echo "<br><br>";
    $ro->coconutBoxStart("500", "100");
    echo "<Br>";
    echo "<font color=red>{$description}</font>";
    echo "<br>";
    echo "<table border=0>";
    echo "<tr>";
    echo "<Td>Date Charge&nbsp;</td>";
    echo "<Td>";
    $ro->coconutComboBoxStart_short("month");
    echo "<option value='" . date("m") . "'>" . date("M") . "</option>";
    echo "<option value='01'>Jan</option>";
    echo "<option value='02'>Feb</option>";
    echo "<option value='03'>Mar</option>";
    echo "<option value='04'>Apr</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:chargesWithDate_redirect.php

示例13: date

                        //ADD ROOM
                        $ro->getRoom($room);
                        $ro->addCharges_cash("UNPAID", $registrationNo, $room, $room, $ro->room_rate(), 0, $ro->room_rate(), $ro->room_rate(), 0, 0, date("H:i:s"), date("M_d_Y"), $ro->getUserRegistered(), "Confinement", "Room And Board", "Cash", 0, "", 1, "", $ro->getUserBranch($password), "");
                        $ro->EditNow("room", "Description", $room, "status", "Occupied");
                        //GWEN OCCUPIED ANG STATUS NG ROOM
                    }
                }
            }
            $ro->editNow("patientRecord", "patientNo", $patientNo, "lastName", $lastname);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "firstName", $firstname);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "middleName", $middlename);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "contactNo", $patientContact);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "Birthdate", $birthDate);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "Gender", $gender);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "Senior", $seniorCitizen);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "Address", $address);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "PHIC", $philHealth);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "civilStatus", $civilStatus);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "phicType", $phicType);
            $ro->editNow("patientRecord", "patientNo", $patientNo, "completeName", $completeName);
        }
        // Registration Status [old]
        echo "\n<script type='text/javascript'>\nwindow.location='http://" . $ro->getMyUrl() . "/Registration/patient.php?registrationNo={$registrationNo}&username=" . $ro->getUserRegistered() . "';\n</script>\n";
    } catch (Exception $e) {
        echo "\n<script type='text/javascript'>\nwindow.back();\n</script>\n\n";
    }
} else {
    //ELSE 1
    echo "\n<script type='text/javascript'>\nalert('WRONG AUTHENTICATION');\nhistory.back();\n</script>\n\n";
}
//ELSE 1
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:registrationPassword_old+(copy).php

示例14: database

$remarks = $_GET['remarks'];
$stockCardNo = $_GET['stockCardNo'];
$ro = new database();
$ro->coconutDesign();
echo "<script src='../js/jquery-2.1.4.min.js'></script>";
echo "<script src='../js/jquery-ui.min.js'></script>";
echo "<link rel='stylesheet' href='../myCSS/coconutCSS.css'></link>";
echo "<link rel='stylesheet' href='../myCSS/jquery-ui.css'></link>";
echo "\n<script>\n\t\$(document).ready(function(){\n\t\t\$('#dateCharge').datepicker({\n\t\t\tdateFormat:'yy-mm-dd'\n\t\t});\n\t});\n</script>\n";
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>";
echo "<form method='get' action='http://" . $ro->getMyUrl() . "/COCONUT/availableMedicine/addCharges_cash.php'>";
echo "<center>\n<font color=red>" . $description . "</font>\n<div style='border:1px solid #000000; width:470px; height:130px;\t'>";
echo "<br><table border=0 cellpadding=0 cellspacing=0>";
echo "<tr>";
echo "<td><font size=2>Quantity:</font></td>";
echo "<td><input type=text class='qty' name='quantity' value='1'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font size=2>Date Charge</font>&nbsp;</td>";
echo "<td>";
/*
$ro->coconutComboBoxStart_short("month");
echo "<option value='".date("m")."'>".date("M")."</option>";
echo "<option value='01'>Jan</option>";
echo "<option value='02'>Feb</option>";
echo "<option value='03'>Mar</option>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:cashQTY_date.php

示例15: database

<?php

include "../../myDatabase.php";
//require_once('../authentication.php');
$username = $_GET['username'];
$ro = new database();
//$_SESSION['username'] = $_GET['username'];
//if(!isset($_SESSION['username'])) {
//header("Location:/LOGINPAGE/module.php");
//}
echo "\n\n<frameset cols='45%,210%' framespacing='0' border='1'>\n   <frame src='http://" . $ro->getMyUrl() . "/COCONUT/Pharmacy/viewPx.php?username={$username}'  scrolling=no frameborder=1 framespacing=1 name='selection' />\n   <frame src=''  scrolling=yes frameborder=1 framespacing=1 name='rightFrame' />\n\n</frameset>\n\n\n";
开发者ID:rickyx12,项目名称:protacio,代码行数:11,代码来源:viewPx_handler.php


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