• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP smarty_care类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: smarty_care

# Prepare the title
if ($encounter_nr) {
    $headframe_title = "{$headframe_title} {$headframe_append} ";
}
# Prepare onLoad JS code
if (!$encounter_nr && !$pid) {
    $sOnLoadJs = 'onLoad="if(document.searchform.searchkey.focus) document.searchform.searchkey.focus();"';
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Title in the toolbar
$smarty->assign('sToolbarTitle', $headframe_title);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('','')");
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('title', $headframe_title);
# Onload Javascript code
$smarty->assign('sOnLoadJs', $sOnLoadJs);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('registration_overview.php','Person Registration :: Overview')");
# Hide the return button
$smarty->assign('pbBack', FALSE);
# Start collectiong extra Javascript code
ob_start();
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:aufnahme_start+-+Copy.php


示例2: Department

    # Load the department list with oncall doctors
    include_once $root_path . 'include/care_api_classes/class_department.php';
    $dept_obj = new Department();
    $dept_OC = $dept_obj->getAllActiveWithNOC();
    include_once $root_path . 'include/care_api_classes/class_personell.php';
    $pers_obj = new Personell();
    $quicklist =& $pers_obj->getNOCQuicklist($dept_OC, $pyear, $pmonth);
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Title in toolbar
$smarty->assign('sToolbarTitle', "{$LDORNOC} :: {$LDQuickView}");
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('op_duty.php','quick')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Body onLoad javascript
$smarty->assign('sOnLoadJs', 'onUnload="killchild()"');
# Window bar title
$smarty->assign('sWindowTitle', "{$LDORNOC} :: {$LDQuickView}");
# Collect extra javascript
ob_start();
?>

<script language="javascript">
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing-or-dienst-schnellsicht.php


示例3: if

            $pagen->setSortItem($oitem);
            $pagen->setSortDirection($odir);
        }
    }
    # end of else if mode== get
}
# end of if (srcword!="")
//echo $sql;
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('nursing');
# Title in toolbar
$smarty->assign('sToolbarTitle', "{$LDOrLogBook} - {$LDSearch}");
# hide return button
$smarty->assign('pbBack', FALSE);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('oplog.php','search','{$mode}','{$rows}','{$datafound}')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', "{$LDOrLogBook} - {$LDSearch}");
# Body Onload js
$smarty->assign('sOnLoadJs', 'onLoad="if (window.focus) window.focus();document.suchform.srcword.select();"');
# Body OnUnload js
$smarty->assign('sOnUnloadJs', 'onUnload="if (wwin) wwin.close();"');
# Collect js code
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:op-pflege-logbuch-xtsuch-start.php


示例4: Ward

                # Create nursing notes object
                include_once $root_path . 'include/care_api_classes/class_ward.php';
                $obj = new Ward();
                $station = $obj->WardName($location_nr);
        }
        echo $obj->getLastQuery();
    }
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('nursing');
# Title in toolbar
$smarty->assign('sToolbarTitle', $LDNotes . ' :: ' . ${$station} . ' (' . formatDate2Local($s_date, $date_format) . ')');
# hide back button
$smarty->assign('pbBack', FALSE);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('outpatient_notes.php','Outpatient Clinic :: Notes on the patient','','{$station}','{$LDNotes}')");
# href for close button
$smarty->assign('breakfile', 'javascript:window.close()');
# OnLoad Javascript code
if ($mode == 'save' && $occup || $saved) {
    $sTemp = "window.opener.location.reload();";
} else {
    $sTemp = '';
}
$smarty->assign('sOnLoadJs', 'onLoad="' . $sTemp . ' if (window.focus) window.focus();"');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:nursing-station-remarks2.php


示例5: smarty_care

# Prepare title
$sTitle = "{$title}::{$LDCatalog}::";
$buff = $dept_obj->LDvar($dept_nr);
if (isset(${$buff}) && !empty(${$buff})) {
    $sTitle = $sTitle . ${$buff};
} else {
    $sTitle = $sTitle . $dept_obj->FormalName($dept_nr);
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Title in toolbar
$smarty->assign('sToolbarTitle', $sTitle);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('products.php','maincat','','{$cat}')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', $sTitle);
# Body OnLoad Javascript code
$smarty->assign('sOnLoadJs', 'onLoad="document.smed.keyword.focus()"');
# Buffer page output
ob_start();
?>

<script language=javascript>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:products-bestellkatalog-edit.php


示例6: header

        $breakfile = $root_path . "modules/med_depot/medlager-datenbank-functions.php" . URL_APPEND . "&userck={$userck}";
        $imgpath = $root_path . "med_depot/img/";
        break;
    default:
        header("location:" . $root_path . "language/" . $lang . "/lang_" . $lang . "_invalid-access-warning.php");
        exit;
}
require $root_path . "include/inc_products_search_mod.php";
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Title in the title bar
$smarty->assign('sToolbarTitle', "{$title} {$LDPharmaDb} {$LDSearch}");
# href for the back button
// $smarty->assign('pbBack',$returnfile);
# href for the help button
$smarty->assign('pbHelp', "javascript:gethelp('products_db.php','search','{$from}','{$cat}')");
# href for the close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', "{$title} {$LDPharmaDb} {$LDSearch}");
# Assign Body Onload javascript code
$smarty->assign('sOnLoadJs', 'onLoad="document.suchform.keyword.select()"');
# Collect javascript code
ob_start();
?>
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:products-datenbank-functions-such.php


示例7: basename

$returnfile = $breakfile;
$_SESSION['sess_file_return'] = basename(__FILE__);
$_SESSION['sess_path_referer'] = str_replace($doc_root . '/', '', __FILE__);
if (!isset($stb)) {
    $stb = 0;
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Create a helper smarty object without reinitializing the GUI
$smarty2 = new smarty_care('common', FALSE);
# Added for the common header top block
$smarty->assign('sToolbarTitle', $LDTechSupport);
# Added for the common header top block
$smarty->assign('pbHelp', "javascript:gethelp('submenu1.php','{$LDTechSupport}')");
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('title', $LDTechSupport);
# Add the bot onLoad code
if (isset($stb)) {
    if ($stb == 1) {
        $smarty->assign('sOnLoadJs', 'onLoad="startbot(\'r\')"');
    } else {
        if ($stb == 2) {
            $smarty->assign('sOnLoadJs', 'onLoad="startbot(\'f\')"');
        }
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:technik.php


示例8: smarty_care

# Set PID to load the data
$person->setPID($pid);
# Import the current encounter number
$current_encounter = $person->CurrentEncounter();
# Import the death date
$death_date = $person->DeathDate();
# Load GUI page
//include('./gui_bridge/default/gui_person_reg_show.php');
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Title in the toolbar
$smarty->assign('sToolbarTitle', $LDPatientRegister);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('submenu1.php','{$LDPatientRegister}')");
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('title', $LDPatientRegister);
# Onload Javascript code
$smarty->assign('sOnLoadJs', "if (window.focus) window.focus();");
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('person_admit.php')");
# Hide the return button
$smarty->assign('pbBack', FALSE);
# Loads the standard gui tags for the registration display page
require './gui_bridge/default/gui_std_tags.php';
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:patient_register_show.php


示例9: basename

$breakfile = $root_path . 'modules/news/start_page.php' . URL_APPEND;
$_SESSION['sess_path_referer'] = $top_dir . basename(__FILE__);
$_SESSION['sess_user_origin'] = 'amb';
$_SESSION['sess_parent_mod'] = '';
/* Create department object and load all medical depts */
require_once $root_path . 'include/care_api_classes/class_department.php';
$dept_obj = new Department();
$medical_depts =& $dept_obj->getAllMedical();
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Title in toolbar
$smarty->assign('sToolbarTitle', $LDAmbulatory);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('outpatient_overview.php','Outpatient :: Overview')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', $LDAmbulatory);
# Prepare the submenu icons
$smarty->assign('sTitleIcon', '<img ' . createComIcon($root_path, 'l-arrowgrnlrg.gif', '0', '', TRUE) . '>');
if ($cfg['icons'] != 'no_icon') {
    $smarty->assign('sApptIcon', '<img ' . createComIcon($root_path, 'icon-date-hour.gif', '0') . '>');
    $smarty->assign('sOutPatientIcon', '<img ' . createComIcon($root_path, 'forums.gif', '0') . '>');
    //$smarty->assign('sPendReqIcon','<img '.createComIcon($root_path,'waiting.gif','0').'>');
    //$smarty->assign('sNewsIcon','<img '.createComIcon($root_path,'bubble2.gif','0').'>');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:ambulatory.php


示例10: smarty_care

    ///* End of case 'edit': */
    default:
        $mode = '';
}
// end of switch($mode)
if ($edit) {
    $returnfile .= '&batch_nr=' . $batch_nr . '&pn=' . $pn . '&tracker=' . $tracker;
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('nursing');
# Title in toolbar
$smarty->assign('sToolbarTitle', $LDRadioDiagnostics . " (" . $batch_nr . ")");
# hide back button
$smarty->assign('pbBack', $returnfile);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('pending_radio_findings.php')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', $LDRadioDiagnostics . " (" . $batch_nr . ")");
$smarty->assign('sOnLoadJs', 'onLoad="if (window.focus) window.focus();"');
# Collect extra javascript code
ob_start();
?>
开发者ID:patmark,项目名称:care2x-tz,代码行数:30,代码来源:labor_test_findings_radio.php


示例11: define

define('LANG_FILE', 'edp.php');
$local_user = 'ck_edv_user';
require_once $root_path . 'include/inc_front_chain_lang.php';
if (isset($ck_edv_admin_user)) {
    setcookie('ck_edvzugang_user', $ck_edv_admin_user);
}
$breakfile = 'edv.php' . URL_APPEND;
$_SESSION['sess_file_return'] = basename(__FILE__);
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Title in toolbar
$smarty->assign('sToolbarTitle', "{$LDEDP} {$LDSystemAdmin}");
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('system_admin.php')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', "{$LDEDP} {$LDSystemAdmin}");
# Buffer page output
ob_start();
?>

<br><ul>
<FONT    SIZE=2  FACE="verdana,Arial">
<?php 
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:edv-system-admi-welcome.php


示例12: elseif

    }
} elseif ($user_origin == 'bill') {
    $local_user = 'ck_bill_user';
    $breakfile = $root_path . 'modules/billing_tz/billing_tz.php' . URL_APPEND;
} else {
    $local_user = 'ck_pflege_user';
    $breakfile = $root_path . 'modules/nursing/nursing-station-patientdaten.php' . URL_APPEND . '&pn=' . $pn . '&station=' . $station . '&edit=' . $edit . '&user_origin=' . $user_origin;
}
require_once $root_path . 'include/inc_front_chain_lang.php';
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('nursing');
$thisfile = basename($_SERVER['PHP_SELF']);
$db_request_table = $target;
//$db->debug=1;
/* Check for the patietn number = $pn. If available get the patients data, */
if (isset($pn) && $pn) {
    include_once $root_path . 'include/care_api_classes/class_encounter.php';
    $enc_obj = new Encounter();
    if ($enc_obj->loadEncounterData($pn)) {
        $edit = true;
        include_once $root_path . 'include/care_api_classes/class_globalconfig.php';
        $GLOBAL_CONFIG = array();
        $glob_obj = new GlobalConfig($GLOBAL_CONFIG);
        $glob_obj->getConfig('patient_%');
        switch ($enc_obj->EncounterClass()) {
            case '1':
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:labor_test_request_aftersave.php


示例13: smarty_care

            break;
        default:
            if ($_COOKIE["ck_login_logged" . $sid]) {
                $mode = "dummy";
            }
    }
    // end of switch
}
# Start the smarty templating
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('nursing');
# Added for the common header top block
$smarty->assign('sToolbarTitle', "{$LDOrDocument} :: (" . $_SESSION['sess_dept_name'] . ")");
# href for help button
if (!$mode) {
    $sBuffer = 'dummy';
} else {
    $sBuffer = $mode;
}
$smarty->assign('pbHelp', "javascript:gethelp('opdoc.php','create','{$sBuffer}')");
# hide return button
$smarty->assign('pbBack', FALSE);
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', "{$LDOrDocument} :: (" . $_SESSION['sess_dept_name'] . ")");
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:op-doku-start.php


示例14: smarty_care

                }
            } else {
                $mode = 'bad_data';
            }
            break;
    }
    // end of switch($mode)
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('system_admin');
# Title in toolbar
$smarty->assign('sToolbarTitle', "{$LDAddress} :: {$LDNewCityTown}");
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('address_new.php')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', "{$LDAddress} :: {$LDNewCityTown}");
# Coller Javascript code
ob_start();
?>

<script language="javascript">
<!-- 
function check(d)
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:citytown_new.php


示例15: basename

require_once $root_path . 'include/inc_front_chain_lang.php';
# Set break file
require 'include/inc_breakfile.php';
$thisfile = basename($_SERVER['PHP_SELF']);
$_SESSION['sess_file_return'] = $thisfile;
if (empty($target)) {
    $target = 'search';
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('nursing');
# Title in toolbar
$smarty->assign('sToolbarTitle', "{$LDUploadDicom} :: {$LDSearch} ");
# hide back button
$smarty->assign('pbBack', FALSE);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('patient_search.php')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', "{$LDUploadDicom} :: {$LDSearch} ");
# Body onLoad javascript code
$smarty->assign('sOnLoadJs', 'onLoad="document.searchform.searchkey.select()";');
# Start creating the search module
require_once $root_path . 'include/care_api_classes/class_gui_search_person.php';
$psearch =& new GuiSearchPerson();
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:upload_person_search.php


示例16: smarty_care

        @$enc_obj->searchEncounterBasicInfo($searchkey);
        $totalcount = $enc_obj->LastRecordCount();
        $pagen->setTotalDataCount($totalcount);
    }
    $pagen->setSortItem($oitem);
    $pagen->setSortDirection($odir);
}
//echo $target;
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('nursing');
# Title in toolbar
$smarty->assign('sToolbarTitle', $LDTestRequest . " - " . $LDSearchPatient);
# hide back button
$smarty->assign('pbBack', FALSE);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('laboratory_testrequest.php','Laboratories :: Test Request','lab')");
# href for close button
if ($_COOKIE["ck_login_logged" . $sid]) {
    $smarty->assign('breakfile', $root_path . 'main/startframe.php' . URL_APPEND);
} else {
    $smarty->assign('breakfile', $breakfile);
}
# Window bar title
$smarty->assign('sWindowTitle', $LDTestRequest . " - " . $LDSearchPatient);
# Body onload javascript code
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:labor_test_request_search_patient.php


示例17: smarty_care

//$_SESSION['sess_file_return']=basename(__FILE__);
/* get the title = name of department */
$title = $_SESSION['sess_title'];
/* Get the news article */
require $root_path . 'include/inc_news_get_one.php';
/* Get the news table width */
$config_type = 'news_normal_display_width';
include_once $root_path . 'include/inc_get_global_config.php';
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Toolbar title
$smarty->assign('sToolbarTitle', $title);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('dept_news.php')");
# href for close file
$smarty->assign('breakfile', $breakfile);
if ($mode != "preview4saved") {
    # href for return file
    $smarty->assign('pbBack', $sReturn);
}
# Window title
$smarty->assign('title', $title);
if ($mode == "preview4saved") {
    $smarty->assign('bShowPrompt', TRUE);
    $smarty->assign('sMascotImg', '<img ' . createMascot($root_path, 'mascot1_r.gif', '0') . '>');
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:editor-4plus1-read.php


示例18: smarty_care

<?php

$returnfile = $_SESSION['sess_file_return'];
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
if ($parent_admit) {
    $sTitleNr = $_SESSION['sess_full_en'];
} else {
    $sTitleNr = $_SESSION['sess_full_pid'];
}
# Title in the toolbar
$smarty->assign('sToolbarTitle', "{$page_title} {$encounter_nr}");
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('submenu1.php','{$LDPatientRegister}')");
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('title', "{$page_title} {$encounter_nr}");
# Onload Javascript code
$smarty->assign('sOnLoadJs', "if (window.focus) window.focus();");
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('medocs_entry.php')");
# href for return button
$smarty->assign('pbBack', $returnfile . URL_APPEND . '&pid=' . $_SESSION['sess_pid'] . '&target=' . $target . '&mode=show&type_nr=' . $type_nr);
# Buffer extra javascript code
ob_start();
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:gui_show_medocs.php


示例19: smarty_care

        $breakfile = 'address_manage.php' . URL_APPEND;
}
if (isset($nr) && $nr && ($row =& $address_obj->getCityTownInfo($nr))) {
    $address = $row->FetchRow();
    $edit = true;
} else {
    # Redirect to search function
}
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('system_admin');
# Title in toolbar
$smarty->assign('sToolbarTitle', "{$LDCityTown} :: {$LDData}");
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('address_info.php')");
# href for close button
$smarty->assign('breakfile', $breakfile);
# Window bar title
$smarty->assign('sWindowTitle', "{$LDCityTown} :: {$LDData}");
# Buffer page output
ob_start();
?>

<ul>
<?php 
if (isset($save_ok) && $save_ok) {
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:citytown_info.php


示例20: date

    $rows = $newsobj->LastRecordCount();
}
$returnfile = $breakfile;
$readerpath = 'editor-4plus1-read.php' . URL_REDIRECT_APPEND;
$editorpath = 'editor-pass.php' . URL_APPEND;
$today = date('Y-m-d');
//$_SESSION['sess_dept_nr']=$dept_nr;
$_SESSION['sess_file_return'] = $top_dir . basename(__FILE__);
# Start Smarty templating here
/**
 * LOAD Smarty
 */
# Note: it is advisable to load this after the inc_front_chain_lang.php so
# that the smarty script can use the user configured template theme
require_once $root_path . 'gui/smarty_template/smarty_care.class.php';
$smarty = new smarty_care('common');
# Toolbar title
$smarty->assign('sToolbarTitle', $title);
# href for help button
$smarty->assign('pbHelp', "javascript:gethelp('dept_news.php')");
# href for close file
$smarty->assign('breakfile', $breakfile);
# href for return file
$smarty->assign('pbBack', $returnfile);
# Window title
$smarty->assign('title', $title);
/* Get the news global configurations */
$config_type = 'news_%';
include $root_path . 'include/inc_get_global_config.php';
if (!$news_normal_preview_maxlen) {
    $news_normal_preview_maxlen = 300;
开发者ID:patmark,项目名称:care2x-tz,代码行数:31,代码来源:newscolumns.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP sms类代码示例发布时间:2022-05-23
下一篇:
PHP smarty类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap