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


PHP putUILog函数代码示例

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


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

示例1: putUILog

<?php

#
# (c) C4G, Santosh Vempala, Ruban Monu and Amol Shintre
# Main page for starting patient lookup
# 1st step of specimen registration
#
include "redirect.php";
include "includes/header.php";
LangUtil::setPageId("doctor_register");
putUILog('doctor_register', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$script_elems->enableDatePicker();
$script_elems->enableJQueryForm();
$lab_config = get_lab_config_by_id($_SESSION['lab_config_id']);
?>
<script type='text/javascript'>
$(document).ready(function() {
	$('#psearch_progress_spinner').hide();
	$('#add_anyway_link').attr("href", "new_patient.php");
	$('#pq').focus();
	$('#p_attrib').change(function() {
		$('#pq').focus();
	});
});

function restrictCharacters(e) {
	
	var alphabets = /[A-Za-z]/g;
	var numbers = /[0-9]/g;
	var specialCharacter = /[_&.]/g;
	if(!e) var e = window.event;
开发者ID:caseyi,项目名称:BLIS,代码行数:31,代码来源:doctor_register.php

示例2: putUILog

<?php

#
# Main page for showing specimen info
#
include "redirect.php";
include "includes/header.php";
LangUtil::setPageId("specimen_info");
$script_elems->enableJQueryForm();
$script_elems->enableJQueryValidate();
$script_elems->enableTableSorter();
$script_elems->enableLatencyRecord();
$script_elems->enableTokenInput();
putUILog('specimen_info', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$sid = $_REQUEST['sid'];
$isTestDel = $_REQUEST['del'];
?>
<script type='text/javascript'>
function submit_forms(specimen_id)
{

	var form_id_csv = $('#form_id_list').attr("value");
	var form_id_list = form_id_csv.split(",");
//result_cancel_link').hide();
	$('.result_progress_spinner').show();
	//var target_div_id = "fetched_specimen";
	
	var target_div_id = "result_form_pane_"+specimen_id;
	for(var i = 0; i < form_id_list.length; i++)
	{
		if($('#'+form_id_list[i]+'_skip').is(':checked'))
开发者ID:caseyi,项目名称:BLIS,代码行数:31,代码来源:specimen_info.php

示例3: putUILog

<?php

include "redirect.php";
include "../includes/db_lib.php";
putUILog('update_reagent', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$lid = $_REQUEST['lid'];
$r_id = $_REQUEST['r_id'];
$reagent = $_REQUEST['reagent'];
$unit = $_REQUEST['unit'];
$remarks = $_REQUEST['remarks'];
Inventory::updateReagent($lid, $r_id, $reagent, $unit, $remarks);
header('Location: ../view_stock.php');
开发者ID:caseyi,项目名称:BLIS,代码行数:12,代码来源:update_reagent.php

示例4: putUILog

<?php

include "redirect.php";
include "../includes/db_lib.php";
putUILog('backup_data', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
if ($SERVER == $ON_ARC) {
    # System on arc2 server: Do not allow backup option
    echo "Sorry, data backup option is not available in online version.";
}
$lab_config_id = $_REQUEST['labConfigId'];
$backupType = $_REQUEST['backupTypeSelect'];
$keyLocation = "../tmpPublicKey.pem";
if ($_REQUEST['keyType'] == "uploaded") {
    if (move_uploaded_file($_FILES["publicKey"]["tmp_name"], $keyLocation)) {
        echo "succeeded!";
    } else {
        echo "fail";
    }
    $publicKey = file_get_contents($keyLocation);
} else {
    $publicKey = file_get_contents("public.pem");
}
$file_list1 = array();
$file_list2 = array();
$file_list3 = array();
$file_list4 = array();
$currentDir = getcwd();
$mainBlisDir = substr($currentDir, $length, strpos($currentDir, "htdocs"));
$mysqldumpPath = "\"" . $mainBlisDir . "server\\mysql\\bin\\mysqldump.exe\"";
$dbname = "blis_" . $lab_config_id;
$backupLabDbFileName = "blis_" . $lab_config_id . "_backup.sql";
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:backupData.php

示例5: putUILog

<?php

#
# Adds a new test type to catalog in DB
#
include "redirect.php";
include "includes/header.php";
include "includes/stats_lib.php";
include "lang/lang_xml2php.php";
LangUtil::setPageId("stocks");
$script_elems->enableFlotBasic();
$script_elems->enableFlipV();
$script_elems->enableTableSorter();
putUILog('stock_list', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
?>

<script type='text/javascript'>
	$(document).ready(function(){
			$('#current_inventory').tablesorter();
	});

</script>

<a href='lab_config_home.php?id=<?php 
echo $lab_config_id;
?>
'>&laquo; <?php 
echo LangUtil::$generalTerms['CMD_BACK'];
?>
</a> &nbsp;|&nbsp;<b> <?php 
echo LangUtil::$pageTerms['Current_Inventory'];
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:stock_list.php

示例6: addslashes

    url = url + '&rem=' + rem;
    var div_name = 'resultset'+sno;
    var html_content = "<div id='"+div_name+"'</div>";
    //$('#data_table').html(html_content);
    $('#data_table').load(url);
}
</script>
<?php 
/*
$q = addslashes($name);
$q = mysql_escape_string($name);
$q = str_ireplace("<script>", "&lt;script&gt;", $name);
$q = strip_tags($q);
*/
$uiinfo = "op=" . $_REQUEST['a'] . "&qr=" . $_REQUEST['q'];
putUILog('search_p', $uiinfo, basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
?>
<div id="rcap" style="display: none;"><?php 
echo $rcap;
?>
</div>
<div id="page" style="display: none;">1</div>
<div id="mpage" style="display: none;">1</div>
<div id="rem" style="display: none;"></div>
<div id="tot" style="display: none;"></div>

<font color="grey"><small><div id="result_counts" style="float: right; padding-right: 16px">0 results</div></small></font>
<font color="grey"><small><div id="page_counts" style="float: right; padding-right: 16px">1/1 Page</div></small></font>

<br>
开发者ID:caseyi,项目名称:BLIS,代码行数:30,代码来源:search_p_dyn_1.php

示例7: get_lab_config_settings_search

#
# Returns list of patients matched with list of pending specimens
# Called via Ajax form result_entry.php
#
include "../includes/db_lib.php";
include "../includes/user_lib.php";
LangUtil::setPageId("results_entry");
$attrib_value = $_REQUEST['labSectionId'];
$dynamic = 1;
$search_settings = get_lab_config_settings_search();
$rcap = $search_settings['results_per_page'];
//echo "Max results per page : ".$rcap;
$lab_config = LabConfig::getById($_SESSION['lab_config_id']);
$uiinfo = "labSectionId=" . $_REQUEST['labSectionId'];
putUILog('result_entry_patient_lab_section', $uiinfo, basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
?>
<style type="text/css">
    .prev_link{
        position: relative;
        float: left;
    }
    .next_link{
        position: relative;
        float: right;
    }
.customers
{
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
width:100%;
border-collapse:collapse;
开发者ID:caseyi,项目名称:BLIS,代码行数:30,代码来源:result_entry_patient_lab_section.php

示例8: ucwords

$addl_id = $_REQUEST['addl_id'];
$name = ucwords(strtolower($_REQUEST['name']));
$age = $_REQUEST['age'];
$age_param = $_REQUEST['agep'];
$receipt_yyyy = $_REQUEST['receipt_yyyy'];
$receipt_mm = $_REQUEST['receipt_mm'];
$receipt_dd = $_REQUEST['receipt_dd'];
$date_receipt = trim($_REQUEST['receipt_yyyy']) . "-" . trim($_REQUEST['receipt_mm']) . "-" . trim($_REQUEST['receipt_dd']) . " 00:00:00";
//mktime(0, 0, 0, $receipt_mm, $receipt_dd, $receipt_yyyy);
$pid = $_REQUEST['pid'];
# Surrogate key
# Check partial DOB flags
$dob = "";
$partial_dob = "";
$uiinfo = "agep=" . $age_param;
putUILog('patient_add', $uiinfo, basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
if (trim($_REQUEST['yyyy']) == "" && trim($_REQUEST['mm']) == "" && trim($_REQUEST['dd']) == "") {
    # Only age specified
    # Set year in partial_dob field to auto-update age value in the future
    $today = date("Y-m-d");
    $today_parts = explode("-", $today);
    # Find year of birth based on supplied age value
    if ($age_param == 2) {
        # Age was specified in months
        $timestamp = mktime(0, 0, 0, $today_parts[1] - $age, $today_parts[2], $today_parts[0]);
        $year = date("Y", $timestamp);
        $month = date("m", $timestamp);
        $day = date("d", $timestamp);
        $dob = "";
        $partial_dob = $year . "-" . $month . "-" . $day;
    } else {
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:patient_add.php

示例9: get_lab_config_by_id

<?php

#
# Creates printable report for specimen log
# Showing all operations on that specimen
#
include "redirect.php";
include "includes/db_lib.php";
LangUtil::setPageId("reports");
$lab_config_id = $_REQUEST['location'];
DbUtil::switchToLabConfig($lab_config_id);
$lab_config = get_lab_config_by_id($lab_config_id);
$specimen_id = $_REQUEST['specimen_id'];
$specimen = get_specimen_by_id($specimen_id);
putUILog('reports_specimenlog', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
?>
<script type='text/javascript'>
function print_content(div_id)
{
	var DocumentContainer = document.getElementById(div_id);
	var WindowObject = window.open("", "PrintWindow", "toolbars=no,scrollbars=yes,status=no,resizable=yes");
	WindowObject.document.writeln(DocumentContainer.innerHTML);
	WindowObject.document.close();
	WindowObject.focus();
	WindowObject.print();
	WindowObject.close();
	//javascript:window.print();
}
</script>
<input type='hidden' name='data' value='' id='word_data' />
<input type='button' onclick="javascript:print_content('report_content');" value='<?php 
开发者ID:caseyi,项目名称:BLIS,代码行数:31,代码来源:reports_specimenlog.php

示例10: get_lab_config_settings_barcode

<?php

include "redirect.php";
include "includes/header.php";
include "barcode_lib.php";
$barcodeSettings = get_lab_config_settings_barcode();
//  print_r($barcodeSettings);
$code_type = $barcodeSettings['type'];
//"code39";
$bar_width = $barcodeSettings['width'];
//2;
$bar_height = $barcodeSettings['height'];
//40;
$font_size = $barcodeSettings['textsize'];
//11;
putUILog('generate_barcode', '-', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
?>
<style>
    .remove {
        position: relative;
    float: left;
}

.barcodes {
    
}

</style>
<script type="text/javascript">
    $(document).ready(function(){
	});
开发者ID:caseyi,项目名称:BLIS,代码行数:31,代码来源:generate_barcode.php

示例11: ScriptElems

#
include "redirect.php";
include "includes/db_lib.php";
include "includes/user_lib.php";
include "includes/page_elems.php";
include "includes/script_elems.php";
include "includes/stats_lib.php";
include "lang/lang_xml2php.php";
include "users/accesslist.php";
LangUtil::setPageId("stocks");
$script_elems = new ScriptElems();
$page_elems = new PageElems();
$view_update = 1;
$view_add = 1;
$view_edit = 0;
putUILog('view_stocks', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
if (is_admin(get_user_by_id($_SESSION['user_id']))) {
    $view_edit = 1;
    //header( 'Location: home.php' );
}
$script_elems->enableFlotBasic();
$script_elems->enableFlipV();
$script_elems->enableTableSorter();
$lid = $_SESSION['$lab_config_id'];
?>

<script type='text/javascript'>
	$(document).ready(function(){
			$('#current_inventory').tablesorter();
	});
开发者ID:jfurlong,项目名称:BLIS,代码行数:30,代码来源:view_stocks.php

示例12: PageElems

include "includes/db_lib.php";
include "includes/script_elems.php";
include "includes/page_elems.php";
include "includes/user_lib.php";
LangUtil::setPageId("reports");
$page_elems = new PageElems();
$script_elems = new ScriptElems();
$script_elems->enableJquery();
$script_elems->enableTableSorter();
$script_elems->enableDragTable();
$date_from = $_REQUEST['yf'] . "-" . $_REQUEST['mf'] . "-" . $_REQUEST['df'];
$date_to = $_REQUEST['yt'] . "-" . $_REQUEST['mt'] . "-" . $_REQUEST['dt'];
$lab_config_id = $_REQUEST['l'];
$lab_section = $_REQUEST['labsec'];
$uiinfo = "from=" . $date_from . "&to=" . $date_to;
putUILog('daily_log_patients', $uiinfo, basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$lab_config = get_lab_config_by_id($lab_config_id);
$saved_db = DbUtil::switchToLabConfig($lab_config_id);
//$patient_list = Patient::getByAddDate($date_from);
//$patient_list = Patient::getByAddDateRange($date_from, $date_to);
$patient_list = Patient::getReportedByRegDateRange($date_from, $date_to, $lab_section);
$patient_list_U = Patient::getUnReportedByRegDateRange($date_from, $date_to, $lab_section);
$lab_section_name = getTestCatName_by_cat_id($lab_config_id, $lab_section);
//$patient_list = Patient::getByRegDateRange($date_from, $date_to);
DbUtil::switchRestore($saved_db);
$report_id = $REPORT_ID_ARRAY['reports_dailypatients.php'];
$report_config = $lab_config->getReportConfig($report_id);
$margin_list = $report_config->margins;
$user = get_user_by_id($_SESSION['user_id']);
for ($i = 0; $i < count($margin_list); $i++) {
    $margin_list[$i] = $SCREEN_WIDTH * $margin_list[$i] / 100;
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:reports_dailypatients.php

示例13: putUILog

<?php

#
# Main page for showing patient profile, test history,
# and options like updating profile, registering new specimen
#
include "redirect.php";
include "includes/header.php";
include "barcode/barcode_lib.php";
LangUtil::setPageId("patient_profile");
putUILog('patient_profile', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$pid = $_REQUEST['pid'];
$isSpecDel = $_REQUEST['del'];
$isUpdate = $_REQUEST['update'];
$script_elems->enableJQueryForm();
$script_elems->enableDatePicker();
$script_elems->enableTableSorter();
$script_elems->enableLatencyRecord();
$barcodeSettings = get_lab_config_settings_barcode();
//  print_r($barcodeSettings);
$code_type = $barcodeSettings['type'];
//"code39";
$bar_width = $barcodeSettings['width'];
//2;
$bar_height = $barcodeSettings['height'];
//40;
$font_size = $barcodeSettings['textsize'];
//11;
?>
<script type="text/javascript" src="facebox/facebox.js"></script>
<script type='text/javascript'>
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:patient_profile.php

示例14: array

 | <a href="javascript:toggle_stat_table();" id='showtablelink'><?php 
echo LangUtil::$pageTerms['MSG_SHOWGRAPH'];
?>
</a>
 | <a href='reports.php?show_p'>&laquo; <?php 
echo LangUtil::$pageTerms['MSG_BACKTOREPORTS'];
?>
</a>
<br><br>
<?php 
$lab_config_id = array($_REQUEST['location']);
$summary_type = $_REQUEST['summary_type'];
$date_from = $_REQUEST['yyyy_from'] . "-" . $_REQUEST['mm_from'] . "-" . $_REQUEST['dd_from'];
$date_to = $_REQUEST['yyyy_to'] . "-" . $_REQUEST['mm_to'] . "-" . $_REQUEST['dd_to'];
$uiinfo = "from=" . $date_from . "&to=" . $date_to;
putUILog('reports_infection', $uiinfo, basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$test_type_id = 0;
$lab_config = get_lab_config_by_id($lab_config_id[0]);
if ($lab_config == null) {
    ?>
	<div class='sidetip_nopos'>
	<?php 
    echo LangUtil::$generalTerms['MSG_NOTFOUND'];
    ?>
	</div>
	<?php 
    return;
}
DbUtil::switchToLabConfig($lab_config_id);
# Cumulative summary
$stat_list = array();
开发者ID:caseyi,项目名称:BLIS,代码行数:31,代码来源:reports_infection.php

示例15: putUILog

<?php

#
# Adds a new test type to catalog in DB
#
include "redirect.php";
include "includes/db_lib.php";
include "lang/lang_xml2php.php";
putUILog('test_type_add', 'X', basename($_SERVER['REQUEST_URI'], ".php"), 'X', 'X', 'X');
$test_name = $_REQUEST['test_name'];
$cat_code = $_REQUEST['cat_code'];
$hide_patient_name = $_REQUEST['hidePatientName'];
$prevalenceThreshold = $_REQUEST['prevalenceThreshold'];
$targetTat = $_REQUEST['targetTat'];
if (is_billing_enabled($_SESSION['lab_config_id'])) {
    $cost_cents_initial = $_REQUEST['cost_to_patient_cents'];
    $cost_cents = $cost_cents_initial / pow(10, strlen($cost_cents_initial));
    $newCostToPatient = $_REQUEST['cost_to_patient_dollars'] + $cost_cents;
}
if ($cat_code == -1) {
    # Add new test category to catalog
    $new_cat_name = $_REQUEST['new_category'];
    $new_cat_id = add_test_category($new_cat_name);
    $cat_code = $new_cat_id;
}
$test_descr = $_REQUEST['test_descr'];
$test_clinical_data = $_REQUEST['clinical_data'];
# Check test type (panel or normal)
$reference_ranges_list = array();
$added_measures_list = array();
$added_submeasures_list = array();
开发者ID:jfurlong,项目名称:BLIS,代码行数:31,代码来源:test_type_add.php


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