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

PHP xlt函数代码示例

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

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



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

示例1: soap_report

function soap_report($pid, $encounter, $cols, $id)
{
    $cols = 1;
    // force always 1 column
    $count = 0;
    $data = formFetch("form_soap", $id);
    if ($data) {
        print "<table><tr>";
        foreach ($data as $key => $value) {
            if ($key == "id" || $key == "pid" || $key == "user" || $key == "groupname" || $key == "authorized" || $key == "activity" || $key == "date" || $value == "" || $value == "0000-00-00 00:00:00") {
                continue;
            }
            if ($value == "on") {
                $value = "yes";
            }
            $key = ucwords(str_replace("_", " ", $key));
            //Updated by Sherwin 10/24/2016
            print "<td><span class=bold>" . xlt($key) . ": </span><span class=text>" . nl2br(text($value)) . "</span></td>";
            $count++;
            if ($count == $cols) {
                $count = 0;
                print "</tr><tr>\n";
            }
        }
    }
    print "</tr></table>";
}
开发者ID:juggernautsei,项目名称:openemr,代码行数:27,代码来源:report.php


示例2: note_report

function note_report($pid, $encounter, $cols, $id)
{
    $count = 0;
    $data = formFetch("form_note", $id);
    if ($data) {
        print "<table><tr>";
        foreach ($data as $key => $value) {
            if ($key == "id" || $key == "pid" || $key == "user" || $key == "groupname" || $key == "authorized" || $key == "activity" || $key == "date" || $value == "" || $value == "0000-00-00 00:00:00") {
                continue;
            }
            if ($value == "on") {
                $value = "yes";
            }
            $key = ucwords(str_replace("_", " ", $key));
            print "<tr>\n";
            print "<tr>\n";
            if ($key == "Note Type") {
                print "<td><span class=bold>" . xlt($key) . ": </span><span class=text>" . xlt($value) . "</span></td>";
            } else {
                print "<td><span class=bold>" . xlt($key) . ": </span><span class=text>" . text($value) . "</span></td>";
            }
            $count++;
            if ($count == $cols) {
                $count = 0;
                print "</tr><tr>\n";
            }
        }
    }
    print "</tr></table>";
}
开发者ID:juggernautsei,项目名称:openemr,代码行数:30,代码来源:report.php


示例3: care_plan_report

function care_plan_report($pid, $encounter, $cols, $id)
{
    $count = 0;
    $sql = "SELECT * FROM `form_care_plan` WHERE id=? AND pid = ? AND encounter = ?";
    $res = sqlStatement($sql, array($id, $_SESSION["pid"], $_SESSION["encounter"]));
    for ($iter = 0; $row = sqlFetchArray($res); $iter++) {
        $data[$iter] = $row;
    }
    if ($data) {
        ?>
        <table style='border-collapse:collapse;border-spacing:0;width: 100%;'>
            <tr>
                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold><?php 
        echo xlt('Code');
        ?>
</span></td>
                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold><?php 
        echo xlt('Code Text');
        ?>
</span></td>
                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold><?php 
        echo xlt('Description');
        ?>
</span></td> 
                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold><?php 
        echo xlt('Date');
        ?>
</span></td>
            </tr>
        <?php 
        foreach ($data as $key => $value) {
            ?>
            <tr>
                <td style='border:1px solid #ccc;padding:4px;'><span class=text><?php 
            echo text($value['code']);
            ?>
</span></td>
                <td style='border:1px solid #ccc;padding:4px;'><span class=text><?php 
            echo text($value['codetext']);
            ?>
</span></td>
                <td style='border:1px solid #ccc;padding:4px;'><span class=text><?php 
            echo text($value['description']);
            ?>
</span></td>
                <td style='border:1px solid #ccc;padding:4px;'><span class=text><?php 
            echo text($value['date']);
            ?>
</span></td>
            </tr>
            <?php 
        }
        ?>
        </table>
        <?php 
    }
}
开发者ID:katopenzz,项目名称:openemr,代码行数:57,代码来源:report.php


示例4: newpatient_report

function newpatient_report($pid, $encounter, $cols, $id)
{
    $res = sqlStatement("select * from form_encounter where pid=? and id=?", array($pid, $id));
    print "<table><tr><td>\n";
    while ($result = sqlFetchArray($res)) {
        print "<span class=bold>" . xlt('Facility') . ": </span><span class=text>" . text($result["facility"]) . "</span><br>\n";
        print "<span class=bold>" . xlt('Reason') . ": </span><span class=text>" . nl2br(text($result["reason"])) . "</span><br>\n";
    }
    print "</td></tr></table>\n";
}
开发者ID:katopenzz,项目名称:openemr,代码行数:10,代码来源:report.php


示例5: observation_report

function observation_report($pid, $encounter, $cols, $id)
{
    $count = 0;
    $sql = "SELECT * FROM `form_observation` WHERE id=? AND pid = ? AND encounter = ?";
    $res = sqlStatement($sql, array($id, $_SESSION["pid"], $_SESSION["encounter"]));
    for ($iter = 0; $row = sqlFetchArray($res); $iter++) {
        $data[$iter] = $row;
    }
    if ($data) {
        print "<table style='border-collapse:collapse;border-spacing:0;width: 100%;'>\n            <tr>\n                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold>" . xlt('Code') . "</span></td>\n                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold>" . xlt('Description') . "</span></td>\n                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold>" . xlt('Code Type') . "</span></td> \n                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold>" . xlt('Table Code') . "</span></td> \n                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold>" . xlt('Value') . "</span></td>\n                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold>" . xlt('Unit') . "</span></td>\n                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold>" . xlt('Date') . "</span></td>\n            </tr>";
        foreach ($data as $key => $value) {
            if ($value['code'] == 'SS003') {
                if ($value['ob_value'] == '261QE0002X') {
                    $value['ob_value'] = 'Emergency Care';
                } else {
                    if ($value['ob_value'] == '261QM2500X') {
                        $value['ob_value'] = 'Medical Specialty';
                    } else {
                        if ($value['ob_value'] == '261QP2300X') {
                            $value['ob_value'] = 'Primary Care';
                        } else {
                            if ($value['ob_value'] == '261QU0200X') {
                                $value['ob_value'] = 'Urgent Care';
                            }
                        }
                    }
                }
            }
            if ($value['code'] == '21612-7') {
                if ($value['ob_unit'] == 'd') {
                    $value['ob_unit'] = 'Day';
                } else {
                    if ($value['ob_unit'] == 'mo') {
                        $value['ob_unit'] = 'Month';
                    } else {
                        if ($value['ob_unit'] == 'UNK') {
                            $value['ob_unit'] = 'Unknown';
                        } else {
                            if ($value['ob_unit'] == 'wk') {
                                $value['ob_unit'] = 'Week';
                            } else {
                                if ($value['ob_unit'] == 'a') {
                                    $value['ob_unit'] = 'Year';
                                }
                            }
                        }
                    }
                }
            }
            print "<tr>\n                        <td style='border:1px solid #ccc;padding:4px;'><span class=text>" . text($value['code']) . "</span></td>\n                        <td style='border:1px solid #ccc;padding:4px;'><span class=text>" . text($value['description']) . "</span></td>\n                        <td style='border:1px solid #ccc;padding:4px;'><span class=text>" . text($value['code_type']) . "</span></td>\n                        <td style='border:1px solid #ccc;padding:4px;'><span class=text>" . text($value['table_code']) . "</span></td>\n                        <td style='border:1px solid #ccc;padding:4px;'><span class=text>" . text($value['ob_value']) . "</span></td>\n                        <td style='border:1px solid #ccc;padding:4px;'><span class=text>" . text($value['ob_unit']) . "</span></td>\n                        <td style='border:1px solid #ccc;padding:4px;'><span class=text>" . text($value['date']) . "</span></td>\n                    </tr>";
            print "\n";
        }
        print "</table>";
    }
}
开发者ID:katopenzz,项目名称:openemr,代码行数:55,代码来源:report.php


示例6: lookup_openemr_patient

function lookup_openemr_patient($wp_login)
{
    if (empty($wp_login)) {
        die(xlt('The patient was not logged in when submitting this form'));
    }
    $ptres = sqlStatement("SELECT pid FROM patient_data WHERE cmsportal_login = ?", array($wp_login));
    if (sqlNumRows($ptres) < 1) {
        die(xlt('There is no patient with portal login') . " '{$wp_login}'");
    }
    if (sqlNumRows($ptres) > 1) {
        die(xlt('There are multiple patients with portal login') . " '{$wp_login}'");
    }
    $ptrow = sqlFetchArray($ptres);
    return $ptrow['pid'];
}
开发者ID:ekuiperemr,项目名称:openemr,代码行数:15,代码来源:portal.inc.php


示例7: printAmendment

function printAmendment($amendmentID, $lastAmendment)
{
    $query = "SELECT lo.title AS 'amendmentFrom', lo1.title AS 'amendmentStatus',a.* FROM amendments a \n\t\tLEFT JOIN list_options lo ON a.amendment_by = lo.option_id AND lo.list_id = 'amendment_from' AND lo.activity = 1\n\t\tLEFT JOIN list_options lo1 ON a.amendment_status = lo1.option_id AND lo1.list_id = 'amendment_status' AND lo1.activity = 1\n\t\tWHERE a.amendment_id = ?";
    $resultSet = sqlQuery($query, array($amendmentID));
    echo "<table>";
    echo "<tr class=text>";
    echo "<td class=bold>" . xlt("Requested Date") . ":" . "</td>";
    echo "<td>" . oeFormatShortDate($resultSet['amendment_date']) . "</td>";
    echo "</tr>";
    echo "<tr class=text>";
    echo "<td class=bold>" . xlt("Requested By") . ":" . "</td>";
    echo "<td>" . generate_display_field(array('data_type' => '1', 'list_id' => 'amendment_from'), $resultSet['amendment_by']) . "</td>";
    echo "</tr>";
    echo "<tr class=text>";
    echo "<td class=bold>" . xlt("Request Status") . ":" . "</td>";
    echo "<td>" . generate_display_field(array('data_type' => '1', 'list_id' => 'amendment_status'), $resultSet['amendment_status']) . "</td>";
    echo "</tr>";
    echo "<tr class=text>";
    echo "<td class=bold>" . xlt("Request Description") . ":" . "</td>";
    echo "<td>" . text($resultSet['amendment_desc']) . "</td>";
    echo "</tr>";
    echo "</table>";
    echo "<hr>";
    echo "<span class='bold'>" . xlt("History") . "</span><br>";
    $pageBreak = $lastAmendment ? "" : "page-break-after:always";
    echo "<table border='1' cellspacing=0 cellpadding=3 style='width:75%;margin-top:10px;margin-bottom:20px;" . $pageBreak . "'>";
    echo "<tr class='text bold'>";
    echo "<th align=left style='width:10%'>" . xlt("Date") . "</th>";
    echo "<th align=left style='width:20%'>" . xlt("By") . "</th>";
    echo "<th align=left >" . xlt("Comments") . "</th>";
    echo "</tr>";
    $query = "SELECT u.fname,u.lname,ah.* FROM amendments_history ah INNER JOIN users u ON ah.created_by = u.id WHERE ah.amendment_id = ?";
    $resultSet = sqlStatement($query, array($amendmentID));
    while ($row = sqlFetchArray($resultSet)) {
        echo "<tr class=text>";
        $created_date = date('Y-m-d', strtotime($row['created_time']));
        echo "<td>" . oeFormatShortDate($created_date) . "</td>";
        echo "<td>" . text($row['lname']) . ", " . text($row['fname']) . "</td>";
        echo "<td>" . text($row['amendment_note']) . "</td>";
        echo "</tr>";
    }
    echo "</table>";
}
开发者ID:juggernautsei,项目名称:openemr,代码行数:43,代码来源:print_amendments.php


示例8: genWarehouseList

function genWarehouseList($tag_name, $currvalue, $title, $class = '')
{
    global $drug_id;
    $drow = sqlQuery("SELECT allow_multiple FROM drugs WHERE drug_id = ?", array($drug_id));
    $allow_multiple = $drow['allow_multiple'];
    $lres = sqlStatement("SELECT * FROM list_options " . "WHERE list_id = 'warehouse' ORDER BY seq, title");
    echo "<select name='" . attr($tag_name) . "' id='" . attr($tag_name) . "'";
    if ($class) {
        echo " class='" . attr($class) . "'";
    }
    echo " title='" . attr($title) . "'>";
    $got_selected = FALSE;
    $count = 0;
    if ($allow_multiple) {
        echo "<option value=''>" . xlt('Unassigned') . "</option>";
        ++$count;
    }
    while ($lrow = sqlFetchArray($lres)) {
        $whid = $lrow['option_id'];
        if ($whid != $currvalue && !$allow_multiple && checkWarehouseUsed($whid)) {
            continue;
        }
        echo "<option value='" . attr($whid) . "'";
        if (strlen($currvalue) == 0 && $lrow['is_default'] || strlen($currvalue) > 0 && $whid == $currvalue) {
            echo " selected";
            $got_selected = TRUE;
        }
        echo ">" . text($lrow['title']) . "</option>\n";
        ++$count;
    }
    if (!$got_selected && strlen($currvalue) > 0) {
        echo "<option value='" . attr($currvalue) . "' selected>* " . text($currvalue) . " *</option>";
        echo "</select>";
        echo " <font color='red' title='" . xla('Please choose a valid selection from the list.') . "'>" . xlt('Fix this') . "!</font>";
    } else {
        echo "</select>";
    }
    return $count;
}
开发者ID:katopenzz,项目名称:openemr,代码行数:39,代码来源:add_edit_lot.php


示例9: clinical_instructions_report

function clinical_instructions_report($pid, $encounter, $cols, $id)
{
    $count = 0;
    $data = formFetch("form_clinical_instructions", $id);
    if ($data) {
        ?>
        <table style='border-collapse:collapse;border-spacing:0;width: 100%;'>
            <tr>
                <td align='center' style='border:1px solid #ccc;padding:4px;'><span class=bold><?php 
        echo xlt('Instructions');
        ?>
</span></td>
            </tr>            
            <tr>
                <td style='border:1px solid #ccc;padding:4px;'><span class=text><?php 
        echo nl2br(text($data['instruction']));
        ?>
</span></td>
            </tr>
        </table>
        <?php 
    }
}
开发者ID:aaricpittman,项目名称:openemr,代码行数:23,代码来源:report.php


示例10: attr

echo attr($postid);
?>
' />

<table width='100%' cellpadding='1' cellspacing='2'>
 <tr class='head'>
  <th align='left'><?php 
echo xlt('Field');
?>
</th>
  <th align='left'><?php 
echo xlt('Current Value');
?>
</th>
  <th align='left'><?php 
echo xlt('New Value');
?>
</th>
 </tr>

<?php 
$insrow = getInsuranceData($pid, $result['fields']['type']);
foreach ($insurance_layout as $lorow) {
    $data_type = $lorow['data_type'];
    $field_id = $lorow['field_id'];
    $list_id = $lorow['list_id'];
    $field_title = $lorow['title'];
    $currvalue = '';
    if (isset($insrow[$field_id])) {
        $currvalue = $insrow[$field_id];
    }
开发者ID:juggernautsei,项目名称:openemr,代码行数:31,代码来源:insurance_form.php


示例11: writeITLine

/**
 * Special case of Issue Types
 */
function writeITLine($it_array)
{
    global $opt_line_no, $ISSUE_TYPE_CATEGORIES, $ISSUE_TYPE_STYLES;
    ++$opt_line_no;
    $bgcolor = "#" . ($opt_line_no & 1 ? "ddddff" : "ffdddd");
    echo " <tr bgcolor='{$bgcolor}'>\n";
    echo ctSelector($opt_line_no, $it_array, 'category', $ISSUE_TYPE_CATEGORIES, xl('OpenEMR Application Category'));
    echo ctGenCBox($opt_line_no, $it_array, 'active', xl('Is this active?'));
    echo ctGenCell($opt_line_no, $it_array, 'ordering', 10, 10, xl('Order'));
    echo ctGenCell($opt_line_no, $it_array, 'type', 20, 75, xl('Issue Type'));
    echo ctGenCell($opt_line_no, $it_array, 'plural', 20, 75, xl('Plural'));
    // if not english and translating lists then show the translation
    if ($GLOBALS['translate_lists'] && $_SESSION['language_choice'] > 1) {
        echo "  <td align='center' class='translation'>" . xlt($it_array['plural']) . "</td>\n";
    }
    echo ctGenCell($opt_line_no, $it_array, 'singular', 20, 75, xl('Singular'));
    // if not english and translating lists then show the translation
    if ($GLOBALS['translate_lists'] && $_SESSION['language_choice'] > 1) {
        echo "  <td align='center' class='translation'>" . xlt($it_array['singular']) . "</td>\n";
    }
    echo ctGenCell($opt_line_no, $it_array, 'abbreviation', 10, 10, xl('Abbreviation'));
    // if not english and translating lists then show the translation
    if ($GLOBALS['translate_lists'] && $_SESSION['language_choice'] > 1) {
        echo "  <td align='center' class='translation'>" . xlt($it_array['abbreviation']) . "</td>\n";
    }
    echo ctSelector($opt_line_no, $it_array, 'style', $ISSUE_TYPE_STYLES, xl('Standard; Simplified: only title, start date, comments and an Active checkbox;no diagnosis, occurrence, end date, referred-by or sports fields. ; Football Injury'));
    echo ctGenCBox($opt_line_no, $it_array, 'force_show', xl('Show this category on the patient summary screen even if no issues have been entered for this category.'));
    echo " </tr>\n";
}
开发者ID:mi-squared,项目名称:openemr,代码行数:32,代码来源:edit_list.php


示例12: esign_form_submit

 /**
  * 
  * @return multitype:string
  */
 public function esign_form_submit()
 {
     $message = '';
     $status = self::STATUS_FAILURE;
     $password = $this->getRequest()->getParam('password', '');
     $encounterId = $this->getRequest()->getParam('encounterId', '');
     // Lock if 'Lock e-signed encounters and their forms' option is set,
     // unless esign_lock_toggle option is enable in globals, then check the request param
     $lock = false;
     if ($GLOBALS['lock_esign_all']) {
         $lock = true;
         if ($GLOBALS['esign_lock_toggle']) {
             $lock = $this->getRequest()->getParam('lock', '') == 'on' ? true : false;
         }
     }
     $amendment = $this->getRequest()->getParam('amendment', '');
     if (confirm_user_password($_SESSION['authUser'], $password)) {
         $signable = new Encounter_Signable($encounterId);
         if ($signable->sign($_SESSION['authUserID'], $lock, $amendment)) {
             $message = xlt("Form signed successfully");
             $status = self::STATUS_SUCCESS;
         } else {
             $message = xlt("An error occured signing the form");
         }
     } else {
         $message = xlt("The password you entered is invalid");
     }
     $response = new Response($status, $message);
     $response->encounterId = $encounterId;
     $response->locked = $lock;
     if ($lock) {
         $response->editButtonHtml = "<a href=# class='css_button_small form-edit-button-locked'><span>" . xlt('Locked') . "</span></a>";
     }
     echo json_encode($response);
     exit;
 }
开发者ID:katopenzz,项目名称:openemr,代码行数:40,代码来源:Controller.php


示例13: xlt

echo xlt('Document Category or Discard');
?>
</th>
 </tr>
<?php 
if (is_array($result['uploads'])) {
    foreach ($result['uploads'] as $upload) {
        $id = intval($upload['id']);
        echo " <tr class='detail'>\n";
        // MIME type and view link
        echo "  <td><a href='upload_form_show.php?id={$id}&messageid={$messageid}'>" . text($upload['mimetype']) . "</a></td>\n";
        // Desired file name
        echo "  <td><input type='text' name='form_filename[{$id}]' value='" . attr($upload['filename']) . "' size='20' /></td>";
        // Desired document category with option to discard the file
        echo "  <td><select name='form_category[{$id}]'>\n";
        echo "<option value='0'>-- " . xlt('Discard') . " --</option>\n";
        $i = 0;
        foreach ($categories as $catkey => $catname) {
            echo "<option value='" . attr($catkey) . "'";
            if (++$i == 1) {
                echo " selected";
            }
            echo ">" . text($catname) . "</option>\n";
        }
        echo "</select></td>\n";
        //
        echo " </tr>\n";
    }
}
?>
</table>
开发者ID:juggernautsei,项目名称:openemr,代码行数:31,代码来源:upload_form.php


示例14: generate_receipt

function generate_receipt($patient_id, $encounter = 0)
{
    global $sl_err, $sl_cash_acc, $css_header, $details, $INTEGRATED_AR;
    // Get details for what we guess is the primary facility.
    $frow = sqlQuery("SELECT * FROM facility " . "ORDER BY billing_location DESC, accepts_assignment DESC, id LIMIT 1");
    $patdata = getPatientData($patient_id, 'fname,mname,lname,pubpid,street,city,state,postal_code,providerID');
    // Get the most recent invoice data or that for the specified encounter.
    //
    // Adding a provider check so that their info can be displayed on receipts
    if ($INTEGRATED_AR) {
        if ($encounter) {
            $ferow = sqlQuery("SELECT id, date, encounter, provider_id FROM form_encounter " . "WHERE pid = ? AND encounter = ?", array($patient_id, $encounter));
        } else {
            $ferow = sqlQuery("SELECT id, date, encounter, provider_id FROM form_encounter " . "WHERE pid = ? " . "ORDER BY id DESC LIMIT 1", array($patient_id));
        }
        if (empty($ferow)) {
            die(xlt("This patient has no activity."));
        }
        $trans_id = $ferow['id'];
        $encounter = $ferow['encounter'];
        $svcdate = substr($ferow['date'], 0, 10);
        if ($GLOBALS['receipts_by_provider']) {
            if (isset($ferow['provider_id'])) {
                $encprovider = $ferow['provider_id'];
            } else {
                if (isset($patdata['providerID'])) {
                    $encprovider = $patdata['providerID'];
                } else {
                    $encprovider = -1;
                }
            }
        }
        if ($encprovider) {
            $providerrow = sqlQuery("SELECT fname, mname, lname, title, street, streetb, " . "city, state, zip, phone, fax FROM users WHERE id = ?", array($encprovider));
        }
    } else {
        SLConnect();
        //
        $arres = SLQuery("SELECT * FROM ar WHERE " . "invnumber LIKE '{$patient_id}.%' " . "ORDER BY id DESC LIMIT 1");
        if ($sl_err) {
            die(text($sl_err));
        }
        if (!SLRowCount($arres)) {
            die(xlt("This patient has no activity."));
        }
        $arrow = SLGetRow($arres, 0);
        //
        $trans_id = $arrow['id'];
        //
        // Determine the date of service.  An 8-digit encounter number is
        // presumed to be a date of service imported during conversion or
        // associated with prescriptions only.  Otherwise look it up in the
        // form_encounter table.
        //
        $svcdate = "";
        list($trash, $encounter) = explode(".", $arrow['invnumber']);
        if (strlen($encounter) >= 8) {
            $svcdate = substr($encounter, 0, 4) . "-" . substr($encounter, 4, 2) . "-" . substr($encounter, 6, 2);
        } else {
            if ($encounter) {
                $tmp = sqlQuery("SELECT date FROM form_encounter WHERE " . "encounter = ?", array($encounter));
                $svcdate = substr($tmp['date'], 0, 10);
            }
        }
    }
    // end not $INTEGRATED_AR
    // Get invoice reference number.
    $encrow = sqlQuery("SELECT invoice_refno FROM form_encounter WHERE " . "pid = ? AND encounter = ? LIMIT 1", array($patient_id, $encounter));
    $invoice_refno = $encrow['invoice_refno'];
    ?>
<html>
<head>
<?php 
    html_header_show();
    ?>
<link rel='stylesheet' href='<?php 
    echo $css_header;
    ?>
' type='text/css'>
<title><?php 
    echo xlt('Receipt for Payment');
    ?>
</title>
<script type="text/javascript" src="../../library/dialog.js"></script>
<script language="JavaScript">

<?php 
    require $GLOBALS['srcdir'] . "/restoreSession.php";
    ?>

 // Process click on Print button.
 function printme() {
  var divstyle = document.getElementById('hideonprint').style;
  divstyle.display = 'none';
  window.print();
  return false;
 }

 // Process click on Delete button.
 function deleteme() {
//.........这里部分代码省略.........
开发者ID:nitinkunte,项目名称:openemr,代码行数:101,代码来源:pos_checkout.php


示例15: htmlspecialchars

        echo $urlparms;
        ?>
" target="Main" onclick="top.restoreSession()">
<?php 
    }
    ?>

<span class="title"><?php 
    echo htmlspecialchars(xl('Notes'), ENT_NOQUOTES);
    if ($docid) {
        echo " " . xlt("linked to document") . " ";
        $d = new Document($docid);
        echo $d->get_url_file();
    } else {
        if ($orderid) {
            echo " " . xlt("linked to procedure order") . " {$orderid}";
        }
    }
    ?>
</span>
<span class=more><?php 
    echo htmlspecialchars($tmore, ENT_NOQUOTES);
    ?>
</span>
</a>
<?php 
}
?>

<br>
开发者ID:katopenzz,项目名称:openemr,代码行数:30,代码来源:pnotes.php


示例16: xlt

?>
</div>
<br></br>

<table>
<tr><td>
<span class=text><?php 
echo xlt('Doctor:');
?>
 </span><input type=text name="doctor" value="<?php 
echo attr($obj["doctor"]);
?>
">
</td><td>
<span class="text"><?php 
echo xlt('Date');
?>
</span>
   <input type='text' size='10' name='date_of_signature' id='date_of_signature'
    value='<?php 
echo attr($obj['date_of_signature']);
?>
'
    />
</td></tr>
</table>

</form>

</body>
开发者ID:mindfeederllc,项目名称:openemr,代码行数:30,代码来源:print.php


示例17: text

        if ($perow['count']) {
            echo " selected";
        }
    } else {
        // For new encounters the invoker may pass an issue ID.
        if (!empty($_REQUEST['issue']) && $_REQUEST['issue'] == $list_id) {
            echo " selected";
        }
    }
    echo ">" . text($tcode) . ": " . text($irow['begdate']) . " " . text(substr($irow['title'], 0, 40)) . "</option>\n";
}
?>
   </select>

   <p><i><?php 
echo xlt('To link this encounter/consult to an existing issue, click the ' . 'desired issue above to highlight it and then click [Save]. ' . 'Hold down [Ctrl] button to select multiple issues.');
?>
</i></p>

  </td>
 </tr>

</table>

</form>

</body>

<script language="javascript">
/* required for popup calendar */
Calendar.setup({inputField:"form_date", ifFormat:"%Y-%m-%d", button:"img_form_date"});
开发者ID:mi-squared,项目名称:openemr,代码行数:31,代码来源:common.php


示例18: attr

echo $css_header;
?>
" type="text/css">
</head>
<body class="body_bottom">

<br/><br/><br/><span class="pwdalert <?php 
echo attr($case);
?>
">
<table align="center" >

  <tr valign="top">
    <td>&nbsp;</td>
    <td rowspan="3"><?php 
echo xlt("Welcome");
echo " " . text($username);
?>
,<br>
      <br>
      <?php 
echo text($msg_alert);
?>
      <br>
    </td>
    <td>&nbsp;</td>
  </tr>
 
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
开发者ID:mindfeederllc,项目名称:openemr,代码行数:31,代码来源:pwd_expires_alert.php


示例19: xl

}
// end CCR/CCD reporting options
if ($GLOBALS['portal_onsite_document_download']) {
    echo "<tr><td width='650px'>";
    $widgetTitle = xl('Documents');
    $widgetLabel = "documents";
    $widgetButtonLabel = xl('Download');
    $widgetButtonClass = "hidden";
    $linkMethod = "html";
    $bodyClass = "notab";
    $widgetAuth = false;
    $fixedWidth = true;
    expand_collapse_widget($widgetTitle, $widgetLabel, $widgetButtonLabel, $widgetButtonLink, $widgetButtonClass, $linkMethod, $bodyClass, $widgetAuth, $fixedWidth);
    ?>
<span class="text"><?php 
    echo xlt('Download all patient documents');
    ?>
</span>
<br /><br />
<form name='doc_form' id='doc_form' action='get_patient_documents.php' method='post'>
	<input type="button" class="generateDoc_download" value="<?php 
    echo xla('Download');
    ?>
" />
</form>
</div>
</td>
</tr>
<?php 
}
echo "<tr><td width='650px'>";
开发者ID:mi-squared,项目名称:openemr,代码行数:31,代码来源:summary_pat_portal.php


示例20: Printf

for ($i = 1; $i < $k;) {
    print "<table border=1><tr>\n";
    print "<br><br>";
    Printf("<td width=70><span class=text><b>" . xlt("User ") . "</center></b><center>" . text($user_info[user][$i])) . "</center>";
    Printf("<td width=140><span class=text><b><center>" . xlt("Charges") . ' ' . "</center></b><center>" . " %1\$.2f", text($user_info[fee][$i])) . "</center>";
    Printf("<td width=140><span class=text><b><center>" . xlt("Insurance Adj") . '. ' . "</center></b><center>" . "%1\$.2f", text($user_info[insadj][$i])) . "</center>";
    Printf("<td width=140><span class=text><b><center>" . xlt("Insurance Payments") . ' ' . "</center></b><center>" . "%1\$.2f", text($user_info[inspay][$i])) . "</center>";
    Printf("<td width=140><span class=text><b><center>" . xlt("Patient Adj") . '. ' . "</center></b><center>" . "%1\$.2f", text($user_info[patadj][$i])) . "</center>";
    Printf("<td width=140><span class=text><b><center>" . xlt("Patient Payments") . ' ' . "</center></b><center>" . "%1\$.2f", text($user_info[patpay][$i])) . "</center>";
    $gtotal_fee = $gtotal_fee + $user_info[fee][$i];
    $gtotal_insadj = $gtotal_insadj + $user_info[insadj][$i];
    $gtotal_inspay = $gtotal_inspay + $user_info[inspay][$i];
    $gtotal_patadj = $gtotal_patadj + $user_info[patadj][$i];
    $gtotal_patpay = $gtotal_patpay + $user_info[patpay][$i];
    ++$i;
    print "</br></td>";
}
print "<table border=1><tr>\n";
print "<br><br>";
Printf("<td width=70><span class=text><b><center>" . xlt("Grand Totals") . ' ');
Printf("<td width=140><span class=text><b><center>" . xlt("Total Charges") . ' ' . "</center></b><center>" . " %1\$.2f", text($gtotal_fee)) . "</center>";
Printf("<td width=140><span class=text><b><center>" . xlt("Insurance Adj") . '. ' . "</center></b><center>" . "%1\$.2f", text($gtotal_insadj)) . "</center>";
Printf("<td width=140><span class=text><b><center>" . xlt("Insurance Payments") . ' ' . "</center></b><center>" . "%1\$.2f", text($gtotal_inspay)) . "</center>";
Printf("<td width=140><span class=text><b><center>" . xlt("Patient Adj") . '. ' . "</center></b><center>" . "%1\$.2f", text($gtotal_patadj)) . "</center>";
Printf("<td width=140><span class=text><b><center>" . xlt("Patient Payments") . ' ' . "</center></b><center>" . "%1\$.2f", text($gtotal_patpay)) . "</center>";
print "</br></td>";
print "</table>";
?>
</body>
</html>
开发者ID:juggernautsei,项目名称:openemr,代码行数:30,代码来源:print_daysheet_report_num2.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP xmail函数代码示例发布时间:2022-05-23
下一篇:
PHP xlsWriteNumber函数代码示例发布时间: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